Accounts - List By Subscription

구독별로 계정 리소스를 가져옵니다.
구독에서 계정 나열

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Purview/accounts?api-version=2021-12-01
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Purview/accounts?api-version=2021-12-01&$skipToken={$skipToken}

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
subscriptionId
path True

string

구독 식별자

api-version
query True

string

사용할 api 버전입니다.

$skipToken
query

string

건너뛰기 토큰입니다.

응답

Name 형식 Description
200 OK

AccountList

Success

Other Status Codes

ErrorResponseModel

공급자로부터 받은 오류 응답입니다.

보안

azure_auth

Azure Active Directory OAuth2 Flow.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation 사용자 계정 가장

예제

Accounts_ListBySubscription

Sample Request

GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Purview/accounts?api-version=2021-12-01

Sample Response

Date: Wed, 13 Sep 2017 17:33:55 GMT
x-ms-request-id: 8e58266a-de42-40d5-b3c4-c6a7e159cfba
X-Content-Type-Options: nosniff
x-ms-ratelimit-remaining-subscription-reads: 14993
x-ms-correlation-request-id: 5d862c55-4de9-4a46-969d-cf1ed3e235ed
{
  "value": [
    {
      "location": "West US 2",
      "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account1",
      "name": "account1",
      "type": "Microsoft.Purview/accounts",
      "sku": {
        "name": "Standard",
        "capacity": 1
      },
      "systemData": {
        "createdBy": "client-name",
        "createdByType": "User",
        "createdAt": "2019-11-22T18:39:58.6929344Z",
        "lastModifiedBy": "client-name",
        "lastModifiedByType": "User",
        "lastModifiedAt": "2021-03-16T23:24:34.3430059Z"
      },
      "properties": {
        "friendlyName": "friendly-account1",
        "provisioningState": "Succeeded",
        "accountStatus": {
          "accountProvisioningState": "Succeeded",
          "errorDetails": {}
        },
        "endpoints": {
          "catalog": "https://account1.catalog.purview.azure-test.com",
          "scan": "https://account1.scan.purview.azure-test.com",
          "guardian": "https://account1.guardian.purview.azure-test.com"
        },
        "publicNetworkAccess": "Enabled"
      }
    },
    {
      "location": "West US 2",
      "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account2",
      "name": "account2",
      "type": "Microsoft.Purview/accounts",
      "sku": {
        "name": "Standard",
        "capacity": 1
      },
      "systemData": {
        "createdBy": "client-name",
        "createdByType": "User",
        "createdAt": "2019-11-22T18:39:58.6929344Z",
        "lastModifiedBy": "client-name",
        "lastModifiedByType": "User",
        "lastModifiedAt": "2021-03-16T23:24:34.3430059Z"
      },
      "properties": {
        "friendlyName": "friendly-account1",
        "provisioningState": "Succeeded",
        "endpoints": {
          "catalog": "https://account2.catalog.purview.azure-test.com",
          "scan": "https://account2.scan.purview.azure-test.com",
          "guardian": "https://account1.guardian.purview.azure-test.com"
        },
        "publicNetworkAccess": "Enabled"
      }
    }
  ]
}

정의

Name Description
Account

계정 리소스

AccountList

계정 리소스의 페이징된 목록

accountProvisioningState

계정 상태 코드를 가져옵니다.

AccountStatus

계정의 상태 가져오거나 설정합니다.

CloudConnectors

외부 클라우드 서비스 커넥터

createdByType

리소스를 만든 ID의 형식입니다.

Endpoints

계정의 퍼블릭 엔드포인트인 URI입니다.

Error

오류를 가져오거나 설정합니다.

ErrorDetails

계정 오류 세부 정보를 가져옵니다.

ErrorModel

기본 오류 모델

ErrorResponseModel

기본 오류 응답 모델

Identity

리소스의 관리 ID

lastModifiedByType

리소스를 마지막으로 수정한 ID 유형입니다.

managedEventHubState

관리되는 eventhub의 상태를 가져오거나 설정합니다. 사용하도록 설정된 관리형 eventhub가 만들어지면 사용하지 않도록 설정된 경우 관리되는 eventhub가 제거됩니다.

ManagedResources

관리되는 리소스의 리소스 식별자를 가져옵니다.

managedResourcesPublicNetworkAccess

관리되는 리소스에 대한 공용 네트워크 액세스를 가져오거나 설정합니다.

name

sku 이름을 가져오거나 설정합니다.

PrivateEndpoint

프라이빗 엔드포인트 클래스입니다.

PrivateEndpointConnection

프라이빗 엔드포인트 연결 클래스입니다.

PrivateLinkServiceConnectionState

프라이빗 링크 서비스 연결 상태입니다.

provisioningState

프로비전의 상태를 가져오거나 설정합니다.

publicNetworkAccess

공용 네트워크 액세스를 가져오거나 설정합니다.

Sku

Sku를 가져오거나 설정합니다.

status

상태입니다.

SystemData

리소스 만들기 및 마지막 수정과 관련된 메타데이터입니다.

