Megosztás a következőn keresztül:


FrontDoorSecurityPolicyCollection Class

Definition

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

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

Constructors

FrontDoorSecurityPolicyCollection()

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

Creates a new security policy within the specified profile.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}
  • Operation Id: FrontDoorSecurityPolicies_Create
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorSecurityPolicyResource
CreateOrUpdateAsync(WaitUntil, String, FrontDoorSecurityPolicyData, CancellationToken)

Creates a new security policy within the specified profile.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets an existing security policy within a profile.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}
  • Operation Id: FrontDoorSecurityPolicies_Get
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorSecurityPolicyResource
GetAll(CancellationToken)

Lists security policies associated with the profile

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

Lists security policies associated with the profile

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

Gets an existing security policy within a profile.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<FrontDoorSecurityPolicyResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to