DnsPrivateViewCollection Class

Definition

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

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

Constructors

DnsPrivateViewCollection()

Initializes a new instance of the DnsPrivateViewCollection 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}/dnsPrivateViews/{dnsprivateviewocid}
  • Operation Id: DnsPrivateViews_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DnsPrivateViewResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

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

Get a DnsPrivateView

  • Request Path: /subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/dnsPrivateViews/{dnsprivateviewocid}
  • Operation Id: DnsPrivateViews_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DnsPrivateViewResource
GetAll(CancellationToken)

List DnsPrivateView resources by Location

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

List DnsPrivateView resources by Location

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

Get a DnsPrivateView

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DnsPrivateViewResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to