你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmCosmosDBModelFactory.MongoDBCollectionData 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 MongoDBCollectionData 的新实例。
public static Azure.ResourceManager.CosmosDB.MongoDBCollectionData MongoDBCollectionData (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.ExtendedMongoDBCollectionResourceInfo resource = default, Azure.ResourceManager.CosmosDB.Models.MongoDBCollectionPropertiesConfig options = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default);
static member MongoDBCollectionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.CosmosDB.Models.ExtendedMongoDBCollectionResourceInfo * Azure.ResourceManager.CosmosDB.Models.MongoDBCollectionPropertiesConfig * Azure.ResourceManager.Models.ManagedServiceIdentity -> Azure.ResourceManager.CosmosDB.MongoDBCollectionData
Public Shared Function MongoDBCollectionData (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 ExtendedMongoDBCollectionResourceInfo = Nothing, Optional options As MongoDBCollectionPropertiesConfig = Nothing, Optional identity As ManagedServiceIdentity = Nothing) As MongoDBCollectionData
参数
ID。
- name
- String
名称。
- resourceType
- ResourceType
resourceType。
- systemData
- SystemData
systemData。
- tags
- IDictionary<String,String>
标记。
- location
- AzureLocation
位置。
- identity
- ManagedServiceIdentity
资源的标识。
返回
用于模拟的新 MongoDBCollectionData 实例。