Share via


MockableContainerInstanceResourceGroupResource.GetNGroupAsync Method

Definition

Get the properties of the specified NGroups resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/ngroups/{ngroupsName}
  • Operation Id: NGroups_Get
  • Default Api Version: 2024-11-01-preview
  • Resource: NGroupResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerInstance.NGroupResource>> GetNGroupAsync(string ngroupsName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNGroupAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerInstance.NGroupResource>>
override this.GetNGroupAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerInstance.NGroupResource>>
Public Overridable Function GetNGroupAsync (ngroupsName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NGroupResource))

Parameters

ngroupsName
String

The NGroups name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

ngroupsName is null.

ngroupsName is an empty string, and was expected to be non-empty.

Applies to