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

[ReleasePR sdk/storage/mgmt-v2019_06_01] Change Table and queue APIs operation IDs. [SDK with These APIs has not been released][Linked to PR:9259] #11064

Closed
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
4 changes: 2 additions & 2 deletions sdk/storage/mgmt-v2019_06_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.3.0</version>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-storage</artifactId>
<version>1.0.0-beta-7</version>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for Storage Management</name>
<description>This package contains Microsoft Storage Management SDK.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import com.microsoft.azure.arm.model.Appliable;
import com.microsoft.azure.arm.model.Creatable;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.storage.v2019_06_01.implementation.SkuInner;
import com.microsoft.azure.management.storage.v2019_06_01.implementation.StorageManager;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import com.microsoft.azure.arm.model.Appliable;
import com.microsoft.azure.arm.model.Creatable;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.storage.v2019_06_01.implementation.SkuInner;
import com.microsoft.azure.management.storage.v2019_06_01.implementation.StorageManager;
import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public interface FileShare extends HasInner<FileShareInner>, Indexable, Updatabl
/**
* @return the shareUsageBytes value.
*/
Integer shareUsageBytes();
Long shareUsageBytes();

/**
* @return the type value.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public interface FileShareItem extends HasInner<FileShareItemInner>, HasManager<
/**
* @return the shareUsageBytes value.
*/
Integer shareUsageBytes();
Long shareUsageBytes();

