共用方式為


ArmCosmosDBModelFactory.CosmosDBAccountData Method

Definition

Overloads

CosmosDBAccountData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, Nullable<CosmosDBAccountKind>, ManagedServiceIdentity, String, String, Nullable<CosmosDBAccountOfferType>, IEnumerable<CosmosDBIPAddressOrRange>, Nullable<Boolean>, Nullable<Boolean>, ConsistencyPolicy, IEnumerable<CosmosDBAccountCapability>, IEnumerable<CosmosDBAccountLocation>, IEnumerable<CosmosDBAccountLocation>, IEnumerable<CosmosDBAccountLocation>, IEnumerable<CosmosDBFailoverPolicy>, IEnumerable<CosmosDBVirtualNetworkRule>, IEnumerable<CosmosDBPrivateEndpointConnectionData>, Nullable<Boolean>, Nullable<Boolean>, Nullable<ConnectorOffer>, Nullable<Boolean>, Uri, String, Nullable<CosmosDBPublicNetworkAccess>, Nullable<Boolean>, Nullable<CosmosDBServerVersion>, Nullable<Boolean>, Nullable<AnalyticalStorageSchemaType>, Nullable<Guid>, Nullable<CosmosDBAccountCreateMode>, CosmosDBAccountRestoreParameters, CosmosDBAccountBackupPolicy, IEnumerable<CosmosDBAccountCorsPolicy>, Nullable<NetworkAclBypass>, IEnumerable<ResourceIdentifier>, Nullable<Boolean>, Nullable<Int32>, DatabaseAccountKeysMetadata, Nullable<Boolean>, Nullable<CosmosDBMinimalTlsVersion>)
CosmosDBAccountData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, Nullable<CosmosDBAccountKind>, String, String, Nullable<CosmosDBAccountOfferType>, IEnumerable<CosmosDBIPAddressOrRange>, Nullable<Boolean>, Nullable<Boolean>, ConsistencyPolicy, IEnumerable<CosmosDBAccountCapability>, IEnumerable<CosmosDBAccountLocation>, IEnumerable<CosmosDBAccountLocation>, IEnumerable<CosmosDBAccountLocation>, IEnumerable<CosmosDBFailoverPolicy>, IEnumerable<CosmosDBVirtualNetworkRule>, IEnumerable<CosmosDBPrivateEndpointConnectionData>, Nullable<Boolean>, Nullable<Boolean>, Nullable<ConnectorOffer>, Nullable<Boolean>, Uri, String, Nullable<CosmosDBPublicNetworkAccess>, Nullable<Boolean>, Nullable<CosmosDBServerVersion>, Nullable<Boolean>, Nullable<AnalyticalStorageSchemaType>, Nullable<Guid>, Nullable<CosmosDBAccountCreateMode>, CosmosDBAccountRestoreParameters, CosmosDBAccountBackupPolicy, IEnumerable<CosmosDBAccountCorsPolicy>, Nullable<NetworkAclBypass>, IEnumerable<ResourceIdentifier>, Nullable<EnableFullTextQuery>, Nullable<Boolean>, Nullable<Int32>, Nullable<CapacityMode>, CapacityModeChangeTransitionState, Nullable<Boolean>, DatabaseAccountKeysMetadata, Nullable<Boolean>, Nullable<Boolean>, Nullable<CosmosDBMinimalTlsVersion>, String, Nullable<Boolean>, Nullable<DefaultPriorityLevel>, Nullable<Boolean>, ManagedServiceIdentity)

Initializes a new instance of CosmosDBAccountData.

