Aracılığıyla paylaş


Assessment Projects Operations - Update

AssessmentProject'i güncelleştirme

PATCH https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}?api-version=2024-01-15

URI Parametreleri

Name İçinde Gerekli Tür Description
projectName
path True

string

pattern: ^[^<>&:\?/#]{1,260}$

Değerlendirme Proje Adı

resourceGroupName
path True

string

minLength: 1
maxLength: 90

Kaynak grubunun adı. Ad büyük/küçük harfe duyarsız.

subscriptionId
path True

string (uuid)

Hedef aboneliğin kimliği. Değer bir UUID olmalıdır.

api-version
query True

string

minLength: 1

Bu işlem için kullanılacak API sürümü.

İstek Gövdesi

Name Tür Description
properties.assessmentSolutionId

string

Microsoft.Migrate/migrateProjects tarafından izlenen değerlendirme çözümü ARM kimliği.

properties.customerStorageAccountArmId

string

Genel erişim devre dışı bırakıldığında etkileşimler için kullanılan depolama hesabının ARM kimliği.

properties.customerWorkspaceId

string

Müşteri tarafından oluşturulan hizmet eşleme çalışma alanının ARM kimliği.

properties.customerWorkspaceLocation

string

Müşteri tarafından oluşturulan hizmet eşlemesi çalışma alanının konumu.

properties.projectStatus

ProjectStatus

Değerlendirme projesi durumu.

properties.provisioningState

ProvisioningState

Son işlemin durumu.

properties.publicNetworkAccess

string

Mevcut müşteri kaynaklarında ve şablonlarında hataya neden olan değişiklikleri önlemek için bu değer 'etkin' olarak ayarlanabilir. 'Devre dışı' olarak ayarlanırsa, genel arabirim üzerinden trafiğe izin verilmez ve özel uç nokta bağlantıları özel erişim yöntemi olacaktır.

tags

object

Kaynak etiketleri.

Yanıtlar

Name Tür Description
200 OK

AssessmentProject

ARM işlemi başarıyla tamamlandı.

202 Accepted

Kaynak güncelleştirme isteği kabul edildi.

Üst Bilgiler

  • Retry-After: integer
  • Location: string
Other Status Codes

ErrorResponse

Beklenmeyen bir hata yanıtı.

Güvenlik

azure_auth

Azure Active Directory OAuth2 Akışı.

Tür: oauth2
Akış: implicit
Yetkilendirme URL’si: https://login.microsoftonline.com/common/oauth2/authorize

Kapsamlar

Name Description
user_impersonation kullanıcı hesabınızın kimliğine bürünme

Örnekler

AssessmentProjectsOperations_Update_MaximumSet_Gen

Örnek isteği

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"
  }
}

Örnek yanıt

