UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

109 lines (108 loc) 2.83 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get a DataSetMapping in a shareSubscription * * Uses Azure REST API version 2021-08-01. */ export declare function getSqlDBTableDataSetMapping(args: GetSqlDBTableDataSetMappingArgs, opts?: pulumi.InvokeOptions): Promise<GetSqlDBTableDataSetMappingResult>; export interface GetSqlDBTableDataSetMappingArgs { /** * The name of the share account. */ accountName: string; /** * The name of the dataSetMapping. */ dataSetMappingName: string; /** * The resource group name. */ resourceGroupName: string; /** * The name of the shareSubscription. */ shareSubscriptionName: string; } /** * A SQL DB Table data set mapping. */ export interface GetSqlDBTableDataSetMappingResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The id of the source data set. */ readonly dataSetId: string; /** * Gets the status of the data set mapping. */ readonly dataSetMappingStatus: string; /** * DatabaseName name of the sink data set */ readonly databaseName: string; /** * The resource id of the azure resource */ readonly id: string; /** * Kind of data set mapping. * Expected value is 'SqlDBTable'. */ readonly kind: "SqlDBTable"; /** * Name of the azure resource */ readonly name: string; /** * Provisioning state of the data set mapping. */ readonly provisioningState: string; /** * Schema of the table. Default value is dbo. */ readonly schemaName: string; /** * Resource id of SQL server */ readonly sqlServerResourceId: string; /** * System Data of the Azure resource. */ readonly systemData: outputs.datashare.SystemDataResponse; /** * SQL DB table name. */ readonly tableName: string; /** * Type of the azure resource */ readonly type: string; } /** * Get a DataSetMapping in a shareSubscription * * Uses Azure REST API version 2021-08-01. */ export declare function getSqlDBTableDataSetMappingOutput(args: GetSqlDBTableDataSetMappingOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSqlDBTableDataSetMappingResult>; export interface GetSqlDBTableDataSetMappingOutputArgs { /** * The name of the share account. */ accountName: pulumi.Input<string>; /** * The name of the dataSetMapping. */ dataSetMappingName: pulumi.Input<string>; /** * The resource group name. */ resourceGroupName: pulumi.Input<string>; /** * The name of the shareSubscription. */ shareSubscriptionName: pulumi.Input<string>; }