Class MediaServiceInner
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the encryption property: The account encryption properties.identity()
Get the identity property: The Managed Identity for the Media Services account.Get the keyDelivery property: The Key Delivery properties for Media Services account.Get the mediaServiceId property: The Media Services account ID.Get the minimumTlsVersion property: The minimum TLS version allowed for this account's requests.Get the privateEndpointConnections property: The Private Endpoint Connections created for the Media Service account.Get the provisioningState property: Provisioning state of the Media Services account.Get the publicNetworkAccess property: Whether or not public network access is allowed for resources under the Media Services account.Get the storageAccounts property: The storage accounts for this resource.Get the storageAuthentication property: The storageAuthentication property.com.azure.core.management.SystemData
Get the systemData property: The system metadata relating to this resource.void
validate()
Validates the instance.withEncryption
(AccountEncryption encryption) Set the encryption property: The account encryption properties.withIdentity
(MediaServiceIdentity identity) Set the identity property: The Managed Identity for the Media Services account.withKeyDelivery
(KeyDelivery keyDelivery) Set the keyDelivery property: The Key Delivery properties for Media Services account.withLocation
(String location) withMinimumTlsVersion
(MinimumTlsVersion minimumTlsVersion) Set the minimumTlsVersion property: The minimum TLS version allowed for this account's requests.withPublicNetworkAccess
(PublicNetworkAccess publicNetworkAccess) Set the publicNetworkAccess property: Whether or not public network access is allowed for resources under the Media Services account.withStorageAccounts
(List<StorageAccount> storageAccounts) Set the storageAccounts property: The storage accounts for this resource.withStorageAuthentication
(StorageAuthentication storageAuthentication) Set the storageAuthentication property: The storageAuthentication property.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
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
Get the identity property: The Managed Identity for the Media Services account.- Returns:
- the identity value.
-
withIdentity
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
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
mediaServiceId
Get the mediaServiceId property: The Media Services account ID.- Returns:
- the mediaServiceId value.
-
storageAccounts
Get the storageAccounts property: The storage accounts for this resource.- Returns:
- the storageAccounts value.
-
withStorageAccounts
Set the storageAccounts property: The storage accounts for this resource.- Parameters:
storageAccounts
- the storageAccounts value to set.- Returns:
- the MediaServiceInner object itself.
-
storageAuthentication
Get the storageAuthentication property: The storageAuthentication property.- Returns:
- the storageAuthentication value.
-
withStorageAuthentication
Set the storageAuthentication property: The storageAuthentication property.- Parameters:
storageAuthentication
- the storageAuthentication value to set.- Returns:
- the MediaServiceInner object itself.
-
encryption
Get the encryption property: The account encryption properties.- Returns:
- the encryption value.
-
withEncryption
Set the encryption property: The account encryption properties.- Parameters:
encryption
- the encryption value to set.- Returns:
- the MediaServiceInner object itself.
-
keyDelivery
Get the keyDelivery property: The Key Delivery properties for Media Services account.- Returns:
- the keyDelivery value.
-
withKeyDelivery
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
Get the publicNetworkAccess property: Whether or not public network access is allowed for resources under the Media Services account.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
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
Get the provisioningState property: Provisioning state of the Media Services account.- Returns:
- the provisioningState value.
-
privateEndpointConnections
Get the privateEndpointConnections property: The Private Endpoint Connections created for the Media Service account.- Returns:
- the privateEndpointConnections value.
-
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
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.
-