< Back

Remove-AzureRmManagedApplicationDefinition

Tue Jan 29, 2019 10:06 pm

NAME Remove-AzureRmManagedApplicationDefinition



SYNOPSIS

Removes a managed application definition





SYNTAX

Remove-AzureRmManagedApplicationDefinition [-ApiVersion <String>] [-DefaultProfile <IAzureContextContainer>] [-Force] -Id <String> [-Pre]

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



Remove-AzureRmManagedApplicationDefinition [-ApiVersion <String>] [-DefaultProfile <IAzureContextContainer>] [-Force] -Name <String> [-Pre]

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





DESCRIPTION

The Remove-AzureRmManagedApplicationDefinition cmdlet removes a managed application definition





PARAMETERS

-ApiVersion <String>

When set, indicates the version of the resource provider API to use. If not specified, the API version is automatically determined as the

latest available.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-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



-Force [<SwitchParameter>]

Do not ask for confirmation.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Id <String>

The fully qualified managed application definition Id, including the subscription. e.g.

/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Name <String>

The managed application definition name.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Pre [<SwitchParameter>]

When set, indicates that the cmdlet should use pre-release API versions when automatically determining which version to use.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

The resource group name.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

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

System.String







OUTPUTS

System.Boolean







NOTES









Example 1: Remove managed application definition by resource ID



PS C:\\>$ApplicationDefinition = Get-AzureRmManagedApplicationDefinition -Name "myAppDef" -ResourceGroupName "myRG"

PS C:\\>Remove-AzureRmManagedApplicationDefinition -Id $ApplicationDefinition.ResourceId -Force



The first command gets a managed application definition named myAppDef by using the Get-AzureRmManagedApplicationDefinition cmdlet. The command

stores it in the $ApplicationDefinition variable.



The second command removes the managed application definition identified by the ResourceId property of $ApplicationDefinition.







RELATED LINKS

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