AccountProperties Class
- java.
lang. Object - com.
azure. resourcemanager. cognitiveservices. models. AccountProperties
- com.
public final class AccountProperties
Properties of Cognitive Services account.
Constructor Summary
Constructor | Description |
---|---|
AccountProperties() |
Creates an instance of Account |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
allowedFqdnList()
Get the allowed |
Api |
apiProperties()
Get the api |
Call |
callRateLimit()
Get the call |
List<Sku |
capabilities()
Get the capabilities property: Gets the capabilities of the cognitive services account. |
List<Commitment |
commitmentPlanAssociations()
Get the commitment |
String |
customSubDomainName()
Get the custom |
String |
dateCreated()
Get the date |
String |
deletionDate()
Get the deletion |
Boolean |
disableLocalAuth()
Get the disable |
Boolean |
dynamicThrottlingEnabled()
Get the dynamic |
Encryption |
encryption()
Get the encryption property: The encryption properties for this resource. |
String |
endpoint()
Get the endpoint property: Endpoint of the created account. |
Map<String,String> |
endpoints()
Get the endpoints property: Dictionary of . |
String |
internalId()
Get the internal |
Boolean |
isMigrated()
Get the is |
Multi |
locations()
Get the locations property: The multiregion settings of Cognitive Services account. |
String |
migrationToken()
Get the migration |
Network |
networkAcls()
Get the network |
List<Private |
privateEndpointConnections()
Get the private |
Provisioning |
provisioningState()
Get the provisioning |
Public |
publicNetworkAccess()
Get the public |
Quota |
quotaLimit()
Get the quota |
Boolean |
restore()
Get the restore property: The restore property. |
Boolean |
restrictOutboundNetworkAccess()
Get the restrict |
String |
scheduledPurgeDate()
Get the scheduled |
Sku |
skuChangeInfo()
Get the sku |
List<User |
userOwnedStorage()
Get the user |
void |
validate()
Validates the instance. |
Account |
withAllowedFqdnList(List<String> allowedFqdnList)
Set the allowed |
Account |
withApiProperties(ApiProperties apiProperties)
Set the api |
Account |
withCustomSubDomainName(String customSubDomainName)
Set the custom |
Account |
withDisableLocalAuth(Boolean disableLocalAuth)
Set the disable |
Account |
withDynamicThrottlingEnabled(Boolean dynamicThrottlingEnabled)
Set the dynamic |
Account |
withEncryption(Encryption encryption)
Set the encryption property: The encryption properties for this resource. |
Account |
withLocations(MultiRegionSettings locations)
Set the locations property: The multiregion settings of Cognitive Services account. |
Account |
withMigrationToken(String migrationToken)
Set the migration |
Account |
withNetworkAcls(NetworkRuleSet networkAcls)
Set the network |
Account |
withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the public |
Account |
withRestore(Boolean restore)
Set the restore property: The restore property. |
Account |
withRestrictOutboundNetworkAccess(Boolean restrictOutboundNetworkAccess)
Set the restrict |
Account |
withUserOwnedStorage(List<UserOwnedStorage> userOwnedStorage)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
AccountProperties
public AccountProperties()
Creates an instance of AccountProperties class.
Method Details
allowedFqdnList
public List
Get the allowedFqdnList property: The allowedFqdnList property.
Returns:
apiProperties
public ApiProperties apiProperties()
Get the apiProperties property: The api properties for special APIs.
Returns:
callRateLimit
public CallRateLimit callRateLimit()
Get the callRateLimit property: The call rate limit Cognitive Services account.
Returns:
capabilities
public List
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:
commitmentPlanAssociations
public List
Get the commitmentPlanAssociations property: The commitment plan associations of Cognitive Services account.
Returns:
customSubDomainName
public String customSubDomainName()
Get the customSubDomainName property: Optional subdomain name used for token-based authentication.
Returns:
dateCreated
public String dateCreated()
Get the dateCreated property: Gets the date of cognitive services account creation.
Returns:
deletionDate
public String deletionDate()
Get the deletionDate property: The deletion date, only available for deleted account.
Returns:
disableLocalAuth
public Boolean disableLocalAuth()
Get the disableLocalAuth property: The disableLocalAuth property.
Returns:
dynamicThrottlingEnabled
public Boolean dynamicThrottlingEnabled()
Get the dynamicThrottlingEnabled property: The flag to enable dynamic throttling.
Returns:
encryption
public Encryption encryption()
Get the encryption property: The encryption properties for this resource.
Returns:
endpoint
public String endpoint()
Get the endpoint property: Endpoint of the created account.
Returns:
endpoints
public Map
Get the endpoints property: Dictionary of .
Returns:
internalId
public String internalId()
Get the internalId property: The internal identifier (deprecated, do not use this property).
Returns:
isMigrated
public Boolean isMigrated()
Get the isMigrated property: If the resource is migrated from an existing key.
Returns:
locations
public MultiRegionSettings locations()
Get the locations property: The multiregion settings of Cognitive Services account.
Returns:
migrationToken
public String migrationToken()
Get the migrationToken property: Resource migration token.
Returns:
networkAcls
public NetworkRuleSet networkAcls()
Get the networkAcls property: A collection of rules governing the accessibility from specific network locations.
Returns:
privateEndpointConnections
public List
Get the privateEndpointConnections property: The private endpoint connection associated with the Cognitive Services account.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Gets the status of the cognitive services account at the time the operation was called.
Returns:
publicNetworkAccess
public PublicNetworkAccess publicNetworkAccess()
Get the publicNetworkAccess property: Whether or not public endpoint access is allowed for this account.
Returns:
quotaLimit
public QuotaLimit quotaLimit()
Get the quotaLimit property: The quotaLimit property.
Returns:
restore
public Boolean restore()
Get the restore property: The restore property.
Returns:
restrictOutboundNetworkAccess
public Boolean restrictOutboundNetworkAccess()
Get the restrictOutboundNetworkAccess property: The restrictOutboundNetworkAccess property.
Returns:
scheduledPurgeDate
public String scheduledPurgeDate()
Get the scheduledPurgeDate property: The scheduled purge date, only available for deleted account.
Returns:
skuChangeInfo
public SkuChangeInfo skuChangeInfo()
Get the skuChangeInfo property: Sku change info of account.
Returns:
userOwnedStorage
public List
Get the userOwnedStorage property: The storage accounts for this resource.
Returns:
validate
public void validate()
Validates the instance.
withAllowedFqdnList
public AccountProperties withAllowedFqdnList(List
Set the allowedFqdnList property: The allowedFqdnList property.
Parameters:
Returns:
withApiProperties
public AccountProperties withApiProperties(ApiProperties apiProperties)
Set the apiProperties property: The api properties for special APIs.
Parameters:
Returns:
withCustomSubDomainName
public AccountProperties withCustomSubDomainName(String customSubDomainName)
Set the customSubDomainName property: Optional subdomain name used for token-based authentication.
Parameters:
Returns:
withDisableLocalAuth
public AccountProperties withDisableLocalAuth(Boolean disableLocalAuth)
Set the disableLocalAuth property: The disableLocalAuth property.
Parameters:
Returns:
withDynamicThrottlingEnabled
public AccountProperties withDynamicThrottlingEnabled(Boolean dynamicThrottlingEnabled)
Set the dynamicThrottlingEnabled property: The flag to enable dynamic throttling.
Parameters:
Returns:
withEncryption
public AccountProperties withEncryption(Encryption encryption)
Set the encryption property: The encryption properties for this resource.
Parameters:
Returns:
withLocations
public AccountProperties withLocations(MultiRegionSettings locations)
Set the locations property: The multiregion settings of Cognitive Services account.
Parameters:
Returns:
withMigrationToken
public AccountProperties withMigrationToken(String migrationToken)
Set the migrationToken property: Resource migration token.
Parameters:
Returns:
withNetworkAcls
public AccountProperties withNetworkAcls(NetworkRuleSet networkAcls)
Set the networkAcls property: A collection of rules governing the accessibility from specific network locations.
Parameters:
Returns:
withPublicNetworkAccess
public AccountProperties withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the publicNetworkAccess property: Whether or not public endpoint access is allowed for this account.
Parameters:
Returns:
withRestore
public AccountProperties withRestore(Boolean restore)
Set the restore property: The restore property.
Parameters:
Returns:
withRestrictOutboundNetworkAccess
public AccountProperties withRestrictOutboundNetworkAccess(Boolean restrictOutboundNetworkAccess)
Set the restrictOutboundNetworkAccess property: The restrictOutboundNetworkAccess property.
Parameters:
Returns:
withUserOwnedStorage
public AccountProperties withUserOwnedStorage(List
Set the userOwnedStorage property: The storage accounts for this resource.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for