ContainerInstanceExtensions.GetNGroup 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 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 static Azure.Response<Azure.ResourceManager.ContainerInstance.NGroupResource> GetNGroup(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string ngroupsName, System.Threading.CancellationToken cancellationToken = default);
static member GetNGroup : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerInstance.NGroupResource>
<Extension()>
Public Function GetNGroup (resourceGroupResource As ResourceGroupResource, ngroupsName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of NGroupResource)
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
- ngroupsName
- String
The NGroups name.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
resourceGroupResource
or ngroupsName
is null.
ngroupsName
is an empty string, and was expected to be non-empty.