CosmosDBAccountData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, Nullable<CosmosDBAccountKind>, ManagedServiceIdentity, String, String, Nullable<CosmosDBAccountOfferType>, IEnumerable<CosmosDBIPAddressOrRange>, Nullable<Boolean>, Nullable<Boolean>, ConsistencyPolicy, IEnumerable<CosmosDBAccountCapability>, IEnumerable<CosmosDBAccountLocation>, IEnumerable<CosmosDBAccountLocation>, IEnumerable<CosmosDBAccountLocation>, IEnumerable<CosmosDBFailoverPolicy>, IEnumerable<CosmosDBVirtualNetworkRule>, IEnumerable<CosmosDBPrivateEndpointConnectionData>, Nullable<Boolean>, Nullable<Boolean>, Nullable<ConnectorOffer>, Nullable<Boolean>, Uri, String, Nullable<CosmosDBPublicNetworkAccess>, Nullable<Boolean>, Nullable<CosmosDBServerVersion>, Nullable<Boolean>, Nullable<AnalyticalStorageSchemaType>, Nullable<Guid>, Nullable<CosmosDBAccountCreateMode>, CosmosDBAccountRestoreParameters, CosmosDBAccountBackupPolicy, IEnumerable<CosmosDBAccountCorsPolicy>, Nullable<NetworkAclBypass>, IEnumerable<ResourceIdentifier>, Nullable<Boolean>, Nullable<Int32>, DatabaseAccountKeysMetadata, Nullable<Boolean>, Nullable<CosmosDBMinimalTlsVersion>)

