Share via


ArmCognitiveServicesModelFactory.CognitiveServicesAccountProperties Method

Definition

Initializes a new instance of CognitiveServicesAccountProperties.

public static Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountProperties CognitiveServicesAccountProperties (Azure.ResourceManager.CognitiveServices.Models.ServiceAccountProvisioningState? provisioningState = default, string endpoint = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesSkuCapability> capabilities = default, bool? isMigrated = default, string migrationToken = default, Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesSkuChangeInfo skuChangeInfo = default, string customSubDomainName = default, Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesNetworkRuleSet networkAcls = default, Azure.ResourceManager.CognitiveServices.Models.ServiceAccountEncryptionProperties encryption = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CognitiveServices.Models.ServiceAccountUserOwnedStorage> userOwnedStorage = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CognitiveServices.CognitiveServicesPrivateEndpointConnectionData> privateEndpointConnections = default, Azure.ResourceManager.CognitiveServices.Models.ServiceAccountPublicNetworkAccess? publicNetworkAccess = default, Azure.ResourceManager.CognitiveServices.Models.ServiceAccountApiProperties apiProperties = default, DateTimeOffset? createdOn = default, Azure.ResourceManager.CognitiveServices.Models.ServiceAccountCallRateLimit callRateLimit = default, bool? enableDynamicThrottling = default, Azure.ResourceManager.CognitiveServices.Models.ServiceAccountQuotaLimit quotaLimit = default, bool? restrictOutboundNetworkAccess = default, System.Collections.Generic.IEnumerable<string> allowedFqdnList = default, bool? disableLocalAuth = default, System.Collections.Generic.IReadOnlyDictionary<string,string> endpoints = default, bool? restore = default, DateTimeOffset? deletedOn = default, string scheduledPurgeDate = default, Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesMultiRegionSettings locations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CognitiveServices.Models.CommitmentPlanAssociation> commitmentPlanAssociations = default, Azure.ResourceManager.CognitiveServices.Models.AbusePenalty abusePenalty = default);
static member CognitiveServicesAccountProperties : Nullable<Azure.ResourceManager.CognitiveServices.Models.ServiceAccountProvisioningState> * string * seq<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesSkuCapability> * Nullable<bool> * string * Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesSkuChangeInfo * string * Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesNetworkRuleSet * Azure.ResourceManager.CognitiveServices.Models.ServiceAccountEncryptionProperties * seq<Azure.ResourceManager.CognitiveServices.Models.ServiceAccountUserOwnedStorage> * seq<Azure.ResourceManager.CognitiveServices.CognitiveServicesPrivateEndpointConnectionData> * Nullable<Azure.ResourceManager.CognitiveServices.Models.ServiceAccountPublicNetworkAccess> * Azure.ResourceManager.CognitiveServices.Models.ServiceAccountApiProperties * Nullable<DateTimeOffset> * Azure.ResourceManager.CognitiveServices.Models.ServiceAccountCallRateLimit * Nullable<bool> * Azure.ResourceManager.CognitiveServices.Models.ServiceAccountQuotaLimit * Nullable<bool> * seq<string> * Nullable<bool> * System.Collections.Generic.IReadOnlyDictionary<string, string> * Nullable<bool> * Nullable<DateTimeOffset> * string * Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesMultiRegionSettings * seq<Azure.ResourceManager.CognitiveServices.Models.CommitmentPlanAssociation> * Azure.ResourceManager.CognitiveServices.Models.AbusePenalty -> Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountProperties
Public Shared Function CognitiveServicesAccountProperties (Optional provisioningState As Nullable(Of ServiceAccountProvisioningState) = Nothing, Optional endpoint As String = Nothing, Optional capabilities As IEnumerable(Of CognitiveServicesSkuCapability) = Nothing, Optional isMigrated As Nullable(Of Boolean) = Nothing, Optional migrationToken As String = Nothing, Optional skuChangeInfo As CognitiveServicesSkuChangeInfo = Nothing, Optional customSubDomainName As String = Nothing, Optional networkAcls As CognitiveServicesNetworkRuleSet = Nothing, Optional encryption As ServiceAccountEncryptionProperties = Nothing, Optional userOwnedStorage As IEnumerable(Of ServiceAccountUserOwnedStorage) = Nothing, Optional privateEndpointConnections As IEnumerable(Of CognitiveServicesPrivateEndpointConnectionData) = Nothing, Optional publicNetworkAccess As Nullable(Of ServiceAccountPublicNetworkAccess) = Nothing, Optional apiProperties As ServiceAccountApiProperties = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional callRateLimit As ServiceAccountCallRateLimit = Nothing, Optional enableDynamicThrottling As Nullable(Of Boolean) = Nothing, Optional quotaLimit As ServiceAccountQuotaLimit = Nothing, Optional restrictOutboundNetworkAccess As Nullable(Of Boolean) = Nothing, Optional allowedFqdnList As IEnumerable(Of String) = Nothing, Optional disableLocalAuth As Nullable(Of Boolean) = Nothing, Optional endpoints As IReadOnlyDictionary(Of String, String) = Nothing, Optional restore As Nullable(Of Boolean) = Nothing, Optional deletedOn As Nullable(Of DateTimeOffset) = Nothing, Optional scheduledPurgeDate As String = Nothing, Optional locations As CognitiveServicesMultiRegionSettings = Nothing, Optional commitmentPlanAssociations As IEnumerable(Of CommitmentPlanAssociation) = Nothing, Optional abusePenalty As AbusePenalty = Nothing) As CognitiveServicesAccountProperties

