Skip to content
Merged
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 @@ -8,6 +8,7 @@

import com.microsoft.azure.management.apigeneration.Beta;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.apigeneration.Method;
import com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource;
import com.microsoft.azure.management.resources.fluentcore.arm.models.Resource;
import com.microsoft.azure.management.resources.fluentcore.model.Appliable;
Expand Down Expand Up @@ -186,13 +187,15 @@ public interface StorageAccount extends
*
* @return the access keys for this storage account
*/
@Method
List<StorageAccountKey> getKeys();

/**
* Fetch the up-to-date access keys from Azure for this storage account asynchronously.
*
* @return a representation of the deferred computation of this call, returning the access keys
*/
@Method
Observable<List<StorageAccountKey>> getKeysAsync();

/**
Expand Down Expand Up @@ -288,6 +291,7 @@ interface WithBlobStorageAccountKind {
*
* @return the next stage of storage account definition
*/
@Method
WithCreateAndAccessTier withBlobStorageAccountKind();
}

Expand All @@ -301,6 +305,7 @@ interface WithGeneralPurposeAccountKind {
*
* @return the next stage of storage account definition
*/
@Method
WithCreate withGeneralPurposeAccountKind();

/**
Expand All @@ -309,6 +314,7 @@ interface WithGeneralPurposeAccountKind {
*
* @return the next stage of storage account definition
*/
@Method
WithCreate withGeneralPurposeAccountKindV2();
}

Expand All @@ -323,6 +329,7 @@ interface WithEncryption {
* @return the next stage of storage account definition
*/
@Deprecated
@Method
WithCreate withEncryption();

/**
Expand All @@ -331,6 +338,7 @@ interface WithEncryption {
* @return the next stage of storage account definition
*/
@Beta(Beta.SinceVersion.V1_5_0)
@Method
WithCreate withBlobEncryption();

/**
Expand All @@ -339,6 +347,7 @@ interface WithEncryption {
* @return the next stage of storage account definition
*/
@Beta(Beta.SinceVersion.V1_5_0)
@Method
WithCreate withoutBlobEncryption();

/**
Expand All @@ -347,6 +356,7 @@ interface WithEncryption {
* @return the next stage of storage account definition
*/
@Beta(Beta.SinceVersion.V1_5_0)
@Method
WithCreate withFileEncryption();

/**
Expand All @@ -355,6 +365,7 @@ interface WithEncryption {
* @return he next stage of storage account definition
*/
@Beta(Beta.SinceVersion.V1_5_0)
@Method
WithCreate withoutFileEncryption();

/**
Expand Down Expand Up @@ -409,6 +420,7 @@ interface WithManagedServiceIdentity {
* @return the next stage of storage account definition
*/
@Beta(Beta.SinceVersion.V1_5_0)
@Method
WithCreate withSystemAssignedManagedServiceIdentity();
}

Expand All @@ -423,6 +435,7 @@ interface WithAccessTraffic {
* @return the next stage of storage account definition
*/
@Beta(Beta.SinceVersion.V1_5_0)
@Method
WithCreate withOnlyHttpsTraffic();
}

Expand All @@ -437,6 +450,7 @@ interface WithNetworkAccess {
* @return the next stage of storage account definition
*/
@Beta(Beta.SinceVersion.V1_5_0)
@Method
WithCreate withAccessFromAllNetworks();

/**
Expand All @@ -449,6 +463,7 @@ interface WithNetworkAccess {
* @return the next stage of storage account definition
*/
@Beta(Beta.SinceVersion.V1_5_0)
@Method
WithCreate withAccessFromSelectedNetworks();

/**
Expand Down Expand Up @@ -484,6 +499,7 @@ interface WithNetworkAccess {
* @return the next stage of storage account definition
*/
@Beta(Beta.SinceVersion.V1_5_0)
@Method
WithCreate withReadAccessToLogEntriesFromAnyNetwork();

/**
Expand All @@ -492,6 +508,7 @@ interface WithNetworkAccess {
* @return the next stage of storage account definition
*/
@Beta(Beta.SinceVersion.V1_5_0)
@Method
WithCreate withReadAccessToMetricsFromAnyNetwork();

/**
Expand All @@ -501,6 +518,7 @@ interface WithNetworkAccess {
* @return the next stage of storage account definition
*/
@Beta(Beta.SinceVersion.V1_5_0)
@Method
WithCreate withAccessFromAzureServices();
}

