Sql Collector Operations - List By Assessment Project

AssessmentProject による SqlCollector リソースの一覧表示

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

URI パラメーター

名前 / 必須 説明
projectName
path True

string

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

評価プロジェクト名

resourceGroupName
path True

string

minLength: 1
maxLength: 90

リソース グループの名前。 名前は大文字と小文字が区別されます。

subscriptionId
path True

string (uuid)

ターゲット サブスクリプションの ID。 値は UUID である必要があります。

api-version
query True

string

minLength: 1

この操作に使用する API バージョン。

応答

名前 説明
200 OK

SqlCollectorListResult

ARM 操作が正常に完了しました。

Other Status Codes

ErrorResponse

予期しないエラー応答。

セキュリティ

azure_auth

Azure Active Directory OAuth2 フロー。

型: oauth2
フロー: implicit
Authorization URL (承認 URL): https://login.microsoftonline.com/common/oauth2/authorize

スコープ

名前 説明
user_impersonation ユーザー アカウントを偽装する

SqlCollectorOperations_ListByAssessmentProject_MaximumSet_Gen

要求のサンプル

GET https://management.azure.com/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/rgmigrate/providers/Microsoft.Migrate/assessmentProjects/fci-test6904project/sqlcollectors?api-version=2024-01-15

応答のサンプル

{
  "value": [
    {
      "id": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-ankit-test6904project/sqlcollectors/fci-ankit-test0c1esqlsitecollector",
      "name": "fci-ankit-test0c1esqlsitecollector",
      "systemData": {
        "createdAt": "0001-01-01T00:00:00",
        "createdBy": null,
        "createdByType": null,
        "lastModifiedAt": "0001-01-01T00:00:00",
        "lastModifiedBy": null,
        "lastModifiedByType": null
      },
      "type": "Microsoft.Migrate/assessmentprojects/sqlcollectors",
      "properties": {
        "agentProperties": {
          "id": "630da710-4d44-41f7-a189-72fe3db5502b-agent",
          "version": null,
          "lastHeartbeatUtc": null,
          "spnDetails": {
            "authority": "https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47",
            "applicationId": "db9c4c3d-477c-4d5a-817b-318276713565",
            "audience": "db9c4c3d-477c-4d5a-817b-318276713565",
            "objectId": "e50236ad-ad07-47d4-af71-ed7b52d200d5",
            "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
          }
        },
        "discoverySiteId": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.OffAzure/MasterSites/fci-ankit-test6065mastersite/SqlSites/fci-ankit-test6065sqlsites",
        "createdTimestamp": "2022-11-22T09:50:37.1061418Z",
        "updatedTimestamp": "2023-02-16T12:17:52.9185188Z"
      }
    }
  ],
  "nextLink": null
}

定義

名前 説明
CollectorAgentPropertiesBase

コレクター エージェントのプロパティ クラス。

CollectorAgentSpnPropertiesBase

コレクター エージェント SPN 詳細クラス。

createdByType

リソースを作成した ID の種類。

ErrorDetail

エラーの詳細

ErrorResponse

エラー応答

ProvisioningState

現在の操作の状態。

SqlCollector

SQL コレクター REST オブジェクト。

SqlCollectorListResult

SqlCollector リスト操作の応答。

systemData

リソースの作成と最後の変更に関連するメタデータ。

CollectorAgentPropertiesBase

コレクター エージェントのプロパティ クラス。

名前 説明
id

string

コレクター エージェント ID を取得します。

lastHeartbeatUtc

string (date-time)

コレクターの最後のハートビート時刻を取得します。

spnDetails

CollectorAgentSpnPropertiesBase

SPN の詳細を取得または設定します。

version

string

コレクター エージェントのバージョンを取得します。

CollectorAgentSpnPropertiesBase

コレクター エージェント SPN 詳細クラス。

名前 説明
applicationId

string

AAD アプリケーション ID を取得します。

audience

string

AAD 対象ユーザー URL を取得します。

authority

string

AAD 機関エンドポイントを取得します。

objectId

string

AAD アプリケーションのオブジェクト ID を取得します。

tenantId

string

AAD アプリケーションのテナント ID を取得します。

createdByType

リソースを作成した ID の種類。

説明
User
Application
ManagedIdentity
Key

ErrorDetail

エラーの詳細

名前 説明
code

string

エラー コード

message

string

エラーの説明が発生しました

ErrorResponse

エラー応答

名前 説明
error

ErrorDetail

エラー オブジェクト。

ProvisioningState

現在の操作の状態。

説明
Succeeded

リソースが作成されました。

Failed

リソースの作成に失敗しました。

Canceled

リソースの作成が取り消されました。

Provisioning

リソースがプロビジョニングされています。

Updating

リソースが更新中です。

Deleting

リソースが削除されています。

Accepted

リソースが受け入れ中です。

SqlCollector

SQL コレクター REST オブジェクト。

名前 説明
id

string (arm-id)

リソースの完全修飾リソース ID。 例: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

name

string

リソースの名前

properties.agentProperties

CollectorAgentPropertiesBase

コレクター エージェントのプロパティを取得または設定します。

properties.createdTimestamp

string (date-time)

コレクターが作成されたときのタイムスタンプを取得します。

properties.discoverySiteId

string

探索サイト ID を取得します。

properties.provisioningState

ProvisioningState

最後の操作の状態。

properties.updatedTimestamp

string (date-time)

コレクターが最後に更新されたときのタイムスタンプ。

systemData

systemData

createdBy および modifiedBy 情報を含む Azure Resource Manager メタデータ。

type

string

リソースの型。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts"

SqlCollectorListResult

SqlCollector リスト操作の応答。

名前 説明
nextLink

string (uri)

アイテムの次のページへのリンク

value

SqlCollector[]

このページの SqlCollector 項目

systemData

リソースの作成と最後の変更に関連するメタデータ。

名前 説明
createdAt

string (date-time)

リソース作成のタイムスタンプ (UTC)。

createdBy

string

リソースを作成した ID。

createdByType

createdByType

リソースを作成した ID の種類。

lastModifiedAt

string (date-time)

リソースの最終変更のタイムスタンプ (UTC)

lastModifiedBy

string

リソースを最後に変更した ID。

lastModifiedByType

createdByType

リソースを最後に変更した ID の種類。