ProtectionIntentOperationsExtensions.CreateOrUpdate(IProtectionIntentOperations, String, String, String, String, ProtectionIntentResource) 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
System.String

The name of the recovery services vault.

resourceGroupName
System.String

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

fabricName
System.String

Fabric name associated with the backup item.

intentObjectName
System.String

Intent object name.

parameters
ProtectionIntentResource

resource backed up item

Returns

ProtectionIntentResource

Applies to