Sdílet prostřednictvím


GenericResourceCollection Class

Definition

A class representing collection of GenericResource and their operations over its parent.

public class GenericResourceCollection : Azure.ResourceManager.ArmCollection
type GenericResourceCollection = class
    inherit ArmCollection
Public Class GenericResourceCollection
Inherits ArmCollection
Inheritance
GenericResourceCollection

Constructors

GenericResourceCollection()

Initializes a new instance of the GenericResourceCollection 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, ResourceIdentifier, GenericResourceData, CancellationToken)

Create a resource by ID.

CreateOrUpdateAsync(WaitUntil, ResourceIdentifier, GenericResourceData, CancellationToken)

Create a resource by ID.

Exists(ResourceIdentifier, CancellationToken)

Tries to get details for this resource from the service.

ExistsAsync(ResourceIdentifier, CancellationToken)

Tries to get details for this resource from the service.

Get(ResourceIdentifier, CancellationToken)

Gets a resource by ID.

GetAsync(ResourceIdentifier, CancellationToken)

Gets a resource by ID.

TryGetApiVersion(ResourceType, String)

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

(Inherited from ArmCollection)

Applies to