Editar

Compartir a través de


New-AzFirmwareAnalysisWorkspaceUploadUrl

The operation to get a url for file upload.

Syntax

New-AzFirmwareAnalysisWorkspaceUploadUrl
   -ResourceGroupName <String>
   [-SubscriptionId <String>]
   -WorkspaceName <String>
   [-FirmwareId <String>]
   [-DefaultProfile <PSObject>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-AzFirmwareAnalysisWorkspaceUploadUrl
   -ResourceGroupName <String>
   [-SubscriptionId <String>]
   -WorkspaceName <String>
   -JsonString <String>
   [-DefaultProfile <PSObject>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-AzFirmwareAnalysisWorkspaceUploadUrl
   -ResourceGroupName <String>
   [-SubscriptionId <String>]
   -WorkspaceName <String>
   -JsonFilePath <String>
   [-DefaultProfile <PSObject>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-AzFirmwareAnalysisWorkspaceUploadUrl
   -ResourceGroupName <String>
   [-SubscriptionId <String>]
   -WorkspaceName <String>
   -GenerateUploadUrl <IGenerateUploadUrlRequest>
   [-DefaultProfile <PSObject>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-AzFirmwareAnalysisWorkspaceUploadUrl
   -InputObject <IFirmwareAnalysisIdentity>
   [-FirmwareId <String>]
   [-DefaultProfile <PSObject>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-AzFirmwareAnalysisWorkspaceUploadUrl
   -InputObject <IFirmwareAnalysisIdentity>
   -GenerateUploadUrl <IGenerateUploadUrlRequest>
   [-DefaultProfile <PSObject>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The operation to get a url for file upload.

Examples

Example 1: Create a url for file upload.

New-AzFirmwareAnalysisWorkspaceUploadUrl -ResourceGroupName resourceGroupName -WorkspaceName workspaceName -FirmwareId firmwareId

Url
---
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Create a url for file upload.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-FirmwareId

A unique ID for the firmware to be uploaded.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-GenerateUploadUrl

Properties for generating an upload URL

Type:IGenerateUploadUrlRequest
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-InputObject

Identity Parameter

Type:IFirmwareAnalysisIdentity
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-JsonFilePath

Path of Json file supplied to the Generate operation

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-JsonString

Json string supplied to the Generate operation

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

The name of the resource group. The name is case insensitive.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-SubscriptionId

The ID of the target subscription. The value must be an UUID.

Type:String
Position:Named
Default value:(Get-AzContext).Subscription.Id
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WorkspaceName

The name of the firmware analysis workspace.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Inputs

IFirmwareAnalysisIdentity

IGenerateUploadUrlRequest

Outputs

IUrlToken