Condividi tramite


FrontDoorRuleCollection Class

Definition

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

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

Constructors

FrontDoorRuleCollection()

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

Creates a new delivery rule within the specified rule set.

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

Creates a new delivery rule within the specified rule set.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}
  • Operation Id: FrontDoorRules_Create
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorRuleResource
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}/rules/{ruleName}
  • Operation Id: FrontDoorRules_Get
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorRuleResource
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}/rules/{ruleName}
  • Operation Id: FrontDoorRules_Get
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorRuleResource
Get(String, CancellationToken)

Gets an existing delivery rule within a rule set.

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

Lists all of the existing delivery rules within a rule set.

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

Lists all of the existing delivery rules within a rule set.

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

Gets an existing delivery rule within a rule set.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<FrontDoorRuleResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to