共用方式為


ProtectionIntentOperationsExtensions.CreateOrUpdate Method

Definition

Create Intent for Enabling backup of an item. This is a synchronous operation.

public static Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionIntentResource CreateOrUpdate (this Microsoft.Azure.Management.RecoveryServices.Backup.IProtectionIntentOperations operations, string vaultName, string resourceGroupName, string fabricName, string intentObjectName, Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionIntentResource parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.RecoveryServices.Backup.IProtectionIntentOperations * string * string * string * string * Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionIntentResource -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionIntentResource
<Extension()>
Public Function CreateOrUpdate (operations As IProtectionIntentOperations, vaultName As String, resourceGroupName As String, fabricName As String, intentObjectName As String, parameters As ProtectionIntentResource) As ProtectionIntentResource

Parameters

operations
IProtectionIntentOperations

The operations group for this extension method.

vaultName
String

The name of the recovery services vault.

resourceGroupName
String

The name of the resource group where the recovery services vault is present.

fabricName
String

Fabric name associated with the backup item.

intentObjectName
String

Intent object name.

parameters
ProtectionIntentResource

resource backed up item

Returns

Applies to