共用方式為


DdosCustomPolicyCollection Class

Definition

A class representing a collection of DdosCustomPolicyResource and their operations. Each DdosCustomPolicyResource in the collection will belong to the same instance of ResourceGroupResource. To get a DdosCustomPolicyCollection instance call the GetDdosCustomPolicies method from an instance of ResourceGroupResource.

public class DdosCustomPolicyCollection : Azure.ResourceManager.ArmCollection
type DdosCustomPolicyCollection = class
    inherit ArmCollection
Public Class DdosCustomPolicyCollection
Inherits ArmCollection
Inheritance
DdosCustomPolicyCollection

Constructors

DdosCustomPolicyCollection()

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

Creates or updates a DDoS custom policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}
  • Operation Id: DdosCustomPolicies_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: DdosCustomPolicyResource
CreateOrUpdateAsync(WaitUntil, String, DdosCustomPolicyData, CancellationToken)

Creates or updates a DDoS custom policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}
  • Operation Id: DdosCustomPolicies_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: DdosCustomPolicyResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}
  • Operation Id: DdosCustomPolicies_Get
  • Default Api Version: 2024-03-01
  • Resource: DdosCustomPolicyResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}
  • Operation Id: DdosCustomPolicies_Get
  • Default Api Version: 2024-03-01
  • Resource: DdosCustomPolicyResource
Get(String, CancellationToken)

Gets information about the specified DDoS custom policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}
  • Operation Id: DdosCustomPolicies_Get
  • Default Api Version: 2024-03-01
  • Resource: DdosCustomPolicyResource
GetAsync(String, CancellationToken)

Gets information about the specified DDoS custom policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}
  • Operation Id: DdosCustomPolicies_Get
  • Default Api Version: 2024-03-01
  • Resource: DdosCustomPolicyResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}
  • Operation Id: DdosCustomPolicies_Get
  • Default Api Version: 2024-03-01
  • Resource: DdosCustomPolicyResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}
  • Operation Id: DdosCustomPolicies_Get
  • Default Api Version: 2024-03-01
  • Resource: DdosCustomPolicyResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Applies to