-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from a03ebb5e6ea5c7aa1585f40be78db1703c328084 (#2988)
Adding virtualclusters.json to readme.md
- Loading branch information
1 parent
8d2f2cf
commit 0bdf0a1
Showing
14 changed files
with
1,671 additions
and
19 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
44 changes: 44 additions & 0 deletions
44
.../com/microsoft/azure/management/sql/v2015_05_01_preview/ManagedInstanceProxyOverride.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,44 @@ | ||
/** | ||
* 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.sql.v2015_05_01_preview; | ||
|
||
import java.util.Collection; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.microsoft.rest.ExpandableStringEnum; | ||
|
||
/** | ||
* Defines values for ManagedInstanceProxyOverride. | ||
*/ | ||
public final class ManagedInstanceProxyOverride extends ExpandableStringEnum<ManagedInstanceProxyOverride> { | ||
/** Static value Proxy for ManagedInstanceProxyOverride. */ | ||
public static final ManagedInstanceProxyOverride PROXY = fromString("Proxy"); | ||
|
||
/** Static value Redirect for ManagedInstanceProxyOverride. */ | ||
public static final ManagedInstanceProxyOverride REDIRECT = fromString("Redirect"); | ||
|
||
/** Static value Default for ManagedInstanceProxyOverride. */ | ||
public static final ManagedInstanceProxyOverride DEFAULT = fromString("Default"); | ||
|
||
/** | ||
* Creates or finds a ManagedInstanceProxyOverride from its string representation. | ||
* @param name a name to look for | ||
* @return the corresponding ManagedInstanceProxyOverride | ||
*/ | ||
@JsonCreator | ||
public static ManagedInstanceProxyOverride fromString(String name) { | ||
return fromString(name, ManagedInstanceProxyOverride.class); | ||
} | ||
|
||
/** | ||
* @return known ManagedInstanceProxyOverride values | ||
*/ | ||
public static Collection<ManagedInstanceProxyOverride> values() { | ||
return values(ManagedInstanceProxyOverride.class); | ||
} | ||
} |
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
63 changes: 63 additions & 0 deletions
63
.../src/main/java/com/microsoft/azure/management/sql/v2015_05_01_preview/VirtualCluster.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,63 @@ | ||
/** | ||
* 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.sql.v2015_05_01_preview; | ||
|
||
import com.microsoft.azure.arm.model.HasInner; | ||
import com.microsoft.azure.arm.resources.models.Resource; | ||
import com.microsoft.azure.arm.resources.models.GroupableResourceCore; | ||
import com.microsoft.azure.arm.resources.models.HasResourceGroup; | ||
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.resources.models.HasManager; | ||
import com.microsoft.azure.management.sql.v2015_05_01_preview.implementation.SqlManager; | ||
import java.util.List; | ||
import com.microsoft.azure.management.sql.v2015_05_01_preview.implementation.VirtualClusterInner; | ||
|
||
/** | ||
* Type representing VirtualCluster. | ||
*/ | ||
public interface VirtualCluster extends HasInner<VirtualClusterInner>, Resource, GroupableResourceCore<SqlManager, VirtualClusterInner>, HasResourceGroup, Refreshable<VirtualCluster>, Updatable<VirtualCluster.Update>, HasManager<SqlManager> { | ||
/** | ||
* @return the childResources value. | ||
*/ | ||
List<String> childResources(); | ||
|
||
/** | ||
* @return the family value. | ||
*/ | ||
String family(); | ||
|
||
/** | ||
* @return the subnetId value. | ||
*/ | ||
String subnetId(); | ||
|
||
/** | ||
* The template for a VirtualCluster update operation, containing all the settings that can be modified. | ||
*/ | ||
interface Update extends Appliable<VirtualCluster>, Resource.UpdateWithTags<Update>, UpdateStages.WithFamily { | ||
} | ||
|
||
/** | ||
* Grouping of VirtualCluster update stages. | ||
*/ | ||
interface UpdateStages { | ||
/** | ||
* The stage of the virtualcluster {0} allowing to specify Family. | ||
*/ | ||
interface WithFamily { | ||
/** | ||
* Specifies family. | ||
*/ | ||
Update withFamily(String family); | ||
} | ||
|
||
} | ||
} |
104 changes: 104 additions & 0 deletions
104
...ain/java/com/microsoft/azure/management/sql/v2015_05_01_preview/VirtualClusterUpdate.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,104 @@ | ||
/** | ||
* 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.sql.v2015_05_01_preview; | ||
|
||
import java.util.List; | ||
import java.util.Map; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.microsoft.rest.serializer.JsonFlatten; | ||
|
||
/** | ||
* An update request for an Azure SQL Database virtual cluster. | ||
*/ | ||
@JsonFlatten | ||
public class VirtualClusterUpdate { | ||
/** | ||
* Subnet resource ID for the virtual cluster. | ||
*/ | ||
@JsonProperty(value = "properties.subnetId", access = JsonProperty.Access.WRITE_ONLY) | ||
private String subnetId; | ||
|
||
/** | ||
* If the service has different generations of hardware, for the same SKU, | ||
* then that can be captured here. | ||
*/ | ||
@JsonProperty(value = "properties.family") | ||
private String family; | ||
|
||
/** | ||
* List of resources in this virtual cluster. | ||
*/ | ||
@JsonProperty(value = "properties.childResources", access = JsonProperty.Access.WRITE_ONLY) | ||
private List<String> childResources; | ||
|
||
/** | ||
* Resource tags. | ||
*/ | ||
@JsonProperty(value = "tags") | ||
private Map<String, String> tags; | ||
|
||
/** | ||
* Get subnet resource ID for the virtual cluster. | ||
* | ||
* @return the subnetId value | ||
*/ | ||
public String subnetId() { | ||
return this.subnetId; | ||
} | ||
|
||
/** | ||
* Get if the service has different generations of hardware, for the same SKU, then that can be captured here. | ||
* | ||
* @return the family value | ||
*/ | ||
public String family() { | ||
return this.family; | ||
} | ||
|
||
/** | ||
* Set if the service has different generations of hardware, for the same SKU, then that can be captured here. | ||
* | ||
* @param family the family value to set | ||
* @return the VirtualClusterUpdate object itself. | ||
*/ | ||
public VirtualClusterUpdate withFamily(String family) { | ||
this.family = family; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get list of resources in this virtual cluster. | ||
* | ||
* @return the childResources value | ||
*/ | ||
public List<String> childResources() { | ||
return this.childResources; | ||
} | ||
|
||
/** | ||
* Get resource tags. | ||
* | ||
* @return the tags value | ||
*/ | ||
public Map<String, String> tags() { | ||
return this.tags; | ||
} | ||
|
||
/** | ||
* Set resource tags. | ||
* | ||
* @param tags the tags value to set | ||
* @return the VirtualClusterUpdate object itself. | ||
*/ | ||
public VirtualClusterUpdate withTags(Map<String, String> tags) { | ||
this.tags = tags; | ||
return this; | ||
} | ||
|
||
} |
Oops, something went wrong.