DependencyOfRelationshipCollection.Get(String, CancellationToken) Method

Definition

Get a DependencyOfRelationship

  • Request Path. : /{resourceUri}/providers/Microsoft.Relationships/dependencyOf/{name}.
  • Operation Id. : DependencyOfRelationships_Get.
  • Default Api Version. : 2023-09-01-preview.
public virtual Azure.Response<Azure.ResourceManager.Relationships.DependencyOfRelationshipResource> Get(string name, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Relationships.DependencyOfRelationshipResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Relationships.DependencyOfRelationshipResource>
Public Overridable Function Get (name As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DependencyOfRelationshipResource)

Parameters

name
String

Name of dependencyOf relationship.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

name is null.

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

Applies to