Interface MediaService


public interface MediaService
An immutable client-side representation of MediaService.
  • Method Details

    • id

      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      Returns:
      the id value.
    • name

      String name()
      Gets the name property: The name of the resource.
      Returns:
      the name value.
    • type

      String type()
      Gets the type property: The type of the resource.
      Returns:
      the type value.
    • location

      String location()
      Gets the location property: The geo-location where the resource lives.
      Returns:
      the location value.
    • tags

      Map<String,String> tags()
      Gets the tags property: Resource tags.
      Returns:
      the tags value.
    • systemData

      com.azure.core.management.SystemData systemData()
      Gets the systemData property: The system metadata relating to this resource.
      Returns:
      the systemData value.
    • identity

      Gets the identity property: The Managed Identity for the Media Services account.
      Returns:
      the identity value.
    • mediaServiceId

      UUID mediaServiceId()
      Gets the mediaServiceId property: The Media Services account ID.
      Returns:
      the mediaServiceId value.
    • storageAccounts

      List<StorageAccount> storageAccounts()
      Gets the storageAccounts property: The storage accounts for this resource.
      Returns:
      the storageAccounts value.
    • storageAuthentication

      StorageAuthentication storageAuthentication()
      Gets the storageAuthentication property: The storageAuthentication property.
      Returns:
      the storageAuthentication value.
    • encryption

      AccountEncryption encryption()
      Gets the encryption property: The account encryption properties.
      Returns:
      the encryption value.
    • keyDelivery

      KeyDelivery keyDelivery()
      Gets the keyDelivery property: The Key Delivery properties for Media Services account.
      Returns:
      the keyDelivery value.
    • publicNetworkAccess

      PublicNetworkAccess publicNetworkAccess()
      Gets the publicNetworkAccess property: Whether or not public network access is allowed for resources under the Media Services account.
      Returns:
      the publicNetworkAccess value.
    • provisioningState

      ProvisioningState provisioningState()
      Gets the provisioningState property: Provisioning state of the Media Services account.
      Returns:
      the provisioningState value.
    • privateEndpointConnections

      List<PrivateEndpointConnection> privateEndpointConnections()
      Gets the privateEndpointConnections property: The Private Endpoint Connections created for the Media Service account.
      Returns:
      the privateEndpointConnections value.
    • minimumTlsVersion

      MinimumTlsVersion minimumTlsVersion()
      Gets the minimumTlsVersion property: The minimum TLS version allowed for this account's requests. This is an optional property. If unspecified, a secure default value will be used.
      Returns:
      the minimumTlsVersion value.
    • region

      com.azure.core.management.Region region()
      Gets the region of the resource.
      Returns:
      the region of the resource.
    • regionName

      String regionName()
      Gets the name of the resource region.
      Returns:
      the name of the resource region.
    • resourceGroupName

      String resourceGroupName()
      Gets the name of the resource group.
      Returns:
      the name of the resource group.
    • innerModel

      MediaServiceInner innerModel()
      Gets the inner com.azure.resourcemanager.mediaservices.fluent.models.MediaServiceInner object.
      Returns:
      the inner object.
    • update

      Begins update for the MediaService resource.
      Returns:
      the stage of resource update.
    • refresh

      MediaService refresh()
      Refreshes the resource to sync with Azure.
      Returns:
      the refreshed resource.
    • refresh

      MediaService refresh(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the refreshed resource.
    • syncStorageKeysWithResponse

      com.azure.core.http.rest.Response<Void> syncStorageKeysWithResponse(SyncStorageKeysInput parameters, com.azure.core.util.Context context)
      Synchronizes Storage Account Keys

      Synchronizes storage account keys for a storage account associated with the Media Service account.

      Parameters:
      parameters - The request parameters.
      context - The context to associate with this operation.
      Returns:
      the Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • syncStorageKeys

      void syncStorageKeys(SyncStorageKeysInput parameters)
      Synchronizes Storage Account Keys

      Synchronizes storage account keys for a storage account associated with the Media Service account.

      Parameters:
      parameters - The request parameters.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listEdgePoliciesWithResponse

      com.azure.core.http.rest.Response<EdgePolicies> listEdgePoliciesWithResponse(ListEdgePoliciesInput parameters, com.azure.core.util.Context context)
      List the media edge policies associated with the Media Services account.

      List all the media edge policies associated with the Media Services account.

      Parameters:
      parameters - The request parameters.
      context - The context to associate with this operation.
      Returns:
      the response body along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listEdgePolicies

      EdgePolicies listEdgePolicies(ListEdgePoliciesInput parameters)
      List the media edge policies associated with the Media Services account.

      List all the media edge policies associated with the Media Services account.

      Parameters:
      parameters - The request parameters.
      Returns:
      the response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.