< Back

Update-AzureRmDataFactoryV2

Tue Jan 29, 2019 9:42 pm

NAME Update-AzureRmDataFactoryV2



SYNOPSIS

Updates the properties of a data factory.





SYNTAX

Update-AzureRmDataFactoryV2 [-InputObject] <PSDataFactory> [[-Tag] <Hashtable>] [-DefaultProfile <IAzureContextContainer>] [-Confirm] [-WhatIf]

[<CommonParameters>]



Update-AzureRmDataFactoryV2 [-ResourceGroupName] <String> [-Name] <String> [[-Tag] <Hashtable>] [-DefaultProfile <IAzureContextContainer>]

[-Confirm] [-WhatIf] [<CommonParameters>]



Update-AzureRmDataFactoryV2 [-ResourceId] <String> [[-Tag] <Hashtable>] [-DefaultProfile <IAzureContextContainer>] [-Confirm] [-WhatIf]

[<CommonParameters>]





DESCRIPTION

The Update-AzureRmDataFactoryV2 cmdlet updates tags or identity properties of a data factory.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-InputObject <PSDataFactory>

The data factory object.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-Name <String>

The data factory name.



Required? true

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

The resource group name.



Required? true

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceId <String>

The Azure resource ID.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Tag <Hashtable>

The tags of the data factory.



Required? false

Position? 2

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

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



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

Microsoft.Azure.Commands.DataFactoryV2.Models.PSDataFactory

System.String Microsoft.Azure.Management.DataFactory.Models.FactoryIdentity





OUTPUTS

Microsoft.Azure.Commands.DataFactoryV2.Models.PSDataFactory







NOTES









Example 1



PS C:\\> Update-AzureRmDataFactoryV2 -ResourceGroupName "ADF" -Name "WikiADF" -Tag @{myNewTagName = "myTagValue"}



Confirm

Are you sure you want to update properties of the data factory 'WikiADF' in resource group 'ADF'?

[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y





DataFactoryName : WikiADF

DataFactoryId : /subscriptions/1e42591f-1f0c-4c5a-b7f2-a268f6105ec5/resourceGroups/adf/providers/Microsoft.DataF

actory/factories/wikiadf

ResourceGroupName : ADF

Location : EastUS

Tags : {[myNewTagName, myTagValue]}

Identity :

ProvisioningState : Succeeded



This command updates the tags for the factory WikiADF to a dictionary containing a tag named myNewTagName with value myTagValue.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... afactoryv2