{
  "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

Tanımlar

Name Description
AssessmentProject

Değerlendirme projesi site kaynağı.

AssessmentProjectUpdate

AssessmentProject güncelleştirme işlemleri için kullanılan tür.

createdByType

Kaynağı oluşturan kimliğin türü.

ErrorDetail

Hata Ayrıntıları

ErrorResponse

Hata yanıtı

PrivateEndpoint

Özel uç nokta kaynağı.

PrivateEndpointConnection

Özel uç nokta bağlantı kaynağı.

PrivateEndpointConnectionProvisioningState

Geçerli sağlama durumu.

PrivateEndpointServiceConnectionStatus

Özel uç nokta bağlantı durumu.

PrivateLinkServiceConnectionState

Hizmet tüketicisi ile sağlayıcı arasındaki bağlantının durumu hakkında bilgi koleksiyonu.

ProjectStatus

Proje Durumu.

ProvisioningState

Geçerli işlemin durumu.

systemData

Kaynağın oluşturulması ve son değiştirilmesiyle ilgili meta veriler.

AssessmentProject

Değerlendirme projesi site kaynağı.

Name Tür Description
id

string (arm-id)

Kaynağın tam kaynak kimliği. Örneğin, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

location

string

Kaynağın bulunduğu coğrafi konum

name

string

Kaynağın adı

properties.assessmentSolutionId

string

Microsoft.Migrate/migrateProjects tarafından izlenen değerlendirme çözümü ARM kimliği.

properties.createdTimestamp

string (date-time)

Bu projenin oluşturulduğu zaman. Date-Time ISO-8601 biçiminde temsil edilir.

properties.customerStorageAccountArmId

string

Genel erişim devre dışı bırakıldığında etkileşimler için kullanılan depolama hesabının ARM kimliği.

properties.customerWorkspaceId

string

Müşteri tarafından oluşturulan hizmet eşleme çalışma alanının ARM kimliği.

properties.customerWorkspaceLocation

string

Müşteri tarafından oluşturulan hizmet eşlemesi çalışma alanının konumu.

properties.privateEndpointConnections

PrivateEndpointConnection[]

Projeye yönelik özel uç nokta bağlantılarının listesi.

properties.projectStatus

ProjectStatus

Değerlendirme projesi durumu.

properties.provisioningState

ProvisioningState

Son işlemin durumu.

properties.publicNetworkAccess

string

Mevcut müşteri kaynaklarında ve şablonlarında hataya neden olan değişiklikleri önlemek için bu değer 'etkin' olarak ayarlanabilir. 'Devre dışı' olarak ayarlanırsa, genel arabirim üzerinden trafiğe izin verilmez ve özel uç nokta bağlantıları özel erişim yöntemi olacaktır.

properties.serviceEndpoint

string

Toplayıcı aracının aracı REST API'sini çağırabileceği uç nokta.

properties.updatedTimestamp

string (date-time)

Bu projenin en son güncelleştirilildiği zaman. Date-Time ISO-8601 biçiminde temsil edilir.

systemData

systemData

createdBy ve modifiedBy bilgilerini içeren Azure Resource Manager meta verileri.

tags

object

Kaynak etiketleri.

type

string

Kaynağın türü. Örneğin, "Microsoft.Compute/virtualMachines" veya "Microsoft.Storage/storageAccounts"

AssessmentProjectUpdate

AssessmentProject güncelleştirme işlemleri için kullanılan tür.

Name Tür Description
properties.assessmentSolutionId

string

Microsoft.Migrate/migrateProjects tarafından izlenen değerlendirme çözümü ARM kimliği.

properties.customerStorageAccountArmId

string

Genel erişim devre dışı bırakıldığında etkileşimler için kullanılan depolama hesabının ARM kimliği.

properties.customerWorkspaceId

string

Müşteri tarafından oluşturulan hizmet eşleme çalışma alanının ARM kimliği.

properties.customerWorkspaceLocation

string

Müşteri tarafından oluşturulan hizmet eşlemesi çalışma alanının konumu.

properties.projectStatus

ProjectStatus

Değerlendirme projesi durumu.

properties.provisioningState

ProvisioningState

Son işlemin durumu.

properties.publicNetworkAccess

string

Mevcut müşteri kaynaklarında ve şablonlarında hataya neden olan değişiklikleri önlemek için bu değer 'etkin' olarak ayarlanabilir. 'Devre dışı' olarak ayarlanırsa, genel arabirim üzerinden trafiğe izin verilmez ve özel uç nokta bağlantıları özel erişim yöntemi olacaktır.

tags

object

Kaynak etiketleri.

createdByType

Kaynağı oluşturan kimliğin türü.

Değer Description
User
Application
ManagedIdentity
Key

ErrorDetail

Hata Ayrıntıları

Name Tür Description
code

string

Hata Kodu

message

string

Oluşan hatanın açıklaması

ErrorResponse

Hata yanıtı

Name Tür Description
error

ErrorDetail

Hata nesnesi.

PrivateEndpoint

Özel uç nokta kaynağı.

Name Tür Description
id

string

Özel uç noktanın ARM tanımlayıcısı.

PrivateEndpointConnection

Özel uç nokta bağlantı kaynağı.

Name Tür Description
id

string (arm-id)

Kaynağın tam kaynak kimliği. Örneğin, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

name

string

Kaynağın adı

properties.groupIds

string[]

Özel uç nokta kaynağının grup kimlikleri.

properties.privateEndpoint

PrivateEndpoint

Özel uç nokta kaynağı.

properties.privateLinkServiceConnectionState

PrivateLinkServiceConnectionState

Hizmet tüketicisi ile sağlayıcı arasındaki bağlantının durumu hakkında bilgi koleksiyonu.

properties.provisioningState

PrivateEndpointConnectionProvisioningState

Özel uç nokta bağlantı kaynağının sağlama durumu.

systemData

systemData

createdBy ve modifiedBy bilgilerini içeren Azure Resource Manager meta verileri.

type

string

Kaynağın türü. Örneğin, "Microsoft.Compute/virtualMachines" veya "Microsoft.Storage/storageAccounts"

PrivateEndpointConnectionProvisioningState

Geçerli sağlama durumu.

Değer Description
Succeeded
Creating
Deleting
Failed

PrivateEndpointServiceConnectionStatus

Özel uç nokta bağlantı durumu.

Değer Description
Pending
Approved
Rejected

PrivateLinkServiceConnectionState

Hizmet tüketicisi ile sağlayıcı arasındaki bağlantının durumu hakkında bilgi koleksiyonu.

Name Tür Description
actionsRequired

string

Hizmet sağlayıcısındaki değişikliklerin tüketicide herhangi bir güncelleştirme gerektirip gerektirmediğini belirten bir ileti.

description

string

Bağlantının onaylanması/reddedilmesinin nedeni.

status

PrivateEndpointServiceConnectionStatus

Bağlantının hizmet sahibi tarafından Onaylanıp Reddedildiğini/Kaldırıldığını gösterir.

ProjectStatus

Proje Durumu.

Değer Description
Active

Etkin Durum.

Inactive

Etkin Değil Durumu.

ProvisioningState

Geçerli işlemin durumu.

Değer Description
Succeeded

Kaynak oluşturuldu.

Failed

Kaynak oluşturulamadı.

Canceled

Kaynak oluşturma işlemi iptal edildi.

Provisioning

Kaynak sağlanıyor.

Updating

Kaynak Güncelleştiriliyor.

Deleting

Kaynak Siliniyor.

Accepted

Kaynak Kabul Ediliyor.

systemData

Kaynağın oluşturulması ve son değiştirilmesiyle ilgili meta veriler.

Name Tür Description
createdAt

string (date-time)

Kaynak oluşturma (UTC) zaman damgası.

createdBy

string

Kaynağı oluşturan kimlik.

createdByType

createdByType

Kaynağı oluşturan kimliğin türü.

lastModifiedAt

string (date-time)

Kaynağın son değişikliğinin zaman damgası (UTC)

lastModifiedBy

string

Kaynağı en son değiştiren kimlik.

lastModifiedByType

createdByType

Kaynağı en son değiştiren kimlik türü.