Share via


CdnExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.Cdn.

public static class CdnExtensions
type CdnExtensions = class
Public Module CdnExtensions
Inheritance
CdnExtensions

Methods

CanMigrateProfile(ResourceGroupResource, WaitUntil, CanMigrateContent, CancellationToken)

Checks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profile.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/canMigrate
  • Operation Id: Profiles_CanMigrate
  • Default Api Version: 2024-02-01
  • Resource: ProfileResource
CanMigrateProfileAsync(ResourceGroupResource, WaitUntil, CanMigrateContent, CancellationToken)

Checks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profile.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/canMigrate
  • Operation Id: Profiles_CanMigrate
  • Default Api Version: 2024-02-01
  • Resource: ProfileResource
CheckCdnNameAvailability(TenantResource, CdnNameAvailabilityContent, CancellationToken)

Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.

  • Request Path: /providers/Microsoft.Cdn/checkNameAvailability
  • Operation Id: CheckNameAvailability
  • Default Api Version: 2024-02-01
CheckCdnNameAvailabilityAsync(TenantResource, CdnNameAvailabilityContent, CancellationToken)

Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.

  • Request Path: /providers/Microsoft.Cdn/checkNameAvailability
  • Operation Id: CheckNameAvailability
  • Default Api Version: 2024-02-01
CheckCdnNameAvailabilityWithSubscription(SubscriptionResource, CdnNameAvailabilityContent, CancellationToken)

Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Cdn/checkNameAvailability
  • Operation Id: CheckNameAvailabilityWithSubscription
  • Default Api Version: 2024-02-01
CheckCdnNameAvailabilityWithSubscriptionAsync(SubscriptionResource, CdnNameAvailabilityContent, CancellationToken)

Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Cdn/checkNameAvailability
  • Operation Id: CheckNameAvailabilityWithSubscription
  • Default Api Version: 2024-02-01
CheckEndpointNameAvailability(ResourceGroupResource, EndpointNameAvailabilityContent, CancellationToken)

Check the availability of a resource name. This is needed for resources where name is globally unique, such as a afdx endpoint.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/checkEndpointNameAvailability
  • Operation Id: CheckEndpointNameAvailability
  • Default Api Version: 2024-02-01
CheckEndpointNameAvailabilityAsync(ResourceGroupResource, EndpointNameAvailabilityContent, CancellationToken)

Check the availability of a resource name. This is needed for resources where name is globally unique, such as a afdx endpoint.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/checkEndpointNameAvailability
  • Operation Id: CheckEndpointNameAvailability
  • Default Api Version: 2024-02-01
GetCdnCustomDomainResource(ArmClient, ResourceIdentifier)

Gets an object representing a CdnCustomDomainResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a CdnCustomDomainResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetCdnCustomDomainResource(ResourceIdentifier) instead.

GetCdnEndpointResource(ArmClient, ResourceIdentifier)

Gets an object representing a CdnEndpointResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a CdnEndpointResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetCdnEndpointResource(ResourceIdentifier) instead.

GetCdnOriginGroupResource(ArmClient, ResourceIdentifier)

Gets an object representing a CdnOriginGroupResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a CdnOriginGroupResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetCdnOriginGroupResource(ResourceIdentifier) instead.

GetCdnOriginResource(ArmClient, ResourceIdentifier)

Gets an object representing a CdnOriginResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a CdnOriginResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetCdnOriginResource(ResourceIdentifier) instead.

GetCdnWebApplicationFirewallPolicies(ResourceGroupResource)

Gets a collection of CdnWebApplicationFirewallPolicyResources in the ResourceGroupResource. MockingTo mock this method, please mock GetCdnWebApplicationFirewallPolicies() instead.

GetCdnWebApplicationFirewallPolicy(ResourceGroupResource, String, CancellationToken)

Retrieve protection policy with specified name within a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/cdnWebApplicationFirewallPolicies/{policyName}
  • Operation Id: Policies_Get
  • Default Api Version: 2024-02-01
  • Resource: CdnWebApplicationFirewallPolicyResource
GetCdnWebApplicationFirewallPolicyAsync(ResourceGroupResource, String, CancellationToken)

Retrieve protection policy with specified name within a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/cdnWebApplicationFirewallPolicies/{policyName}
  • Operation Id: Policies_Get
  • Default Api Version: 2024-02-01
  • Resource: CdnWebApplicationFirewallPolicyResource
GetCdnWebApplicationFirewallPolicyResource(ArmClient, ResourceIdentifier)

Gets an object representing a CdnWebApplicationFirewallPolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a CdnWebApplicationFirewallPolicyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetCdnWebApplicationFirewallPolicyResource(ResourceIdentifier) instead.

GetEdgeNodes(TenantResource, CancellationToken)

Edgenodes are the global Point of Presence (POP) locations used to deliver CDN content to end users.

  • Request Path: /providers/Microsoft.Cdn/edgenodes
  • Operation Id: EdgeNodes_List
  • Default Api Version: 2024-02-01
GetEdgeNodesAsync(TenantResource, CancellationToken)

Edgenodes are the global Point of Presence (POP) locations used to deliver CDN content to end users.

  • Request Path: /providers/Microsoft.Cdn/edgenodes
  • Operation Id: EdgeNodes_List
  • Default Api Version: 2024-02-01
GetFrontDoorCustomDomainResource(ArmClient, ResourceIdentifier)

Gets an object representing a FrontDoorCustomDomainResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a FrontDoorCustomDomainResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetFrontDoorCustomDomainResource(ResourceIdentifier) instead.

