New-AzIntegrationAccountAssembly

建立整合帳戶元件。

Syntax

New-AzIntegrationAccountAssembly
   -ResourceGroupName <String>
   -ParentName <String>
   -Name <String>
   -AssemblyFilePath <String>
   [-Metadata <Hashtable>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-AzIntegrationAccountAssembly
   -ResourceGroupName <String>
   -ParentName <String>
   -Name <String>
   -ContentLink <String>
   [-Metadata <Hashtable>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-AzIntegrationAccountAssembly
   -ResourceGroupName <String>
   -ParentName <String>
   -Name <String>
   -AssemblyData <Byte[]>
   [-Metadata <Hashtable>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-AzIntegrationAccountAssembly
   -ParentObject <IntegrationAccount>
   -Name <String>
   -ContentLink <String>
   [-Metadata <Hashtable>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-AzIntegrationAccountAssembly
   -ParentObject <IntegrationAccount>
   -Name <String>
   -AssemblyData <Byte[]>
   [-Metadata <Hashtable>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-AzIntegrationAccountAssembly
   -ParentObject <IntegrationAccount>
   -Name <String>
   -AssemblyFilePath <String>
   [-Metadata <Hashtable>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-AzIntegrationAccountAssembly
   -ParentResourceId <String>
   -Name <String>
   -ContentLink <String>
   [-Metadata <Hashtable>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-AzIntegrationAccountAssembly
   -ParentResourceId <String>
   -Name <String>
   -AssemblyData <Byte[]>
   [-Metadata <Hashtable>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-AzIntegrationAccountAssembly
   -ParentResourceId <String>
   -Name <String>
   -AssemblyFilePath <String>
   [-Metadata <Hashtable>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Get-AzIntegrationAccountAssembly Cmdlet 會在整合帳戶中建立新的元件。

範例

範例 1:使用本機檔案建立新的元件

New-AzIntegrationAccountAssembly -ResourceGroupName "sampleResourceGroup" -IntegrationAccountName "sampleIntegrationAccount" -AssemblyName "sampleAssembly" -AssemblyFilePath $localAssemblyFilePath

Properties : Microsoft.Azure.Management.Logic.Models.AssemblyProperties
Id         : /subscriptions/{SubscriptionId}/resourceGroups/sampleResourceGroup/providers/Microsoft.Logic/integrationAccounts/sampleIntegrationAccount/assemblies/sampleAssembly
Name       : sampleAssembly
Type       : Microsoft.Logic/integrationAccounts/assemblies
Location   :
Tags       :

使用位於 「$localAssemblyFilePath」 中所含檔案路徑的本機檔案,建立新的元件。

範例 2:使用位元組資料建立新的元件

New-AzIntegrationAccountAssembly -ResourceGroupName "sampleResourceGroup" -IntegrationAccountName "sampleIntegrationAccount" -AssemblyName "sampleAssembly" -AssemblyData $assemblyContent

Properties : Microsoft.Azure.Management.Logic.Models.AssemblyProperties
Id         : /subscriptions/{SubscriptionId}/resourceGroups/sampleResourceGroup/providers/Microsoft.Logic/integrationAccounts/sampleIntegrationAccount/assemblies/sampleAssembly
Name       : sampleAssembly
Type       : Microsoft.Logic/integrationAccounts/assemblies
Location   :
Tags       :

使用 「$assemblyContent」 中包含的位元組數位列,建立新的元件。

範例 3:使用內容連結建立新的元件

New-AzIntegrationAccountAssembly -ResourceGroupName "sampleResourceGroup" -IntegrationAccountName "sampleIntegrationAccount" -AssemblyName "sampleAssembly" -ContentLink $assemblyUrl

Properties : Microsoft.Azure.Management.Logic.Models.AssemblyProperties
Id         : /subscriptions/{SubscriptionId}/resourceGroups/sampleResourceGroup/providers/Microsoft.Logic/integrationAccounts/sampleIntegrationAccount/assemblies/sampleAssembly
Name       : sampleAssembly
Type       : Microsoft.Logic/integrationAccounts/assemblies
Location   :
Tags       :

使用位於 URL “$assemblyUrl” 的位元組數據,建立新的元件。 這是建立大型元件的建議方法。

參數

-AssemblyData

整合帳戶元件位元組數據。

Type:Byte[]
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-AssemblyFilePath

整合帳戶元件檔案路徑。

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

-Confirm

執行 Cmdlet 之前先提示您確認。

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

整合帳戶元件數據的可公開存取連結。

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

-DefaultProfile

用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Metadata

整合帳戶元件元數據。

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

-Name

整合帳戶元件名稱。

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

-ParentName

整合帳戶名稱。

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

-ParentObject

整合帳戶物件。

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

-ParentResourceId

整合帳戶資源標識碼。

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

-ResourceGroupName

資源組名。

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

-WhatIf

顯示執行 Cmdlet 後會發生的情況。 未執行 Cmdlet。

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

輸入

IntegrationAccount

String

輸出

PSIntegrationAccountAssembly