你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CosmosDBExtensions.GetCosmosDBPrivateLinkResource 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个 对象,该 CosmosDBPrivateLinkResource 对象表示 ,以及可对它执行但没有数据的实例操作。 可以使用 CreateResourceIdentifier(String, String, String, String) 从其组件创建 CosmosDBPrivateLinkResourceResourceIdentifier 。
public static Azure.ResourceManager.CosmosDB.CosmosDBPrivateLinkResource GetCosmosDBPrivateLinkResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
static member GetCosmosDBPrivateLinkResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.CosmosDB.CosmosDBPrivateLinkResource
<Extension()>
Public Function GetCosmosDBPrivateLinkResource (client As ArmClient, id As ResourceIdentifier) As CosmosDBPrivateLinkResource
参数
要获取的资源的资源 ID。
返回
返回一个 CosmosDBPrivateLinkResource 对象。