Class AccountProperties
java.lang.Object
com.azure.resourcemanager.cognitiveservices.models.AccountProperties
Properties of Cognitive Services account.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the allowedFqdnList property: The allowedFqdnList property.Get the apiProperties property: The api properties for special APIs.Get the callRateLimit property: The call rate limit Cognitive Services account.Get the capabilities property: Gets the capabilities of the cognitive services account.Get the customSubDomainName property: Optional subdomain name used for token-based authentication.Get the dateCreated property: Gets the date of cognitive services account creation.Get the deletionDate property: The deletion date, only available for deleted account.Get the disableLocalAuth property: The disableLocalAuth property.Get the dynamicThrottlingEnabled property: The flag to enable dynamic throttling.Get the encryption property: The encryption properties for this resource.endpoint()
Get the endpoint property: Endpoint of the created account.Get the endpoints property: Dictionary of <string>.Get the internalId property: The internal identifier (deprecated, do not use this property).Get the isMigrated property: If the resource is migrated from an existing key.Get the migrationToken property: Resource migration token.Get the networkAcls property: A collection of rules governing the accessibility from specific network locations.Get the privateEndpointConnections property: The private endpoint connection associated with the Cognitive Services account.Get the provisioningState property: Gets the status of the cognitive services account at the time the operation was called.Get the publicNetworkAccess property: Whether or not public endpoint access is allowed for this account.Get the quotaLimit property: The quotaLimit property.restore()
Get the restore property: The restore property.Get the restrictOutboundNetworkAccess property: The restrictOutboundNetworkAccess property.Get the scheduledPurgeDate property: The scheduled purge date, only available for deleted account.Get the skuChangeInfo property: Sku change info of account.Get the userOwnedStorage property: The storage accounts for this resource.void
validate()
Validates the instance.withAllowedFqdnList
(List<String> allowedFqdnList) Set the allowedFqdnList property: The allowedFqdnList property.withApiProperties
(ApiProperties apiProperties) Set the apiProperties property: The api properties for special APIs.withCustomSubDomainName
(String customSubDomainName) Set the customSubDomainName property: Optional subdomain name used for token-based authentication.withDisableLocalAuth
(Boolean disableLocalAuth) Set the disableLocalAuth property: The disableLocalAuth property.withDynamicThrottlingEnabled
(Boolean dynamicThrottlingEnabled) Set the dynamicThrottlingEnabled property: The flag to enable dynamic throttling.withEncryption
(Encryption encryption) Set the encryption property: The encryption properties for this resource.withMigrationToken
(String migrationToken) Set the migrationToken property: Resource migration token.withNetworkAcls
(NetworkRuleSet networkAcls) Set the networkAcls property: A collection of rules governing the accessibility from specific network locations.withPublicNetworkAccess
(PublicNetworkAccess publicNetworkAccess) Set the publicNetworkAccess property: Whether or not public endpoint access is allowed for this account.withRestore
(Boolean restore) Set the restore property: The restore property.withRestrictOutboundNetworkAccess
(Boolean restrictOutboundNetworkAccess) Set the restrictOutboundNetworkAccess property: The restrictOutboundNetworkAccess property.withUserOwnedStorage
(List<UserOwnedStorage> userOwnedStorage) Set the userOwnedStorage property: The storage accounts for this resource.
-
Constructor Details
-
AccountProperties
public AccountProperties()
-
-
Method Details
-
provisioningState
Get the provisioningState property: Gets the status of the cognitive services account at the time the operation was called.- Returns:
- the provisioningState value.
-
endpoint
Get the endpoint property: Endpoint of the created account.- Returns:
- the endpoint value.
-
internalId
Get the internalId property: The internal identifier (deprecated, do not use this property).- Returns:
- the internalId value.
-
capabilities
Get the capabilities property: Gets the capabilities of the cognitive services account. Each item indicates the capability of a specific feature. The values are read-only and for reference only.- Returns:
- the capabilities value.
-
isMigrated
Get the isMigrated property: If the resource is migrated from an existing key.- Returns:
- the isMigrated value.
-
migrationToken
Get the migrationToken property: Resource migration token.- Returns:
- the migrationToken value.
-
withMigrationToken
Set the migrationToken property: Resource migration token.- Parameters:
migrationToken
- the migrationToken value to set.- Returns:
- the AccountProperties object itself.
-
skuChangeInfo
Get the skuChangeInfo property: Sku change info of account.- Returns:
- the skuChangeInfo value.
-
customSubDomainName
Get the customSubDomainName property: Optional subdomain name used for token-based authentication.- Returns:
- the customSubDomainName value.
-
withCustomSubDomainName
Set the customSubDomainName property: Optional subdomain name used for token-based authentication.- Parameters:
customSubDomainName
- the customSubDomainName value to set.- Returns:
- the AccountProperties object itself.
-
networkAcls
Get the networkAcls property: A collection of rules governing the accessibility from specific network locations.- Returns:
- the networkAcls value.
-
withNetworkAcls
Set the networkAcls property: A collection of rules governing the accessibility from specific network locations.- Parameters:
networkAcls
- the networkAcls value to set.- Returns:
- the AccountProperties object itself.
-
encryption
Get the encryption property: The encryption properties for this resource.- Returns:
- the encryption value.
-
withEncryption
Set the encryption property: The encryption properties for this resource.- Parameters:
encryption
- the encryption value to set.- Returns:
- the AccountProperties object itself.
-
userOwnedStorage
Get the userOwnedStorage property: The storage accounts for this resource.- Returns:
- the userOwnedStorage value.
-
withUserOwnedStorage
Set the userOwnedStorage property: The storage accounts for this resource.- Parameters:
userOwnedStorage
- the userOwnedStorage value to set.- Returns:
- the AccountProperties object itself.
-
privateEndpointConnections
Get the privateEndpointConnections property: The private endpoint connection associated with the Cognitive Services account.- Returns:
- the privateEndpointConnections value.
-
publicNetworkAccess
Get the publicNetworkAccess property: Whether or not public endpoint access is allowed for this account.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
Set the publicNetworkAccess property: Whether or not public endpoint access is allowed for this account.- Parameters:
publicNetworkAccess
- the publicNetworkAccess value to set.- Returns:
- the AccountProperties object itself.
-
apiProperties
Get the apiProperties property: The api properties for special APIs.- Returns:
- the apiProperties value.
-
withApiProperties
Set the apiProperties property: The api properties for special APIs.- Parameters:
apiProperties
- the apiProperties value to set.- Returns:
- the AccountProperties object itself.
-
dateCreated
Get the dateCreated property: Gets the date of cognitive services account creation.- Returns:
- the dateCreated value.
-
callRateLimit
Get the callRateLimit property: The call rate limit Cognitive Services account.- Returns:
- the callRateLimit value.
-
dynamicThrottlingEnabled
Get the dynamicThrottlingEnabled property: The flag to enable dynamic throttling.- Returns:
- the dynamicThrottlingEnabled value.
-
withDynamicThrottlingEnabled
Set the dynamicThrottlingEnabled property: The flag to enable dynamic throttling.- Parameters:
dynamicThrottlingEnabled
- the dynamicThrottlingEnabled value to set.- Returns:
- the AccountProperties object itself.
-
quotaLimit
Get the quotaLimit property: The quotaLimit property.- Returns:
- the quotaLimit value.
-
restrictOutboundNetworkAccess
Get the restrictOutboundNetworkAccess property: The restrictOutboundNetworkAccess property.- Returns:
- the restrictOutboundNetworkAccess value.
-
withRestrictOutboundNetworkAccess
Set the restrictOutboundNetworkAccess property: The restrictOutboundNetworkAccess property.- Parameters:
restrictOutboundNetworkAccess
- the restrictOutboundNetworkAccess value to set.- Returns:
- the AccountProperties object itself.
-
allowedFqdnList
Get the allowedFqdnList property: The allowedFqdnList property.- Returns:
- the allowedFqdnList value.
-
withAllowedFqdnList
Set the allowedFqdnList property: The allowedFqdnList property.- Parameters:
allowedFqdnList
- the allowedFqdnList value to set.- Returns:
- the AccountProperties object itself.
-
disableLocalAuth
Get the disableLocalAuth property: The disableLocalAuth property.- Returns:
- the disableLocalAuth value.
-
withDisableLocalAuth
Set the disableLocalAuth property: The disableLocalAuth property.- Parameters:
disableLocalAuth
- the disableLocalAuth value to set.- Returns:
- the AccountProperties object itself.
-
endpoints
Get the endpoints property: Dictionary of <string>.- Returns:
- the endpoints value.
-
restore
Get the restore property: The restore property.- Returns:
- the restore value.
-
withRestore
Set the restore property: The restore property.- Parameters:
restore
- the restore value to set.- Returns:
- the AccountProperties object itself.
-
deletionDate
Get the deletionDate property: The deletion date, only available for deleted account.- Returns:
- the deletionDate value.
-
scheduledPurgeDate
Get the scheduledPurgeDate property: The scheduled purge date, only available for deleted account.- Returns:
- the scheduledPurgeDate value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-