public override void ExecuteCmdlet() { ExecutionBlock(() => { try { ResourceIdentifier resourceIdentifier = new ResourceIdentifier(VaultId); string vaultName = resourceIdentifier.ResourceName; string resourceGroupName = resourceIdentifier.ResourceGroupName; string resourceGuardMappingName = "VaultProxy"; Rest.Azure.AzureOperationResponse result = ServiceClientAdapter.DeleteResourceGuardMapping(vaultName, resourceGroupName, resourceGuardMappingName, Token); WriteObject(result); } catch (Exception exception) { WriteExceptionError(exception); } }, ShouldProcess("ResourceGuardMapping", VerbsCommon.Remove)); }