Parameters

provisioningState
Nullable<ServiceAccountProvisioningState>

Gets the status of the cognitive services account at the time the operation was called.

endpoint
String

Endpoint of the created account.

capabilities
IEnumerable<CognitiveServicesSkuCapability>

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.

isMigrated
Nullable<Boolean>

If the resource is migrated from an existing key.

migrationToken
String

Resource migration token.

skuChangeInfo
CognitiveServicesSkuChangeInfo

Sku change info of account.

customSubDomainName
String

Optional subdomain name used for token-based authentication.

networkAcls
CognitiveServicesNetworkRuleSet

A collection of rules governing the accessibility from specific network locations.

encryption
ServiceAccountEncryptionProperties

The encryption properties for this resource.

userOwnedStorage
IEnumerable<ServiceAccountUserOwnedStorage>

The storage accounts for this resource.

privateEndpointConnections
IEnumerable<CognitiveServicesPrivateEndpointConnectionData>

The private endpoint connection associated with the Cognitive Services account.

publicNetworkAccess
Nullable<ServiceAccountPublicNetworkAccess>

Whether or not public endpoint access is allowed for this account.

apiProperties
ServiceAccountApiProperties

The api properties for special APIs.

createdOn
Nullable<DateTimeOffset>

Gets the date of cognitive services account creation.

callRateLimit
ServiceAccountCallRateLimit

The call rate limit Cognitive Services account.

enableDynamicThrottling
Nullable<Boolean>

The flag to enable dynamic throttling.

restrictOutboundNetworkAccess
Nullable<Boolean>
allowedFqdnList
IEnumerable<String>
disableLocalAuth
Nullable<Boolean>
endpoints
IReadOnlyDictionary<String,String>

Dictionary of <string>.

restore
Nullable<Boolean>
deletedOn
Nullable<DateTimeOffset>

The deletion date, only available for deleted account.

scheduledPurgeDate
String

The scheduled purge date, only available for deleted account.

locations
CognitiveServicesMultiRegionSettings

The multiregion settings of Cognitive Services account.

commitmentPlanAssociations
IEnumerable<CommitmentPlanAssociation>

The commitment plan associations of Cognitive Services account.

abusePenalty
AbusePenalty

The abuse penalty.

Returns

A new CognitiveServicesAccountProperties instance for mocking.

Applies to