TrackedResource.SystemData

리소스 만들기 및 마지막 수정과 관련된 메타데이터입니다.

type

ID 형식

UserAssignedIdentity

클라이언트 ID 및 보안 주체 ID 사용

Account

계정 리소스

Name 형식 기본값 Description
id

string

식별자를 가져오거나 설정합니다.

identity

Identity

추적된 리소스에 대한 ID 정보

location

string

위치를 가져오거나 설정합니다.

name

string

이름을 가져오거나 설정합니다.

properties.accountStatus

AccountStatus

계정의 상태 가져오거나 설정합니다.

properties.cloudConnectors

CloudConnectors

클라우드 커넥터. 검사 구성의 일부로 사용되는 외부 클라우드 식별자입니다.

properties.createdAt

string

엔터티가 만들어진 시간을 가져옵니다.

properties.createdBy

string

엔터티의 작성자를 가져옵니다.

properties.createdByObjectId

string

엔터티 개체 ID의 작성자를 가져옵니다.

properties.endpoints

Endpoints

계정의 퍼블릭 엔드포인트인 URI입니다.

properties.friendlyName

string

식별 이름을 가져오거나 설정합니다.

properties.managedEventHubState

managedEventHubState

NotSpecified

관리되는 eventhub의 상태를 가져오거나 설정합니다. 사용하도록 설정된 관리형 eventhub가 만들어지면 사용하지 않도록 설정된 경우 관리되는 eventhub가 제거됩니다.

properties.managedResourceGroupName

string

관리되는 리소스 그룹 이름을 가져오거나 설정합니다.

properties.managedResources

ManagedResources

관리되는 리소스의 리소스 식별자를 가져옵니다.

properties.managedResourcesPublicNetworkAccess

managedResourcesPublicNetworkAccess

NotSpecified

관리되는 리소스에 대한 공용 네트워크 액세스를 가져오거나 설정합니다.

properties.privateEndpointConnections

PrivateEndpointConnection[]

프라이빗 엔드포인트 연결 정보를 가져옵니다.

properties.provisioningState

provisioningState

프로비전의 상태를 가져오거나 설정합니다.

properties.publicNetworkAccess

publicNetworkAccess

Enabled

공용 네트워크 액세스를 가져오거나 설정합니다.

sku

Sku

Sku를 가져오거나 설정합니다.

systemData

TrackedResource.SystemData

리소스 만들기 및 마지막 수정과 관련된 메타데이터입니다.

tags

object

Azure 리소스의 태그입니다.

type

string

형식을 가져오거나 설정합니다.

AccountList

계정 리소스의 페이징된 목록

Name 형식 Description
count

integer

총 항목 수입니다.

nextLink

string

다음 결과 페이지의 URL입니다.

value

Account[]

형식 결과의 항목 컬렉션입니다.

accountProvisioningState

계정 상태 코드를 가져옵니다.

Name 형식 Description
Canceled

string

Creating

string

Deleting

string

Failed

string

Moving

string

SoftDeleted

string

SoftDeleting

string

Succeeded

string

Unknown

string

Updating

string

AccountStatus

계정의 상태 가져오거나 설정합니다.

Name 형식 Description
accountProvisioningState

accountProvisioningState

계정 상태 코드를 가져옵니다.

errorDetails

ErrorDetails

계정 오류 세부 정보를 가져옵니다.

CloudConnectors

외부 클라우드 서비스 커넥터

Name 형식 Description
awsExternalId

string

AWS 외부 식별자입니다. 검사에 사용되는 역할 arn 사용을 허용하도록 AWS에서 구성됨

createdByType

리소스를 만든 ID의 형식입니다.

Name 형식 Description
Application

string

Key

string

ManagedIdentity

string

User

string

Endpoints

계정의 퍼블릭 엔드포인트인 URI입니다.

Name 형식 Description
catalog

string

카탈로그 엔드포인트를 가져옵니다.

guardian

string

보호 엔드포인트를 가져옵니다.

scan

string

검사 엔드포인트를 가져옵니다.

Error

오류를 가져오거나 설정합니다.

Name 형식 Description
code

string

코드를 가져오거나 설정합니다.

details

ErrorModel[]

세부 정보를 가져오거나 설정합니다.

message

string

메시지를 가져오거나 설정합니다.

target

string

대상을 가져오거나 설정합니다.

ErrorDetails

계정 오류 세부 정보를 가져옵니다.

Name 형식 Description
code

string

코드를 가져오거나 설정합니다.

details

ErrorModel[]

세부 정보를 가져오거나 설정합니다.

message

string

메시지를 가져오거나 설정합니다.

target

string

대상을 가져오거나 설정합니다.

ErrorModel

기본 오류 모델

Name 형식 Description
code

string

코드를 가져오거나 설정합니다.

details

ErrorModel[]

세부 정보를 가져오거나 설정합니다.

message

string

메시지를 가져오거나 설정합니다.

target

string

대상을 가져오거나 설정합니다.

ErrorResponseModel

기본 오류 응답 모델

Name 형식 Description
error

Error

