Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR web/resource-manager] Fix documentation issues with metrics APIs #2287

Merged
merged 1 commit into from
Jul 31, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

import java.util.List;
import org.joda.time.DateTime;
import java.util.Map;
import com.microsoft.azure.management.appservice.v2018_02_01.implementation.PushSettingsInner;
import com.fasterxml.jackson.annotation.JsonProperty;

Expand Down Expand Up @@ -124,12 +123,6 @@ public class SiteConfig {
@JsonProperty(value = "appSettings")
private List<NameValuePair> appSettings;

/**
* User-provided Azure storage accounts.
*/
@JsonProperty(value = "azureStorageAccounts")
private Map<String, AzureStorageInfoValue> azureStorageAccounts;

/**
* Connection strings.
*/
Expand Down Expand Up @@ -681,26 +674,6 @@ public SiteConfig withAppSettings(List<NameValuePair> appSettings) {
return this;
}

/**
* Get user-provided Azure storage accounts.
*
* @return the azureStorageAccounts value
*/
public Map<String, AzureStorageInfoValue> azureStorageAccounts() {
return this.azureStorageAccounts;
}

/**
* Set user-provided Azure storage accounts.
*
* @param azureStorageAccounts the azureStorageAccounts value to set
* @return the SiteConfig object itself.
*/
public SiteConfig withAzureStorageAccounts(Map<String, AzureStorageInfoValue> azureStorageAccounts) {
this.azureStorageAccounts = azureStorageAccounts;
return this;
}

/**
* Get connection strings.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager;
import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SiteConfigResourceInner;
import java.util.List;
import java.util.Map;
import com.microsoft.azure.management.appservice.v2018_02_01.implementation.PushSettingsInner;
import org.joda.time.DateTime;

Expand Down Expand Up @@ -56,11 +55,6 @@ public interface SiteConfigResource extends HasInner<SiteConfigResourceInner>, H
*/
String autoSwapSlotName();

/**
* @return the azureStorageAccounts value.
*/
Map<String, AzureStorageInfoValue> azureStorageAccounts();

/**
* @return the connectionStrings value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ public interface SlotConfigNamesResource extends HasInner<SlotConfigNamesResourc
*/
List<String> appSettingNames();

/**
* @return the azureStorageConfigNames value.
*/
List<String> azureStorageConfigNames();

/**
* @return the connectionStringNames value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import com.microsoft.azure.management.appservice.v2018_02_01.implementation.RelayServiceConnectionEntityInner;
import com.microsoft.azure.management.appservice.v2018_02_01.BackupItem;
import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SiteAuthSettingsInner;
import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AzureStoragePropertyDictionaryResourceInner;
import com.microsoft.azure.management.appservice.v2018_02_01.implementation.ConnectionStringDictionaryInner;
import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SiteLogsConfigInner;
import com.microsoft.azure.management.appservice.v2018_02_01.implementation.PushSettingsInner;
Expand Down Expand Up @@ -931,54 +930,6 @@ public interface WebApps {
*/
Observable<SiteAuthSettings> getAuthSettingsSlotAsync(String resourceGroupName, String name, String slot);

/**
* Updates the Azure storage account configurations of an app.
* Updates the Azure storage account configurations of an app.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the app.
* @param azureStorageAccounts Azure storage accounts of the app.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<AzureStoragePropertyDictionaryResource> updateAzureStorageAccountsAsync(String resourceGroupName, String name, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts);

/**
* Gets the Azure storage account configurations of an app.
* Gets the Azure storage account configurations of an app.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the app.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<AzureStoragePropertyDictionaryResource> listAzureStorageAccountsAsync(String resourceGroupName, String name);

/**
* Updates the Azure storage account configurations of an app.
* Updates the Azure storage account configurations of an app.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the app.
* @param slot Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account configurations for the production slot.
* @param azureStorageAccounts Azure storage accounts of the app.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<AzureStoragePropertyDictionaryResource> updateAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts);

/**
* Gets the Azure storage account configurations of an app.
* Gets the Azure storage account configurations of an app.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the app.
* @param slot Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account configurations for the production slot.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<AzureStoragePropertyDictionaryResource> listAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot);

/**
* Replaces the connection strings of an app.
* Replaces the connection strings of an app.
Expand Down
Loading