GetFrontDoorEndpointResource(ArmClient, ResourceIdentifier)

Gets an object representing a FrontDoorEndpointResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a FrontDoorEndpointResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetFrontDoorEndpointResource(ResourceIdentifier) instead.

GetFrontDoorOriginGroupResource(ArmClient, ResourceIdentifier)

Gets an object representing a FrontDoorOriginGroupResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a FrontDoorOriginGroupResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetFrontDoorOriginGroupResource(ResourceIdentifier) instead.

GetFrontDoorOriginResource(ArmClient, ResourceIdentifier)

Gets an object representing a FrontDoorOriginResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a FrontDoorOriginResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetFrontDoorOriginResource(ResourceIdentifier) instead.

GetFrontDoorRouteResource(ArmClient, ResourceIdentifier)

Gets an object representing a FrontDoorRouteResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a FrontDoorRouteResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetFrontDoorRouteResource(ResourceIdentifier) instead.

GetFrontDoorRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing a FrontDoorRuleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a FrontDoorRuleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetFrontDoorRuleResource(ResourceIdentifier) instead.

GetFrontDoorRuleSetResource(ArmClient, ResourceIdentifier)

Gets an object representing a FrontDoorRuleSetResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a FrontDoorRuleSetResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetFrontDoorRuleSetResource(ResourceIdentifier) instead.

GetFrontDoorSecretResource(ArmClient, ResourceIdentifier)

Gets an object representing a FrontDoorSecretResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a FrontDoorSecretResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetFrontDoorSecretResource(ResourceIdentifier) instead.

GetFrontDoorSecurityPolicyResource(ArmClient, ResourceIdentifier)

Gets an object representing a FrontDoorSecurityPolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a FrontDoorSecurityPolicyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetFrontDoorSecurityPolicyResource(ResourceIdentifier) instead.

GetManagedRuleSets(SubscriptionResource, CancellationToken)

Lists all available managed rule sets.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Cdn/cdnWebApplicationFirewallManagedRuleSets
  • Operation Id: ManagedRuleSets_List
  • Default Api Version: 2024-02-01
GetManagedRuleSetsAsync(SubscriptionResource, CancellationToken)

Lists all available managed rule sets.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Cdn/cdnWebApplicationFirewallManagedRuleSets
  • Operation Id: ManagedRuleSets_List
  • Default Api Version: 2024-02-01
GetProfile(ResourceGroupResource, String, CancellationToken)

Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.

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

Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}
  • Operation Id: Profiles_Get
  • Default Api Version: 2024-02-01
  • Resource: ProfileResource
GetProfileResource(ArmClient, ResourceIdentifier)

Gets an object representing a ProfileResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a ProfileResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetProfileResource(ResourceIdentifier) instead.

GetProfiles(ResourceGroupResource)

Gets a collection of ProfileResources in the ResourceGroupResource. MockingTo mock this method, please mock GetProfiles() instead.

GetProfiles(SubscriptionResource, CancellationToken)

Lists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within an Azure subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Cdn/profiles
  • Operation Id: Profiles_List
  • Default Api Version: 2024-02-01
  • Resource: ProfileResource
GetProfilesAsync(SubscriptionResource, CancellationToken)

Lists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within an Azure subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Cdn/profiles
  • Operation Id: Profiles_List
  • Default Api Version: 2024-02-01
  • Resource: ProfileResource
GetResourceUsages(SubscriptionResource, CancellationToken)

Check the quota and actual usage of the CDN profiles under the given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Cdn/checkResourceUsage
  • Operation Id: ResourceUsage_List
  • Default Api Version: 2024-02-01
GetResourceUsagesAsync(SubscriptionResource, CancellationToken)

Check the quota and actual usage of the CDN profiles under the given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Cdn/checkResourceUsage
  • Operation Id: ResourceUsage_List
  • Default Api Version: 2024-02-01
MigrateProfile(ResourceGroupResource, WaitUntil, MigrationContent, CancellationToken)

Migrate the CDN profile to Azure Frontdoor(Standard/Premium) profile. The change need to be committed after this.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/migrate
  • Operation Id: Profiles_Migrate
  • Default Api Version: 2024-02-01
  • Resource: ProfileResource
MigrateProfileAsync(ResourceGroupResource, WaitUntil, MigrationContent, CancellationToken)

Migrate the CDN profile to Azure Frontdoor(Standard/Premium) profile. The change need to be committed after this.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/migrate
  • Operation Id: Profiles_Migrate
  • Default Api Version: 2024-02-01
  • Resource: ProfileResource
ValidateProbe(SubscriptionResource, ValidateProbeContent, CancellationToken)

Check if the probe path is a valid path and the file can be accessed. Probe path is the path to a file hosted on the origin server to help accelerate the delivery of dynamic content via the CDN endpoint. This path is relative to the origin path specified in the endpoint configuration.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Cdn/validateProbe
  • Operation Id: ValidateProbe
  • Default Api Version: 2024-02-01
ValidateProbeAsync(SubscriptionResource, ValidateProbeContent, CancellationToken)

Check if the probe path is a valid path and the file can be accessed. Probe path is the path to a file hosted on the origin server to help accelerate the delivery of dynamic content via the CDN endpoint. This path is relative to the origin path specified in the endpoint configuration.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Cdn/validateProbe
  • Operation Id: ValidateProbe
  • Default Api Version: 2024-02-01

Applies to