Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ReleasePR sdk/postgresql/mgmt-v2017_12_01_preview] Remove version 2020-01-01 of security alert policies for Orcas #14332

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions sdk/postgresql/mgmt-v2017_12_01_preview/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.2.0</version>
<relativePath>../../parents/azure-arm-parent</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-postgresql</artifactId>
<artifactId>azure-mgmt-dbforpostgresql</artifactId>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for DBforPostgreSQL Management</name>
Expand Down Expand Up @@ -71,6 +71,8 @@
<artifactId>azure-arm-client-runtime</artifactId>
<type>test-jar</type>
<scope>test</scope>
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7-->
<version>1.6.5</version>
</dependency>
</dependencies>
<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
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.postgresql.v2017_12_01_preview.implementation.PostgreSQLManager;
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.DBforPostgreSQLManager;

/**
* Type representing Configuration.
*/
public interface Configuration extends HasInner<ConfigurationInner>, Indexable, Refreshable<Configuration>, Updatable<Configuration.Update>, HasManager<PostgreSQLManager> {
public interface Configuration extends HasInner<ConfigurationInner>, Indexable, Refreshable<Configuration>, Updatable<Configuration.Update>, HasManager<DBforPostgreSQLManager> {
/**
* @return the allowedValues value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
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.postgresql.v2017_12_01_preview.implementation.PostgreSQLManager;
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.DBforPostgreSQLManager;

/**
* Type representing Database.
*/
public interface Database extends HasInner<DatabaseInner>, Indexable, Refreshable<Database>, Updatable<Database.Update>, HasManager<PostgreSQLManager> {
public interface Database extends HasInner<DatabaseInner>, Indexable, Refreshable<Database>, Updatable<Database.Update>, HasManager<DBforPostgreSQLManager> {
/**
* @return the charset value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
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.postgresql.v2017_12_01_preview.implementation.PostgreSQLManager;
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.DBforPostgreSQLManager;

/**
* Type representing FirewallRule.
*/
public interface FirewallRule extends HasInner<FirewallRuleInner>, Indexable, Refreshable<FirewallRule>, Updatable<FirewallRule.Update>, HasManager<PostgreSQLManager> {
public interface FirewallRule extends HasInner<FirewallRuleInner>, Indexable, Refreshable<FirewallRule>, Updatable<FirewallRule.Update>, HasManager<DBforPostgreSQLManager> {
/**
* @return the endIpAddress value.
*/
Expand Down
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);
}
}
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);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.LogFileInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.PostgreSQLManager;
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.DBforPostgreSQLManager;
import org.joda.time.DateTime;

/**
* Type representing LogFile.
*/
public interface LogFile extends HasInner<LogFileInner>, HasManager<PostgreSQLManager> {
public interface LogFile extends HasInner<LogFileInner>, HasManager<DBforPostgreSQLManager> {
/**
* @return the createdTime value.
*/
Expand Down
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);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.PostgreSQLManager;
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.DBforPostgreSQLManager;
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.NameAvailabilityInner;

/**
* Type representing NameAvailability.
*/
public interface NameAvailability extends HasInner<NameAvailabilityInner>, HasManager<PostgreSQLManager> {
public interface NameAvailability extends HasInner<NameAvailabilityInner>, HasManager<DBforPostgreSQLManager> {
/**
* @return the message value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.PostgreSQLManager;
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.DBforPostgreSQLManager;
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.OperationListResultInner;
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.OperationInner;
import java.util.List;

/**
* Type representing OperationListResult.
*/
public interface OperationListResult extends HasInner<OperationListResultInner>, HasManager<PostgreSQLManager> {
public interface OperationListResult extends HasInner<OperationListResultInner>, HasManager<DBforPostgreSQLManager> {
/**
* @return the value value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.PerformanceTierPropertiesInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.PostgreSQLManager;
import com.microsoft.azure.management.postgresql.v2017_12_01_preview.implementation.DBforPostgreSQLManager;
import java.util.List;

/**
* Type representing PerformanceTierProperties.
*/
public interface PerformanceTierProperties extends HasInner<PerformanceTierPropertiesInner>, HasManager<PostgreSQLManager> {
public interface PerformanceTierProperties extends HasInner<PerformanceTierPropertiesInner>, HasManager<DBforPostgreSQLManager> {
/**
* @return the id value.
*/
Expand Down
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;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/**
* 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;

/**
* The PrivateEndpointProperty model.
*/
public class PrivateEndpointProperty {
/**
* Resource id of the private endpoint.
*/
@JsonProperty(value = "id")
private String id;

/**
* Get resource id of the private endpoint.
*
* @return the id value
*/
public String id() {
return this.id;
}

/**
* Set resource id of the private endpoint.
*
* @param id the id value to set
* @return the PrivateEndpointProperty object itself.
*/
public PrivateEndpointProperty withId(String id) {
this.id = id;
return this;
}

}
Loading