ArmCdnModelFactory.MigrationContent Method
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.
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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.