-
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 360d32ab4a5ddd5fbbc1f1f979d403217e6fdbce (#2707)
typo: mysql/resource-manager/Microsoft.DBforMySQL - allowd -> allowed - relica -> replica - Trim trailing spaces
- Loading branch information
1 parent
645d4be
commit 1b52790
Showing
13 changed files
with
680 additions
and
3 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
.../v2017_12_01/src/main/java/com/microsoft/azure/management/mysql/v2017_12_01/Replicas.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,29 @@ | ||
/** | ||
* 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.mysql.v2017_12_01; | ||
|
||
import rx.Observable; | ||
import com.microsoft.azure.management.mysql.v2017_12_01.implementation.ReplicasInner; | ||
import com.microsoft.azure.arm.model.HasInner; | ||
|
||
/** | ||
* Type representing Replicas. | ||
*/ | ||
public interface Replicas extends HasInner<ReplicasInner> { | ||
/** | ||
* List all the replicas for a given server. | ||
* | ||
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. | ||
* @param serverName The name of the server. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the observable for the request | ||
*/ | ||
Observable<ServerServer> listByServerAsync(String resourceGroupName, String serverName); | ||
|
||
} |
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
47 changes: 47 additions & 0 deletions
47
...ain/java/com/microsoft/azure/management/mysql/v2017_12_01/ServerPropertiesForReplica.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,47 @@ | ||
/** | ||
* 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.mysql.v2017_12_01; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.fasterxml.jackson.annotation.JsonTypeInfo; | ||
import com.fasterxml.jackson.annotation.JsonTypeName; | ||
|
||
/** | ||
* The properties to create a new replica. | ||
*/ | ||
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "createMode") | ||
@JsonTypeName("Replica") | ||
public class ServerPropertiesForReplica extends ServerPropertiesForCreate { | ||
/** | ||
* The master server id to create replica from. | ||
*/ | ||
@JsonProperty(value = "sourceServerId", required = true) | ||
private String sourceServerId; | ||
|
||
/** | ||
* Get the master server id to create replica from. | ||
* | ||
* @return the sourceServerId value | ||
*/ | ||
public String sourceServerId() { | ||
return this.sourceServerId; | ||
} | ||
|
||
/** | ||
* Set the master server id to create replica from. | ||
* | ||
* @param sourceServerId the sourceServerId value to set | ||
* @return the ServerPropertiesForReplica object itself. | ||
*/ | ||
public ServerPropertiesForReplica withSourceServerId(String sourceServerId) { | ||
this.sourceServerId = sourceServerId; | ||
return this; | ||
} | ||
|
||
} |
102 changes: 102 additions & 0 deletions
102
...17_12_01/src/main/java/com/microsoft/azure/management/mysql/v2017_12_01/ServerServer.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,102 @@ | ||
/** | ||
* 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.mysql.v2017_12_01; | ||
|
||
import com.microsoft.azure.arm.model.HasInner; | ||
import com.microsoft.azure.management.mysql.v2017_12_01.implementation.ServerInner; | ||
import com.microsoft.azure.arm.resources.models.HasManager; | ||
import com.microsoft.azure.management.mysql.v2017_12_01.implementation.DBforMySQLManager; | ||
import org.joda.time.DateTime; | ||
import java.util.Map; | ||
|
||
/** | ||
* Type representing ServerServer. | ||
*/ | ||
public interface ServerServer extends HasInner<ServerInner>, HasManager<DBforMySQLManager> { | ||
/** | ||
* @return the administratorLogin value. | ||
*/ | ||
String administratorLogin(); | ||
|
||
/** | ||
* @return the earliestRestoreDate value. | ||
*/ | ||
DateTime earliestRestoreDate(); | ||
|
||
/** | ||
* @return the fullyQualifiedDomainName value. | ||
*/ | ||
String fullyQualifiedDomainName(); | ||
|
||
/** | ||
* @return the id value. | ||
*/ | ||
String id(); | ||
|
||
/** | ||
* @return the location value. | ||
*/ | ||
String location(); | ||
|
||
/** | ||
* @return the masterServerId value. | ||
*/ | ||
String masterServerId(); | ||
|
||
/** | ||
* @return the name value. | ||
*/ | ||
String name(); | ||
|
||
/** | ||
* @return the replicaCapacity value. | ||
*/ | ||
Integer replicaCapacity(); | ||
|
||
/** | ||
* @return the replicationRole value. | ||
*/ | ||
String replicationRole(); | ||
|
||
/** | ||
* @return the sku value. | ||
*/ | ||
Sku sku(); | ||
|
||
/** | ||
* @return the sslEnforcement value. | ||
*/ | ||
SslEnforcementEnum sslEnforcement(); | ||
|
||
/** | ||
* @return the storageProfile value. | ||
*/ | ||
StorageProfile storageProfile(); | ||
|
||
/** | ||
* @return the tags value. | ||
*/ | ||
Map<String, String> tags(); | ||
|
||
/** | ||
* @return the type value. | ||
*/ | ||
String type(); | ||
|
||
/** | ||
* @return the userVisibleState value. | ||
*/ | ||
ServerState userVisibleState(); | ||
|
||
/** | ||
* @return the version value. | ||
*/ | ||
ServerVersion version(); | ||
|
||
} |
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.