Partilhar via


DnsPrivateZoneCollection Class

Definition

A class representing a collection of DnsPrivateZoneResource and their operations. Each DnsPrivateZoneResource in the collection will belong to the same instance of SubscriptionResource. To get a DnsPrivateZoneCollection instance call the GetDnsPrivateZones method from an instance of SubscriptionResource.

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

Constructors

DnsPrivateZoneCollection()

Initializes a new instance of the DnsPrivateZoneCollection 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

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/dnsPrivateZones/{dnsprivatezonename}
  • Operation Id: DnsPrivateZones_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DnsPrivateZoneResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/dnsPrivateZones/{dnsprivatezonename}
  • Operation Id: DnsPrivateZones_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DnsPrivateZoneResource
Get(String, CancellationToken)

Get a DnsPrivateZone

  • Request Path: /subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/dnsPrivateZones/{dnsprivatezonename}
  • Operation Id: DnsPrivateZones_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DnsPrivateZoneResource
GetAll(CancellationToken)

List DnsPrivateZone resources by Location

  • Request Path: /subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/dnsPrivateZones
  • Operation Id: DnsPrivateZones_ListByLocation
  • Default Api Version: 2023-09-01-preview
  • Resource: DnsPrivateZoneResource
GetAllAsync(CancellationToken)

List DnsPrivateZone resources by Location

  • Request Path: /subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/dnsPrivateZones
  • Operation Id: DnsPrivateZones_ListByLocation
  • Default Api Version: 2023-09-01-preview
  • Resource: DnsPrivateZoneResource
GetAsync(String, CancellationToken)

Get a DnsPrivateZone

  • Request Path: /subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/dnsPrivateZones/{dnsprivatezonename}
  • Operation Id: DnsPrivateZones_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DnsPrivateZoneResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/dnsPrivateZones/{dnsprivatezonename}
  • Operation Id: DnsPrivateZones_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DnsPrivateZoneResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/dnsPrivateZones/{dnsprivatezonename}
  • Operation Id: DnsPrivateZones_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DnsPrivateZoneResource
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<DnsPrivateZoneResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DnsPrivateZoneResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to