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

75 lines (74 loc) 1.99 kB
import * as pulumi from "@pulumi/pulumi"; /** * Gets entity type (profile or interaction) image upload URL. * * Uses Azure REST API version 2017-04-26. */ export declare function getImageUploadUrlForEntityType(args: GetImageUploadUrlForEntityTypeArgs, opts?: pulumi.InvokeOptions): Promise<GetImageUploadUrlForEntityTypeResult>; export interface GetImageUploadUrlForEntityTypeArgs { /** * Type of entity. Can be Profile or Interaction. */ entityType?: string; /** * Name of the entity type. */ entityTypeName?: string; /** * The name of the hub. */ hubName: string; /** * Relative path of the image. */ relativePath?: string; /** * The name of the resource group. */ resourceGroupName: string; } /** * The image definition. */ export interface GetImageUploadUrlForEntityTypeResult { /** * Content URL for the image blob. */ readonly contentUrl?: string; /** * Whether image exists already. */ readonly imageExists?: boolean; /** * Relative path of the image. */ readonly relativePath?: string; } /** * Gets entity type (profile or interaction) image upload URL. * * Uses Azure REST API version 2017-04-26. */ export declare function getImageUploadUrlForEntityTypeOutput(args: GetImageUploadUrlForEntityTypeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetImageUploadUrlForEntityTypeResult>; export interface GetImageUploadUrlForEntityTypeOutputArgs { /** * Type of entity. Can be Profile or Interaction. */ entityType?: pulumi.Input<string>; /** * Name of the entity type. */ entityTypeName?: pulumi.Input<string>; /** * The name of the hub. */ hubName: pulumi.Input<string>; /** * Relative path of the image. */ relativePath?: pulumi.Input<string>; /** * The name of the resource group. */ resourceGroupName: pulumi.Input<string>; }