/// <summary> /// Create or update a backup instance in a backup vault /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='vaultName'> /// The name of the backup vault. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group where the backup vault is present. /// </param> /// <param name='backupInstanceName'> /// The name of the backup instance /// </param> /// <param name='parameters'> /// Request body for operation /// </param> public static BackupInstanceResource CreateOrUpdate(this IBackupInstancesOperations operations, string vaultName, string resourceGroupName, string backupInstanceName, BackupInstanceResource parameters) { return(operations.CreateOrUpdateAsync(vaultName, resourceGroupName, backupInstanceName, parameters).GetAwaiter().GetResult()); }