Skip to content

Commit c2c6398

Browse files
author
SDK Automation
committed
Generated from 755bc39b082c6cc3c283483d68bc23c34ab3023c
1 parent a5d0419 commit c2c6398

23 files changed

+1753
-45
lines changed

sdk/cosmos/mgmt-v2019_08_01_preview/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
<parent>
1212
<groupId>com.microsoft.azure</groupId>
1313
<artifactId>azure-arm-parent</artifactId>
14-
<version>1.2.0</version>
15-
<relativePath>../../parents/azure-arm-parent</relativePath>
14+
<version>1.1.0</version>
15+
<relativePath>../../../pom.management.xml</relativePath>
1616
</parent>
1717
<artifactId>azure-mgmt-cosmosdb</artifactId>
18-
<version>1.0.0-beta-2</version>
18+
<version>1.0.0-beta</version>
1919
<packaging>jar</packaging>
2020
<name>Microsoft Azure SDK for CosmosDB Management</name>
2121
<description>This package contains Microsoft CosmosDB Management SDK.</description>

sdk/cosmos/mgmt-v2019_08_01_preview/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01_preview/AzureEntityResource.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
import com.microsoft.azure.ProxyResource;
1313

1414
/**
15-
* The resource model definition for a Azure Resource Manager resource with an
15+
* Entity Resource.
16+
* The resource model definition for an Azure Resource Manager resource with an
1617
* etag.
1718
*/
1819
public class AzureEntityResource extends ProxyResource {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.cosmosdb.v2019_08_01_preview;
10+
11+
import com.microsoft.azure.arm.model.HasInner;
12+
import com.microsoft.azure.management.cosmosdb.v2019_08_01_preview.implementation.NotebookWorkspaceInner;
13+
import com.microsoft.azure.arm.model.Indexable;
14+
import com.microsoft.azure.arm.model.Refreshable;
15+
import com.microsoft.azure.arm.model.Updatable;
16+
import com.microsoft.azure.arm.model.Appliable;
17+
import com.microsoft.azure.arm.model.Creatable;
18+
import com.microsoft.azure.arm.resources.models.HasManager;
19+
import com.microsoft.azure.management.cosmosdb.v2019_08_01_preview.implementation.CosmosDBManager;
20+
21+
/**
22+
* Type representing NotebookWorkspace.
23+
*/
24+
public interface NotebookWorkspace extends HasInner<NotebookWorkspaceInner>, Indexable, Refreshable<NotebookWorkspace>, Updatable<NotebookWorkspace.Update>, HasManager<CosmosDBManager> {
25+
/**
26+
* @return the id value.
27+
*/
28+
String id();
29+
30+
/**
31+
* @return the name value.
32+
*/
33+
String name();
34+
35+
/**
36+
* @return the notebookServerEndpoint value.
37+
*/
38+
String notebookServerEndpoint();
39+
40+
/**
41+
* @return the status value.
42+
*/
43+
String status();
44+
45+
/**
46+
* @return the type value.
47+
*/
48+
String type();
49+
50+
/**
51+
* The entirety of the NotebookWorkspace definition.
52+
*/
53+
interface Definition extends DefinitionStages.Blank, DefinitionStages.WithDatabaseAccount, DefinitionStages.WithCreate {
54+
}
55+
56+
/**
57+
* Grouping of NotebookWorkspace definition stages.
58+
*/
59+
interface DefinitionStages {
60+
/**
61+
* The first stage of a NotebookWorkspace definition.
62+
*/
63+
interface Blank extends WithDatabaseAccount {
64+
}
65+
66+
/**
67+
* The stage of the notebookworkspace definition allowing to specify DatabaseAccount.
68+
*/
69+
interface WithDatabaseAccount {
70+
/**
71+
* Specifies resourceGroupName, accountName.
72+
* @param resourceGroupName The name of the resource group. The name is case insensitive
73+
* @param accountName Cosmos DB database account name
74+
* @return the next definition stage
75+
*/
76+
WithCreate withExistingDatabaseAccount(String resourceGroupName, String accountName);
77+
}
78+
79+
/**
80+
* The stage of the definition which contains all the minimum required inputs for
81+
* the resource to be created (via {@link WithCreate#create()}), but also allows
82+
* for any other optional settings to be specified.
83+
*/
84+
interface WithCreate extends Creatable<NotebookWorkspace> {
85+
}
86+
}
87+
/**
88+
* The template for a NotebookWorkspace update operation, containing all the settings that can be modified.
89+
*/
90+
interface Update extends Appliable<NotebookWorkspace> {
91+
}
92+
93+
/**
94+
* Grouping of NotebookWorkspace update stages.
95+
*/
96+
interface UpdateStages {
97+
}
98+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.cosmosdb.v2019_08_01_preview;
10+
11+
import com.microsoft.azure.arm.model.HasInner;
12+
import com.microsoft.azure.arm.resources.models.HasManager;
13+
import com.microsoft.azure.management.cosmosdb.v2019_08_01_preview.implementation.CosmosDBManager;
14+
import com.microsoft.azure.management.cosmosdb.v2019_08_01_preview.implementation.NotebookWorkspaceConnectionInfoResultInner;
15+
16+
/**
17+
* Type representing NotebookWorkspaceConnectionInfoResult.
18+
*/
19+
public interface NotebookWorkspaceConnectionInfoResult extends HasInner<NotebookWorkspaceConnectionInfoResultInner>, HasManager<CosmosDBManager> {
20+
/**
21+
* @return the authToken value.
22+
*/
23+
String authToken();
24+
25+
/**
26+
* @return the notebookServerEndpoint value.
27+
*/
28+
String notebookServerEndpoint();
29+
30+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.cosmosdb.v2019_08_01_preview;
10+
11+
12+
/**
13+
* Parameters to create a notebook workspace resource.
14+
*/
15+
public class NotebookWorkspaceCreateUpdateParameters extends ARMProxyResource {
16+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.cosmosdb.v2019_08_01_preview;
10+
11+
import com.microsoft.azure.arm.collection.SupportsCreating;
12+
import rx.Completable;
13+
import rx.Observable;
14+
import com.microsoft.azure.management.cosmosdb.v2019_08_01_preview.implementation.NotebookWorkspacesInner;
15+
import com.microsoft.azure.arm.model.HasInner;
16+
17+
/**
18+
* Type representing NotebookWorkspaces.
19+
*/
20+
public interface NotebookWorkspaces extends SupportsCreating<NotebookWorkspace.DefinitionStages.Blank>, HasInner<NotebookWorkspacesInner> {
21+
/**
22+
* Retrieves the connection info for the notebook workspace.
23+
*
24+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
25+
* @param accountName Cosmos DB database account name.
26+
* @throws IllegalArgumentException thrown if parameters fail the validation
27+
* @return the observable for the request
28+
*/
29+
Observable<NotebookWorkspaceConnectionInfoResult> listConnectionInfoAsync(String resourceGroupName, String accountName);
30+
31+
/**
32+
* Regenerates the auth token for the notebook workspace.
33+
*
34+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
35+
* @param accountName Cosmos DB database account name.
36+
* @throws IllegalArgumentException thrown if parameters fail the validation
37+
* @return the observable for the request
38+
*/
39+
Completable regenerateAuthTokenAsync(String resourceGroupName, String accountName);
40+
41+
/**
42+
* Starts the notebook workspace.
43+
*
44+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
45+
* @param accountName Cosmos DB database account name.
46+
* @throws IllegalArgumentException thrown if parameters fail the validation
47+
* @return the observable for the request
48+
*/
49+
Completable startAsync(String resourceGroupName, String accountName);
50+
51+
/**
52+
* Gets the notebook workspace for a Cosmos DB account.
53+
*
54+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
55+
* @param accountName Cosmos DB database account name.
56+
* @throws IllegalArgumentException thrown if parameters fail the validation
57+
* @return the observable for the request
58+
*/
59+
Observable<NotebookWorkspace> getAsync(String resourceGroupName, String accountName);
60+
61+
/**
62+
* Gets the notebook workspace resources of an existing Cosmos DB account.
63+
*
64+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
65+
* @param accountName Cosmos DB database account name.
66+
* @throws IllegalArgumentException thrown if parameters fail the validation
67+
* @return the observable for the request
68+
*/
69+
Observable<NotebookWorkspace> listByDatabaseAccountAsync(String resourceGroupName, String accountName);
70+
71+
/**
72+
* Deletes the notebook workspace for a Cosmos DB account.
73+
*
74+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
75+
* @param accountName Cosmos DB database account name.
76+
* @throws IllegalArgumentException thrown if parameters fail the validation
77+
* @return the observable for the request
78+
*/
79+
Completable deleteAsync(String resourceGroupName, String accountName);
80+
81+
}

sdk/cosmos/mgmt-v2019_08_01_preview/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01_preview/PrivateEndpointConnection.java

Lines changed: 60 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@
2222
* Type representing PrivateEndpointConnection.
2323
*/
2424
public interface PrivateEndpointConnection extends HasInner<PrivateEndpointConnectionInner>, Indexable, Refreshable<PrivateEndpointConnection>, Updatable<PrivateEndpointConnection.Update>, HasManager<CosmosDBManager> {
25+
/**
26+
* @return the groupId value.
27+
*/
28+
String groupId();
29+
2530
/**
2631
* @return the id value.
2732
*/
@@ -42,6 +47,11 @@ public interface PrivateEndpointConnection extends HasInner<PrivateEndpointConne
4247
*/
4348
PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState();
4449

50+
/**
51+
* @return the provisioningState value.
52+
*/
53+
String provisioningState();
54+
4555
/**
4656
* @return the type value.
4757
*/
@@ -76,6 +86,18 @@ interface WithDatabaseAccount {
7686
WithCreate withExistingDatabaseAccount(String resourceGroupName, String accountName);
7787
}
7888

89+
/**
90+
* The stage of the privateendpointconnection definition allowing to specify GroupId.
91+
*/
92+
interface WithGroupId {
93+
/**
94+
* Specifies groupId.
95+
* @param groupId Group id of the private endpoint
96+
* @return the next definition stage
97+
*/
98+
WithCreate withGroupId(String groupId);
99+
}
100+
79101
/**
80102
* The stage of the privateendpointconnection definition allowing to specify PrivateEndpoint.
81103
*/
@@ -100,24 +122,48 @@ interface WithPrivateLinkServiceConnectionState {
100122
WithCreate withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState);
101123
}
102124

125+
/**
126+
* The stage of the privateendpointconnection definition allowing to specify ProvisioningState.
127+
*/
128+
interface WithProvisioningState {
129+
/**
130+
* Specifies provisioningState.
131+
* @param provisioningState Provisioning state of the private endpoint
132+
* @return the next definition stage
133+
*/
134+
WithCreate withProvisioningState(String provisioningState);
135+
}
136+
103137
/**
104138
* The stage of the definition which contains all the minimum required inputs for
105139
* the resource to be created (via {@link WithCreate#create()}), but also allows
106140
* for any other optional settings to be specified.
107141
*/
108-
interface WithCreate extends Creatable<PrivateEndpointConnection>, DefinitionStages.WithPrivateEndpoint, DefinitionStages.WithPrivateLinkServiceConnectionState {
142+
interface WithCreate extends Creatable<PrivateEndpointConnection>, DefinitionStages.WithGroupId, DefinitionStages.WithPrivateEndpoint, DefinitionStages.WithPrivateLinkServiceConnectionState, DefinitionStages.WithProvisioningState {
109143
}
110144
}
111145
/**
112146
* The template for a PrivateEndpointConnection update operation, containing all the settings that can be modified.
113147
*/
114-
interface Update extends Appliable<PrivateEndpointConnection>, UpdateStages.WithPrivateEndpoint, UpdateStages.WithPrivateLinkServiceConnectionState {
148+
interface Update extends Appliable<PrivateEndpointConnection>, UpdateStages.WithGroupId, UpdateStages.WithPrivateEndpoint, UpdateStages.WithPrivateLinkServiceConnectionState, UpdateStages.WithProvisioningState {
115149
}
116150

117151
/**
118152
* Grouping of PrivateEndpointConnection update stages.
119153
*/
120154
interface UpdateStages {
155+
/**
156+
* The stage of the privateendpointconnection update allowing to specify GroupId.
157+
*/
158+
interface WithGroupId {
159+
/**
160+
* Specifies groupId.
161+
* @param groupId Group id of the private endpoint
162+
* @return the next update stage
163+
*/
164+
Update withGroupId(String groupId);
165+
}
166+
121167
/**
122168
* The stage of the privateendpointconnection update allowing to specify PrivateEndpoint.
123169
*/
@@ -142,5 +188,17 @@ interface WithPrivateLinkServiceConnectionState {
142188
Update withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState);
143189
}
144190

191+
/**
192+
* The stage of the privateendpointconnection update allowing to specify ProvisioningState.
193+
*/
194+
interface WithProvisioningState {
195+
/**
196+
* Specifies provisioningState.
197+
* @param provisioningState Provisioning state of the private endpoint
198+
* @return the next update stage
199+
*/
200+
Update withProvisioningState(String provisioningState);
201+
}
202+
145203
}
146204
}

sdk/cosmos/mgmt-v2019_08_01_preview/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01_preview/PrivateLinkResource.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ public interface PrivateLinkResource extends HasInner<PrivateLinkResourceInner>,
4040
*/
4141
List<String> requiredMembers();
4242

43+
/**
44+
* @return the requiredZoneNames value.
45+
*/
46+
List<String> requiredZoneNames();
47+
4348
/**
4449
* @return the type value.
4550
*/

sdk/cosmos/mgmt-v2019_08_01_preview/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01_preview/PrivateLinkResources.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public interface PrivateLinkResources extends HasInner<PrivateLinkResourcesInner
1919
/**
2020
* Gets the private link resources that need to be created for a Cosmos DB account.
2121
*
22-
* @param resourceGroupName Name of an Azure resource group.
22+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
2323
* @param accountName Cosmos DB database account name.
2424
* @param groupName The name of the private link resource.
2525
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -30,7 +30,7 @@ public interface PrivateLinkResources extends HasInner<PrivateLinkResourcesInner
3030
/**
3131
* Gets the private link resources that need to be created for a Cosmos DB account.
3232
*
33-
* @param resourceGroupName Name of an Azure resource group.
33+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
3434
* @param accountName Cosmos DB database account name.
3535
* @throws IllegalArgumentException thrown if parameters fail the validation
3636
* @return the observable for the request

0 commit comments

Comments
 (0)