AccountProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.cognitiveservices.models.AccountProperties

public final class AccountProperties

Properties of Cognitive Services account.

Constructor Summary

Constructor Description
AccountProperties()

Creates an instance of AccountProperties class.

Method Summary

Modifier and Type Method and Description
List<String> allowedFqdnList()

Get the allowedFqdnList property: The allowedFqdnList property.

ApiProperties apiProperties()

Get the apiProperties property: The api properties for special APIs.

CallRateLimit callRateLimit()

Get the callRateLimit property: The call rate limit Cognitive Services account.

List<SkuCapability> capabilities()

Get the capabilities property: Gets the capabilities of the cognitive services account.

List<CommitmentPlanAssociation> commitmentPlanAssociations()

Get the commitmentPlanAssociations property: The commitment plan associations of Cognitive Services account.

String customSubDomainName()

Get the customSubDomainName property: Optional subdomain name used for token-based authentication.

String dateCreated()

Get the dateCreated property: Gets the date of cognitive services account creation.

String deletionDate()

Get the deletionDate property: The deletion date, only available for deleted account.

Boolean disableLocalAuth()

Get the disableLocalAuth property: The disableLocalAuth property.

Boolean dynamicThrottlingEnabled()

Get the dynamicThrottlingEnabled property: The flag to enable dynamic throttling.

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 internalId property: The internal identifier (deprecated, do not use this property).

Boolean isMigrated()

Get the isMigrated property: If the resource is migrated from an existing key.

MultiRegionSettings locations()

Get the locations property: The multiregion settings of Cognitive Services account.

String migrationToken()

Get the migrationToken property: Resource migration token.

NetworkRuleSet networkAcls()

Get the networkAcls property: A collection of rules governing the accessibility from specific network locations.

List<PrivateEndpointConnectionInner> privateEndpointConnections()

Get the privateEndpointConnections property: The private endpoint connection associated with the Cognitive Services account.

ProvisioningState provisioningState()

Get the provisioningState property: Gets the status of the cognitive services account at the time the operation was called.

PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: Whether or not public endpoint access is allowed for this account.

QuotaLimit quotaLimit()

Get the quotaLimit property: The quotaLimit property.

Boolean restore()

Get the restore property: The restore property.

Boolean restrictOutboundNetworkAccess()

Get the restrictOutboundNetworkAccess property: The restrictOutboundNetworkAccess property.

String scheduledPurgeDate()

Get the scheduledPurgeDate property: The scheduled purge date, only available for deleted account.

SkuChangeInfo skuChangeInfo()

Get the skuChangeInfo property: Sku change info of account.

List<UserOwnedStorage> userOwnedStorage()

Get the userOwnedStorage property: The storage accounts for this resource.

void validate()

Validates the instance.

AccountProperties withAllowedFqdnList(List<String> allowedFqdnList)

Set the allowedFqdnList property: The allowedFqdnList property.

AccountProperties withApiProperties(ApiProperties apiProperties)

Set the apiProperties property: The api properties for special APIs.

AccountProperties withCustomSubDomainName(String customSubDomainName)

Set the customSubDomainName property: Optional subdomain name used for token-based authentication.

AccountProperties withDisableLocalAuth(Boolean disableLocalAuth)

Set the disableLocalAuth property: The disableLocalAuth property.

AccountProperties withDynamicThrottlingEnabled(Boolean dynamicThrottlingEnabled)

Set the dynamicThrottlingEnabled property: The flag to enable dynamic throttling.

AccountProperties withEncryption(Encryption encryption)

Set the encryption property: The encryption properties for this resource.

AccountProperties withLocations(MultiRegionSettings locations)

Set the locations property: The multiregion settings of Cognitive Services account.

AccountProperties withMigrationToken(String migrationToken)

Set the migrationToken property: Resource migration token.

AccountProperties withNetworkAcls(NetworkRuleSet networkAcls)

Set the networkAcls property: A collection of rules governing the accessibility from specific network locations.

