ArmCdnModelFactory.CanMigrateResult 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 CanMigrateResult.
public static Azure.ResourceManager.Cdn.Models.CanMigrateResult CanMigrateResult(Azure.Core.ResourceIdentifier resourceId = 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 : Azure.Core.ResourceIdentifier * 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 resourceId As ResourceIdentifier = 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
- resourceId
- ResourceIdentifier
Resource ID.
- canMigrateResultType
- String
Resource type.
- defaultSku
- Nullable<CanMigrateDefaultSku>
Recommended sku for the migration.
- errors
- IEnumerable<MigrationErrorType>
Returns
A new CanMigrateResult instance for mocking.