MachineExtensionCollection.Get(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> 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.