VirtualMachineResource.GetMachineExtension(String, CancellationToken) 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.
The operation to get the extension.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachines/{name}/extensions/{extensionName}
- Operation Id: MachineExtensions_Get
public virtual Azure.Response<Azure.ResourceManager.ConnectedVMwarevSphere.MachineExtensionResource> GetMachineExtension (string extensionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMachineExtension : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ConnectedVMwarevSphere.MachineExtensionResource>
override this.GetMachineExtension : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ConnectedVMwarevSphere.MachineExtensionResource>
Public Overridable Function GetMachineExtension (extensionName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MachineExtensionResource)
Parameters
- extensionName
- String
The name of the machine extension.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
extensionName
is an empty string, and was expected to be non-empty.
extensionName
is null.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.