Source:
ArmCosmosDBModelFactory.cs
public static Azure.ResourceManager.CosmosDB.CosmosDBAccountData CosmosDBAccountData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountKind? kind = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, string provisioningState = default, string documentEndpoint = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountOfferType? databaseAccountOfferType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBIPAddressOrRange> ipRules = default, bool? isVirtualNetworkFilterEnabled = default, bool? enableAutomaticFailover = default, Azure.ResourceManager.CosmosDB.Models.ConsistencyPolicy consistencyPolicy = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCapability> capabilities = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountLocation> writeLocations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountLocation> readLocations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountLocation> locations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBFailoverPolicy> failoverPolicies = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBVirtualNetworkRule> virtualNetworkRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.CosmosDBPrivateEndpointConnectionData> privateEndpointConnections = default, bool? enableMultipleWriteLocations = default, bool? enableCassandraConnector = default, Azure.ResourceManager.CosmosDB.Models.ConnectorOffer? connectorOffer = default, bool? disableKeyBasedMetadataWriteAccess = default, Uri keyVaultKeyUri = default, string defaultIdentity = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBPublicNetworkAccess? publicNetworkAccess = default, bool? isFreeTierEnabled = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBServerVersion? apiServerVersion = default, bool? isAnalyticalStorageEnabled = default, Azure.ResourceManager.CosmosDB.Models.AnalyticalStorageSchemaType? analyticalStorageSchemaType = default, Guid? instanceId = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCreateMode? createMode = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountRestoreParameters restoreParameters = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountBackupPolicy backupPolicy = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCorsPolicy> cors = default, Azure.ResourceManager.CosmosDB.Models.NetworkAclBypass? networkAclBypass = default, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> networkAclBypassResourceIds = default, bool? disableLocalAuth = default, int? capacityTotalThroughputLimit = default, Azure.ResourceManager.CosmosDB.Models.DatabaseAccountKeysMetadata keysMetadata = default, bool? enablePartitionMerge = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBMinimalTlsVersion? minimalTlsVersion = default);
static member CosmosDBAccountData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountKind> * Azure.ResourceManager.Models.ManagedServiceIdentity * string * string * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountOfferType> * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBIPAddressOrRange> * Nullable<bool> * Nullable<bool> * Azure.ResourceManager.CosmosDB.Models.ConsistencyPolicy * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCapability> * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountLocation> * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountLocation> * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountLocation> * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBFailoverPolicy> * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBVirtualNetworkRule> * seq<Azure.ResourceManager.CosmosDB.CosmosDBPrivateEndpointConnectionData> * Nullable<bool> * Nullable<bool> * Nullable<Azure.ResourceManager.CosmosDB.Models.ConnectorOffer> * Nullable<bool> * Uri * string * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBPublicNetworkAccess> * Nullable<bool> * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBServerVersion> * Nullable<bool> * Nullable<Azure.ResourceManager.CosmosDB.Models.AnalyticalStorageSchemaType> * Nullable<Guid> * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCreateMode> * Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountRestoreParameters * Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountBackupPolicy * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCorsPolicy> * Nullable<Azure.ResourceManager.CosmosDB.Models.NetworkAclBypass> * seq<Azure.Core.ResourceIdentifier> * Nullable<bool> * Nullable<int> * Azure.ResourceManager.CosmosDB.Models.DatabaseAccountKeysMetadata * Nullable<bool> * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBMinimalTlsVersion> -> Azure.ResourceManager.CosmosDB.CosmosDBAccountData
Public Shared Function CosmosDBAccountData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional kind As Nullable(Of CosmosDBAccountKind) = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional provisioningState As String = Nothing, Optional documentEndpoint As String = Nothing, Optional databaseAccountOfferType As Nullable(Of CosmosDBAccountOfferType) = Nothing, Optional ipRules As IEnumerable(Of CosmosDBIPAddressOrRange) = Nothing, Optional isVirtualNetworkFilterEnabled As Nullable(Of Boolean) = Nothing, Optional enableAutomaticFailover As Nullable(Of Boolean) = Nothing, Optional consistencyPolicy As ConsistencyPolicy = Nothing, Optional capabilities As IEnumerable(Of CosmosDBAccountCapability) = Nothing, Optional writeLocations As IEnumerable(Of CosmosDBAccountLocation) = Nothing, Optional readLocations As IEnumerable(Of CosmosDBAccountLocation) = Nothing, Optional locations As IEnumerable(Of CosmosDBAccountLocation) = Nothing, Optional failoverPolicies As IEnumerable(Of CosmosDBFailoverPolicy) = Nothing, Optional virtualNetworkRules As IEnumerable(Of CosmosDBVirtualNetworkRule) = Nothing, Optional privateEndpointConnections As IEnumerable(Of CosmosDBPrivateEndpointConnectionData) = Nothing, Optional enableMultipleWriteLocations As Nullable(Of Boolean) = Nothing, Optional enableCassandraConnector As Nullable(Of Boolean) = Nothing, Optional connectorOffer As Nullable(Of ConnectorOffer) = Nothing, Optional disableKeyBasedMetadataWriteAccess As Nullable(Of Boolean) = Nothing, Optional keyVaultKeyUri As Uri = Nothing, Optional defaultIdentity As String = Nothing, Optional publicNetworkAccess As Nullable(Of CosmosDBPublicNetworkAccess) = Nothing, Optional isFreeTierEnabled As Nullable(Of Boolean) = Nothing, Optional apiServerVersion As Nullable(Of CosmosDBServerVersion) = Nothing, Optional isAnalyticalStorageEnabled As Nullable(Of Boolean) = Nothing, Optional analyticalStorageSchemaType As Nullable(Of AnalyticalStorageSchemaType) = Nothing, Optional instanceId As Nullable(Of Guid) = Nothing, Optional createMode As Nullable(Of CosmosDBAccountCreateMode) = Nothing, Optional restoreParameters As CosmosDBAccountRestoreParameters = Nothing, Optional backupPolicy As CosmosDBAccountBackupPolicy = Nothing, Optional cors As IEnumerable(Of CosmosDBAccountCorsPolicy) = Nothing, Optional networkAclBypass As Nullable(Of NetworkAclBypass) = Nothing, Optional networkAclBypassResourceIds As IEnumerable(Of ResourceIdentifier) = Nothing, Optional disableLocalAuth As Nullable(Of Boolean) = Nothing, Optional capacityTotalThroughputLimit As Nullable(Of Integer) = Nothing, Optional keysMetadata As DatabaseAccountKeysMetadata = Nothing, Optional enablePartitionMerge As Nullable(Of Boolean) = Nothing, Optional minimalTlsVersion As Nullable(Of CosmosDBMinimalTlsVersion) = Nothing) As CosmosDBAccountData

Parameters

