1. Packages
  2. Azure Native
  3. API Docs
  4. customerinsights
  5. getImageUploadUrlForEntityType
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

azure-native.customerinsights.getImageUploadUrlForEntityType

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

Gets entity type (profile or interaction) image upload URL.

Uses Azure REST API version 2017-04-26.

Using getImageUploadUrlForEntityType

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getImageUploadUrlForEntityType(args: GetImageUploadUrlForEntityTypeArgs, opts?: InvokeOptions): Promise<GetImageUploadUrlForEntityTypeResult>
function getImageUploadUrlForEntityTypeOutput(args: GetImageUploadUrlForEntityTypeOutputArgs, opts?: InvokeOptions): Output<GetImageUploadUrlForEntityTypeResult>
Copy
def get_image_upload_url_for_entity_type(entity_type: Optional[str] = None,
                                         entity_type_name: Optional[str] = None,
                                         hub_name: Optional[str] = None,
                                         relative_path: Optional[str] = None,
                                         resource_group_name: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetImageUploadUrlForEntityTypeResult
def get_image_upload_url_for_entity_type_output(entity_type: Optional[pulumi.Input[str]] = None,
                                         entity_type_name: Optional[pulumi.Input[str]] = None,
                                         hub_name: Optional[pulumi.Input[str]] = None,
                                         relative_path: Optional[pulumi.Input[str]] = None,
                                         resource_group_name: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetImageUploadUrlForEntityTypeResult]
Copy
func GetImageUploadUrlForEntityType(ctx *Context, args *GetImageUploadUrlForEntityTypeArgs, opts ...InvokeOption) (*GetImageUploadUrlForEntityTypeResult, error)
func GetImageUploadUrlForEntityTypeOutput(ctx *Context, args *GetImageUploadUrlForEntityTypeOutputArgs, opts ...InvokeOption) GetImageUploadUrlForEntityTypeResultOutput
Copy

> Note: This function is named GetImageUploadUrlForEntityType in the Go SDK.

public static class GetImageUploadUrlForEntityType 
{
    public static Task<GetImageUploadUrlForEntityTypeResult> InvokeAsync(GetImageUploadUrlForEntityTypeArgs args, InvokeOptions? opts = null)
    public static Output<GetImageUploadUrlForEntityTypeResult> Invoke(GetImageUploadUrlForEntityTypeInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetImageUploadUrlForEntityTypeResult> getImageUploadUrlForEntityType(GetImageUploadUrlForEntityTypeArgs args, InvokeOptions options)
public static Output<GetImageUploadUrlForEntityTypeResult> getImageUploadUrlForEntityType(GetImageUploadUrlForEntityTypeArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:customerinsights:getImageUploadUrlForEntityType
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

HubName
This property is required.
Changes to this property will trigger replacement.
string
The name of the hub.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
EntityType string
Type of entity. Can be Profile or Interaction.
EntityTypeName string
Name of the entity type.
RelativePath string
Relative path of the image.
HubName
This property is required.
Changes to this property will trigger replacement.
string
The name of the hub.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
EntityType string
Type of entity. Can be Profile or Interaction.
EntityTypeName string
Name of the entity type.
RelativePath string
Relative path of the image.
hubName
This property is required.
Changes to this property will trigger replacement.
String
The name of the hub.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
entityType String
Type of entity. Can be Profile or Interaction.
entityTypeName String
Name of the entity type.
relativePath String
Relative path of the image.
hubName
This property is required.
Changes to this property will trigger replacement.
string
The name of the hub.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
entityType string
Type of entity. Can be Profile or Interaction.
entityTypeName string
Name of the entity type.
relativePath string
Relative path of the image.
hub_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the hub.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
entity_type str
Type of entity. Can be Profile or Interaction.
entity_type_name str
Name of the entity type.
relative_path str
Relative path of the image.
hubName
This property is required.
Changes to this property will trigger replacement.
String
The name of the hub.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
entityType String
Type of entity. Can be Profile or Interaction.
entityTypeName String
Name of the entity type.
relativePath String
Relative path of the image.

getImageUploadUrlForEntityType Result

The following output properties are available:

ContentUrl string
Content URL for the image blob.
ImageExists bool
Whether image exists already.
RelativePath string
Relative path of the image.
ContentUrl string
Content URL for the image blob.
ImageExists bool
Whether image exists already.
RelativePath string
Relative path of the image.
contentUrl String
Content URL for the image blob.
imageExists Boolean
Whether image exists already.
relativePath String
Relative path of the image.
contentUrl string
Content URL for the image blob.
imageExists boolean
Whether image exists already.
relativePath string
Relative path of the image.
content_url str
Content URL for the image blob.
image_exists bool
Whether image exists already.
relative_path str
Relative path of the image.
contentUrl String
Content URL for the image blob.
imageExists Boolean
Whether image exists already.
relativePath String
Relative path of the image.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi