Condividi tramite


ArmMigrationAssessmentModelFactory.MigrationAssessmentProjectData Method

Definition

Initializes a new instance of MigrationAssessmentProjectData.

public static Azure.ResourceManager.Migration.Assessment.MigrationAssessmentProjectData MigrationAssessmentProjectData(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.Migration.Assessment.Models.MigrationAssessmentProvisioningState? provisioningState = default, DateTimeOffset? createOn = default, DateTimeOffset? updatedOn = default, string serviceEndpoint = default, Azure.Core.ResourceIdentifier assessmentSolutionId = default, Azure.ResourceManager.Migration.Assessment.Models.AssessmentProjectStatus? projectStatus = default, Azure.Core.ResourceIdentifier customerWorkspaceId = default, string customerWorkspaceLocation = default, string publicNetworkAccess = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Migration.Assessment.MigrationAssessmentPrivateEndpointConnectionData> privateEndpointConnections = default, Azure.Core.ResourceIdentifier customerStorageAccountArmId = default);
static member MigrationAssessmentProjectData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.Migration.Assessment.Models.MigrationAssessmentProvisioningState> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Migration.Assessment.Models.AssessmentProjectStatus> * Azure.Core.ResourceIdentifier * string * string * seq<Azure.ResourceManager.Migration.Assessment.MigrationAssessmentPrivateEndpointConnectionData> * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Migration.Assessment.MigrationAssessmentProjectData
Public Shared Function MigrationAssessmentProjectData (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 provisioningState As Nullable(Of MigrationAssessmentProvisioningState) = Nothing, Optional createOn As Nullable(Of DateTimeOffset) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional serviceEndpoint As String = Nothing, Optional assessmentSolutionId As ResourceIdentifier = Nothing, Optional projectStatus As Nullable(Of AssessmentProjectStatus) = Nothing, Optional customerWorkspaceId As ResourceIdentifier = Nothing, Optional customerWorkspaceLocation As String = Nothing, Optional publicNetworkAccess As String = Nothing, Optional privateEndpointConnections As IEnumerable(Of MigrationAssessmentPrivateEndpointConnectionData) = Nothing, Optional customerStorageAccountArmId As ResourceIdentifier = Nothing) As MigrationAssessmentProjectData

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.

provisioningState
Nullable<MigrationAssessmentProvisioningState>

The status of the last operation.

createOn
Nullable<DateTimeOffset>

Time when this project was created. Date-Time represented in ISO-8601 format.

updatedOn
Nullable<DateTimeOffset>

Time when this project was last updated. Date-Time represented in ISO-8601 format.

serviceEndpoint
String

Endpoint at which the collector agent can call agent REST API.

assessmentSolutionId
ResourceIdentifier

Assessment solution ARM id tracked by Microsoft.Migrate/migrateProjects.

projectStatus
Nullable<AssessmentProjectStatus>

Assessment project status.

customerWorkspaceId
ResourceIdentifier

The ARM id of service map workspace created by customer.

customerWorkspaceLocation
String

Location of service map workspace created by customer.

publicNetworkAccess
String

This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method.

privateEndpointConnections
IEnumerable<MigrationAssessmentPrivateEndpointConnectionData>

The list of private endpoint connections to the project.

customerStorageAccountArmId
ResourceIdentifier

The ARM id of the storage account used for interactions when public access is disabled.

Returns

A new MigrationAssessmentProjectData instance for mocking.

Applies to