name
String
resourceType
ResourceType
systemData
SystemData
location
AzureLocation
provisioningState
String
documentEndpoint
String
databaseAccountOfferType
Nullable<CosmosDBAccountOfferType>
isVirtualNetworkFilterEnabled
Nullable<Boolean>
enableAutomaticFailover
Nullable<Boolean>
consistencyPolicy
ConsistencyPolicy
enableMultipleWriteLocations
Nullable<Boolean>
enableCassandraConnector
Nullable<Boolean>
connectorOffer
Nullable<ConnectorOffer>
disableKeyBasedMetadataWriteAccess
Nullable<Boolean>
keyVaultKeyUri
Uri
defaultIdentity
String
publicNetworkAccess
Nullable<CosmosDBPublicNetworkAccess>
isFreeTierEnabled
Nullable<Boolean>
apiServerVersion
Nullable<CosmosDBServerVersion>
isAnalyticalStorageEnabled
Nullable<Boolean>
analyticalStorageSchemaType
Nullable<AnalyticalStorageSchemaType>
instanceId
Nullable<Guid>
networkAclBypass
Nullable<NetworkAclBypass>
networkAclBypassResourceIds
IEnumerable<ResourceIdentifier>
disableLocalAuth
Nullable<Boolean>
capacityTotalThroughputLimit
Nullable<Int32>
enablePartitionMerge
Nullable<Boolean>
minimalTlsVersion
Nullable<CosmosDBMinimalTlsVersion>

Returns

Applies to

CosmosDBAccountData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, Nullable<CosmosDBAccountKind>, String, String, Nullable<CosmosDBAccountOfferType>, IEnumerable<CosmosDBIPAddressOrRange>, Nullable<Boolean>, Nullable<Boolean>, ConsistencyPolicy, IEnumerable<CosmosDBAccountCapability>, IEnumerable<CosmosDBAccountLocation>, IEnumerable<CosmosDBAccountLocation>, IEnumerable<CosmosDBAccountLocation>, IEnumerable<CosmosDBFailoverPolicy>, IEnumerable<CosmosDBVirtualNetworkRule>, IEnumerable<CosmosDBPrivateEndpointConnectionData>, Nullable<Boolean>, Nullable<Boolean>, Nullable<ConnectorOffer>, Nullable<Boolean>, Uri, String, Nullable<CosmosDBPublicNetworkAccess>, Nullable<Boolean>, Nullable<CosmosDBServerVersion>, Nullable<Boolean>, Nullable<AnalyticalStorageSchemaType>, Nullable<Guid>, Nullable<CosmosDBAccountCreateMode>, CosmosDBAccountRestoreParameters, CosmosDBAccountBackupPolicy, IEnumerable<CosmosDBAccountCorsPolicy>, Nullable<NetworkAclBypass>, IEnumerable<ResourceIdentifier>, Nullable<EnableFullTextQuery>, Nullable<Boolean>, Nullable<Int32>, Nullable<CapacityMode>, CapacityModeChangeTransitionState, Nullable<Boolean>, DatabaseAccountKeysMetadata, Nullable<Boolean>, Nullable<Boolean>, Nullable<CosmosDBMinimalTlsVersion>, String, Nullable<Boolean>, Nullable<DefaultPriorityLevel>, Nullable<Boolean>, ManagedServiceIdentity)

Source:
ArmCosmosDBModelFactory.cs

Initializes a new instance of CosmosDBAccountData.

