Name ResourceGroupName Health ProvisioningState Status Hostname Location
---- ----------------- ------ ----------------- ------ -------- --------
app0 db0-vis-rg Healthy Succeeded Running db0vm centraluseuap
This cmdlet adds new tag name, value pairs to the existing app server instance resource app0.
VIS name and Resource group name are the other input parameters.
Example 2: Add tags for an existing app server instance resource
Name ResourceGroupName Health ProvisioningState Status Hostname Location
---- ----------------- ------ ----------------- ------ -------- --------
app0 db0-vis-rg Healthy Succeeded Running db0vm centraluseuap
This cmdlet adds new tag name, value pairs to the existing app server instance resource app0.
Here app instance Azure resource ID is used as the input parameter.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
The DefaultProfile parameter is not functional.
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters.
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.