VirtualMachineExtensionsOperationsExtensions.CreateOrUpdateAsync 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 static System.Threading.Tasks.Task<Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.VirtualMachineExtension> CreateOrUpdateAsync (this Microsoft.Azure.Commands.Common.Compute.Version_2018_04.IVirtualMachineExtensionsOperations operations, string resourceGroupName, string vmName, string vmExtensionName, Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.VirtualMachineExtension extensionParameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Commands.Common.Compute.Version_2018_04.IVirtualMachineExtensionsOperations * string * string * string * Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.VirtualMachineExtension * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.VirtualMachineExtension>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IVirtualMachineExtensionsOperations, resourceGroupName As String, vmName As String, vmExtensionName As String, extensionParameters As VirtualMachineExtension, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VirtualMachineExtension)
Parameters
- operations
- IVirtualMachineExtensionsOperations
- resourceGroupName
- String
- vmName
- String
- vmExtensionName
- String
- extensionParameters
- VirtualMachineExtension
- cancellationToken
- CancellationToken