Share via


AvsPrivateCloudAddonCollection.Get(String, CancellationToken) Method

Definition

Get an addon by name in a private cloud

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}
  • Operation Id: Addons_Get
  • Default Api Version: 2023-03-01
  • Resource: AvsPrivateCloudAddonResource
public virtual Azure.Response<Azure.ResourceManager.Avs.AvsPrivateCloudAddonResource> Get (string addonName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Avs.AvsPrivateCloudAddonResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Avs.AvsPrivateCloudAddonResource>
Public Overridable Function Get (addonName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AvsPrivateCloudAddonResource)

Parameters

addonName
String

Name of the addon for the private cloud.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

addonName is null.

Applies to