public void ExecuteDelete() { HttpStatusCode response = OperationalInsightsClient.DeleteDataSource(ResourceGroupName, WorkspaceName, Name); if (response == HttpStatusCode.NoContent) { WriteWarning(string.Format(CultureInfo.InvariantCulture, Resources.DataSourceNotFound, Name, WorkspaceName)); } }