共用方式為


MachineExtensionCollection.Get(String, CancellationToken) Method

Definition

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> Get (string extensionName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ConnectedVMwarevSphere.MachineExtensionResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ConnectedVMwarevSphere.MachineExtensionResource>
Public Overridable Function Get (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