Set-AzAutomationConnectionFieldValue
Modifies the value of a field in an Automation connection.
Syntax
Set-AzAutomationConnectionFieldValue
[-Name] <String>
-ConnectionFieldName <String>
-Value <Object>
[-ResourceGroupName] <String>
[-AutomationAccountName] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Set-AzAutomationConnectionFieldValue cmdlet modifies the value of a field in a connection in Azure Automation.
Examples
Example 1: Change a field value in a connection
Set-AzAutomationConnectionFieldValue -Name "ContosoConnection" -ConnectionFieldName "SubscriptionID" -Value "b53ec456-3494-4847-8f2b-180901c51050" -ResourceGroupName "ResourceGroup01" -AutomationAccountName "AutomationAccount01"
This command changes the subscription ID for the Azure connection named ContosoConnection in the Automation account named AutomationAccount01.
Parameters
Specifies the name of the Automation account for which this cmdlet modifies a field in a connection.
| Type: | String |
| Position: | 1 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Specifies a name for the field that this cmdlet modifies.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
The credentials, account, tenant, and subscription used for communication with azure
| Type: | IAzureContextContainer |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Specifies a name for the connection for which this cmdlet modifies a field.
| Type: | String |
| Position: | 2 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Specifies the name of the resource group for which this cmdlet modifies a field in a connection.
| Type: | String |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Specifies a value to modify in the connection field.
| Type: | Object |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Inputs
Outputs
Related Links
Feedback
Submit and view feedback for