public static Azure.ResourceManager.CosmosDB.CosmosDBAccountData CosmosDBAccountData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountKind? kind = default, string provisioningState = default, string documentEndpoint = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountOfferType? databaseAccountOfferType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBIPAddressOrRange> ipRules = default, bool? isVirtualNetworkFilterEnabled = default, bool? enableAutomaticFailover = default, Azure.ResourceManager.CosmosDB.Models.ConsistencyPolicy consistencyPolicy = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCapability> capabilities = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountLocation> writeLocations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountLocation> readLocations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountLocation> locations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBFailoverPolicy> failoverPolicies = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBVirtualNetworkRule> virtualNetworkRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.CosmosDBPrivateEndpointConnectionData> privateEndpointConnections = default, bool? enableMultipleWriteLocations = default, bool? enableCassandraConnector = default, Azure.ResourceManager.CosmosDB.Models.ConnectorOffer? connectorOffer = default, bool? disableKeyBasedMetadataWriteAccess = default, Uri keyVaultKeyUri = default, string defaultIdentity = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBPublicNetworkAccess? publicNetworkAccess = default, bool? isFreeTierEnabled = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBServerVersion? apiServerVersion = default, bool? isAnalyticalStorageEnabled = default, Azure.ResourceManager.CosmosDB.Models.AnalyticalStorageSchemaType? analyticalStorageSchemaType = default, Guid? instanceId = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCreateMode? createMode = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountRestoreParameters restoreParameters = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountBackupPolicy backupPolicy = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCorsPolicy> cors = default, Azure.ResourceManager.CosmosDB.Models.NetworkAclBypass? networkAclBypass = default, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> networkAclBypassResourceIds = default, Azure.ResourceManager.CosmosDB.Models.EnableFullTextQuery? diagnosticLogEnableFullTextQuery = default, bool? disableLocalAuth = default, int? capacityTotalThroughputLimit = default, Azure.ResourceManager.CosmosDB.Models.CapacityMode? capacityMode = default, Azure.ResourceManager.CosmosDB.Models.CapacityModeChangeTransitionState capacityModeChangeTransitionState = default, bool? enableMaterializedViews = default, Azure.ResourceManager.CosmosDB.Models.DatabaseAccountKeysMetadata keysMetadata = default, bool? enablePartitionMerge = default, bool? enableBurstCapacity = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBMinimalTlsVersion? minimalTlsVersion = default, string customerManagedKeyStatus = default, bool? enablePriorityBasedExecution = default, Azure.ResourceManager.CosmosDB.Models.DefaultPriorityLevel? defaultPriorityLevel = default, bool? enablePerRegionPerPartitionAutoscale = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default);
static member CosmosDBAccountData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountKind> * string * string * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountOfferType> * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBIPAddressOrRange> * Nullable<bool> * Nullable<bool> * Azure.ResourceManager.CosmosDB.Models.ConsistencyPolicy * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCapability> * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountLocation> * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountLocation> * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountLocation> * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBFailoverPolicy> * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBVirtualNetworkRule> * seq<Azure.ResourceManager.CosmosDB.CosmosDBPrivateEndpointConnectionData> * Nullable<bool> * Nullable<bool> * Nullable<Azure.ResourceManager.CosmosDB.Models.ConnectorOffer> * Nullable<bool> * Uri * string * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBPublicNetworkAccess> * Nullable<bool> * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBServerVersion> * Nullable<bool> * Nullable<Azure.ResourceManager.CosmosDB.Models.AnalyticalStorageSchemaType> * Nullable<Guid> * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCreateMode> * Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountRestoreParameters * Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountBackupPolicy * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCorsPolicy> * Nullable<Azure.ResourceManager.CosmosDB.Models.NetworkAclBypass> * seq<Azure.Core.ResourceIdentifier> * Nullable<Azure.ResourceManager.CosmosDB.Models.EnableFullTextQuery> * Nullable<bool> * Nullable<int> * Nullable<Azure.ResourceManager.CosmosDB.Models.CapacityMode> * Azure.ResourceManager.CosmosDB.Models.CapacityModeChangeTransitionState * Nullable<bool> * Azure.ResourceManager.CosmosDB.Models.DatabaseAccountKeysMetadata * Nullable<bool> * Nullable<bool> * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBMinimalTlsVersion> * string * Nullable<bool> * Nullable<Azure.ResourceManager.CosmosDB.Models.DefaultPriorityLevel> * Nullable<bool> * Azure.ResourceManager.Models.ManagedServiceIdentity -> Azure.ResourceManager.CosmosDB.CosmosDBAccountData
Public Shared Function CosmosDBAccountData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional kind As Nullable(Of CosmosDBAccountKind) = Nothing, Optional provisioningState As String = Nothing, Optional documentEndpoint As String = Nothing, Optional databaseAccountOfferType As Nullable(Of CosmosDBAccountOfferType) = Nothing, Optional ipRules As IEnumerable(Of CosmosDBIPAddressOrRange) = Nothing, Optional isVirtualNetworkFilterEnabled As Nullable(Of Boolean) = Nothing, Optional enableAutomaticFailover As Nullable(Of Boolean) = Nothing, Optional consistencyPolicy As ConsistencyPolicy = Nothing, Optional capabilities As IEnumerable(Of CosmosDBAccountCapability) = Nothing, Optional writeLocations As IEnumerable(Of CosmosDBAccountLocation) = Nothing, Optional readLocations As IEnumerable(Of CosmosDBAccountLocation) = Nothing, Optional locations As IEnumerable(Of CosmosDBAccountLocation) = Nothing, Optional failoverPolicies As IEnumerable(Of CosmosDBFailoverPolicy) = Nothing, Optional virtualNetworkRules As IEnumerable(Of CosmosDBVirtualNetworkRule) = Nothing, Optional privateEndpointConnections As IEnumerable(Of CosmosDBPrivateEndpointConnectionData) = Nothing, Optional enableMultipleWriteLocations As Nullable(Of Boolean) = Nothing, Optional enableCassandraConnector As Nullable(Of Boolean) = Nothing, Optional connectorOffer As Nullable(Of ConnectorOffer) = Nothing, Optional disableKeyBasedMetadataWriteAccess As Nullable(Of Boolean) = Nothing, Optional keyVaultKeyUri As Uri = Nothing, Optional defaultIdentity As String = Nothing, Optional publicNetworkAccess As Nullable(Of CosmosDBPublicNetworkAccess) = Nothing, Optional isFreeTierEnabled As Nullable(Of Boolean) = Nothing, Optional apiServerVersion As Nullable(Of CosmosDBServerVersion) = Nothing, Optional isAnalyticalStorageEnabled As Nullable(Of Boolean) = Nothing, Optional analyticalStorageSchemaType As Nullable(Of AnalyticalStorageSchemaType) = Nothing, Optional instanceId As Nullable(Of Guid) = Nothing, Optional createMode As Nullable(Of CosmosDBAccountCreateMode) = Nothing, Optional restoreParameters As CosmosDBAccountRestoreParameters = Nothing, Optional backupPolicy As CosmosDBAccountBackupPolicy = Nothing, Optional cors As IEnumerable(Of CosmosDBAccountCorsPolicy) = Nothing, Optional networkAclBypass As Nullable(Of NetworkAclBypass) = Nothing, Optional networkAclBypassResourceIds As IEnumerable(Of ResourceIdentifier) = Nothing, Optional diagnosticLogEnableFullTextQuery As Nullable(Of EnableFullTextQuery) = Nothing, Optional disableLocalAuth As Nullable(Of Boolean) = Nothing, Optional capacityTotalThroughputLimit As Nullable(Of Integer) = Nothing, Optional capacityMode As Nullable(Of CapacityMode) = Nothing, Optional capacityModeChangeTransitionState As CapacityModeChangeTransitionState = Nothing, Optional enableMaterializedViews As Nullable(Of Boolean) = Nothing, Optional keysMetadata As DatabaseAccountKeysMetadata = Nothing, Optional enablePartitionMerge As Nullable(Of Boolean) = Nothing, Optional enableBurstCapacity As Nullable(Of Boolean) = Nothing, Optional minimalTlsVersion As Nullable(Of CosmosDBMinimalTlsVersion) = Nothing, Optional customerManagedKeyStatus As String = Nothing, Optional enablePriorityBasedExecution As Nullable(Of Boolean) = Nothing, Optional defaultPriorityLevel As Nullable(Of DefaultPriorityLevel) = Nothing, Optional enablePerRegionPerPartitionAutoscale As Nullable(Of Boolean) = Nothing, Optional identity As ManagedServiceIdentity = Nothing) As CosmosDBAccountData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

