AvsPrivateCloudClusterResource.GetAvsHost(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.
Get a Host
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/hosts/{hostId}
- Operation Id: Host_Get
- Default Api Version: 2024-09-01
- Resource: AvsHostResource
public virtual Azure.Response<Azure.ResourceManager.Avs.AvsHostResource> GetAvsHost(string hostId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAvsHost : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Avs.AvsHostResource>
override this.GetAvsHost : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Avs.AvsHostResource>
Public Overridable Function GetAvsHost (hostId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AvsHostResource)
Parameters
- hostId
- String
The host identifier.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
hostId
is null.
hostId
is an empty string, and was expected to be non-empty.