Share via


DataLakeAnalyticsComputePolicyCollection Class

Definition

A class representing a collection of DataLakeAnalyticsComputePolicyResource and their operations. Each DataLakeAnalyticsComputePolicyResource in the collection will belong to the same instance of DataLakeAnalyticsAccountResource. To get a DataLakeAnalyticsComputePolicyCollection instance call the GetDataLakeAnalyticsComputePolicies method from an instance of DataLakeAnalyticsAccountResource.

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

Constructors

DataLakeAnalyticsComputePolicyCollection()

Initializes a new instance of the DataLakeAnalyticsComputePolicyCollection 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, DataLakeAnalyticsComputePolicyCreateOrUpdateContent, CancellationToken)

Creates or updates the specified compute policy. During update, the compute policy with the specified name will be replaced with this new compute policy. An account supports, at most, 50 policies

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies/{computePolicyName}
  • Operation Id: ComputePolicies_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, DataLakeAnalyticsComputePolicyCreateOrUpdateContent, CancellationToken)

Creates or updates the specified compute policy. During update, the compute policy with the specified name will be replaced with this new compute policy. An account supports, at most, 50 policies

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies/{computePolicyName}
  • Operation Id: ComputePolicies_CreateOrUpdate
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies/{computePolicyName}
  • Operation Id: ComputePolicies_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies/{computePolicyName}
  • Operation Id: ComputePolicies_Get
Get(String, CancellationToken)

Gets the specified Data Lake Analytics compute policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies/{computePolicyName}
  • Operation Id: ComputePolicies_Get
GetAll(CancellationToken)

Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies
  • Operation Id: ComputePolicies_ListByAccount
GetAllAsync(CancellationToken)

Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies
  • Operation Id: ComputePolicies_ListByAccount
GetAsync(String, CancellationToken)

Gets the specified Data Lake Analytics compute policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies/{computePolicyName}
  • Operation Id: ComputePolicies_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies/{computePolicyName}
  • Operation Id: ComputePolicies_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies/{computePolicyName}
  • Operation Id: ComputePolicies_Get
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<DataLakeAnalyticsComputePolicyResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DataLakeAnalyticsComputePolicyResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to