오류를 가져오거나 설정합니다.

Identity

리소스의 관리 ID

Name 형식 Description
principalId

string

서비스 주체 개체 ID

tenantId

string

테넌트 ID

type

type

ID 형식

userAssignedIdentities

<string,  UserAssignedIdentity>

사용자 할당 ID

lastModifiedByType

리소스를 마지막으로 수정한 ID 유형입니다.

Name 형식 Description
Application

string

Key

string

ManagedIdentity

string

User

string

managedEventHubState

관리되는 eventhub의 상태를 가져오거나 설정합니다. 사용하도록 설정된 관리형 eventhub가 만들어지면 사용하지 않도록 설정된 경우 관리되는 eventhub가 제거됩니다.

Name 형식 Description
Disabled

string

Enabled

string

NotSpecified

string

ManagedResources

관리되는 리소스의 리소스 식별자를 가져옵니다.

Name 형식 Description
eventHubNamespace

string

관리되는 이벤트 허브 네임스페이스 리소스 식별자를 가져옵니다.

resourceGroup

string

관리되는 리소스 그룹 리소스 식별자를 가져옵니다. 이 리소스 그룹은 계정에 대한 리소스 종속성을 호스트합니다.

storageAccount

string

관리되는 스토리지 계정 리소스 식별자를 가져옵니다.

managedResourcesPublicNetworkAccess

관리되는 리소스에 대한 공용 네트워크 액세스를 가져오거나 설정합니다.

Name 형식 Description
Disabled

string

Enabled

string

NotSpecified

string

name

sku 이름을 가져오거나 설정합니다.

Name 형식 Description
Standard

string

PrivateEndpoint

프라이빗 엔드포인트 클래스입니다.

Name 형식 Description
id

string

프라이빗 엔드포인트 식별자입니다.

PrivateEndpointConnection

프라이빗 엔드포인트 연결 클래스입니다.

Name 형식 Description
id

string

식별자를 가져오거나 설정합니다.

name

string

이름을 가져오거나 설정합니다.

properties.privateEndpoint

PrivateEndpoint

프라이빗 엔드포인트 정보입니다.

properties.privateLinkServiceConnectionState

PrivateLinkServiceConnectionState

프라이빗 링크 서비스 연결 상태입니다.

properties.provisioningState

string

프로비저닝 상태입니다.

systemData

SystemData

리소스 만들기 및 마지막 수정과 관련된 메타데이터입니다.

type

string

형식을 가져오거나 설정합니다.

PrivateLinkServiceConnectionState

프라이빗 링크 서비스 연결 상태입니다.

Name 형식 Description
actionsRequired

string

필요한 작업입니다.

description

string

설명입니다.

status

status

상태입니다.

provisioningState

프로비전의 상태를 가져오거나 설정합니다.

Name 형식 Description
Canceled

string

Creating

string

Deleting

string

Failed

string

Moving

string

SoftDeleted

string

SoftDeleting

string

Succeeded

string

Unknown

string

publicNetworkAccess

공용 네트워크 액세스를 가져오거나 설정합니다.

Name 형식 Description
Disabled

string

Enabled

string

NotSpecified

string

Sku

Sku를 가져오거나 설정합니다.

Name 형식 Description
capacity

integer

sku 용량을 가져오거나 설정합니다.

name

name

sku 이름을 가져오거나 설정합니다.

status

상태입니다.

Name 형식 Description
Approved

string

Disconnected

string

Pending

string

Rejected

string

Unknown

string

SystemData

리소스 만들기 및 마지막 수정과 관련된 메타데이터입니다.

Name 형식 Description
createdAt

string

UTC(리소스 만들기)의 타임스탬프입니다.

createdBy

string

리소스를 만든 ID입니다.

createdByType

createdByType

리소스를 만든 ID 유형입니다.

lastModifiedAt

string

리소스를 마지막으로 수정한 타임스탬프(UTC)입니다.

lastModifiedBy

string

리소스를 마지막으로 수정한 ID입니다.

lastModifiedByType

lastModifiedByType

리소스를 마지막으로 수정한 ID 유형입니다.

TrackedResource.SystemData

리소스 만들기 및 마지막 수정과 관련된 메타데이터입니다.

Name 형식 Description
createdAt

string

UTC(리소스 만들기)의 타임스탬프입니다.

createdBy

string

리소스를 만든 ID입니다.

createdByType

createdByType

리소스를 만든 ID 유형입니다.

lastModifiedAt

string

리소스를 마지막으로 수정한 타임스탬프(UTC)입니다.

lastModifiedBy

string

리소스를 마지막으로 수정한 ID입니다.

lastModifiedByType

lastModifiedByType

리소스를 마지막으로 수정한 ID 유형입니다.

type

ID 형식

Name 형식 Description
None

string

SystemAssigned

string

UserAssigned

string

UserAssignedIdentity

클라이언트 ID 및 보안 주체 ID 사용

Name 형식 Description
clientId

string

클라이언트 ID를 가져오거나 설정합니다.

principalId

string

보안 주체 ID를 가져오거나 설정합니다.