Share via


ArmCdnModelFactory.CanMigrateResult Method

Definition

Initializes a new instance of CanMigrateResult.

public static Azure.ResourceManager.Cdn.Models.CanMigrateResult CanMigrateResult (string id = default, string canMigrateResultType = default, bool? canMigrate = default, Azure.ResourceManager.Cdn.Models.CanMigrateDefaultSku? defaultSku = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.MigrationErrorType> errors = default);
static member CanMigrateResult : string * string * Nullable<bool> * Nullable<Azure.ResourceManager.Cdn.Models.CanMigrateDefaultSku> * seq<Azure.ResourceManager.Cdn.Models.MigrationErrorType> -> Azure.ResourceManager.Cdn.Models.CanMigrateResult
Public Shared Function CanMigrateResult (Optional id As String = Nothing, Optional canMigrateResultType As String = Nothing, Optional canMigrate As Nullable(Of Boolean) = Nothing, Optional defaultSku As Nullable(Of CanMigrateDefaultSku) = Nothing, Optional errors As IEnumerable(Of MigrationErrorType) = Nothing) As CanMigrateResult

Parameters

id
String

Resource ID.

canMigrateResultType
String

Resource type.

canMigrate
Nullable<Boolean>

Flag that says if the profile can be migrated.

defaultSku
Nullable<CanMigrateDefaultSku>

Recommended sku for the migration.

Returns

A new CanMigrateResult instance for mocking.

Applies to