AccountProperties withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

Set the publicNetworkAccess property: Whether or not public endpoint access is allowed for this account.

AccountProperties withRestore(Boolean restore)

Set the restore property: The restore property.

AccountProperties withRestrictOutboundNetworkAccess(Boolean restrictOutboundNetworkAccess)

Set the restrictOutboundNetworkAccess property: The restrictOutboundNetworkAccess property.

AccountProperties withUserOwnedStorage(List<UserOwnedStorage> userOwnedStorage)

Set the userOwnedStorage property: The storage accounts for this resource.

Methods inherited from java.lang.Object

Constructor Details

AccountProperties

public AccountProperties()

Creates an instance of AccountProperties class.

Method Details

allowedFqdnList

public List allowedFqdnList()

Get the allowedFqdnList property: The allowedFqdnList property.

Returns:

the allowedFqdnList value.

apiProperties

public ApiProperties apiProperties()

Get the apiProperties property: The api properties for special APIs.

Returns:

the apiProperties value.

callRateLimit

public CallRateLimit callRateLimit()

Get the callRateLimit property: The call rate limit Cognitive Services account.

Returns:

the callRateLimit value.

capabilities

public List 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.

commitmentPlanAssociations

public List commitmentPlanAssociations()

Get the commitmentPlanAssociations property: The commitment plan associations of Cognitive Services account.

Returns:

the commitmentPlanAssociations value.

customSubDomainName

public String customSubDomainName()

Get the customSubDomainName property: Optional subdomain name used for token-based authentication.

Returns:

the customSubDomainName value.

dateCreated

public String dateCreated()

Get the dateCreated property: Gets the date of cognitive services account creation.

Returns:

the dateCreated value.

deletionDate

public String deletionDate()

Get the deletionDate property: The deletion date, only available for deleted account.

Returns:

the deletionDate value.

disableLocalAuth

public Boolean disableLocalAuth()

Get the disableLocalAuth property: The disableLocalAuth property.

Returns:

the disableLocalAuth value.

dynamicThrottlingEnabled

public Boolean dynamicThrottlingEnabled()

Get the dynamicThrottlingEnabled property: The flag to enable dynamic throttling.

Returns:

the dynamicThrottlingEnabled value.

encryption

public Encryption encryption()

Get the encryption property: The encryption properties for this resource.

Returns:

the encryption value.

endpoint

public String endpoint()

Get the endpoint property: Endpoint of the created account.

Returns:

the endpoint value.

endpoints

public Map endpoints()

Get the endpoints property: Dictionary of .

Returns:

the endpoints value.

internalId

public String internalId()

Get the internalId property: The internal identifier (deprecated, do not use this property).

Returns:

the internalId value.

isMigrated

public Boolean isMigrated()

Get the isMigrated property: If the resource is migrated from an existing key.

Returns:

the isMigrated value.

locations

public MultiRegionSettings locations()

Get the locations property: The multiregion settings of Cognitive Services account.

Returns:

the locations value.

migrationToken

public String migrationToken()

Get the migrationToken property: Resource migration token.

Returns:

the migrationToken value.

networkAcls

public NetworkRuleSet networkAcls()

Get the networkAcls property: A collection of rules governing the accessibility from specific network locations.

Returns:

the networkAcls value.

privateEndpointConnections

public List privateEndpointConnections()

Get the privateEndpointConnections property: The private endpoint connection associated with the Cognitive Services account.

Returns:

the privateEndpointConnections value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Gets the status of the cognitive services account at the time the operation was called.

Returns:

the provisioningState value.

publicNetworkAccess

public PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: Whether or not public endpoint access is allowed for this account.

Returns:

the publicNetworkAccess value.

quotaLimit

public QuotaLimit quotaLimit()

Get the quotaLimit property: The quotaLimit property.

Returns:

the quotaLimit value.

restore

public Boolean restore()

Get the restore property: The restore property.

Returns:

the restore value.

