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/network/mgmt-v2020_04_01] fix network #11001

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
2 changes: 1 addition & 1 deletion sdk/network/mgmt-v2020_04_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.3.0</version>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-network</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@
* Type representing P2SVpnGateway.
*/
public interface P2SVpnGateway extends HasInner<P2SVpnGatewayInner>, Resource, GroupableResourceCore<NetworkManager, P2SVpnGatewayInner>, HasResourceGroup, Refreshable<P2SVpnGateway>, Updatable<P2SVpnGateway.Update>, HasManager<NetworkManager> {
/**
* @return the customDnsServers value.
*/
List<String> customDnsServers();

/**
* @return the etag value.
*/
Expand Down Expand Up @@ -88,18 +83,6 @@ interface Blank extends GroupableResourceCore.DefinitionWithRegion<WithGroup> {
interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup<WithCreate> {
}

/**
* The stage of the p2svpngateway definition allowing to specify CustomDnsServers.
*/
interface WithCustomDnsServers {
/**
* Specifies customDnsServers.
* @param customDnsServers List of all customer specified DNS servers IP addresses
* @return the next definition stage
*/
WithCreate withCustomDnsServers(List<String> customDnsServers);
}

/**
* The stage of the p2svpngateway definition allowing to specify P2SConnectionConfigurations.
*/
Expand Down Expand Up @@ -153,31 +136,19 @@ interface WithVpnServerConfiguration {
* the resource to be created (via {@link WithCreate#create()}), but also allows
* for any other optional settings to be specified.
*/
interface WithCreate extends Creatable<P2SVpnGateway>, Resource.DefinitionWithTags<WithCreate>, DefinitionStages.WithCustomDnsServers, DefinitionStages.WithP2SConnectionConfigurations, DefinitionStages.WithVirtualHub, DefinitionStages.WithVpnGatewayScaleUnit, DefinitionStages.WithVpnServerConfiguration {
interface WithCreate extends Creatable<P2SVpnGateway>, Resource.DefinitionWithTags<WithCreate>, DefinitionStages.WithP2SConnectionConfigurations, DefinitionStages.WithVirtualHub, DefinitionStages.WithVpnGatewayScaleUnit, DefinitionStages.WithVpnServerConfiguration {
}
}
/**
* The template for a P2SVpnGateway update operation, containing all the settings that can be modified.
*/
interface Update extends Appliable<P2SVpnGateway>, Resource.UpdateWithTags<Update>, UpdateStages.WithCustomDnsServers, UpdateStages.WithP2SConnectionConfigurations, UpdateStages.WithVirtualHub, UpdateStages.WithVpnGatewayScaleUnit, UpdateStages.WithVpnServerConfiguration {
interface Update extends Appliable<P2SVpnGateway>, Resource.UpdateWithTags<Update>, UpdateStages.WithP2SConnectionConfigurations, UpdateStages.WithVirtualHub, UpdateStages.WithVpnGatewayScaleUnit, UpdateStages.WithVpnServerConfiguration {
}

/**
* Grouping of P2SVpnGateway update stages.
*/
interface UpdateStages {
/**
* The stage of the p2svpngateway update allowing to specify CustomDnsServers.
*/
interface WithCustomDnsServers {
/**
* Specifies customDnsServers.
* @param customDnsServers List of all customer specified DNS servers IP addresses
* @return the next update stage
*/
Update withCustomDnsServers(List<String> customDnsServers);
}

/**
* The stage of the p2svpngateway update allowing to specify P2SConnectionConfigurations.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
package com.microsoft.azure.management.network.v2020_04_01;

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.management.network.v2020_04_01.implementation.ResourceNavigationLinkInner;
import com.microsoft.azure.management.network.v2020_04_01.implementation.ServiceAssociationLinkInner;
import com.microsoft.azure.management.network.v2020_04_01.implementation.SubnetInner;
import com.microsoft.azure.arm.model.Indexable;
import com.microsoft.azure.arm.model.Refreshable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ public boolean isInCreateMode() {
}


@Override
public List<String> customDnsServers() {
return this.inner().customDnsServers();
}

@Override
public String etag() {
return this.inner().etag();
Expand Down Expand Up @@ -88,12 +83,6 @@ public SubResource vpnServerConfiguration() {
return this.inner().vpnServerConfiguration();
}

@Override
public P2SVpnGatewayImpl withCustomDnsServers(List<String> customDnsServers) {
this.inner().withCustomDnsServers(customDnsServers);
return this;
}

@Override
public P2SVpnGatewayImpl withP2SConnectionConfigurations(List<P2SConnectionConfiguration> p2SConnectionConfigurations) {
this.inner().withP2SConnectionConfigurations(p2SConnectionConfigurations);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,6 @@ public class P2SVpnGatewayInner extends Resource {
@JsonProperty(value = "properties.vpnClientConnectionHealth", access = JsonProperty.Access.WRITE_ONLY)
private VpnClientConnectionHealth vpnClientConnectionHealth;

/**
* List of all customer specified DNS servers IP addresses.
*/
@JsonProperty(value = "properties.customDnsServers")
private List<String> customDnsServers;

/**
* A unique read-only string that changes whenever the resource is updated.
*/
Expand Down Expand Up @@ -177,26 +171,6 @@ public VpnClientConnectionHealth vpnClientConnectionHealth() {
return this.vpnClientConnectionHealth;
}

/**
* Get list of all customer specified DNS servers IP addresses.
*
* @return the customDnsServers value
*/
public List<String> customDnsServers() {
return this.customDnsServers;
}

/**
* Set list of all customer specified DNS servers IP addresses.
*
* @param customDnsServers the customDnsServers value to set
* @return the P2SVpnGatewayInner object itself.
*/
public P2SVpnGatewayInner withCustomDnsServers(List<String> customDnsServers) {
this.customDnsServers = customDnsServers;
return this;
}

/**
* Get a unique read-only string that changes whenever the resource is updated.
*
Expand Down