java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.mediaservices.fluent.models.MediaServiceInner

public final class MediaServiceInner extends com.azure.core.management.Resource
A Media Services account.
  • Constructor Details

    • MediaServiceInner

      public MediaServiceInner()
      Creates an instance of MediaServiceInner class.
  • Method Details

    • systemData

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

      public MediaServiceIdentity identity()
      Get the identity property: The Managed Identity for the Media Services account.
      Returns:
      the identity value.
    • withIdentity

      public MediaServiceInner withIdentity(MediaServiceIdentity identity)
      Set the identity property: The Managed Identity for the Media Services account.
      Parameters:
      identity - the identity value to set.
      Returns:
      the MediaServiceInner object itself.
    • withLocation

      public MediaServiceInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public MediaServiceInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • mediaServiceId

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

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

      public MediaServiceInner withStorageAccounts(List<StorageAccount> storageAccounts)
      Set the storageAccounts property: The storage accounts for this resource.
      Parameters:
      storageAccounts - the storageAccounts value to set.
      Returns:
      the MediaServiceInner object itself.
    • storageAuthentication

      public StorageAuthentication storageAuthentication()
      Get the storageAuthentication property: The storageAuthentication property.
      Returns:
      the storageAuthentication value.
    • withStorageAuthentication

      public MediaServiceInner withStorageAuthentication(StorageAuthentication storageAuthentication)
      Set the storageAuthentication property: The storageAuthentication property.
      Parameters:
      storageAuthentication - the storageAuthentication value to set.
      Returns:
      the MediaServiceInner object itself.
    • encryption

      public AccountEncryption encryption()
      Get the encryption property: The account encryption properties.
      Returns:
      the encryption value.
    • withEncryption

      public MediaServiceInner withEncryption(AccountEncryption encryption)
      Set the encryption property: The account encryption properties.
      Parameters:
      encryption - the encryption value to set.
      Returns:
      the MediaServiceInner object itself.
    • keyDelivery

      public KeyDelivery keyDelivery()
      Get the keyDelivery property: The Key Delivery properties for Media Services account.
      Returns:
      the keyDelivery value.
    • withKeyDelivery

      public MediaServiceInner withKeyDelivery(KeyDelivery keyDelivery)
      Set the keyDelivery property: The Key Delivery properties for Media Services account.
      Parameters:
      keyDelivery - the keyDelivery value to set.
      Returns:
      the MediaServiceInner object itself.
    • publicNetworkAccess

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

      public MediaServiceInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
      Set the publicNetworkAccess property: Whether or not public network access is allowed for resources under the Media Services account.
      Parameters:
      publicNetworkAccess - the publicNetworkAccess value to set.
      Returns:
      the MediaServiceInner object itself.
    • provisioningState

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

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

      public MinimumTlsVersion minimumTlsVersion()
      Get 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.
    • withMinimumTlsVersion

      public MediaServiceInner withMinimumTlsVersion(MinimumTlsVersion minimumTlsVersion)
      Set 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.
      Parameters:
      minimumTlsVersion - the minimumTlsVersion value to set.
      Returns:
      the MediaServiceInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.