Expand Down Expand Up @@ -610,6 +628,7 @@ interface WithEncryption {
* @return the next stage of storage account update
*/
@Deprecated
@Method
Update withEncryption();

/**
Expand All @@ -618,6 +637,7 @@ interface WithEncryption {
* @return the next stage of storage account update
*/
@Beta(Beta.SinceVersion.V1_5_0)
@Method
Update withBlobEncryption();

/**
Expand All @@ -626,6 +646,7 @@ interface WithEncryption {
* @return he next stage of storage account update
*/
@Beta(Beta.SinceVersion.V1_5_0)
@Method
Update withFileEncryption();

/**
Expand All @@ -635,6 +656,7 @@ interface WithEncryption {
* @return the next stage of storage account update
*/
@Deprecated
@Method
Update withoutEncryption();

/**
Expand All @@ -643,6 +665,7 @@ interface WithEncryption {
* @return the next stage of storage account update
*/
@Beta(Beta.SinceVersion.V1_5_0)
@Method
Update withoutBlobEncryption();

/**
Expand All @@ -651,6 +674,7 @@ interface WithEncryption {
* @return he next stage of storage account update
*/
@Beta(Beta.SinceVersion.V1_5_0)
@Method
Update withoutFileEncryption();

/**
Expand Down Expand Up @@ -692,6 +716,7 @@ interface WithManagedServiceIdentity {
* @return the next stage of storage account update
*/
@Beta(Beta.SinceVersion.V1_5_0)
@Method
Update withSystemAssignedManagedServiceIdentity();
}

Expand All @@ -706,6 +731,7 @@ interface WithAccessTraffic {
* @return the next stage of storage account update
*/
@Beta(Beta.SinceVersion.V1_5_0)
@Method
Update withOnlyHttpsTraffic();

/**
Expand All @@ -714,6 +740,7 @@ interface WithAccessTraffic {
* @return the next stage of storage account update
*/
@Beta(Beta.SinceVersion.V1_5_0)
@Method
Update withHttpAndHttpsTraffic();
}

Expand All @@ -730,6 +757,7 @@ interface WithNetworkAccess {
* @return the next stage of storage account update
*/
@Beta(Beta.SinceVersion.V1_5_0)
@Method
Update withAccessFromAllNetworks();

/**
Expand All @@ -742,6 +770,7 @@ interface WithNetworkAccess {
* @return the next stage of storage account update
*/
@Beta(Beta.SinceVersion.V1_5_0)
@Method
Update withAccessFromSelectedNetworks();

/**
Expand Down Expand Up @@ -778,6 +807,7 @@ interface WithNetworkAccess {
* @return the next stage of storage account definition
*/
@Beta(Beta.SinceVersion.V1_5_0)
@Method
Update withReadAccessToLogEntriesFromAnyNetwork();

/**
Expand All @@ -786,6 +816,7 @@ interface WithNetworkAccess {
* @return the next stage of storage account definition
*/
@Beta(Beta.SinceVersion.V1_5_0)
@Method
Update withReadAccessToMetricsFromAnyNetwork();

/**
Expand All @@ -795,6 +826,7 @@ interface WithNetworkAccess {
* @return the next stage of storage account definition
*/
@Beta(Beta.SinceVersion.V1_5_0)
@Method
Update withAccessFromAzureServices();

/**
Expand Down Expand Up @@ -831,6 +863,7 @@ interface WithNetworkAccess {
* @return the next stage of storage account update
*/
@Beta(Beta.SinceVersion.V1_5_0)
@Method
Update withoutReadAccessToLoggingFromAnyNetwork();

/**
Expand All @@ -840,6 +873,7 @@ interface WithNetworkAccess {
* @return the next stage of storage account update
*/
@Beta(Beta.SinceVersion.V1_5_0)
@Method
Update withoutReadAccessToMetricsFromAnyNetwork();

/**
Expand All @@ -849,6 +883,7 @@ interface WithNetworkAccess {
* @return the next stage of storage account update
*/
@Beta(Beta.SinceVersion.V1_5_0)
@Method
Update withoutAccessFromAzureServices();
}

Expand All @@ -860,6 +895,7 @@ interface WithUpgrade {
* @return the next stage of storage account update
*/
@Beta(Beta.SinceVersion.V1_5_1)
@Method
Update upgradeToGeneralPurposeAccountKindV2();
}
}
Expand Down