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 1b5edee19d240ffefbc58c741738fd88d138c821
- Loading branch information
SDK Automation
committed
Sep 14, 2020
1 parent
74cd9e9
commit 482c984
Showing
75 changed files
with
2,449 additions
and
162 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
34 changes: 34 additions & 0 deletions
34
...va/com/microsoft/azure/management/postgresql/v2017_12_01_preview/AzureEntityResource.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,34 @@ | ||
/** | ||
* 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.postgresql.v2017_12_01_preview; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.microsoft.azure.ProxyResource; | ||
|
||
/** | ||
* The resource model definition for a Azure Resource Manager resource with an | ||
* etag. | ||
*/ | ||
public class AzureEntityResource extends ProxyResource { | ||
/** | ||
* Resource Etag. | ||
*/ | ||
@JsonProperty(value = "etag", access = JsonProperty.Access.WRITE_ONLY) | ||
private String etag; | ||
|
||
/** | ||
* Get resource Etag. | ||
* | ||
* @return the etag value | ||
*/ | ||
public String etag() { | ||
return this.etag; | ||
} | ||
|
||
} |
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
38 changes: 38 additions & 0 deletions
38
...main/java/com/microsoft/azure/management/postgresql/v2017_12_01_preview/IdentityType.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,38 @@ | ||
/** | ||
* 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.postgresql.v2017_12_01_preview; | ||
|
||
import java.util.Collection; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.microsoft.rest.ExpandableStringEnum; | ||
|
||
/** | ||
* Defines values for IdentityType. | ||
*/ | ||
public final class IdentityType extends ExpandableStringEnum<IdentityType> { | ||
/** Static value SystemAssigned for IdentityType. */ | ||
public static final IdentityType SYSTEM_ASSIGNED = fromString("SystemAssigned"); | ||
|
||
/** | ||
* Creates or finds a IdentityType from its string representation. | ||
* @param name a name to look for | ||
* @return the corresponding IdentityType | ||
*/ | ||
@JsonCreator | ||
public static IdentityType fromString(String name) { | ||
return fromString(name, IdentityType.class); | ||
} | ||
|
||
/** | ||
* @return known IdentityType values | ||
*/ | ||
public static Collection<IdentityType> values() { | ||
return values(IdentityType.class); | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
...m/microsoft/azure/management/postgresql/v2017_12_01_preview/InfrastructureEncryption.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,41 @@ | ||
/** | ||
* 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.postgresql.v2017_12_01_preview; | ||
|
||
import java.util.Collection; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.microsoft.rest.ExpandableStringEnum; | ||
|
||
/** | ||
* Defines values for InfrastructureEncryption. | ||
*/ | ||
public final class InfrastructureEncryption extends ExpandableStringEnum<InfrastructureEncryption> { | ||
/** Static value Enabled for InfrastructureEncryption. */ | ||
public static final InfrastructureEncryption ENABLED = fromString("Enabled"); | ||
|
||
/** Static value Disabled for InfrastructureEncryption. */ | ||
public static final InfrastructureEncryption DISABLED = fromString("Disabled"); | ||
|
||
/** | ||
* Creates or finds a InfrastructureEncryption from its string representation. | ||
* @param name a name to look for | ||
* @return the corresponding InfrastructureEncryption | ||
*/ | ||
@JsonCreator | ||
public static InfrastructureEncryption fromString(String name) { | ||
return fromString(name, InfrastructureEncryption.class); | ||
} | ||
|
||
/** | ||
* @return known InfrastructureEncryption values | ||
*/ | ||
public static Collection<InfrastructureEncryption> values() { | ||
return values(InfrastructureEncryption.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
47 changes: 47 additions & 0 deletions
47
.../com/microsoft/azure/management/postgresql/v2017_12_01_preview/MinimalTlsVersionEnum.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.postgresql.v2017_12_01_preview; | ||
|
||
import java.util.Collection; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.microsoft.rest.ExpandableStringEnum; | ||
|
||
/** | ||
* Defines values for MinimalTlsVersionEnum. | ||
*/ | ||
public final class MinimalTlsVersionEnum extends ExpandableStringEnum<MinimalTlsVersionEnum> { | ||
/** Static value TLS1_0 for MinimalTlsVersionEnum. */ | ||
public static final MinimalTlsVersionEnum TLS1_0 = fromString("TLS1_0"); | ||
|
||
/** Static value TLS1_1 for MinimalTlsVersionEnum. */ | ||
public static final MinimalTlsVersionEnum TLS1_1 = fromString("TLS1_1"); | ||
|
||
/** Static value TLS1_2 for MinimalTlsVersionEnum. */ | ||
public static final MinimalTlsVersionEnum TLS1_2 = fromString("TLS1_2"); | ||
|
||
/** Static value TLSEnforcementDisabled for MinimalTlsVersionEnum. */ | ||
public static final MinimalTlsVersionEnum TLSENFORCEMENT_DISABLED = fromString("TLSEnforcementDisabled"); | ||
|
||
/** | ||
* Creates or finds a MinimalTlsVersionEnum from its string representation. | ||
* @param name a name to look for | ||
* @return the corresponding MinimalTlsVersionEnum | ||
*/ | ||
@JsonCreator | ||
public static MinimalTlsVersionEnum fromString(String name) { | ||
return fromString(name, MinimalTlsVersionEnum.class); | ||
} | ||
|
||
/** | ||
* @return known MinimalTlsVersionEnum values | ||
*/ | ||
public static Collection<MinimalTlsVersionEnum> values() { | ||
return values(MinimalTlsVersionEnum.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
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
85 changes: 85 additions & 0 deletions
85
.../azure/management/postgresql/v2017_12_01_preview/PrivateEndpointConnectionProperties.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,85 @@ | ||
/** | ||
* 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.postgresql.v2017_12_01_preview; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* Properties of a private endpoint connection. | ||
*/ | ||
public class PrivateEndpointConnectionProperties { | ||
/** | ||
* Private endpoint which the connection belongs to. | ||
*/ | ||
@JsonProperty(value = "privateEndpoint") | ||
private PrivateEndpointProperty privateEndpoint; | ||
|
||
/** | ||
* Connection state of the private endpoint connection. | ||
*/ | ||
@JsonProperty(value = "privateLinkServiceConnectionState") | ||
private PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState; | ||
|
||
/** | ||
* State of the private endpoint connection. Possible values include: | ||
* 'Approving', 'Ready', 'Dropping', 'Failed', 'Rejecting'. | ||
*/ | ||
@JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY) | ||
private PrivateEndpointProvisioningState provisioningState; | ||
|
||
/** | ||
* Get private endpoint which the connection belongs to. | ||
* | ||
* @return the privateEndpoint value | ||
*/ | ||
public PrivateEndpointProperty privateEndpoint() { | ||
return this.privateEndpoint; | ||
} | ||
|
||
/** | ||
* Set private endpoint which the connection belongs to. | ||
* | ||
* @param privateEndpoint the privateEndpoint value to set | ||
* @return the PrivateEndpointConnectionProperties object itself. | ||
*/ | ||
public PrivateEndpointConnectionProperties withPrivateEndpoint(PrivateEndpointProperty privateEndpoint) { | ||
this.privateEndpoint = privateEndpoint; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get connection state of the private endpoint connection. | ||
* | ||
* @return the privateLinkServiceConnectionState value | ||
*/ | ||
public PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState() { | ||
return this.privateLinkServiceConnectionState; | ||
} | ||
|
||
/** | ||
* Set connection state of the private endpoint connection. | ||
* | ||
* @param privateLinkServiceConnectionState the privateLinkServiceConnectionState value to set | ||
* @return the PrivateEndpointConnectionProperties object itself. | ||
*/ | ||
public PrivateEndpointConnectionProperties withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState) { | ||
this.privateLinkServiceConnectionState = privateLinkServiceConnectionState; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get state of the private endpoint connection. Possible values include: 'Approving', 'Ready', 'Dropping', 'Failed', 'Rejecting'. | ||
* | ||
* @return the provisioningState value | ||
*/ | ||
public PrivateEndpointProvisioningState provisioningState() { | ||
return this.provisioningState; | ||
} | ||
|
||
} |
Oops, something went wrong.