Skip to content

Commit 8268333

Browse files
author
SDKAuto
committed
CodeGen from PR 11884 in Azure/azure-rest-api-specs
Merge 4e1ad5e990f406600dc87c6afab063414548f6a0 into eea7c0141c0b7ad9f66f8ba06560b549c6b3b014
1 parent 33362b5 commit 8268333

File tree

75 files changed

+2450
-162
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+2450
-162
lines changed

sdk/postgresql/mgmt-v2017_12_01_preview/pom.xml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
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>
17-
<artifactId>azure-mgmt-postgresql</artifactId>
17+
<artifactId>azure-mgmt-dbforpostgresql</artifactId>
1818
<version>1.0.0-beta</version>
1919
<packaging>jar</packaging>
20-
<name>Microsoft Azure SDK for DBforPostgreSQL Management</name>
21-
<description>This package contains Microsoft DBforPostgreSQL Management SDK.</description>
20+
<name>Microsoft Azure SDK for DBForPostgreSQL Management</name>
21+
<description>This package contains Microsoft DBForPostgreSQL Management SDK.</description>
2222
<url>https://github.com/Azure/azure-sdk-for-java</url>
2323
<licenses>
2424
<license>
@@ -71,6 +71,8 @@
7171
<artifactId>azure-arm-client-runtime</artifactId>
7272
<type>test-jar</type>
7373
<scope>test</scope>
74+
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7-->
75+
<version>1.6.5</version>
7476
</dependency>
7577
</dependencies>
7678
<build>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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.postgresql.v2017_12_01_preview;
10+
11+
import com.fasterxml.jackson.annotation.JsonProperty;
12+
import com.microsoft.azure.ProxyResource;
13+
14+
/**
15+
* Entity Resource.
16+
* The resource model definition for an Azure Resource Manager resource with an
17+
* etag.
18+
*/
19+
public class AzureEntityResource extends ProxyResource {
20+
/**
21+
* Resource Etag.
22+
*/
23+
@JsonProperty(value = "etag", access = JsonProperty.Access.WRITE_ONLY)
24+
private String etag;
25+
26+
/**
27+
* Get resource Etag.
28+
*
29+
* @return the etag value
30+
*/
31+
public String etag() {
32+
return this.etag;
33+
}
34+
35+
}

sdk/postgresql/mgmt-v2017_12_01_preview/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01_preview/Configuration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
import com.microsoft.azure.arm.model.Appliable;
1717
import com.microsoft.azure.arm.model.Creatable;
1818
import com.microsoft.azure.arm.resources.models.HasManager;
19-
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.PostgreSQLManager;
19+
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.DBForPostgreSQLManager;
2020

