共用方式為


ArmCosmosDBModelFactory.CosmosDBSqlContainerData Method

Definition

Overloads

CosmosDBSqlContainerData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, ExtendedCosmosDBSqlContainerResourceInfo, CosmosDBSqlContainerPropertiesConfig)
CosmosDBSqlContainerData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, ExtendedCosmosDBSqlContainerResourceInfo, CosmosDBSqlContainerPropertiesConfig, ManagedServiceIdentity)

Initializes a new instance of CosmosDBSqlContainerData.

CosmosDBSqlContainerData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, ExtendedCosmosDBSqlContainerResourceInfo, CosmosDBSqlContainerPropertiesConfig)

Source:
ArmCosmosDBModelFactory.cs
public static Azure.ResourceManager.CosmosDB.CosmosDBSqlContainerData CosmosDBSqlContainerData (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.ExtendedCosmosDBSqlContainerResourceInfo resource = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBSqlContainerPropertiesConfig options = default);
static member CosmosDBSqlContainerData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.CosmosDB.Models.ExtendedCosmosDBSqlContainerResourceInfo * Azure.ResourceManager.CosmosDB.Models.CosmosDBSqlContainerPropertiesConfig -> Azure.ResourceManager.CosmosDB.CosmosDBSqlContainerData
Public Shared Function CosmosDBSqlContainerData (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 resource As ExtendedCosmosDBSqlContainerResourceInfo = Nothing, Optional options As CosmosDBSqlContainerPropertiesConfig = Nothing) As CosmosDBSqlContainerData

Parameters

name
String
resourceType
ResourceType
systemData
SystemData
location
AzureLocation

Returns

Applies to

CosmosDBSqlContainerData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, ExtendedCosmosDBSqlContainerResourceInfo, CosmosDBSqlContainerPropertiesConfig, ManagedServiceIdentity)

Source:
ArmCosmosDBModelFactory.cs

Initializes a new instance of CosmosDBSqlContainerData.

public static Azure.ResourceManager.CosmosDB.CosmosDBSqlContainerData CosmosDBSqlContainerData (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.ExtendedCosmosDBSqlContainerResourceInfo resource = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBSqlContainerPropertiesConfig options = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default);
static member CosmosDBSqlContainerData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.CosmosDB.Models.ExtendedCosmosDBSqlContainerResourceInfo * Azure.ResourceManager.CosmosDB.Models.CosmosDBSqlContainerPropertiesConfig * Azure.ResourceManager.Models.ManagedServiceIdentity -> Azure.ResourceManager.CosmosDB.CosmosDBSqlContainerData
Public Shared Function CosmosDBSqlContainerData (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 resource As ExtendedCosmosDBSqlContainerResourceInfo = Nothing, Optional options As CosmosDBSqlContainerPropertiesConfig = Nothing, Optional identity As ManagedServiceIdentity = Nothing) As CosmosDBSqlContainerData

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.

identity
ManagedServiceIdentity

Identity for the resource.

Returns

A new CosmosDBSqlContainerData instance for mocking.

Applies to