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

@azure/arm-extendedlocation package

接口

CustomLocation

自定义位置定义。

CustomLocationFindTargetResourceGroupProperties

查找目标资源组作请求。

CustomLocationFindTargetResourceGroupResult

查找目标资源组作响应。

CustomLocationOperation

自定义位置作。

CustomLocationOperationValueDisplay

描述自定义位置操作值显示的属性。

CustomLocationProperties

自定义地点的房产。

CustomLocationPropertiesAuthentication

这是可选输入,其中包含应用于生成命名空间的身份验证。

CustomLocationsCreateOrUpdateOptionalParams

可选参数。

CustomLocationsDeleteOptionalParams

可选参数。

CustomLocationsFindTargetResourceGroupOptionalParams

可选参数。

CustomLocationsGetOptionalParams

可选参数。

CustomLocationsListByResourceGroupOptionalParams

可选参数。

CustomLocationsListBySubscriptionOptionalParams

可选参数。

CustomLocationsListEnabledResourceTypesOptionalParams

可选参数。

CustomLocationsListOperationsOptionalParams

可选参数。

CustomLocationsManagementClientOptionalParams

客户端的可选参数。

CustomLocationsOperations

表示自定义地点操作的接口。

CustomLocationsUpdateOptionalParams

可选参数。

EnabledResourceType

EnabledResourceType 定义。

EnabledResourceTypeProperties

自定义位置的EnabledResourceType属性。

EnabledResourceTypePropertiesTypesMetadataItem

资源类型的元数据。

ErrorAdditionalInfo

资源管理错误附加信息。

ErrorDetail

错误详细信息。

ErrorResponse

所有 Azure 资源管理器 API 的常见错误响应,以返回失败操作的错误详细信息。

Identity

资源的标识。

MatchExpressionsProperties

资源同步规则 matchExpression 属性定义。

PageSettings

byPage 方法的选项

PagedAsyncIterableIterator

允许异步迭代到完成和逐页迭代的接口。

PatchableCustomLocations

自定义位置可修补的资源定义。

PatchableResourceSyncRule

资源同步规则可修补的资源定义。

ProxyResource

Azure 资源管理器代理资源的资源模型定义。 它不具有标记和位置

Resource

所有 Azure 资源管理器资源的响应中返回的常见字段

ResourceSyncRule

资源同步规则定义。

ResourceSyncRuleProperties

资源同步规则的属性。 对于未映射的自定义资源,其标签将通过资源同步规则的选择器属性来查找匹配的资源同步规则。 如果该资源同步规则在所有匹配规则中优先级最高,则未映射的自定义资源将投影到与该资源同步规则关联的目标资源组。

ResourceSyncRulePropertiesSelector

标签选择器由两个部分组成:matchLabels 和 matchExpressions。 第一部分 matchLabels 是 {key,value} 对的映射。 matchLabels 映射中的单个 {key,value} 等效于 matchExpressions 的元素,其键字段为“key”,运算符为“In”,值数组仅包含“value”。 第二部分 matchExpressions 是资源选择器要求的列表。 有效运算符包括 In、NotIn、Exists 和 DoesNotExist。 在 In 和 NotIn 的情况下,设置的值必须为非空。 在 Exists 和 DoesNotExist 的情况下,设置的值必须为空。 从 matchLabels 和 matchExpressions 的所有要求都必须满足才能匹配。

ResourceSyncRulesCreateOrUpdateOptionalParams

可选参数。

ResourceSyncRulesDeleteOptionalParams

可选参数。

ResourceSyncRulesGetOptionalParams

可选参数。

ResourceSyncRulesListByCustomLocationIDOptionalParams

可选参数。

ResourceSyncRulesOperations

表示 ResourceSyncRules 操作的接口。

ResourceSyncRulesUpdateOptionalParams

可选参数。

RestorePollerOptions
SimplePollerLike

可用于轮询长时间运行的操作的简单轮询程序。

SystemData

与创建和上次修改资源相关的元数据。

TrackedResource

Azure 资源管理器的资源模型定义跟踪了具有“标记”和“位置”的顶级资源

类型别名

AzureSupportedClouds

云设置为字符串文字类型的支持值

ContinuablePage

描述结果页的接口。

CreatedByType

创建资源的实体类型。
KnownCreatedByType 可与 CreatedByType 互换使用,此枚举包含服务支持的已知值。

服务支持的已知值

用户:实体是由用户创建的。
应用程序:实体是由应用程序创建的。
ManagedIdentity:实体是由托管标识创建的。
密钥:实体是由密钥创建的。

HostType

自定义地点所指的主机类型(如Kubernetes等)。
KnownHostType 可与 HostType 互换使用,此枚举包含服务支持的已知值。

服务支持的已知值

Kubernetes: Kubernetes

ResourceIdentityType

标识类型。
KnownResourceIdentityType 可与 ResourceIdentityType 互换使用,此枚举包含服务支持的已知值。

服务支持的已知值

系统分配:系统分配
:无

枚举

AzureClouds

一个用来描述Azure云环境的enum。

KnownCreatedByType

创建资源的实体类型。

KnownHostType

自定义位置引用的主机类型(Kubernetes,etc...)。

KnownResourceIdentityType

标识类型。

KnownVersions

可用的 API 版本。

函数

isRestError(unknown)

RestError 的 Typeguard

restorePoller<TResponse, TResult>(CustomLocationsManagementClient, string, (args: any[]) => PollerLike<OperationState<TResult>, TResult>, RestorePollerOptions<TResult, PathUncheckedResponse>)

从另一轮询程序的序列化状态创建轮询器。 如果要在不同的主机上创建轮询器,或者在原始轮询器不在范围内后构造轮询器,这非常有用。

变量

RestError

失败管道请求的自定义错误类型。

函数详细信息

isRestError(unknown)

RestError 的 Typeguard

function isRestError(e: unknown): e

参数

e

unknown

catch 子句捕获的内容。

返回

e

restorePoller<TResponse, TResult>(CustomLocationsManagementClient, string, (args: any[]) => PollerLike<OperationState<TResult>, TResult>, RestorePollerOptions<TResult, PathUncheckedResponse>)

从另一轮询程序的序列化状态创建轮询器。 如果要在不同的主机上创建轮询器,或者在原始轮询器不在范围内后构造轮询器,这非常有用。

function restorePoller<TResponse, TResult>(client: CustomLocationsManagementClient, serializedState: string, sourceOperation: (args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult, PathUncheckedResponse>): PollerLike<OperationState<TResult>, TResult>

参数

serializedState

string

sourceOperation

(args: any[]) => PollerLike<OperationState<TResult>, TResult>

返回

PollerLike<OperationState<TResult>, TResult>

变量详细信息

RestError

失败管道请求的自定义错误类型。

RestError: RestErrorConstructor

类型