/**
* @return the type value.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.storage.v2019_06_01;

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.storage.v2019_06_01.implementation.StorageManager;
import com.microsoft.azure.management.storage.v2019_06_01.implementation.ListQueueInner;
import java.util.Map;

/**
* Type representing ListQueue.
*/
public interface ListQueue extends HasInner<ListQueueInner>, HasManager<StorageManager> {
/**
* @return the id value.
*/
String id();

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

/**
* @return the name value.
*/
String name();

/**
* @return the type value.
*/
String type();

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.storage.v2019_06_01;

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.storage.v2019_06_01.implementation.StorageManager;
import com.microsoft.azure.management.storage.v2019_06_01.implementation.ListQueueServicesInner;
import com.microsoft.azure.management.storage.v2019_06_01.implementation.QueueServicePropertiesInner;
import java.util.List;

/**
* Type representing ListQueueServices.
*/
public interface ListQueueServices extends HasInner<ListQueueServicesInner>, HasManager<StorageManager> {
/**
* @return the value value.
*/
List<QueueServicePropertiesInner> value();

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.storage.v2019_06_01;

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.storage.v2019_06_01.implementation.StorageManager;
import com.microsoft.azure.management.storage.v2019_06_01.implementation.ListTableServicesInner;
import com.microsoft.azure.management.storage.v2019_06_01.implementation.TableServicePropertiesInner;
import java.util.List;

/**
* Type representing ListTableServices.
*/
public interface ListTableServices extends HasInner<ListTableServicesInner>, HasManager<StorageManager> {
/**
* @return the value value.
*/
List<TableServicePropertiesInner> value();

}
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ public class ManagementPolicyRule {

/**
* Creates an instance of ManagementPolicyRule class.
* @param name a rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
* @param definition an object that defines the Lifecycle rule.
*/
public ManagementPolicyRule() {
type = "Lifecycle";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ public interface PrivateEndpointConnections extends SupportsCreating<PrivateEndp
*/
Observable<PrivateEndpointConnection> getAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName);

/**
* List all the private endpoint connections associated with the storage account.
*
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case insensitive.
* @param accountName The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<PrivateEndpointConnection> listAsync(String resourceGroupName, String accountName);

/**
* Deletes the specified private endpoint connection associated with the storage account.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.storage.v2019_06_01;

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.management.storage.v2019_06_01.implementation.QueueServicePropertiesInner;
import com.microsoft.azure.arm.model.Indexable;
import com.microsoft.azure.arm.model.Refreshable;
import com.microsoft.azure.arm.model.Updatable;
import com.microsoft.azure.arm.model.Appliable;
import com.microsoft.azure.arm.model.Creatable;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.storage.v2019_06_01.implementation.StorageManager;
import java.util.List;

/**
* Type representing QueueServiceProperties.
*/
public interface QueueServiceProperties extends HasInner<QueueServicePropertiesInner>, Indexable, Refreshable<QueueServiceProperties>, Updatable<QueueServiceProperties.Update>, HasManager<StorageManager> {
/**
* @return the cors value.
*/
CorsRules cors();

/**
* @return the id value.
*/
String id();

/**
* @return the name value.
*/
String name();

/**
* @return the type value.
*/
String type();

/**
* The entirety of the QueueServiceProperties definition.
*/
interface Definition extends DefinitionStages.Blank, DefinitionStages.WithStorageAccount, DefinitionStages.WithCors, DefinitionStages.WithCreate {
}

/**
* Grouping of QueueServiceProperties definition stages.
*/
interface DefinitionStages {
/**
* The first stage of a QueueServiceProperties definition.
*/
interface Blank extends WithStorageAccount {
}

/**
* The stage of the queueserviceproperties definition allowing to specify StorageAccount.
*/
interface WithStorageAccount {
/**
* Specifies resourceGroupName, accountName.
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case insensitive
* @param accountName The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only
* @return the next definition stage
*/
WithCors withExistingStorageAccount(String resourceGroupName, String accountName);
}

/**
* The stage of the queueserviceproperties definition allowing to specify Cors.
*/
interface WithCors {
/**
* Specifies cors.
* @param cors Specifies CORS rules for the Queue service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Queue service
* @return the next definition stage
*/
WithCreate withCors(CorsRules cors);
}

/**
* The stage of the definition which contains all the minimum required inputs for
* the resource to be created (via {@link WithCreate#create()}), but also allows
* for any other optional settings to be specified.
*/
interface WithCreate extends Creatable<QueueServiceProperties> {
}
}
/**
* The template for a QueueServiceProperties update operation, containing all the settings that can be modified.
*/
interface Update extends Appliable<QueueServiceProperties>, UpdateStages.WithCors {
}

/**
* Grouping of QueueServiceProperties update stages.
*/
interface UpdateStages {
/**
* The stage of the queueserviceproperties update allowing to specify Cors.
*/
interface WithCors {
/**
* Specifies cors.
* @param cors Specifies CORS rules for the Queue service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Queue service
* @return the next update stage
*/
Update withCors(CorsRules cors);
}

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.storage.v2019_06_01;

import com.microsoft.azure.arm.collection.SupportsCreating;
import rx.Observable;
import com.microsoft.azure.management.storage.v2019_06_01.implementation.QueueServicesInner;
import com.microsoft.azure.arm.model.HasInner;

/**
* Type representing QueueServices.
*/
public interface QueueServices extends SupportsCreating<QueueServiceProperties.DefinitionStages.Blank>, HasInner<QueueServicesInner> {
/**
* List all queue services for the storage account.
*
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case insensitive.
* @param accountName The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ListQueueServices> listAsync(String resourceGroupName, String accountName);

/**
* Gets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
*
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case insensitive.
* @param accountName The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<QueueServiceProperties> getServicePropertiesAsync(String resourceGroupName, String accountName);

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.storage.v2019_06_01;

import com.microsoft.azure.arm.collection.SupportsCreating;
import rx.Completable;
import rx.Observable;
import com.microsoft.azure.management.storage.v2019_06_01.implementation.QueuesInner;
import com.microsoft.azure.arm.model.HasInner;

/**
* Type representing Queues.
*/
public interface Queues extends SupportsCreating<StorageQueue.DefinitionStages.Blank>, HasInner<QueuesInner> {
/**
* Gets the queue with the specified queue name, under the specified account if it exists.
*
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case insensitive.
* @param accountName The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
* @param queueName A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<StorageQueue> getAsync(String resourceGroupName, String accountName, String queueName);

/**
* Deletes the queue with the specified queue name, under the specified account if it exists.
*
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case insensitive.
* @param accountName The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
* @param queueName A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Completable deleteAsync(String resourceGroupName, String accountName, String queueName);

/**
* Gets a list of all the queues under the specified storage account.
*
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case insensitive.
* @param accountName The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ListQueue> listAsync(final String resourceGroupName, final String accountName);

}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public class StorageAccountCheckNameAvailabilityParameters {

/**
* Creates an instance of StorageAccountCheckNameAvailabilityParameters class.
* @param name the storage account name.
*/
public StorageAccountCheckNameAvailabilityParameters() {
type = "Microsoft.Storage/storageAccounts";
Expand Down
Loading