PrivateLinkScopes interface
表示 PrivateLinkScopes 的接口。
方法
| create |
创建 Azure Arc PrivateLinkScope(或更新)。 注意:不能在 Put作中为 InstrumentationKey 和 AppId 指定其他值。 |
| delete(string, string, Private |
删除 Azure Arc PrivateLinkScope。 |
| get(string, string, Private |
返回 Azure Arc PrivateLinkScope。 |
| list(Private |
获取订阅中所有 Azure Arc PrivateLinkScopes 的列表。 |
| list |
获取资源组中 Azure Arc PrivateLinkScopes 的列表。 |
| update |
更新现有的 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 资源的名称。
选项参数。
返回
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 资源的名称。
选项参数。
返回
list(PrivateLinkScopesListOptionalParams)
获取订阅中所有 Azure Arc PrivateLinkScopes 的列表。
function list(options?: PrivateLinkScopesListOptionalParams): PagedAsyncIterableIterator<KubernetesConfigurationPrivateLinkScope, KubernetesConfigurationPrivateLinkScope[], PageSettings>
参数
选项参数。
返回
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 实例的标记信息。
选项参数。