restrictOutboundNetworkAccess

public Boolean restrictOutboundNetworkAccess()

Get the restrictOutboundNetworkAccess property: The restrictOutboundNetworkAccess property.

Returns:

the restrictOutboundNetworkAccess value.

scheduledPurgeDate

public String scheduledPurgeDate()

Get the scheduledPurgeDate property: The scheduled purge date, only available for deleted account.

Returns:

the scheduledPurgeDate value.

skuChangeInfo

public SkuChangeInfo skuChangeInfo()

Get the skuChangeInfo property: Sku change info of account.

Returns:

the skuChangeInfo value.

userOwnedStorage

public List userOwnedStorage()

Get the userOwnedStorage property: The storage accounts for this resource.

Returns:

the userOwnedStorage value.

validate

public void validate()

Validates the instance.

withAllowedFqdnList

public AccountProperties withAllowedFqdnList(List allowedFqdnList)

Set the allowedFqdnList property: The allowedFqdnList property.

Parameters:

allowedFqdnList - the allowedFqdnList value to set.

Returns:

the AccountProperties object itself.

withApiProperties

public AccountProperties withApiProperties(ApiProperties apiProperties)

Set the apiProperties property: The api properties for special APIs.

Parameters:

apiProperties - the apiProperties value to set.

Returns:

the AccountProperties object itself.

withCustomSubDomainName

public AccountProperties withCustomSubDomainName(String customSubDomainName)

Set the customSubDomainName property: Optional subdomain name used for token-based authentication.

Parameters:

customSubDomainName - the customSubDomainName value to set.

Returns:

the AccountProperties object itself.

withDisableLocalAuth

public AccountProperties withDisableLocalAuth(Boolean disableLocalAuth)

Set the disableLocalAuth property: The disableLocalAuth property.

Parameters:

disableLocalAuth - the disableLocalAuth value to set.

Returns:

the AccountProperties object itself.

withDynamicThrottlingEnabled

public AccountProperties withDynamicThrottlingEnabled(Boolean dynamicThrottlingEnabled)

Set the dynamicThrottlingEnabled property: The flag to enable dynamic throttling.

Parameters:

dynamicThrottlingEnabled - the dynamicThrottlingEnabled value to set.

Returns:

the AccountProperties object itself.

withEncryption

public AccountProperties withEncryption(Encryption encryption)

Set the encryption property: The encryption properties for this resource.

Parameters:

encryption - the encryption value to set.

Returns:

the AccountProperties object itself.

withLocations

public AccountProperties withLocations(MultiRegionSettings locations)

Set the locations property: The multiregion settings of Cognitive Services account.

Parameters:

locations - the locations value to set.

Returns:

the AccountProperties object itself.

withMigrationToken

public AccountProperties withMigrationToken(String migrationToken)

Set the migrationToken property: Resource migration token.

Parameters:

migrationToken - the migrationToken value to set.

Returns:

the AccountProperties object itself.

withNetworkAcls

public AccountProperties withNetworkAcls(NetworkRuleSet networkAcls)

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.

withPublicNetworkAccess

public AccountProperties withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

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.

withRestore

public AccountProperties withRestore(Boolean restore)

Set the restore property: The restore property.

Parameters:

restore - the restore value to set.

Returns:

the AccountProperties object itself.

withRestrictOutboundNetworkAccess

public AccountProperties withRestrictOutboundNetworkAccess(Boolean restrictOutboundNetworkAccess)

Set the restrictOutboundNetworkAccess property: The restrictOutboundNetworkAccess property.

Parameters:

restrictOutboundNetworkAccess - the restrictOutboundNetworkAccess value to set.

Returns:

the AccountProperties object itself.

withUserOwnedStorage

public AccountProperties withUserOwnedStorage(List userOwnedStorage)

Set the userOwnedStorage property: The storage accounts for this resource.

Parameters:

userOwnedStorage - the userOwnedStorage value to set.

Returns:

the AccountProperties object itself.

Applies to