DedicatedHostCollection 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 a collection of DedicatedHostResource and their operations. Each DedicatedHostResource in the collection will belong to the same instance of DedicatedHostGroupResource. To get a DedicatedHostCollection instance call the GetDedicatedHosts method from an instance of DedicatedHostGroupResource.
public class DedicatedHostCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Compute.DedicatedHostResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.DedicatedHostResource>
type DedicatedHostCollection = class
inherit ArmCollection
interface seq<DedicatedHostResource>
interface IEnumerable
interface IAsyncEnumerable<DedicatedHostResource>
Public Class DedicatedHostCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of DedicatedHostResource), IEnumerable(Of DedicatedHostResource)
- Inheritance
- Implements
Constructors
DedicatedHostCollection() |
Initializes a new instance of the DedicatedHostCollection 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, DedicatedHostData, CancellationToken) |
Create or update a dedicated host .
|
CreateOrUpdateAsync(WaitUntil, String, DedicatedHostData, CancellationToken) |
Create or update a dedicated host .
|
Exists(String, Nullable<InstanceViewType>, CancellationToken) |
Checks to see if the resource exists in azure.
|
ExistsAsync(String, Nullable<InstanceViewType>, CancellationToken) |
Checks to see if the resource exists in azure.
|
Get(String, Nullable<InstanceViewType>, CancellationToken) |
Retrieves information about a dedicated host.
|
GetAll(CancellationToken) |
Lists all of the dedicated hosts in the specified dedicated host group. Use the nextLink property in the response to get the next page of dedicated hosts.
|
GetAllAsync(CancellationToken) |
Lists all of the dedicated hosts in the specified dedicated host group. Use the nextLink property in the response to get the next page of dedicated hosts.
|
GetAsync(String, Nullable<InstanceViewType>, CancellationToken) |
Retrieves information about a dedicated host.
|
GetIfExists(String, Nullable<InstanceViewType>, CancellationToken) |
Tries to get details for this resource from the service.
|
GetIfExistsAsync(String, Nullable<InstanceViewType>, CancellationToken) |
Tries to get details for this resource from the service.
|
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<DedicatedHostResource>.GetAsyncEnumerator(CancellationToken) |
Returns an enumerator that iterates asynchronously through the collection. |
IEnumerable.GetEnumerator() |
Returns an enumerator that iterates through a collection. |
IEnumerable<DedicatedHostResource>.GetEnumerator() |
Returns an enumerator that iterates through the collection. |
Applies to
Azure SDK for .NET