public async Task DeleteTopic(PatConfigCommand configCommand, string azureSubscriptionId, string resourceGroupName) { if (!await TopicExists(configCommand, azureSubscriptionId, resourceGroupName)) { return; } var path = ApiRouteBuilder.Build(azureSubscriptionId, resourceGroupName, configCommand.Namespace, configCommand.EffectiveTopicName); await _azureHttpClient.Delete(new Uri(path, UriKind.Relative)); }
public async Task RemoveDefaultFilter(PatConfigCommand configCommand, string azureSubscriptionId, string resouceGroupName) { var path = BuildRulePath(configCommand, azureSubscriptionId, resouceGroupName, "%24Default"); await _azureHttpClient.Delete(new Uri(path, UriKind.Relative)); }