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

[AutoPR sdk/network/mgmt-v2020_05_01] Network july release - Feature: Address space update in peered vNets #4872

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
6 changes: 3 additions & 3 deletions sdk/network/mgmt-v2020_05_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.3.0</version>
<relativePath>../../parents/azure-arm-parent/pom.xml</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-network</artifactId>
<version>1.0.0-beta-1</version>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for Network Management</name>
<description>This package contains Microsoft Network Management SDK.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ public class ApplicationRule extends FirewallPolicyRule {
@JsonProperty(value = "protocols")
private List<FirewallPolicyRuleApplicationProtocol> protocols;

/**
* List of Urls for this rule condition.
*/
@JsonProperty(value = "targetUrls")
private List<String> targetUrls;

/**
* List of FQDNs for this rule.
*/
Expand All @@ -61,12 +55,6 @@ public class ApplicationRule extends FirewallPolicyRule {
@JsonProperty(value = "sourceIpGroups")
private List<String> sourceIpGroups;

/**
* Terminate TLS connections for this rule.
*/
@JsonProperty(value = "terminateTLS")
private Boolean terminateTLS;

/**
* Get list of source IP addresses for this rule.
*
Expand Down Expand Up @@ -127,26 +115,6 @@ public ApplicationRule withProtocols(List<FirewallPolicyRuleApplicationProtocol>
return this;
}

/**
* Get list of Urls for this rule condition.
*
* @return the targetUrls value
*/
public List<String> targetUrls() {
return this.targetUrls;
}

/**
* Set list of Urls for this rule condition.
*
* @param targetUrls the targetUrls value to set
* @return the ApplicationRule object itself.
*/
public ApplicationRule withTargetUrls(List<String> targetUrls) {
this.targetUrls = targetUrls;
return this;
}

/**
* Get list of FQDNs for this rule.
*
Expand Down Expand Up @@ -207,24 +175,4 @@ public ApplicationRule withSourceIpGroups(List<String> sourceIpGroups) {
return this;
}

/**
* Get terminate TLS connections for this rule.
*
* @return the terminateTLS value
*/
public Boolean terminateTLS() {
return this.terminateTLS;
}

/**
* Set terminate TLS connections for this rule.
*
* @param terminateTLS the terminateTLS value to set
* @return the ApplicationRule object itself.
*/
public ApplicationRule withTerminateTLS(Boolean terminateTLS) {
this.terminateTLS = terminateTLS;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,6 @@ public interface FirewallPolicy extends HasInner<FirewallPolicyInner>, Resource,
*/
List<SubResource> firewalls();

/**
* @return the identity value.
*/
ManagedServiceIdentity identity();

/**
* @return the intrusionSystemMode value.
*/
FirewallPolicyIntrusionSystemMode intrusionSystemMode();

/**
* @return the provisioningState value.
*/
Expand All @@ -81,11 +71,6 @@ public interface FirewallPolicy extends HasInner<FirewallPolicyInner>, Resource,
*/
FirewallPolicyThreatIntelWhitelist threatIntelWhitelist();

/**
* @return the transportSecurity value.
*/
FirewallPolicyTransportSecurity transportSecurity();

/**
* The entirety of the FirewallPolicy definition.
*/
Expand Down Expand Up @@ -132,30 +117,6 @@ interface WithDnsSettings {
WithCreate withDnsSettings(DnsSettings dnsSettings);
}

/**
* The stage of the firewallpolicy definition allowing to specify Identity.
*/
interface WithIdentity {
/**
* Specifies identity.
* @param identity The identity of the firewall policy
* @return the next definition stage
*/
WithCreate withIdentity(ManagedServiceIdentity identity);
}

/**
* The stage of the firewallpolicy definition allowing to specify IntrusionSystemMode.
*/
interface WithIntrusionSystemMode {
/**
* Specifies intrusionSystemMode.
* @param intrusionSystemMode The operation mode for Intrusion system. Possible values include: 'Enabled', 'Disabled'
* @return the next definition stage
*/
WithCreate withIntrusionSystemMode(FirewallPolicyIntrusionSystemMode intrusionSystemMode);
}

/**
* The stage of the firewallpolicy definition allowing to specify ThreatIntelMode.
*/
Expand All @@ -180,30 +141,18 @@ interface WithThreatIntelWhitelist {
WithCreate withThreatIntelWhitelist(FirewallPolicyThreatIntelWhitelist threatIntelWhitelist);
}

/**
* The stage of the firewallpolicy definition allowing to specify TransportSecurity.
*/
interface WithTransportSecurity {
/**
* Specifies transportSecurity.
* @param transportSecurity TLS Configuration definition
* @return the next definition stage
*/
WithCreate withTransportSecurity(FirewallPolicyTransportSecurity transportSecurity);
}

/**
* The stage of the definition which contains all the minimum required inputs for
* the resource to be created (via {@link WithCreate#create()}), but also allows
* for any other optional settings to be specified.
*/
interface WithCreate extends Creatable<FirewallPolicy>, Resource.DefinitionWithTags<WithCreate>, DefinitionStages.WithBasePolicy, DefinitionStages.WithDnsSettings, DefinitionStages.WithIdentity, DefinitionStages.WithIntrusionSystemMode, DefinitionStages.WithThreatIntelMode, DefinitionStages.WithThreatIntelWhitelist, DefinitionStages.WithTransportSecurity {
interface WithCreate extends Creatable<FirewallPolicy>, Resource.DefinitionWithTags<WithCreate>, DefinitionStages.WithBasePolicy, DefinitionStages.WithDnsSettings, DefinitionStages.WithThreatIntelMode, DefinitionStages.WithThreatIntelWhitelist {
}
}
/**
* The template for a FirewallPolicy update operation, containing all the settings that can be modified.
*/
interface Update extends Appliable<FirewallPolicy>, Resource.UpdateWithTags<Update>, UpdateStages.WithBasePolicy, UpdateStages.WithDnsSettings, UpdateStages.WithIdentity, UpdateStages.WithIntrusionSystemMode, UpdateStages.WithThreatIntelMode, UpdateStages.WithThreatIntelWhitelist, UpdateStages.WithTransportSecurity {
interface Update extends Appliable<FirewallPolicy>, Resource.UpdateWithTags<Update>, UpdateStages.WithBasePolicy, UpdateStages.WithDnsSettings, UpdateStages.WithThreatIntelMode, UpdateStages.WithThreatIntelWhitelist {
}

/**
Expand Down Expand Up @@ -234,30 +183,6 @@ interface WithDnsSettings {
Update withDnsSettings(DnsSettings dnsSettings);
}

/**
* The stage of the firewallpolicy update allowing to specify Identity.
*/
interface WithIdentity {
/**
* Specifies identity.
* @param identity The identity of the firewall policy
* @return the next update stage
*/
Update withIdentity(ManagedServiceIdentity identity);
}

/**
* The stage of the firewallpolicy update allowing to specify IntrusionSystemMode.
*/
interface WithIntrusionSystemMode {
/**
* Specifies intrusionSystemMode.
* @param intrusionSystemMode The operation mode for Intrusion system. Possible values include: 'Enabled', 'Disabled'
* @return the next update stage
*/
Update withIntrusionSystemMode(FirewallPolicyIntrusionSystemMode intrusionSystemMode);
}

/**
* The stage of the firewallpolicy update allowing to specify ThreatIntelMode.
*/
Expand All @@ -282,17 +207,5 @@ interface WithThreatIntelWhitelist {
Update withThreatIntelWhitelist(FirewallPolicyThreatIntelWhitelist threatIntelWhitelist);
}

/**
* The stage of the firewallpolicy update allowing to specify TransportSecurity.
*/
interface WithTransportSecurity {
/**
* Specifies transportSecurity.
* @param transportSecurity TLS Configuration definition
* @return the next update stage
*/
Update withTransportSecurity(FirewallPolicyTransportSecurity transportSecurity);
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,20 @@
*/
public class HubPublicIPAddresses {
/**
* The number of Public IP addresses associated with azure firewall.
* The list of Public IP addresses associated with azure firewall or IP
* addresses to be retained.
*/
@JsonProperty(value = "addresses")
private List<AzureFirewallPublicIPAddress> addresses;

/**
* Private IP Address associated with azure firewall.
* The number of Public IP addresses associated with azure firewall.
*/
@JsonProperty(value = "count")
private Integer count;

/**
* Get the number of Public IP addresses associated with azure firewall.
* Get the list of Public IP addresses associated with azure firewall or IP addresses to be retained.
*
* @return the addresses value
*/
Expand All @@ -37,7 +38,7 @@ public List<AzureFirewallPublicIPAddress> addresses() {
}

/**
* Set the number of Public IP addresses associated with azure firewall.
* Set the list of Public IP addresses associated with azure firewall or IP addresses to be retained.
*
* @param addresses the addresses value to set
* @return the HubPublicIPAddresses object itself.
Expand All @@ -48,7 +49,7 @@ public HubPublicIPAddresses withAddresses(List<AzureFirewallPublicIPAddress> add
}

/**
* Get private IP Address associated with azure firewall.
* Get the number of Public IP addresses associated with azure firewall.
*
* @return the count value
*/
Expand All @@ -57,7 +58,7 @@ public Integer count() {
}

/**
* Set private IP Address associated with azure firewall.
* Set the number of Public IP addresses associated with azure firewall.
*
* @param count the count value to set
* @return the HubPublicIPAddresses object itself.
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_05_01;

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.management.network.v2020_05_01.implementation.ResourceNavigationLinkInner;
import com.microsoft.azure.management.network.v2020_05_01.implementation.ServiceAssociationLinkInner;
import com.microsoft.azure.management.network.v2020_05_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 @@ -20,18 +20,18 @@
*/
@JsonFlatten
public class BackendAddressPoolInner extends SubResource {
/**
* An array of references to IP addresses defined in network interfaces.
*/
@JsonProperty(value = "properties.backendIPConfigurations", access = JsonProperty.Access.WRITE_ONLY)
private List<NetworkInterfaceIPConfigurationInner> backendIPConfigurations;

/**
* An array of backend addresses.
*/
@JsonProperty(value = "properties.loadBalancerBackendAddresses")
private List<LoadBalancerBackendAddress> loadBalancerBackendAddresses;

/**
* An array of references to IP addresses defined in network interfaces.
*/
@JsonProperty(value = "properties.backendIPConfigurations", access = JsonProperty.Access.WRITE_ONLY)
private List<NetworkInterfaceIPConfigurationInner> backendIPConfigurations;

/**
* An array of references to load balancing rules that use this backend
* address pool.
Expand Down Expand Up @@ -79,15 +79,6 @@ public class BackendAddressPoolInner extends SubResource {
@JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY)
private String type;

/**
* Get an array of references to IP addresses defined in network interfaces.
*
* @return the backendIPConfigurations value
*/
public List<NetworkInterfaceIPConfigurationInner> backendIPConfigurations() {
return this.backendIPConfigurations;
}

/**
* Get an array of backend addresses.
*
Expand All @@ -108,6 +99,15 @@ public BackendAddressPoolInner withLoadBalancerBackendAddresses(List<LoadBalance
return this;
}

/**
* Get an array of references to IP addresses defined in network interfaces.
*
* @return the backendIPConfigurations value
*/
public List<NetworkInterfaceIPConfigurationInner> backendIPConfigurations() {
return this.backendIPConfigurations;
}

/**
* Get an array of references to load balancing rules that use this backend address pool.
*
Expand Down
Loading