Compartilhar via


ArmCosmosDBModelFactory.CosmosDBSqlDatabaseData Method

Definition

Overloads

CosmosDBSqlDatabaseData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, ExtendedCosmosDBSqlDatabaseResourceInfo, CosmosDBSqlDatabasePropertiesConfig)
CosmosDBSqlDatabaseData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, ExtendedCosmosDBSqlDatabaseResourceInfo, CosmosDBSqlDatabasePropertiesConfig, ManagedServiceIdentity)

Initializes a new instance of CosmosDBSqlDatabaseData.

CosmosDBSqlDatabaseData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, ExtendedCosmosDBSqlDatabaseResourceInfo, CosmosDBSqlDatabasePropertiesConfig)

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

Parameters

name
String
resourceType
ResourceType
systemData
SystemData
location
AzureLocation

Returns

Applies to

CosmosDBSqlDatabaseData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, ExtendedCosmosDBSqlDatabaseResourceInfo, CosmosDBSqlDatabasePropertiesConfig, ManagedServiceIdentity)

Source:
ArmCosmosDBModelFactory.cs

Initializes a new instance of CosmosDBSqlDatabaseData.

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

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 CosmosDBSqlDatabaseData instance for mocking.

Applies to