CdnExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class to add extension methods to Azure.ResourceManager.Cdn.
public static class CdnExtensions
type CdnExtensions = class
Public Module CdnExtensions
- Inheritance
-
CdnExtensions
Methods
| Name | Description |
|---|---|
| CanMigrateProfile(ResourceGroupResource, WaitUntil, CanMigrateContent, CancellationToken) |
Checks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profile. <item> Mocking. To mock this method, please mock CanMigrateProfile(WaitUntil, CanMigrateContent, CancellationToken) instead. </item> |
| CanMigrateProfileAsync(ResourceGroupResource, WaitUntil, CanMigrateContent, CancellationToken) |
Checks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profile. <item> Mocking. To mock this method, please mock CanMigrateProfileAsync(WaitUntil, CanMigrateContent, CancellationToken) instead. </item> |
| 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. <item> Mocking. To mock this method, please mock CheckCdnNameAvailability(CdnNameAvailabilityContent, CancellationToken) instead. </item> |
| 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. <item> Mocking. To mock this method, please mock CheckCdnNameAvailabilityAsync(CdnNameAvailabilityContent, CancellationToken) instead. </item> |
| 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. <item> Mocking. To mock this method, please mock CheckCdnNameAvailabilityWithSubscription(CdnNameAvailabilityContent, CancellationToken) instead. </item> |
| 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. <item> Mocking. To mock this method, please mock CheckCdnNameAvailabilityWithSubscriptionAsync(CdnNameAvailabilityContent, CancellationToken) instead. </item> |
| 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. <item> Mocking. To mock this method, please mock CheckEndpointNameAvailability(EndpointNameAvailabilityContent, CancellationToken) instead. </item> |
| 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. <item> Mocking. To mock this method, please mock CheckEndpointNameAvailabilityAsync(EndpointNameAvailabilityContent, CancellationToken) instead. </item> |
| GetCdnCustomDomainResource(ArmClient, ResourceIdentifier) |
Gets an object representing a CdnCustomDomainResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCdnCustomDomainResource(ResourceIdentifier) instead. </item> |
| GetCdnDeploymentVersionResource(ArmClient, ResourceIdentifier) |
Gets an object representing a CdnDeploymentVersionResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCdnDeploymentVersionResource(ResourceIdentifier) instead. </item> |
| GetCdnEndpointResource(ArmClient, ResourceIdentifier) |
Gets an object representing a CdnEndpointResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCdnEndpointResource(ResourceIdentifier) instead. </item> |
| GetCdnKeyGroupResource(ArmClient, ResourceIdentifier) |
Gets an object representing a CdnKeyGroupResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCdnKeyGroupResource(ResourceIdentifier) instead. </item> |
| GetCdnOriginGroupResource(ArmClient, ResourceIdentifier) |
Gets an object representing a CdnOriginGroupResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCdnOriginGroupResource(ResourceIdentifier) instead. </item> |
| GetCdnOriginResource(ArmClient, ResourceIdentifier) |
Gets an object representing a CdnOriginResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCdnOriginResource(ResourceIdentifier) instead. </item> |
| GetCdnProfileAgentResource(ArmClient, ResourceIdentifier) |
Gets an object representing a CdnProfileAgentResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCdnProfileAgentResource(ResourceIdentifier) instead. </item> |
| GetCdnWebAgent(ResourceGroupResource, String, CancellationToken) |
Gets a web agent with the specified name within a resource group. <item> Mocking. To mock this method, please mock GetCdnWebAgent(String, CancellationToken) instead. </item> |
| GetCdnWebAgentAsync(ResourceGroupResource, String, CancellationToken) |
Gets a web agent with the specified name within a resource group. <item> Mocking. To mock this method, please mock GetCdnWebAgentAsync(String, CancellationToken) instead. </item> |
| GetCdnWebAgentKnowledgeSourceResource(ArmClient, ResourceIdentifier) |
Gets an object representing a CdnWebAgentKnowledgeSourceResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCdnWebAgentKnowledgeSourceResource(ResourceIdentifier) instead. </item> |
| GetCdnWebAgentResource(ArmClient, ResourceIdentifier) |
Gets an object representing a CdnWebAgentResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCdnWebAgentResource(ResourceIdentifier) instead. </item> |
| GetCdnWebAgents(ResourceGroupResource) |
Gets a collection of CdnWebAgents in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetCdnWebAgents() instead. </item> |
| GetCdnWebAgents(SubscriptionResource, CancellationToken) |
Lists all web agents within a subscription. <item> Mocking. To mock this method, please mock GetCdnWebAgents(CancellationToken) instead. </item> |
| GetCdnWebAgentsAsync(SubscriptionResource, CancellationToken) |
Lists all web agents within a subscription. <item> Mocking. To mock this method, please mock GetCdnWebAgentsAsync(CancellationToken) instead. </item> |
| GetCdnWebApplicationFirewallPolicies(ResourceGroupResource) |
Gets a collection of CdnWebApplicationFirewallPolicies in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetCdnWebApplicationFirewallPolicies() instead. </item> |
| GetCdnWebApplicationFirewallPolicy(ResourceGroupResource, String, CancellationToken) |
Retrieve protection policy with specified name within a resource group. <item> Mocking. To mock this method, please mock GetCdnWebApplicationFirewallPolicy(String, CancellationToken) instead. </item> |
| GetCdnWebApplicationFirewallPolicyAsync(ResourceGroupResource, String, CancellationToken) |
Retrieve protection policy with specified name within a resource group. <item> Mocking. To mock this method, please mock GetCdnWebApplicationFirewallPolicyAsync(String, CancellationToken) instead. </item> |
| GetCdnWebApplicationFirewallPolicyResource(ArmClient, ResourceIdentifier) |
Gets an object representing a CdnWebApplicationFirewallPolicyResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCdnWebApplicationFirewallPolicyResource(ResourceIdentifier) instead. </item> |
| GetEdgeNodes(TenantResource, CancellationToken) |
Edgenodes are the global Point of Presence (POP) locations used to deliver CDN content to end users. <item> Mocking. To mock this method, please mock GetEdgeNodes(CancellationToken) instead. </item> |
| GetEdgeNodesAsync(TenantResource, CancellationToken) |
Edgenodes are the global Point of Presence (POP) locations used to deliver CDN content to end users. <item> Mocking. To mock this method, please mock GetEdgeNodesAsync(CancellationToken) instead. </item> |
| GetFrontDoorCustomDomainResource(ArmClient, ResourceIdentifier) |
Gets an object representing a FrontDoorCustomDomainResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetFrontDoorCustomDomainResource(ResourceIdentifier) instead. </item> |
| GetFrontDoorEndpointResource(ArmClient, ResourceIdentifier) |
Gets an object representing a FrontDoorEndpointResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetFrontDoorEndpointResource(ResourceIdentifier) instead. </item> |
| GetFrontDoorOriginGroupResource(ArmClient, ResourceIdentifier) |
Gets an object representing a FrontDoorOriginGroupResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetFrontDoorOriginGroupResource(ResourceIdentifier) instead. </item> |
| GetFrontDoorOriginResource(ArmClient, ResourceIdentifier) |
Gets an object representing a FrontDoorOriginResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetFrontDoorOriginResource(ResourceIdentifier) instead. </item> |
| GetFrontDoorRouteResource(ArmClient, ResourceIdentifier) |
Gets an object representing a FrontDoorRouteResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetFrontDoorRouteResource(ResourceIdentifier) instead. </item> |
| GetFrontDoorRuleResource(ArmClient, ResourceIdentifier) |
Gets an object representing a FrontDoorRuleResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetFrontDoorRuleResource(ResourceIdentifier) instead. </item> |
| GetFrontDoorRuleSetResource(ArmClient, ResourceIdentifier) |
Gets an object representing a FrontDoorRuleSetResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetFrontDoorRuleSetResource(ResourceIdentifier) instead. </item> |
| GetFrontDoorSecretResource(ArmClient, ResourceIdentifier) |
Gets an object representing a FrontDoorSecretResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetFrontDoorSecretResource(ResourceIdentifier) instead. </item> |
| GetFrontDoorSecurityPolicyResource(ArmClient, ResourceIdentifier) |
Gets an object representing a FrontDoorSecurityPolicyResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetFrontDoorSecurityPolicyResource(ResourceIdentifier) instead. </item> |
| GetManagedRuleSets(SubscriptionResource, CancellationToken) |
Lists all available managed rule sets. <item> Mocking. To mock this method, please mock GetManagedRuleSets(CancellationToken) instead. </item> |
| GetManagedRuleSetsAsync(SubscriptionResource, CancellationToken) |
Lists all available managed rule sets. <item> Mocking. To mock this method, please mock GetManagedRuleSetsAsync(CancellationToken) instead. </item> |
| 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. <item> Mocking. To mock this method, please mock GetProfile(String, CancellationToken) instead. </item> |
| 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. <item> Mocking. To mock this method, please mock GetProfileAsync(String, CancellationToken) instead. </item> |
| GetProfileResource(ArmClient, ResourceIdentifier) |
Gets an object representing a ProfileResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetProfileResource(ResourceIdentifier) instead. </item> |
| GetProfiles(ResourceGroupResource) |
Gets a collection of Profiles in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetProfiles() instead. </item> |
| GetProfiles(SubscriptionResource, CancellationToken) |
Lists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within an Azure subscription. <item> Mocking. To mock this method, please mock GetProfiles(CancellationToken) instead. </item> |
| GetProfilesAsync(SubscriptionResource, CancellationToken) |
Lists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within an Azure subscription. <item> Mocking. To mock this method, please mock GetProfilesAsync(CancellationToken) instead. </item> |
| GetResourceUsages(SubscriptionResource, CancellationToken) |
Check the quota and actual usage of the CDN profiles under the given subscription. <item> Mocking. To mock this method, please mock GetResourceUsages(CancellationToken) instead. </item> |
| GetResourceUsagesAsync(SubscriptionResource, CancellationToken) |
Check the quota and actual usage of the CDN profiles under the given subscription. <item> Mocking. To mock this method, please mock GetResourceUsagesAsync(CancellationToken) instead. </item> |
| MigrateProfile(ResourceGroupResource, WaitUntil, MigrationContent, CancellationToken) |
Migrate the CDN profile to Azure Frontdoor(Standard/Premium) profile. The change need to be committed after this. <item> Mocking. To mock this method, please mock MigrateProfile(WaitUntil, MigrationContent, CancellationToken) instead. </item> |
| MigrateProfileAsync(ResourceGroupResource, WaitUntil, MigrationContent, CancellationToken) |
Migrate the CDN profile to Azure Frontdoor(Standard/Premium) profile. The change need to be committed after this. <item> Mocking. To mock this method, please mock MigrateProfileAsync(WaitUntil, MigrationContent, CancellationToken) instead. </item> |
| 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. <item> Mocking. To mock this method, please mock ValidateProbe(ValidateProbeContent, CancellationToken) instead. </item> |
| 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. <item> Mocking. To mock this method, please mock ValidateProbeAsync(ValidateProbeContent, CancellationToken) instead. </item> |