@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 1.99 kB
TypeScript
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>;
}