你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmCognitiveServicesModelFactory.CognitiveServicesAccountProperties 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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
参数
- provisioningState
- Nullable<ServiceAccountProvisioningState>
获取调用操作时认知服务帐户的状态。
- endpoint
- String
已创建帐户的终结点。
- capabilities
- IEnumerable<CognitiveServicesSkuCapability>
获取认知服务帐户的功能。 每个项都指示特定功能的功能。 这些值是只读的,仅供参考。
- migrationToken
- String
资源迁移令牌。
- skuChangeInfo
- CognitiveServicesSkuChangeInfo
帐户的 SKU 更改信息。
- customSubDomainName
- String
用于基于令牌的身份验证的可选子域名。
- networkAcls
- CognitiveServicesNetworkRuleSet
管理来自特定网络位置的可访问性的规则集合。
- encryption
- ServiceAccountEncryptionProperties
此资源的加密属性。
- userOwnedStorage
- IEnumerable<ServiceAccountUserOwnedStorage>
此资源的存储帐户。
- privateEndpointConnections
- IEnumerable<CognitiveServicesPrivateEndpointConnectionData>
与认知服务帐户关联的专用终结点连接。
- publicNetworkAccess
- Nullable<ServiceAccountPublicNetworkAccess>
是否允许此帐户访问公共终结点。
- apiProperties
- ServiceAccountApiProperties
特殊 API 的 API 属性。
- createdOn
- Nullable<DateTimeOffset>
获取认知服务帐户创建日期。
- callRateLimit
- ServiceAccountCallRateLimit
调用速率限制认知服务帐户。
- quotaLimit
- ServiceAccountQuotaLimit
- allowedFqdnList
- IEnumerable<String>
- endpoints
- IReadOnlyDictionary<String,String>
字符串>字典<。
- deletedOn
- Nullable<DateTimeOffset>
删除日期,仅适用于已删除的帐户。
- scheduledPurgeDate
- String
计划的清除日期,仅适用于已删除的帐户。
- locations
- CognitiveServicesMultiRegionSettings
认知服务帐户的多区域设置。
- commitmentPlanAssociations
- IEnumerable<CommitmentPlanAssociation>
认知服务帐户的承诺计划关联。
- abusePenalty
- AbusePenalty
滥用处罚。
返回
用于模拟的新 CognitiveServicesAccountProperties 实例。