Share via


FrontDoorRuleSetCollection Class

Definition

A class representing a collection of FrontDoorRuleSetResource and their operations. Each FrontDoorRuleSetResource in the collection will belong to the same instance of ProfileResource. To get a FrontDoorRuleSetCollection instance call the GetFrontDoorRuleSets method from an instance of ProfileResource.

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

Constructors

FrontDoorRuleSetCollection()

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

Creates a new rule set within the specified profile.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}
  • Operation Id: FrontDoorRuleSets_Create
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorRuleSetResource
CreateOrUpdateAsync(WaitUntil, String, CancellationToken)

Creates a new rule set within the specified profile.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}
  • Operation Id: FrontDoorRuleSets_Create
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorRuleSetResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}
  • Operation Id: FrontDoorRuleSets_Get
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorRuleSetResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}
  • Operation Id: FrontDoorRuleSets_Get
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorRuleSetResource
Get(String, CancellationToken)

Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}
  • Operation Id: FrontDoorRuleSets_Get
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorRuleSetResource
GetAll(CancellationToken)

Lists existing AzureFrontDoor rule sets within a profile.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets
  • Operation Id: FrontDoorRuleSets_ListByProfile
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorRuleSetResource
GetAllAsync(CancellationToken)

Lists existing AzureFrontDoor rule sets within a profile.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets
  • Operation Id: FrontDoorRuleSets_ListByProfile
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorRuleSetResource
GetAsync(String, CancellationToken)

Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}
  • Operation Id: FrontDoorRuleSets_Get
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorRuleSetResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}
  • Operation Id: FrontDoorRuleSets_Get
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorRuleSetResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}
  • Operation Id: FrontDoorRuleSets_Get
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorRuleSetResource
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<FrontDoorRuleSetResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<FrontDoorRuleSetResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to