ArmCdnModelFactory.MigrationContent Method

Definition

Initializes a new instance of MigrationContent.

public static Azure.ResourceManager.Cdn.Models.MigrationContent MigrationContent (Azure.ResourceManager.Cdn.Models.CdnSkuName? skuName = default, Azure.Core.ResourceIdentifier classicResourceReferenceId = default, string profileName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.MigrationWebApplicationFirewallMapping> migrationWebApplicationFirewallMappings = default);
static member MigrationContent : Nullable<Azure.ResourceManager.Cdn.Models.CdnSkuName> * Azure.Core.ResourceIdentifier * string * seq<Azure.ResourceManager.Cdn.Models.MigrationWebApplicationFirewallMapping> -> Azure.ResourceManager.Cdn.Models.MigrationContent
Public Shared Function MigrationContent (Optional skuName As Nullable(Of CdnSkuName) = Nothing, Optional classicResourceReferenceId As ResourceIdentifier = Nothing, Optional profileName As String = Nothing, Optional migrationWebApplicationFirewallMappings As IEnumerable(Of MigrationWebApplicationFirewallMapping) = Nothing) As MigrationContent

Parameters

skuName
Nullable<CdnSkuName>

Sku for the migration.

classicResourceReferenceId
ResourceIdentifier

Resource reference of the classic cdn profile or classic frontdoor that need to be migrated.

profileName
String

Name of the new profile that need to be created.

migrationWebApplicationFirewallMappings
IEnumerable<MigrationWebApplicationFirewallMapping>

Waf mapping for the migrated profile.

Returns

A new MigrationContent instance for mocking.

Applies to