@azure/arm-relationships package

介面

DependencyOfRelationship

定義了關係資源的依賴性。

DependencyOfRelationshipCreateOrUpdate

關係資源的依賴,用於建立或更新。

DependencyOfRelationshipProperties

關係屬性的依賴性。

DependencyOfRelationshipPropertiesCreateOrUpdate

model interface DependencyOfRelationshipPropertiesCreateOrUpdate

DependencyOfRelationshipsCreateOrUpdateOptionalParams

選擇性參數。

DependencyOfRelationshipsDeleteOptionalParams

選擇性參數。

DependencyOfRelationshipsGetOptionalParams

選擇性參數。

DependencyOfRelationshipsOperations

介面代表關係依賴性操作。

ErrorAdditionalInfo

資源管理錯誤其他資訊。

ErrorDetail

錯誤詳細數據。

ErrorResponse

所有 Azure Resource Manager API 的常見錯誤回應,以傳回失敗作業的錯誤詳細數據。

ExtensionResource

基底延伸模組資源。

Operation

從資源提供者作業 API API 傳回的 REST API 作業詳細數據

OperationDisplay

操作的在地顯示資訊。

OperationsListOptionalParams

選擇性參數。

OperationsOperations

表示作業作業的介面。

PageSettings

byPage 方法的選項

PagedAsyncIterableIterator

介面,可讓異步反覆運算同時完成和逐頁執行。

RelationshipMetadata

提供有關關係屬性的資訊。

RelationshipOriginInformation

提供有關關係起源的資訊。

RelationshipsClientOptionalParams

用戶端的選擇性參數。

Resource

回應中所有 Azure Resource Manager 資源的常見欄位

RestorePollerOptions
ServiceGroupMemberRelationship

定義 ServiceGroupMember 關係資源。

ServiceGroupMemberRelationshipCreateOrUpdate

ServiceGroupMember 關係資源,用於建立或更新。

ServiceGroupMemberRelationshipProperties

ServiceGroupMember 關係屬性。

ServiceGroupMemberRelationshipPropertiesCreateOrUpdate

model interface ServiceGroupMemberRelationshipPropertiesCreateOrUpdate

ServiceGroupMemberRelationshipsCreateOrUpdateOptionalParams

選擇性參數。

ServiceGroupMemberRelationshipsDeleteOptionalParams

選擇性參數。

ServiceGroupMemberRelationshipsGetOptionalParams

選擇性參數。

ServiceGroupMemberRelationshipsOperations

代表 ServiceGroupMemberRelationships 操作的介面。

SystemData

與建立和上次修改資源相關的元數據。

類型別名

ActionType

可延伸列舉。 表示動作類型。 「內部」是指僅供內部 API 使用的動作。
KnownActionType 可以與 ActionType 交替使用,此列舉包含服務支援的已知值。

服務支援的已知值

內部:動作適用於僅限內部的 API。

AzureSupportedClouds

雲端設定為字串常值類型的支援值

ContinuablePage

描述結果頁面的介面。

CreatedByType

建立資源的實體種類。
KnownCreatedByType 可以與 CreatedByType 交換使用,此列舉包含服務支援的已知值。

服務支援的已知值

使用者:實體是由使用者建立的。
應用程式:實體是由應用程式所建立。
ManagedIdentity:實體是由受控識別所建立。
金鑰:實體是由金鑰所建立。

Origin

該行動的預定執行人;例如資源基礎存取控制(RBAC)及稽核日誌使用者體驗。 默認值為 “user,system”
KnownOrigin 可以與 Origin 互換使用,此列舉包含服務支援的已知值。

服務支援的已知值

使用者:指出作業是由使用者起始。
系統:表示作業是由系統起始。
使用者、系統:指出作業是由使用者或系統起始。

ProvisioningState

資源的布建狀態。
KnownProvisioningState 可以與 ProvisioningState 交替使用,此列舉包含服務支援的已知值。

服務支援的已知值

成功:已建立資源。
失敗:資源建立失敗。
已取消:已取消資源建立。
配置:資源正在被配置。
更新:正在更新資源。
刪除:正在刪除資源。
已接受:資源配置請求已被接受。

RelationshipOrigins

一段關係可能的起源。
KnownRelationshipOrigins 可與 RelationshipOrigins 互換使用,此枚舉包含服務所支援的已知值。

服務支援的已知值

ServiceExplicitlyCreated:該關係是由系統明確建立的。
SystemDiscoveredByRule:該關係是由系統創建的規則發現的。
UserExplicitlyCreated:該關係是由使用者明確建立的。
UserDiscoveredByRule:這段關係是由使用者自訂的規則發現的。

列舉

AzureClouds

一個用來描述 Azure Cloud 環境的 enum。

KnownActionType

可延伸列舉。 表示動作類型。 「內部」是指僅供內部 API 使用的動作。

KnownCreatedByType

建立資源的實體種類。

KnownOrigin

該行動的預定執行人;例如資源基礎存取控制(RBAC)及稽核日誌使用者體驗。 默認值為 “user,system”

KnownProvisioningState

資源的布建狀態。

KnownRelationshipOrigins

一段關係可能的起源。

KnownVersions

關係 RP API 版本

函式

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

從另一個輪詢程式的串行化狀態建立輪詢器。 當您想要在不同的主機上建立輪詢器,或在原始輪詢器不在範圍內之後建構投票器時,這非常有用。

函式詳細資料

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

從另一個輪詢程式的串行化狀態建立輪詢器。 當您想要在不同的主機上建立輪詢器,或在原始輪詢器不在範圍內之後建構投票器時,這非常有用。

function restorePoller<TResponse, TResult>(client: RelationshipsClient, 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>