你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PrivateLinkScopes interface

表示 PrivateLinkScopes 的接口。

方法

createOrUpdate(string, string, KubernetesConfigurationPrivateLinkScope, PrivateLinkScopesCreateOrUpdateOptionalParams)

创建 Azure Arc PrivateLinkScope(或更新)。 注意:不能在 Put作中为 InstrumentationKey 和 AppId 指定其他值。

delete(string, string, PrivateLinkScopesDeleteOptionalParams)

删除 Azure Arc PrivateLinkScope。

get(string, string, PrivateLinkScopesGetOptionalParams)

返回 Azure Arc PrivateLinkScope。

list(PrivateLinkScopesListOptionalParams)

获取订阅中所有 Azure Arc PrivateLinkScopes 的列表。

listByResourceGroup(string, PrivateLinkScopesListByResourceGroupOptionalParams)

获取资源组中 Azure Arc PrivateLinkScopes 的列表。

updateTags(string, string, TagsResource, PrivateLinkScopesUpdateTagsOptionalParams)

更新现有的 PrivateLinkScope 标记。 若要更新其他字段,请使用 CreateOrUpdate 方法。

方法详细信息

createOrUpdate(string, string, KubernetesConfigurationPrivateLinkScope, PrivateLinkScopesCreateOrUpdateOptionalParams)

创建 Azure Arc PrivateLinkScope(或更新)。 注意:不能在 Put作中为 InstrumentationKey 和 AppId 指定其他值。

function createOrUpdate(resourceGroupName: string, scopeName: string, parameters: KubernetesConfigurationPrivateLinkScope, options?: PrivateLinkScopesCreateOrUpdateOptionalParams): Promise<KubernetesConfigurationPrivateLinkScope>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

scopeName

string

Azure Arc PrivateLinkScope 资源的名称。

parameters
KubernetesConfigurationPrivateLinkScope

需要指定的属性来创建或更新用于服务器和群集 PrivateLinkScope 的 Azure Arc。

返回

delete(string, string, PrivateLinkScopesDeleteOptionalParams)

删除 Azure Arc PrivateLinkScope。

function delete(resourceGroupName: string, scopeName: string, options?: PrivateLinkScopesDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

scopeName

string

Azure Arc PrivateLinkScope 资源的名称。

options
PrivateLinkScopesDeleteOptionalParams

选项参数。

返回

Promise<void>

get(string, string, PrivateLinkScopesGetOptionalParams)

返回 Azure Arc PrivateLinkScope。

function get(resourceGroupName: string, scopeName: string, options?: PrivateLinkScopesGetOptionalParams): Promise<KubernetesConfigurationPrivateLinkScope>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

scopeName

string

Azure Arc PrivateLinkScope 资源的名称。

options
PrivateLinkScopesGetOptionalParams

选项参数。

返回

list(PrivateLinkScopesListOptionalParams)

获取订阅中所有 Azure Arc PrivateLinkScopes 的列表。

function list(options?: PrivateLinkScopesListOptionalParams): PagedAsyncIterableIterator<KubernetesConfigurationPrivateLinkScope, KubernetesConfigurationPrivateLinkScope[], PageSettings>

参数

options
PrivateLinkScopesListOptionalParams

选项参数。

返回

listByResourceGroup(string, PrivateLinkScopesListByResourceGroupOptionalParams)

获取资源组中 Azure Arc PrivateLinkScopes 的列表。

function listByResourceGroup(resourceGroupName: string, options?: PrivateLinkScopesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<KubernetesConfigurationPrivateLinkScope, KubernetesConfigurationPrivateLinkScope[], PageSettings>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

返回

updateTags(string, string, TagsResource, PrivateLinkScopesUpdateTagsOptionalParams)

更新现有的 PrivateLinkScope 标记。 若要更新其他字段,请使用 CreateOrUpdate 方法。

function updateTags(resourceGroupName: string, scopeName: string, privateLinkScopeTags: TagsResource, options?: PrivateLinkScopesUpdateTagsOptionalParams): Promise<KubernetesConfigurationPrivateLinkScope>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

scopeName

string

Azure Arc PrivateLinkScope 资源的名称。

privateLinkScopeTags
TagsResource

更新了要设置为 PrivateLinkScope 实例的标记信息。

返回