DataProtection.BackupPoliciesCreateOrUpdateWithResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IBaseBackupPolicyResource> BackupPoliciesCreateOrUpdateWithResult(string subscriptionId, string resourceGroupName, string vaultName, string backupPolicyName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IBaseBackupPolicyResource body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeCreateOrUpdate);
member this.BackupPoliciesCreateOrUpdateWithResult : string * string * string * string * Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IBaseBackupPolicyResource * Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync * Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IBaseBackupPolicyResource>
Public Function BackupPoliciesCreateOrUpdateWithResult (subscriptionId As String, resourceGroupName As String, vaultName As String, backupPolicyName As String, body As IBaseBackupPolicyResource, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of IBaseBackupPolicyResource)
Parameters
- subscriptionId
- String
- resourceGroupName
- String
- vaultName
- String
- backupPolicyName
- String
- eventListener
- IEventListener
- sender
- ISendAsync
- serializationMode
- SerializationMode