共用方式為


DataPolicyManifestCollection Class

Definition

A class representing a collection of DataPolicyManifestResource and their operations. Each DataPolicyManifestResource in the collection will belong to the same instance of TenantResource. To get a DataPolicyManifestCollection instance call the GetDataPolicyManifests method from an instance of TenantResource.

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

Constructors

DataPolicyManifestCollection()

Initializes a new instance of the DataPolicyManifestCollection 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: /providers/Microsoft.Authorization/dataPolicyManifests/{policyMode}
  • Operation Id: DataPolicyManifests_GetByPolicyMode
  • Default Api Version: 2020-09-01
  • Resource: DataPolicyManifestResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Authorization/dataPolicyManifests/{policyMode}
  • Operation Id: DataPolicyManifests_GetByPolicyMode
  • Default Api Version: 2020-09-01
  • Resource: DataPolicyManifestResource
Get(String, CancellationToken)

This operation retrieves the data policy manifest with the given policy mode.

  • Request Path: /providers/Microsoft.Authorization/dataPolicyManifests/{policyMode}
  • Operation Id: DataPolicyManifests_GetByPolicyMode
  • Default Api Version: 2020-09-01
  • Resource: DataPolicyManifestResource
GetAll(String, CancellationToken)

This operation retrieves a list of all the data policy manifests that match the optional given $filter. Valid values for $filter are: "$filter=namespace eq '{0}'". If $filter is not provided, the unfiltered list includes all data policy manifests for data resource types. If $filter=namespace is provided, the returned list only includes all data policy manifests that have a namespace matching the provided value.

  • Request Path: /providers/Microsoft.Authorization/dataPolicyManifests
  • Operation Id: DataPolicyManifests_List
  • Default Api Version: 2020-09-01
  • Resource: DataPolicyManifestResource
GetAllAsync(String, CancellationToken)

This operation retrieves a list of all the data policy manifests that match the optional given $filter. Valid values for $filter are: "$filter=namespace eq '{0}'". If $filter is not provided, the unfiltered list includes all data policy manifests for data resource types. If $filter=namespace is provided, the returned list only includes all data policy manifests that have a namespace matching the provided value.

  • Request Path: /providers/Microsoft.Authorization/dataPolicyManifests
  • Operation Id: DataPolicyManifests_List
  • Default Api Version: 2020-09-01
  • Resource: DataPolicyManifestResource
GetAsync(String, CancellationToken)

This operation retrieves the data policy manifest with the given policy mode.

  • Request Path: /providers/Microsoft.Authorization/dataPolicyManifests/{policyMode}
  • Operation Id: DataPolicyManifests_GetByPolicyMode
  • Default Api Version: 2020-09-01
  • Resource: DataPolicyManifestResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Authorization/dataPolicyManifests/{policyMode}
  • Operation Id: DataPolicyManifests_GetByPolicyMode
  • Default Api Version: 2020-09-01
  • Resource: DataPolicyManifestResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Authorization/dataPolicyManifests/{policyMode}
  • Operation Id: DataPolicyManifests_GetByPolicyMode
  • Default Api Version: 2020-09-01
  • Resource: DataPolicyManifestResource
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<DataPolicyManifestResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DataPolicyManifestResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to