Assessment Projects Operations - Update
Een AssessmentProject bijwerken
PATCH https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}?api-version=2024-01-15
URI-parameters
| Name | In | Vereist | Type | Description |
|---|---|---|---|---|
|
project
|
path | True |
string pattern: ^[^<>&:\?/#]{1,260}$ |
Naam van evaluatieproject |
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
De naam van de resourcegroep. De naam is hoofdletterongevoelig. |
|
subscription
|
path | True |
string (uuid) |
De id van het doelabonnement. De waarde moet een UUID zijn. |
|
api-version
|
query | True |
string minLength: 1 |
De API-versie die voor deze bewerking moet worden gebruikt. |
Aanvraagbody
| Name | Type | Description |
|---|---|---|
| properties.assessmentSolutionId |
string |
ARM-id voor evaluatieoplossing die wordt bijgehouden door Microsoft.Migrate/migrateProjects. |
| properties.customerStorageAccountArmId |
string |
De ARM-id van het opslagaccount dat wordt gebruikt voor interacties wanneer openbare toegang is uitgeschakeld. |
| properties.customerWorkspaceId |
string |
De ARM-id van de werkruimte voor servicetoewijzing die door de klant is gemaakt. |
| properties.customerWorkspaceLocation |
string |
Locatie van servicetoewijzingswerkruimte die door de klant is gemaakt. |
| properties.projectStatus |
Status van evaluatieproject. |
|
| properties.provisioningState |
De status van de laatste bewerking. |
|
| properties.publicNetworkAccess |
string |
Deze waarde kan worden ingesteld op 'ingeschakeld' om te voorkomen dat bestaande klantbronnen en sjablonen fouten veroorzaken. Als deze optie is ingesteld op Uitgeschakeld, is verkeer via openbare interface niet toegestaan en zijn privé-eindpuntverbindingen de exclusieve toegangsmethode. |
| tags |
object |
Resourcetags. |
Antwoorden
| Name | Type | Description |
|---|---|---|
| 200 OK |
DE ARM-bewerking is voltooid. |
|
| 202 Accepted |
Aanvraag voor resource-update geaccepteerd. Kopteksten
|
|
| Other Status Codes |
Een onverwachte foutreactie. |
Beveiliging
azure_auth
OAuth2-stroom voor Azure Active Directory.
Type:
oauth2
Stroom:
implicit
Autorisatie-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiken
| Name | Description |
|---|---|
| user_impersonation | Uw gebruikersaccount imiteren |
Voorbeelden
AssessmentProjectsOperations_Update_MaximumSet_Gen
Voorbeeldaanvraag
PATCH https://management.azure.com/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Migrate/assessmentProjects/sakanwar1204project?api-version=2024-01-15
{
"tags": {
"Migrate Project": "sakanwar-PE-SEA"
},
"properties": {
"assessmentSolutionId": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa",
"projectStatus": "Active",
"customerWorkspaceId": null,
"customerWorkspaceLocation": null,
"publicNetworkAccess": "Disabled",
"customerStorageAccountArmId": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa",
"provisioningState": "Succeeded"
}
}
Voorbeeldrespons
{
"properties": {
"createdTimestamp": "2023-09-15T07:22:18.588Z",
"updatedTimestamp": "2023-09-15T07:22:18.588Z",
"serviceEndpoint": "https://asmsrv.sea.test.migration.windowsazure.com/",
"assessmentSolutionId": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa",
"projectStatus": "Active",
"customerWorkspaceId": null,
"customerWorkspaceLocation": null,
"publicNetworkAccess": "Disabled",
"privateEndpointConnections": [
{
"properties": {
"privateEndpoint": {
"id": "/subscriptions/31be0ff4-c932-4cb3-8efc-efa411d79280/resourceGroups/PrivLink-SelfHost/providers/Microsoft.Network/privateEndpoints/sakanwar1204project1634pe"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": null,
"actionsRequired": ""
},
"provisioningState": "Succeeded"
},
"id": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Migrate/assessmentprojects/sakanwar1204project/privateEndpointConnections/sakanwar1204project1634pe.bf42f8a1-09f5-4ee4-aea6-a019cc60f9d7",
"name": "sakanwar1204project1634pe.bf42f8a1-09f5-4ee4-aea6-a019cc60f9d7",
"type": "Microsoft.Migrate/assessmentprojects/privateEndpointConnections",
"systemData": {
"createdBy": "sakanwar",
"createdByType": "User",
"createdAt": "2023-09-15T07:22:18.589Z",
"lastModifiedBy": "sakanwar",
"lastModifiedByType": "User",
"lastModifiedAt": "2023-09-15T07:22:18.589Z"
}
}
],
"customerStorageAccountArmId": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa",
"provisioningState": "Succeeded"
},
"tags": {
"Migrate Project": "sakanwar-PE-SEA"
},
"location": "southeastasia",
"id": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Migrate/assessmentprojects/sakanwar1204project",
"name": "sakanwar1204project",
"type": "Microsoft.Migrate/assessmentprojects",
"systemData": {
"createdBy": "sakanwar",
"createdByType": "User",
"createdAt": "2023-09-15T07:22:18.589Z",
"lastModifiedBy": "sakanwar",
"lastModifiedByType": "User",
"lastModifiedAt": "2023-09-15T07:22:18.589Z"
}
}
location: https://contoso.com/operationstatus
Definities
| Name | Description |
|---|---|
|
Assessment |
Een resource voor de evaluatieprojectsite. |
|
Assessment |
Het type dat wordt gebruikt voor updatebewerkingen van het AssessmentProject. |
|
created |
Het type identiteit waarmee de resource is gemaakt. |
|
Error |
Foutdetails |
|
Error |
Foutreactie |
|
Private |
De privé-eindpuntresource. |
|
Private |
Privé-eindpuntverbindingsresource. |
|
Private |
De huidige inrichtingsstatus. |
|
Private |
De verbindingsstatus van het privé-eindpunt. |
|
Private |
Een verzameling informatie over de status van de verbinding tussen serviceconsumer en provider. |
|
Project |
Projectstatus. |
|
Provisioning |
De status van de huidige bewerking. |
|
system |
Metagegevens met betrekking tot het maken en de laatste wijziging van de resource. |
AssessmentProject
Een resource voor de evaluatieprojectsite.
| Name | Type | Description |
|---|---|---|
| id |
string (arm-id) |
Volledig gekwalificeerde resource-id voor de resource. Bijvoorbeeld /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceType}/{resourceName}" |
| location |
string |
De geografische locatie waar de resource zich bevindt |
| name |
string |
De naam van de resource |
| properties.assessmentSolutionId |
string |
ARM-id voor evaluatieoplossing die wordt bijgehouden door Microsoft.Migrate/migrateProjects. |
| properties.createdTimestamp |
string (date-time) |
Tijdstip waarop dit project is gemaakt. Date-Time weergegeven in ISO-8601-indeling. |
| properties.customerStorageAccountArmId |
string |
De ARM-id van het opslagaccount dat wordt gebruikt voor interacties wanneer openbare toegang is uitgeschakeld. |
| properties.customerWorkspaceId |
string |
De ARM-id van de werkruimte voor servicetoewijzing die door de klant is gemaakt. |
| properties.customerWorkspaceLocation |
string |
Locatie van servicetoewijzingswerkruimte die door de klant is gemaakt. |
| properties.privateEndpointConnections |
De lijst met privé-eindpuntverbindingen met het project. |
|
| properties.projectStatus |
Status van evaluatieproject. |
|
| properties.provisioningState |
De status van de laatste bewerking. |
|
| properties.publicNetworkAccess |
string |
Deze waarde kan worden ingesteld op 'ingeschakeld' om te voorkomen dat bestaande klantbronnen en sjablonen fouten veroorzaken. Als deze optie is ingesteld op Uitgeschakeld, is verkeer via openbare interface niet toegestaan en zijn privé-eindpuntverbindingen de exclusieve toegangsmethode. |
| properties.serviceEndpoint |
string |
Eindpunt waarop de collectoragent REST API van agent kan aanroepen. |
| properties.updatedTimestamp |
string (date-time) |
Tijdstip waarop dit project voor het laatst is bijgewerkt. Date-Time weergegeven in ISO-8601-indeling. |
| systemData |
Azure Resource Manager-metagegevens met createdBy- en modifiedBy-gegevens. |
|
| tags |
object |
Resourcetags. |
| type |
string |
Het type bron. Bijvoorbeeld 'Microsoft.Compute/virtualMachines' of 'Microsoft.Storage/storageAccounts' |
AssessmentProjectUpdate
Het type dat wordt gebruikt voor updatebewerkingen van het AssessmentProject.
| Name | Type | Description |
|---|---|---|
| properties.assessmentSolutionId |
string |
ARM-id voor evaluatieoplossing die wordt bijgehouden door Microsoft.Migrate/migrateProjects. |
| properties.customerStorageAccountArmId |
string |
De ARM-id van het opslagaccount dat wordt gebruikt voor interacties wanneer openbare toegang is uitgeschakeld. |
| properties.customerWorkspaceId |
string |
De ARM-id van de werkruimte voor servicetoewijzing die door de klant is gemaakt. |
| properties.customerWorkspaceLocation |
string |
Locatie van servicetoewijzingswerkruimte die door de klant is gemaakt. |
| properties.projectStatus |
Status van evaluatieproject. |
|
| properties.provisioningState |
De status van de laatste bewerking. |
|
| properties.publicNetworkAccess |
string |
Deze waarde kan worden ingesteld op 'ingeschakeld' om te voorkomen dat bestaande klantbronnen en sjablonen fouten veroorzaken. Als deze optie is ingesteld op Uitgeschakeld, is verkeer via openbare interface niet toegestaan en zijn privé-eindpuntverbindingen de exclusieve toegangsmethode. |
| tags |
object |
Resourcetags. |
createdByType
Het type identiteit waarmee de resource is gemaakt.
| Waarde | Description |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
ErrorDetail
Foutdetails
| Name | Type | Description |
|---|---|---|
| code |
string |
Foutcode |
| message |
string |
Beschrijving van de fout is opgetreden |
ErrorResponse
Foutreactie
| Name | Type | Description |
|---|---|---|
| error |
Het foutobject. |
PrivateEndpoint
De privé-eindpuntresource.
| Name | Type | Description |
|---|---|---|
| id |
string |
De ARM-id voor privé-eindpunt. |
PrivateEndpointConnection
Privé-eindpuntverbindingsresource.
| Name | Type | Description |
|---|---|---|
| id |
string (arm-id) |
Volledig gekwalificeerde resource-id voor de resource. Bijvoorbeeld /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceType}/{resourceName}" |
| name |
string |
De naam van de resource |
| properties.groupIds |
string[] |
De groeps-id's voor de privé-eindpuntresource. |
| properties.privateEndpoint |
De privé-eindpuntresource. |
|
| properties.privateLinkServiceConnectionState |
Een verzameling informatie over de status van de verbinding tussen serviceconsumer en provider. |
|
| properties.provisioningState |
De inrichtingsstatus van de privé-eindpuntverbindingsresource. |
|
| systemData |
Azure Resource Manager-metagegevens met createdBy- en modifiedBy-gegevens. |
|
| type |
string |
Het type bron. Bijvoorbeeld 'Microsoft.Compute/virtualMachines' of 'Microsoft.Storage/storageAccounts' |
PrivateEndpointConnectionProvisioningState
De huidige inrichtingsstatus.
| Waarde | Description |
|---|---|
| Succeeded | |
| Creating | |
| Deleting | |
| Failed |
PrivateEndpointServiceConnectionStatus
De verbindingsstatus van het privé-eindpunt.
| Waarde | Description |
|---|---|
| Pending | |
| Approved | |
| Rejected |
PrivateLinkServiceConnectionState
Een verzameling informatie over de status van de verbinding tussen serviceconsumer en provider.
| Name | Type | Description |
|---|---|---|
| actionsRequired |
string |
Een bericht dat aangeeft of wijzigingen in de serviceprovider updates voor de consument vereisen. |
| description |
string |
De reden voor goedkeuring/afwijzing van de verbinding. |
| status |
Geeft aan of de verbinding is goedgekeurd/geweigerd/verwijderd door de eigenaar van de service. |
ProjectStatus
Projectstatus.
| Waarde | Description |
|---|---|
| Active |
Actieve status. |
| Inactive |
Inactieve status. |
ProvisioningState
De status van de huidige bewerking.
| Waarde | Description |
|---|---|
| Succeeded |
De resource is gemaakt. |
| Failed |
Het maken van resources is mislukt. |
| Canceled |
Het maken van resources is geannuleerd. |
| Provisioning |
Resource wordt ingericht. |
| Updating |
Resource wordt bijgewerkt. |
| Deleting |
Resource wordt verwijderd. |
| Accepted |
Resource wordt geaccepteerd. |
systemData
Metagegevens met betrekking tot het maken en de laatste wijziging van de resource.
| Name | Type | Description |
|---|---|---|
| createdAt |
string (date-time) |
De tijdstempel van het maken van resources (UTC). |
| createdBy |
string |
De identiteit waarmee de resource is gemaakt. |
| createdByType |
Het type identiteit waarmee de resource is gemaakt. |
|
| lastModifiedAt |
string (date-time) |
De tijdstempel van de laatste wijziging van de resource (UTC) |
| lastModifiedBy |
string |
De identiteit die de resource voor het laatst heeft gewijzigd. |
| lastModifiedByType |
Het type identiteit dat de resource voor het laatst heeft gewijzigd. |