2121
/**
2222
* Type representing Configuration.
2323
*/
24-
public interface Configuration extends HasInner<ConfigurationInner>, Indexable, Refreshable<Configuration>, Updatable<Configuration.Update>, HasManager<PostgreSQLManager> {
24+
public interface Configuration extends HasInner<ConfigurationInner>, Indexable, Refreshable<Configuration>, Updatable<Configuration.Update>, HasManager<DBForPostgreSQLManager> {
2525
/**
2626
* @return the allowedValues value.
2727
*/

sdk/postgresql/mgmt-v2017_12_01_preview/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01_preview/Database.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
import com.microsoft.azure.arm.model.Appliable;
1717
import com.microsoft.azure.arm.model.Creatable;
1818
import com.microsoft.azure.arm.resources.models.HasManager;
19-
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.PostgreSQLManager;
19+
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.DBForPostgreSQLManager;
2020

2121
/**
2222
* Type representing Database.
2323
*/
24-
public interface Database extends HasInner<DatabaseInner>, Indexable, Refreshable<Database>, Updatable<Database.Update>, HasManager<PostgreSQLManager> {
24+
public interface Database extends HasInner<DatabaseInner>, Indexable, Refreshable<Database>, Updatable<Database.Update>, HasManager<DBForPostgreSQLManager> {
2525
/**
2626
* @return the charset value.
2727
*/

sdk/postgresql/mgmt-v2017_12_01_preview/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01_preview/FirewallRule.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
import com.microsoft.azure.arm.model.Appliable;
1717
import com.microsoft.azure.arm.model.Creatable;
1818
import com.microsoft.azure.arm.resources.models.HasManager;
19-
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.PostgreSQLManager;
19+
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.DBForPostgreSQLManager;
2020

2121
/**
2222
* Type representing FirewallRule.
2323
*/
24-
public interface FirewallRule extends HasInner<FirewallRuleInner>, Indexable, Refreshable<FirewallRule>, Updatable<FirewallRule.Update>, HasManager<PostgreSQLManager> {
24+
public interface FirewallRule extends HasInner<FirewallRuleInner>, Indexable, Refreshable<FirewallRule>, Updatable<FirewallRule.Update>, HasManager<DBForPostgreSQLManager> {
2525
/**
2626
* @return the endIpAddress value.
2727
*/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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.postgresql.v2017_12_01_preview;
10+
11+
import java.util.Collection;
12+
import com.fasterxml.jackson.annotation.JsonCreator;
13+
import com.microsoft.rest.ExpandableStringEnum;
14+
15+
/**
16+
* Defines values for IdentityType.
17+
*/
18+
public final class IdentityType extends ExpandableStringEnum<IdentityType> {
19+
/** Static value SystemAssigned for IdentityType. */
20+
public static final IdentityType SYSTEM_ASSIGNED = fromString("SystemAssigned");
21+
22+
/**
23+
* Creates or finds a IdentityType from its string representation.
24+
* @param name a name to look for
25+
* @return the corresponding IdentityType
26+
*/
27+
@JsonCreator
28+
public static IdentityType fromString(String name) {
29+
return fromString(name, IdentityType.class);
30+
}
31+
32+
/**
33+
* @return known IdentityType values
34+
*/
35+
public static Collection<IdentityType> values() {
36+
return values(IdentityType.class);
37+
}
38+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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.postgresql.v2017_12_01_preview;
10+
11+
import java.util.Collection;
12+
import com.fasterxml.jackson.annotation.JsonCreator;
13+
import com.microsoft.rest.ExpandableStringEnum;
14+
15+
/**
16+
* Defines values for InfrastructureEncryption.
17+
*/
18+
public final class InfrastructureEncryption extends ExpandableStringEnum<InfrastructureEncryption> {
19+
/** Static value Enabled for InfrastructureEncryption. */
20+
public static final InfrastructureEncryption ENABLED = fromString("Enabled");
21+
22+
/** Static value Disabled for InfrastructureEncryption. */
23+
public static final InfrastructureEncryption DISABLED = fromString("Disabled");
24+
25+
/**
26+
* Creates or finds a InfrastructureEncryption from its string representation.
27+
* @param name a name to look for
28+
* @return the corresponding InfrastructureEncryption
29+
*/
30+
@JsonCreator
31+
public static InfrastructureEncryption fromString(String name) {
32+
return fromString(name, InfrastructureEncryption.class);
33+
}
34+
35+
/**
36+
* @return known InfrastructureEncryption values
37+
*/
38+
public static Collection<InfrastructureEncryption> values() {
39+
return values(InfrastructureEncryption.class);
40+
}
41+
}

sdk/postgresql/mgmt-v2017_12_01_preview/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01_preview/LogFile.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
import com.microsoft.azure.arm.model.HasInner;
1212
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.LogFileInner;
1313
import com.microsoft.azure.arm.resources.models.HasManager;
14-
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.PostgreSQLManager;
14+
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.DBForPostgreSQLManager;
1515
import org.joda.time.DateTime;
1616

1717
/**
1818
* Type representing LogFile.
1919
*/
20-
public interface LogFile extends HasInner<LogFileInner>, HasManager<PostgreSQLManager> {
20+
public interface LogFile extends HasInner<LogFileInner>, HasManager<DBForPostgreSQLManager> {
2121
/**
2222
* @return the createdTime value.
2323
*/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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.postgresql.v2017_12_01_preview;
10+
11+
import java.util.Collection;
12+
import com.fasterxml.jackson.annotation.JsonCreator;
13+
import com.microsoft.rest.ExpandableStringEnum;
14+
15+
/**
16+
* Defines values for MinimalTlsVersionEnum.
17+
*/
18+
public final class MinimalTlsVersionEnum extends ExpandableStringEnum<MinimalTlsVersionEnum> {
19+
/** Static value TLS1_0 for MinimalTlsVersionEnum. */
20+
public static final MinimalTlsVersionEnum TLS1_0 = fromString("TLS1_0");
21+
22+
/** Static value TLS1_1 for MinimalTlsVersionEnum. */
23+
public static final MinimalTlsVersionEnum TLS1_1 = fromString("TLS1_1");
24+
25+
/** Static value TLS1_2 for MinimalTlsVersionEnum. */
26+
public static final MinimalTlsVersionEnum TLS1_2 = fromString("TLS1_2");
27+
28+
/** Static value TLSEnforcementDisabled for MinimalTlsVersionEnum. */
29+
public static final MinimalTlsVersionEnum TLSENFORCEMENT_DISABLED = fromString("TLSEnforcementDisabled");
30+
31+
/**
32+
* Creates or finds a MinimalTlsVersionEnum from its string representation.
33+
* @param name a name to look for
34+
* @return the corresponding MinimalTlsVersionEnum
35+
*/
36+
@JsonCreator
37+
public static MinimalTlsVersionEnum fromString(String name) {
38+
return fromString(name, MinimalTlsVersionEnum.class);
39+
}
40+
41+
/**
42+
* @return known MinimalTlsVersionEnum values
43+
*/
44+
public static Collection<MinimalTlsVersionEnum> values() {
45+
return values(MinimalTlsVersionEnum.class);
46+
}
47+
}

sdk/postgresql/mgmt-v2017_12_01_preview/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01_preview/NameAvailability.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010

1111
import com.microsoft.azure.arm.model.HasInner;
1212
import com.microsoft.azure.arm.resources.models.HasManager;
13-
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.PostgreSQLManager;
13+
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.DBForPostgreSQLManager;
1414
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.NameAvailabilityInner;
1515

1616
/**
1717
* Type representing NameAvailability.
1818
*/
19-
public interface NameAvailability extends HasInner<NameAvailabilityInner>, HasManager<PostgreSQLManager> {
19+
public interface NameAvailability extends HasInner<NameAvailabilityInner>, HasManager<DBForPostgreSQLManager> {
2020
/**
2121
* @return the message value.
2222
*/

0 commit comments

Comments
 (0)