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

92 lines (91 loc) 3.11 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get Data Plane access. * * Uses Azure REST API version 2018-06-01. */ export declare function getFactoryDataPlaneAccess(args: GetFactoryDataPlaneAccessArgs, opts?: pulumi.InvokeOptions): Promise<GetFactoryDataPlaneAccessResult>; export interface GetFactoryDataPlaneAccessArgs { /** * The resource path to get access relative to factory. Currently only empty string is supported which corresponds to the factory resource. */ accessResourcePath?: string; /** * Expiration time for the token. Maximum duration for the token is eight hours and by default the token will expire in eight hours. */ expireTime?: string; /** * The factory name. */ factoryName: string; /** * The string with permissions for Data Plane access. Currently only 'r' is supported which grants read only access. */ permissions?: string; /** * The name of the profile. Currently only the default is supported. The default value is DefaultProfile. */ profileName?: string; /** * The resource group name. */ resourceGroupName: string; /** * Start time for the token. If not specified the current time will be used. */ startTime?: string; } /** * Get Data Plane read only token response definition. */ export interface GetFactoryDataPlaneAccessResult { /** * Data Plane read only access token. */ readonly accessToken?: string; /** * Data Plane service base URL. */ readonly dataPlaneUrl?: string; /** * The user access policy. */ readonly policy?: outputs.datafactory.UserAccessPolicyResponse; } /** * Get Data Plane access. * * Uses Azure REST API version 2018-06-01. */ export declare function getFactoryDataPlaneAccessOutput(args: GetFactoryDataPlaneAccessOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFactoryDataPlaneAccessResult>; export interface GetFactoryDataPlaneAccessOutputArgs { /** * The resource path to get access relative to factory. Currently only empty string is supported which corresponds to the factory resource. */ accessResourcePath?: pulumi.Input<string>; /** * Expiration time for the token. Maximum duration for the token is eight hours and by default the token will expire in eight hours. */ expireTime?: pulumi.Input<string>; /** * The factory name. */ factoryName: pulumi.Input<string>; /** * The string with permissions for Data Plane access. Currently only 'r' is supported which grants read only access. */ permissions?: pulumi.Input<string>; /** * The name of the profile. Currently only the default is supported. The default value is DefaultProfile. */ profileName?: pulumi.Input<string>; /** * The resource group name. */ resourceGroupName: pulumi.Input<string>; /** * Start time for the token. If not specified the current time will be used. */ startTime?: pulumi.Input<string>; }