DiskEncryptionSetsOperationsExtensions.CreateOrUpdate 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.
Creates or updates a disk encryption set
public static Microsoft.Azure.Management.Compute.Models.DiskEncryptionSet CreateOrUpdate (this Microsoft.Azure.Management.Compute.IDiskEncryptionSetsOperations operations, string resourceGroupName, string diskEncryptionSetName, Microsoft.Azure.Management.Compute.Models.DiskEncryptionSet diskEncryptionSet);
static member CreateOrUpdate : Microsoft.Azure.Management.Compute.IDiskEncryptionSetsOperations * string * string * Microsoft.Azure.Management.Compute.Models.DiskEncryptionSet -> Microsoft.Azure.Management.Compute.Models.DiskEncryptionSet
<Extension()>
Public Function CreateOrUpdate (operations As IDiskEncryptionSetsOperations, resourceGroupName As String, diskEncryptionSetName As String, diskEncryptionSet As DiskEncryptionSet) As DiskEncryptionSet
Parameters
- operations
- IDiskEncryptionSetsOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- diskEncryptionSetName
- String
The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.
- diskEncryptionSet
- DiskEncryptionSet
disk encryption set object supplied in the body of the Put disk encryption set operation.
Returns
Applies to
Azure SDK for .NET