kind
Nullable<CosmosDBAccountKind>

Indicates the type of database account. This can only be set at database account creation.

provisioningState
String

The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed.

documentEndpoint
String

The connection endpoint for the Cosmos DB database account.

databaseAccountOfferType
Nullable<CosmosDBAccountOfferType>

The offer type for the Cosmos DB database account. Default value: Standard.

ipRules
IEnumerable<CosmosDBIPAddressOrRange>

List of IpRules.

isVirtualNetworkFilterEnabled
Nullable<Boolean>

Flag to indicate whether to enable/disable Virtual Network ACL rules.

enableAutomaticFailover
Nullable<Boolean>

Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account.

consistencyPolicy
ConsistencyPolicy

The consistency policy for the Cosmos DB database account.

capabilities
IEnumerable<CosmosDBAccountCapability>

List of Cosmos DB capabilities for the account.

writeLocations
IEnumerable<CosmosDBAccountLocation>

An array that contains the write location for the Cosmos DB account.

readLocations
IEnumerable<CosmosDBAccountLocation>

An array that contains of the read locations enabled for the Cosmos DB account.

locations
IEnumerable<CosmosDBAccountLocation>

An array that contains all of the locations enabled for the Cosmos DB account.

failoverPolicies
IEnumerable<CosmosDBFailoverPolicy>

