ArmResourceMoverModelFactory.MoverResourceProperties 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 MoverResourceProperties.
public static Azure.ResourceManager.ResourceMover.Models.MoverResourceProperties MoverResourceProperties (Azure.ResourceManager.ResourceMover.Models.MoverProvisioningState? provisioningState = default, Azure.Core.ResourceIdentifier sourceId = default, Azure.Core.ResourceIdentifier targetId = default, Azure.Core.ResourceIdentifier existingTargetId = default, Azure.ResourceManager.ResourceMover.Models.MoverResourceSettings resourceSettings = default, Azure.ResourceManager.ResourceMover.Models.MoverResourceSettings sourceResourceSettings = default, Azure.ResourceManager.ResourceMover.Models.MoverResourcePropertiesMoveStatus moveStatus = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ResourceMover.Models.MoverResourceDependency> dependsOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ResourceMover.Models.MoverResourceDependencyOverride> dependsOnOverrides = default, bool? isResolveRequired = default, Azure.ResponseError errorsProperties = default);
static member MoverResourceProperties : Nullable<Azure.ResourceManager.ResourceMover.Models.MoverProvisioningState> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.ResourceManager.ResourceMover.Models.MoverResourceSettings * Azure.ResourceManager.ResourceMover.Models.MoverResourceSettings * Azure.ResourceManager.ResourceMover.Models.MoverResourcePropertiesMoveStatus * seq<Azure.ResourceManager.ResourceMover.Models.MoverResourceDependency> * seq<Azure.ResourceManager.ResourceMover.Models.MoverResourceDependencyOverride> * Nullable<bool> * Azure.ResponseError -> Azure.ResourceManager.ResourceMover.Models.MoverResourceProperties
Public Shared Function MoverResourceProperties (Optional provisioningState As Nullable(Of MoverProvisioningState) = Nothing, Optional sourceId As ResourceIdentifier = Nothing, Optional targetId As ResourceIdentifier = Nothing, Optional existingTargetId As ResourceIdentifier = Nothing, Optional resourceSettings As MoverResourceSettings = Nothing, Optional sourceResourceSettings As MoverResourceSettings = Nothing, Optional moveStatus As MoverResourcePropertiesMoveStatus = Nothing, Optional dependsOn As IEnumerable(Of MoverResourceDependency) = Nothing, Optional dependsOnOverrides As IEnumerable(Of MoverResourceDependencyOverride) = Nothing, Optional isResolveRequired As Nullable(Of Boolean) = Nothing, Optional errorsProperties As ResponseError = Nothing) As MoverResourceProperties
Parameters
- provisioningState
- Nullable<MoverProvisioningState>
Defines the provisioning states.
- sourceId
- ResourceIdentifier
Gets or sets the Source ARM Id of the resource.
- targetId
- ResourceIdentifier
Gets or sets the Target ARM Id of the resource.
- existingTargetId
- ResourceIdentifier
Gets or sets the existing target ARM Id of the resource.
- resourceSettings
- MoverResourceSettings
Gets or sets the resource settings. Please note MoverResourceSettings is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MoverAvailabilitySetResourceSettings, DiskEncryptionSetResourceSettings, VirtualMachineResourceSettings, KeyVaultResourceSettings, LoadBalancerResourceSettings, NetworkInterfaceResourceSettings, NetworkSecurityGroupResourceSettings, PublicIPAddressResourceSettings, MoverVirtualNetworkResourceSettings, SqlServerResourceSettings, SqlDatabaseResourceSettings, SqlElasticPoolResourceSettings and ResourceGroupResourceSettings.
- sourceResourceSettings
- MoverResourceSettings
Gets or sets the source resource settings. Please note MoverResourceSettings is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MoverAvailabilitySetResourceSettings, DiskEncryptionSetResourceSettings, VirtualMachineResourceSettings, KeyVaultResourceSettings, LoadBalancerResourceSettings, NetworkInterfaceResourceSettings, NetworkSecurityGroupResourceSettings, PublicIPAddressResourceSettings, MoverVirtualNetworkResourceSettings, SqlServerResourceSettings, SqlDatabaseResourceSettings, SqlElasticPoolResourceSettings and ResourceGroupResourceSettings.
- moveStatus
- MoverResourcePropertiesMoveStatus
Defines the move resource status.
- dependsOn
- IEnumerable<MoverResourceDependency>
Gets or sets the move resource dependencies.
- dependsOnOverrides
- IEnumerable<MoverResourceDependencyOverride>
Gets or sets the move resource dependencies overrides.
Gets a value indicating whether the resolve action is required over the move collection.
- errorsProperties
- ResponseError
Defines the move resource errors.
Returns
A new MoverResourceProperties instance for mocking.
Applies to
Azure SDK for .NET