Udostępnij za pośrednictwem


LinkerResourceCollection Class

Definition

A class representing a collection of LinkerResource and their operations. Each LinkerResource in the collection will belong to the same instance of ArmResource. To get a LinkerResourceCollection instance call the GetLinkerResources method from an instance of ArmResource.

public class LinkerResourceCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.ServiceLinker.LinkerResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ServiceLinker.LinkerResource>
type LinkerResourceCollection = class
    inherit ArmCollection
    interface seq<LinkerResource>
    interface IEnumerable
    interface IAsyncEnumerable<LinkerResource>
Public Class LinkerResourceCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of LinkerResource), IEnumerable(Of LinkerResource)
Inheritance
LinkerResourceCollection
Implements

Constructors

LinkerResourceCollection()

Initializes a new instance of the LinkerResourceCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, LinkerResourceData, CancellationToken)

Create or update linker resource.

  • Request Path: /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • Operation Id: Linker_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, LinkerResourceData, CancellationToken)

Create or update linker resource.

  • Request Path: /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • Operation Id: Linker_CreateOrUpdate
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • Operation Id: Linker_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • Operation Id: Linker_Get
Get(String, CancellationToken)

Returns Linker resource for a given name.

  • Request Path: /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • Operation Id: Linker_Get
GetAll(CancellationToken)

Returns list of Linkers which connects to the resource.

  • Request Path: /{resourceUri}/providers/Microsoft.ServiceLinker/linkers
  • Operation Id: Linker_List
GetAllAsync(CancellationToken)

Returns list of Linkers which connects to the resource.

  • Request Path: /{resourceUri}/providers/Microsoft.ServiceLinker/linkers
  • Operation Id: Linker_List
GetAsync(String, CancellationToken)

Returns Linker resource for a given name.

  • Request Path: /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • Operation Id: Linker_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • Operation Id: Linker_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • Operation Id: Linker_Get
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<LinkerResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<LinkerResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to