Consumer Source Data Sets - List By Share Subscription

Get source dataSets of a shareSubscription

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/consumerSourceDataSets?api-version=2021-08-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/consumerSourceDataSets?api-version=2021-08-01&$skipToken={$skipToken}

URI Parameters

Name In Required Type Description
accountName
path True

string

The name of the share account.

resourceGroupName
path True

string

The resource group name.

shareSubscriptionName
path True

string

The name of the shareSubscription.

subscriptionId
path True

string

The subscription identifier

api-version
query True

string

The api version to use.

$skipToken
query

string

Continuation token

Responses

Name Type Description
200 OK

ConsumerSourceDataSetList

Success

Other Status Codes

DataShareError

An error response received from the Microsoft.DataShare resource provider.

Security

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 impersonate your user account

Examples

ConsumerSourceDataSets_ListByShareSubscription

Sample Request

GET https://management.azure.com/subscriptions/12345678-1234-1234-12345678abc/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/Share1/consumerSourceDataSets?api-version=2021-08-01

Sample Response

Date: Wed, 13 Sep 2017 18:04:32 GMT
x-ms-request-id: d5496da4-9c52-402f-b067-83cc9ddea888
X-Content-Type-Options: nosniff
x-ms-ratelimit-remaining-tenant-reads: 14999
x-ms-correlation-request-id: 25c78f97-0b0a-4fe9-ad39-883a482265cd
{
  "value": [
    {
      "properties": {
        "dataSetId": "0b9d4394-8bb3-49a1-aa4f-4be49cd10375",
        "dataSetType": "Blob",
        "dataSetName": "input.text",
        "dataSetPath": "cars.text"
      },
      "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/consumerSourceDataSets/4256e2cf-0f82-4865-961b-12f83333f487",
      "name": "invitation1",
      "type": "Microsoft.DataShare/accounts/sharesubscriptions/consumerSourceDataSets"
    }
  ]
}

Definitions

Name Description
ConsumerSourceDataSet

A consumer side dataSet data transfer object.

ConsumerSourceDataSetList

A consumer side list of source dataSets

createdByType

The type of identity that created the resource.

dataSetType

Type of data set

DataShareError

The data share error model.

DataShareErrorInfo

The data share error body model.

lastModifiedByType

The type of identity that last modified the resource.

SystemData

Metadata pertaining to creation and last modification of the resource.

ConsumerSourceDataSet

A consumer side dataSet data transfer object.

Name Type Description
id

string

The resource id of the azure resource

name

string

Name of the azure resource

properties.dataSetId

string

DataSet Id

properties.dataSetLocation

string

Location of the data set.

properties.dataSetName

string

DataSet name

properties.dataSetPath

string

DataSet path

properties.dataSetType

dataSetType

Type of data set

systemData

SystemData

System Data of the Azure resource.

type

string

Type of the azure resource

ConsumerSourceDataSetList

A consumer side list of source dataSets

Name Type Description
nextLink

string

The Url of next result page.

value

ConsumerSourceDataSet[]

Collection of items of type DataTransferObjects.

createdByType

The type of identity that created the resource.

Name Type Description
Application

string

Key

string

ManagedIdentity

string

User

string

dataSetType

Type of data set

Name Type Description
AdlsGen1File

string

AdlsGen1Folder

string

AdlsGen2File

string

AdlsGen2FileSystem

string

AdlsGen2Folder

string

Blob

string

BlobFolder

string

Container

string

KustoCluster

string

KustoDatabase

string

KustoTable

string

SqlDBTable

string

SqlDWTable

string

SynapseWorkspaceSqlPoolTable

string

DataShareError

The data share error model.

Name Type Description
error

DataShareErrorInfo

The data share error body

DataShareErrorInfo

The data share error body model.

Name Type Description
code

string

Code of the error

details

DataShareErrorInfo[]

Nested details of the error model

message

string

Message of the error

target

string

Target of the error

lastModifiedByType

The type of identity that last modified the resource.

Name Type Description
Application

string

Key

string

ManagedIdentity

string

User

string

SystemData

Metadata pertaining to creation and last modification of the resource.

Name Type Description
createdAt

string

The timestamp of resource creation (UTC).

createdBy

string

The identity that created the resource.

createdByType

createdByType

The type of identity that created the resource.

lastModifiedAt

string

The type of identity that last modified the resource.

lastModifiedBy

string

The identity that last modified the resource.

lastModifiedByType

lastModifiedByType

The type of identity that last modified the resource.