ProtectionPolicies interface
ProtectionPolicies を表すインターフェイス。
メソッド
begin |
指定したバックアップ ポリシーを Recovery Services コンテナーから削除します。 これは非同期操作です。 操作の状態は、GetProtectionPolicyOperationResult API を使用してフェッチできます。 |
begin |
指定したバックアップ ポリシーを Recovery Services コンテナーから削除します。 これは非同期操作です。 操作の状態は、GetProtectionPolicyOperationResult API を使用してフェッチできます。 |
create |
バックアップ ポリシーを作成または変更します。 これは非同期操作です。 操作の状態は、GetPolicyOperationResult API を使用してフェッチできます。 |
get(string, string, string, Protection |
Recovery Services コンテナーに関連付けられているバックアップ ポリシーの詳細を提供します。 これは非同期操作です。 操作の状態は、GetPolicyOperationResult API を使用してフェッチできます。 |
メソッドの詳細
beginDelete(string, string, string, ProtectionPoliciesDeleteOptionalParams)
指定したバックアップ ポリシーを Recovery Services コンテナーから削除します。 これは非同期操作です。 操作の状態は、GetProtectionPolicyOperationResult API を使用してフェッチできます。
function beginDelete(vaultName: string, resourceGroupName: string, policyName: string, options?: ProtectionPoliciesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
パラメーター
- vaultName
-
string
Recovery Services コンテナーの名前。
- resourceGroupName
-
string
Recovery Services コンテナーが存在するリソース グループの名前。
- policyName
-
string
削除するバックアップ ポリシー。
オプション パラメーター。
戻り値
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, ProtectionPoliciesDeleteOptionalParams)
指定したバックアップ ポリシーを Recovery Services コンテナーから削除します。 これは非同期操作です。 操作の状態は、GetProtectionPolicyOperationResult API を使用してフェッチできます。
function beginDeleteAndWait(vaultName: string, resourceGroupName: string, policyName: string, options?: ProtectionPoliciesDeleteOptionalParams): Promise<void>
パラメーター
- vaultName
-
string
Recovery Services コンテナーの名前。
- resourceGroupName
-
string
Recovery Services コンテナーが存在するリソース グループの名前。
- policyName
-
string
削除するバックアップ ポリシー。
オプション パラメーター。
戻り値
Promise<void>
createOrUpdate(string, string, string, ProtectionPolicyResource, ProtectionPoliciesCreateOrUpdateOptionalParams)
バックアップ ポリシーを作成または変更します。 これは非同期操作です。 操作の状態は、GetPolicyOperationResult API を使用してフェッチできます。
function createOrUpdate(vaultName: string, resourceGroupName: string, policyName: string, parameters: ProtectionPolicyResource, options?: ProtectionPoliciesCreateOrUpdateOptionalParams): Promise<ProtectionPolicyResource>
パラメーター
- vaultName
-
string
Recovery Services コンテナーの名前。
- resourceGroupName
-
string
Recovery Services コンテナーが存在するリソース グループの名前。
- policyName
-
string
作成するバックアップ ポリシー。
- parameters
- ProtectionPolicyResource
リソース バックアップ ポリシー
オプション パラメーター。
戻り値
Promise<ProtectionPolicyResource>
get(string, string, string, ProtectionPoliciesGetOptionalParams)
Recovery Services コンテナーに関連付けられているバックアップ ポリシーの詳細を提供します。 これは非同期操作です。 操作の状態は、GetPolicyOperationResult API を使用してフェッチできます。
function get(vaultName: string, resourceGroupName: string, policyName: string, options?: ProtectionPoliciesGetOptionalParams): Promise<ProtectionPolicyResource>
パラメーター
- vaultName
-
string
Recovery Services コンテナーの名前。
- resourceGroupName
-
string
Recovery Services コンテナーが存在するリソース グループの名前。
- policyName
-
string
フェッチするバックアップ ポリシー情報。
オプション パラメーター。
戻り値
Promise<ProtectionPolicyResource>