GenericResourceCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Azure SDK for .NET