An array that contains the regions ordered by their failover priorities.

virtualNetworkRules
IEnumerable<CosmosDBVirtualNetworkRule>

List of Virtual Network ACL rules configured for the Cosmos DB account.

privateEndpointConnections
IEnumerable<CosmosDBPrivateEndpointConnectionData>

List of Private Endpoint Connections configured for the Cosmos DB account.

enableMultipleWriteLocations
Nullable<Boolean>

Enables the account to write in multiple locations.

enableCassandraConnector
Nullable<Boolean>

Enables the cassandra connector on the Cosmos DB C* account.

connectorOffer
Nullable<ConnectorOffer>

The cassandra connector offer type for the Cosmos DB database C* account.

disableKeyBasedMetadataWriteAccess
Nullable<Boolean>

Disable write operations on metadata resources (databases, containers, throughput) via account keys.

keyVaultKeyUri
Uri

The URI of the key vault.

defaultIdentity
String

The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more.

publicNetworkAccess
Nullable<CosmosDBPublicNetworkAccess>

Whether requests from Public Network are allowed.

isFreeTierEnabled
Nullable<Boolean>

Flag to indicate whether Free Tier is enabled.

apiServerVersion
Nullable<CosmosDBServerVersion>

API specific properties.

isAnalyticalStorageEnabled
Nullable<Boolean>

Flag to indicate whether to enable storage analytics.

analyticalStorageSchemaType
Nullable<AnalyticalStorageSchemaType>

Analytical storage specific properties.

instanceId
Nullable<Guid>

A unique identifier assigned to the database account.

createMode
Nullable<CosmosDBAccountCreateMode>

Enum to indicate the mode of account creation.

restoreParameters
CosmosDBAccountRestoreParameters

Parameters to indicate the information about the restore.

backupPolicy
CosmosDBAccountBackupPolicy

The object representing the policy for taking backups on an account. Please note CosmosDBAccountBackupPolicy is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ContinuousModeBackupPolicy and PeriodicModeBackupPolicy.

cors
IEnumerable<CosmosDBAccountCorsPolicy>

The CORS policy for the Cosmos DB database account.

networkAclBypass
Nullable<NetworkAclBypass>

Indicates what services are allowed to bypass firewall checks.

networkAclBypassResourceIds
IEnumerable<ResourceIdentifier>

An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.

diagnosticLogEnableFullTextQuery
Nullable<EnableFullTextQuery>

The Object representing the different Diagnostic log settings for the Cosmos DB Account.

disableLocalAuth
Nullable<Boolean>

Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.

capacityTotalThroughputLimit
Nullable<Int32>

The object that represents all properties related to capacity enforcement on an account.

capacityMode
Nullable<CapacityMode>

Indicates the capacityMode of the Cosmos DB account.

capacityModeChangeTransitionState
CapacityModeChangeTransitionState

The object that represents the migration state for the CapacityMode of the Cosmos DB account.

enableMaterializedViews
Nullable<Boolean>

Flag to indicate whether to enable MaterializedViews on the Cosmos DB account.

keysMetadata
DatabaseAccountKeysMetadata

The object that represents the metadata for the Account Keys of the Cosmos DB account.

enablePartitionMerge
Nullable<Boolean>

Flag to indicate enabling/disabling of Partition Merge feature on the account.

enableBurstCapacity
Nullable<Boolean>

Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account.

minimalTlsVersion
Nullable<CosmosDBMinimalTlsVersion>

Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which only work with Tls 1.2.

customerManagedKeyStatus
String

Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance.

enablePriorityBasedExecution
Nullable<Boolean>

Flag to indicate enabling/disabling of Priority Based Execution Preview feature on the account.

defaultPriorityLevel
Nullable<DefaultPriorityLevel>

Enum to indicate default Priority Level of request for Priority Based Execution.

enablePerRegionPerPartitionAutoscale
Nullable<Boolean>

Flag to indicate enabling/disabling of Per-Region Per-partition autoscale Preview feature on the account.

identity
ManagedServiceIdentity

Identity for the resource.

Returns

A new CosmosDBAccountData instance for mocking.

Applies to