Partager via


ArmMigrationDiscoverySapModelFactory.SapDiscoverySiteData Method

Definition

Initializes a new instance of SapDiscoverySiteData.

public static Azure.ResourceManager.MigrationDiscoverySap.SapDiscoverySiteData SapDiscoverySiteData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.MigrationDiscoverySap.Models.SapDiscoveryExtendedLocation extendedLocation = default, string masterSiteId = default, string migrateProjectId = default, Azure.ResourceManager.MigrationDiscoverySap.Models.SapDiscoveryProvisioningState? provisioningState = default, Azure.ResourceManager.MigrationDiscoverySap.Models.SapMigrateError errors = default);
static member SapDiscoverySiteData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.MigrationDiscoverySap.Models.SapDiscoveryExtendedLocation * string * string * Nullable<Azure.ResourceManager.MigrationDiscoverySap.Models.SapDiscoveryProvisioningState> * Azure.ResourceManager.MigrationDiscoverySap.Models.SapMigrateError -> Azure.ResourceManager.MigrationDiscoverySap.SapDiscoverySiteData
Public Shared Function SapDiscoverySiteData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional extendedLocation As SapDiscoveryExtendedLocation = Nothing, Optional masterSiteId As String = Nothing, Optional migrateProjectId As String = Nothing, Optional provisioningState As Nullable(Of SapDiscoveryProvisioningState) = Nothing, Optional errors As SapMigrateError = Nothing) As SapDiscoverySiteData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

extendedLocation
SapDiscoveryExtendedLocation

The extended location definition.

masterSiteId
String

The master site ID from Azure Migrate.

migrateProjectId
String

The migrate project ID from Azure Migrate.

provisioningState
Nullable<SapDiscoveryProvisioningState>

Defines the provisioning states.

errors
SapMigrateError

Indicates any errors on the SAP Migration discovery site resource.

Returns

A new SapDiscoverySiteData instance for mocking.

Applies to