Udostępnij za pośrednictwem


OrbitalContactProfileCollection.Get(String, CancellationToken) Method

Definition

Gets the specified contact Profile in a specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/contactProfiles/{contactProfileName}
  • Operation Id: ContactProfiles_Get
public virtual Azure.Response<Azure.ResourceManager.Orbital.OrbitalContactProfileResource> Get (string contactProfileName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Orbital.OrbitalContactProfileResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Orbital.OrbitalContactProfileResource>
Public Overridable Function Get (contactProfileName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of OrbitalContactProfileResource)

Parameters

contactProfileName
String

Contact Profile name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

contactProfileName is null.

Applies to