forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 941fc50639b5a3b3aff68afbc0356030f03dd4fe
- Loading branch information
SDK Automation
committed
Nov 4, 2020
1 parent
6276a8c
commit c9a64c4
Showing
25 changed files
with
1,864 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
98 changes: 98 additions & 0 deletions
98
.../src/main/java/com/microsoft/azure/management/cosmosdb/v2019_12_12/NotebookWorkspace.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
/** | ||
* 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.cosmosdb.v2019_12_12; | ||
|
||
import com.microsoft.azure.arm.model.HasInner; | ||
import com.microsoft.azure.management.cosmosdb.v2019_12_12.implementation.NotebookWorkspaceInner; | ||
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.cosmosdb.v2019_12_12.implementation.CosmosDBManager; | ||
|
||
/** | ||
* Type representing NotebookWorkspace. | ||
*/ | ||
public interface NotebookWorkspace extends HasInner<NotebookWorkspaceInner>, Indexable, Refreshable<NotebookWorkspace>, Updatable<NotebookWorkspace.Update>, HasManager<CosmosDBManager> { | ||
/** | ||
* @return the id value. | ||
*/ | ||
String id(); | ||
|
||
/** | ||
* @return the name value. | ||
*/ | ||
String name(); | ||
|
||
/** | ||
* @return the notebookServerEndpoint value. | ||
*/ | ||
String notebookServerEndpoint(); | ||
|
||
/** | ||
* @return the status value. | ||
*/ | ||
String status(); | ||
|
||
/** | ||
* @return the type value. | ||
*/ | ||
String type(); | ||
|
||
/** | ||
* The entirety of the NotebookWorkspace definition. | ||
*/ | ||
interface Definition extends DefinitionStages.Blank, DefinitionStages.WithDatabaseAccount, DefinitionStages.WithCreate { | ||
} | ||
|
||
/** | ||
* Grouping of NotebookWorkspace definition stages. | ||
*/ | ||
interface DefinitionStages { | ||
/** | ||
* The first stage of a NotebookWorkspace definition. | ||
*/ | ||
interface Blank extends WithDatabaseAccount { | ||
} | ||
|
||
/** | ||
* The stage of the notebookworkspace definition allowing to specify DatabaseAccount. | ||
*/ | ||
interface WithDatabaseAccount { | ||
/** | ||
* Specifies resourceGroupName, accountName. | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive | ||
* @param accountName Cosmos DB database account name | ||
* @return the next definition stage | ||
*/ | ||
WithCreate withExistingDatabaseAccount(String resourceGroupName, String accountName); | ||
} | ||
|
||
/** | ||
* 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<NotebookWorkspace> { | ||
} | ||
} | ||
/** | ||
* The template for a NotebookWorkspace update operation, containing all the settings that can be modified. | ||
*/ | ||
interface Update extends Appliable<NotebookWorkspace> { | ||
} | ||
|
||
/** | ||
* Grouping of NotebookWorkspace update stages. | ||
*/ | ||
interface UpdateStages { | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...icrosoft/azure/management/cosmosdb/v2019_12_12/NotebookWorkspaceConnectionInfoResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/** | ||
* 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.cosmosdb.v2019_12_12; | ||
|
||
import com.microsoft.azure.arm.model.HasInner; | ||
import com.microsoft.azure.arm.resources.models.HasManager; | ||
import com.microsoft.azure.management.cosmosdb.v2019_12_12.implementation.CosmosDBManager; | ||
import com.microsoft.azure.management.cosmosdb.v2019_12_12.implementation.NotebookWorkspaceConnectionInfoResultInner; | ||
|
||
/** | ||
* Type representing NotebookWorkspaceConnectionInfoResult. | ||
*/ | ||
public interface NotebookWorkspaceConnectionInfoResult extends HasInner<NotebookWorkspaceConnectionInfoResultInner>, HasManager<CosmosDBManager> { | ||
/** | ||
* @return the authToken value. | ||
*/ | ||
String authToken(); | ||
|
||
/** | ||
* @return the notebookServerEndpoint value. | ||
*/ | ||
String notebookServerEndpoint(); | ||
|
||
} |
16 changes: 16 additions & 0 deletions
16
...rosoft/azure/management/cosmosdb/v2019_12_12/NotebookWorkspaceCreateUpdateParameters.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/** | ||
* 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.cosmosdb.v2019_12_12; | ||
|
||
|
||
/** | ||
* Parameters to create a notebook workspace resource. | ||
*/ | ||
public class NotebookWorkspaceCreateUpdateParameters extends ARMProxyResource { | ||
} |
81 changes: 81 additions & 0 deletions
81
...src/main/java/com/microsoft/azure/management/cosmosdb/v2019_12_12/NotebookWorkspaces.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
/** | ||
* 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.cosmosdb.v2019_12_12; | ||
|
||
import com.microsoft.azure.arm.collection.SupportsCreating; | ||
import rx.Completable; | ||
import rx.Observable; | ||
import com.microsoft.azure.management.cosmosdb.v2019_12_12.implementation.NotebookWorkspacesInner; | ||
import com.microsoft.azure.arm.model.HasInner; | ||
|
||
/** | ||
* Type representing NotebookWorkspaces. | ||
*/ | ||
public interface NotebookWorkspaces extends SupportsCreating<NotebookWorkspace.DefinitionStages.Blank>, HasInner<NotebookWorkspacesInner> { | ||
/** | ||
* Retrieves the connection info for the notebook workspace. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param accountName Cosmos DB database account name. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the observable for the request | ||
*/ | ||
Observable<NotebookWorkspaceConnectionInfoResult> listConnectionInfoAsync(String resourceGroupName, String accountName); | ||
|
||
/** | ||
* Regenerates the auth token for the notebook workspace. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param accountName Cosmos DB database account name. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the observable for the request | ||
*/ | ||
Completable regenerateAuthTokenAsync(String resourceGroupName, String accountName); | ||
|
||
/** | ||
* Starts the notebook workspace. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param accountName Cosmos DB database account name. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the observable for the request | ||
*/ | ||
Completable startAsync(String resourceGroupName, String accountName); | ||
|
||
/** | ||
* Gets the notebook workspace for a Cosmos DB account. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param accountName Cosmos DB database account name. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the observable for the request | ||
*/ | ||
Observable<NotebookWorkspace> getAsync(String resourceGroupName, String accountName); | ||
|
||
/** | ||
* Gets the notebook workspace resources of an existing Cosmos DB account. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param accountName Cosmos DB database account name. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the observable for the request | ||
*/ | ||
Observable<NotebookWorkspace> listByDatabaseAccountAsync(String resourceGroupName, String accountName); | ||
|
||
/** | ||
* Deletes the notebook workspace for a Cosmos DB account. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param accountName Cosmos DB database account name. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the observable for the request | ||
*/ | ||
Completable deleteAsync(String resourceGroupName, String accountName); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.