Skip to content

Commit 9ecdfe8

Browse files
author
SDK Automation
committed
Update from master
1 parent 3987ce0 commit 9ecdfe8

File tree

13 files changed

+348
-339
lines changed

13 files changed

+348
-339
lines changed

sdk/network/mgmt-v2020_04_01/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
<parent>
1212
<groupId>com.microsoft.azure</groupId>
1313
<artifactId>azure-arm-parent</artifactId>
14-
<version>1.3.0</version>
15-
<relativePath>../../parents/azure-arm-parent</relativePath>
14+
<version>1.1.0</version>
15+
<relativePath>../../../pom.management.xml</relativePath>
1616
</parent>
1717
<artifactId>azure-mgmt-network</artifactId>
18-
<version>1.0.0-beta-1</version>
18+
<version>1.0.0-beta</version>
1919
<packaging>jar</packaging>
2020
<name>Microsoft Azure SDK for Network Management</name>
2121
<description>This package contains Microsoft Network Management SDK.</description>

sdk/network/mgmt-v2020_04_01/src/main/java/com/microsoft/azure/management/network/v2020_04_01/ApplicationRuleCondition.java

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,6 @@ public class ApplicationRuleCondition extends FirewallPolicyRuleCondition {
3737
@JsonProperty(value = "protocols")
3838
private List<FirewallPolicyRuleConditionApplicationProtocol> protocols;
3939

40-
/**
41-
* List of Urls for this rule condition.
42-
*/
43-
@JsonProperty(value = "targetUrls")
44-
private List<String> targetUrls;
45-
4640
/**
4741
* List of FQDNs for this rule condition.
4842
*/
@@ -121,26 +115,6 @@ public ApplicationRuleCondition withProtocols(List<FirewallPolicyRuleConditionAp
121115
return this;
122116
}
123117

124-
/**
125-
* Get list of Urls for this rule condition.
126-
*
127-
* @return the targetUrls value
128-
*/
129-
public List<String> targetUrls() {
130-
return this.targetUrls;
131-
}
132-
133-
/**
134-
* Set list of Urls for this rule condition.
135-
*
136-
* @param targetUrls the targetUrls value to set
137-
* @return the ApplicationRuleCondition object itself.
138-
*/
139-
public ApplicationRuleCondition withTargetUrls(List<String> targetUrls) {
140-
this.targetUrls = targetUrls;
141-
return this;
142-
}
143-
144118
/**
145119
* Get list of FQDNs for this rule condition.
146120
*

sdk/network/mgmt-v2020_04_01/src/main/java/com/microsoft/azure/management/network/v2020_04_01/FirewallPolicy.java

Lines changed: 2 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,6 @@ public interface FirewallPolicy extends HasInner<FirewallPolicyInner>, Resource,
4646
*/
4747
List<SubResource> firewalls();
4848

49-
/**
50-
* @return the identity value.
51-
*/
52-
ManagedServiceIdentity identity();
53-
54-
/**
55-
* @return the intrusionSystemMode value.
56-
*/
57-
FirewallPolicyIntrusionSystemMode intrusionSystemMode();
58-
5949
/**
6050
* @return the provisioningState value.
6151
*/
@@ -76,11 +66,6 @@ public interface FirewallPolicy extends HasInner<FirewallPolicyInner>, Resource,
7666
*/
7767
FirewallPolicyThreatIntelWhitelist threatIntelWhitelist();
7868

79-
/**
80-
* @return the transportSecurity value.
81-
*/
82-
FirewallPolicyTransportSecurity transportSecurity();
83-
8469
/**
8570
* The entirety of the FirewallPolicy definition.
8671
*/
@@ -115,30 +100,6 @@ interface WithBasePolicy {
115100
WithCreate withBasePolicy(SubResource basePolicy);
116101
}
117102

118-
/**
119-
* The stage of the firewallpolicy definition allowing to specify Identity.
120-
*/
121-
interface WithIdentity {
122-
/**
123-
* Specifies identity.
124-
* @param identity The identity of the firewall policy
125-
* @return the next definition stage
126-
*/
127-
WithCreate withIdentity(ManagedServiceIdentity identity);
128-
}
129-
130-
/**
131-
* The stage of the firewallpolicy definition allowing to specify IntrusionSystemMode.
132-
*/
133-
interface WithIntrusionSystemMode {
134-
/**
135-
* Specifies intrusionSystemMode.
136-
* @param intrusionSystemMode The operation mode for Intrusion system. Possible values include: 'Enabled', 'Disabled'
137-
* @return the next definition stage
138-
*/
139-
WithCreate withIntrusionSystemMode(FirewallPolicyIntrusionSystemMode intrusionSystemMode);
140-
}
141-
142103
/**
143104
* The stage of the firewallpolicy definition allowing to specify ThreatIntelMode.
144105
*/
@@ -163,30 +124,18 @@ interface WithThreatIntelWhitelist {
163124
WithCreate withThreatIntelWhitelist(FirewallPolicyThreatIntelWhitelist threatIntelWhitelist);
164125
}
165126

166-
/**
167-
* The stage of the firewallpolicy definition allowing to specify TransportSecurity.
168-
*/
169-
interface WithTransportSecurity {
170-
/**
171-
* Specifies transportSecurity.
172-
* @param transportSecurity TLS Configuration definition
173-
* @return the next definition stage
174-
*/
175-
WithCreate withTransportSecurity(FirewallPolicyTransportSecurity transportSecurity);
176-
}
177-
178127
/**
179128
* The stage of the definition which contains all the minimum required inputs for
180129
* the resource to be created (via {@link WithCreate#create()}), but also allows
181130
* for any other optional settings to be specified.
182131
*/
183-
interface WithCreate extends Creatable<FirewallPolicy>, Resource.DefinitionWithTags<WithCreate>, DefinitionStages.WithBasePolicy, DefinitionStages.WithIdentity, DefinitionStages.WithIntrusionSystemMode, DefinitionStages.WithThreatIntelMode, DefinitionStages.WithThreatIntelWhitelist, DefinitionStages.WithTransportSecurity {
132+
interface WithCreate extends Creatable<FirewallPolicy>, Resource.DefinitionWithTags<WithCreate>, DefinitionStages.WithBasePolicy, DefinitionStages.WithThreatIntelMode, DefinitionStages.WithThreatIntelWhitelist {
184133
}
185134
}
186135
/**
187136
* The template for a FirewallPolicy update operation, containing all the settings that can be modified.
188137
*/
189-
interface Update extends Appliable<FirewallPolicy>, Resource.UpdateWithTags<Update>, UpdateStages.WithBasePolicy, UpdateStages.WithIdentity, UpdateStages.WithIntrusionSystemMode, UpdateStages.WithThreatIntelMode, UpdateStages.WithThreatIntelWhitelist, UpdateStages.WithTransportSecurity {
138+
interface Update extends Appliable<FirewallPolicy>, Resource.UpdateWithTags<Update>, UpdateStages.WithBasePolicy, UpdateStages.WithThreatIntelMode, UpdateStages.WithThreatIntelWhitelist {
190139
}
191140

192141
/**
@@ -205,30 +154,6 @@ interface WithBasePolicy {
205154
Update withBasePolicy(SubResource basePolicy);
206155
}
207156

208-
/**
209-
* The stage of the firewallpolicy update allowing to specify Identity.
210-
*/
211-
interface WithIdentity {
212-
/**
213-
* Specifies identity.
214-
* @param identity The identity of the firewall policy
215-
* @return the next update stage
216-
*/
217-
Update withIdentity(ManagedServiceIdentity identity);
218-
}
219-
220-
/**
221-
* The stage of the firewallpolicy update allowing to specify IntrusionSystemMode.
222-
*/
223-
interface WithIntrusionSystemMode {
224-
/**
225-
* Specifies intrusionSystemMode.
226-
* @param intrusionSystemMode The operation mode for Intrusion system. Possible values include: 'Enabled', 'Disabled'
227-
* @return the next update stage
228-
*/
229-
Update withIntrusionSystemMode(FirewallPolicyIntrusionSystemMode intrusionSystemMode);
230-
}
231-
232157
/**
233158
* The stage of the firewallpolicy update allowing to specify ThreatIntelMode.
234159
*/
@@ -253,17 +178,5 @@ interface WithThreatIntelWhitelist {
253178
Update withThreatIntelWhitelist(FirewallPolicyThreatIntelWhitelist threatIntelWhitelist);
254179
}
255180

256-
/**
257-
* The stage of the firewallpolicy update allowing to specify TransportSecurity.
258-
*/
259-
interface WithTransportSecurity {
260-
/**
261-
* Specifies transportSecurity.
262-
* @param transportSecurity TLS Configuration definition
263-
* @return the next update stage
264-
*/
265-
Update withTransportSecurity(FirewallPolicyTransportSecurity transportSecurity);
266-
}
267-
268181
}
269182
}

sdk/network/mgmt-v2020_04_01/src/main/java/com/microsoft/azure/management/network/v2020_04_01/HubRouteTable.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
import com.microsoft.azure.arm.resources.models.HasManager;
1919
import com.microsoft.azure.management.network.v2020_04_01.implementation.NetworkManager;
2020
import java.util.List;
21-
import com.microsoft.azure.SubResource;
2221

2322
/**
2423
* Type representing HubRouteTable.
@@ -27,7 +26,7 @@ public interface HubRouteTable extends HasInner<HubRouteTableInner>, Indexable,
2726
/**
2827
* @return the associatedConnections value.
2928
*/
30-
List<SubResource> associatedConnections();
29+
List<String> associatedConnections();
3130

3231
/**
3332
* @return the etag value.
@@ -52,7 +51,7 @@ public interface HubRouteTable extends HasInner<HubRouteTableInner>, Indexable,
5251
/**
5352
* @return the propagatingConnections value.
5453
*/
55-
List<SubResource> propagatingConnections();
54+
List<String> propagatingConnections();
5655

5756
/**
5857
* @return the provisioningState value.

sdk/network/mgmt-v2020_04_01/src/main/java/com/microsoft/azure/management/network/v2020_04_01/LoadBalancerBackendAddress.java

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88

99
package com.microsoft.azure.management.network.v2020_04_01;
1010

11-
import com.microsoft.azure.management.network.v2020_04_01.implementation.VirtualNetworkInner;
12-
import com.microsoft.azure.management.network.v2020_04_01.implementation.NetworkInterfaceIPConfigurationInner;
11+
import com.microsoft.azure.SubResource;
1312
import com.fasterxml.jackson.annotation.JsonProperty;
1413
import com.microsoft.rest.serializer.JsonFlatten;
1514

@@ -22,7 +21,7 @@ public class LoadBalancerBackendAddress {
2221
* Reference to an existing virtual network.
2322
*/
2423
@JsonProperty(value = "properties.virtualNetwork")
25-
private VirtualNetworkInner virtualNetwork;
24+
private SubResource virtualNetwork;
2625

2726
/**
2827
* IP Address belonging to the referenced virtual network.
@@ -33,8 +32,8 @@ public class LoadBalancerBackendAddress {
3332
/**
3433
* Reference to IP address defined in network interfaces.
3534
*/
36-
@JsonProperty(value = "properties.networkInterfaceIPConfiguration")
37-
private NetworkInterfaceIPConfigurationInner networkInterfaceIPConfiguration;
35+
@JsonProperty(value = "properties.networkInterfaceIPConfiguration", access = JsonProperty.Access.WRITE_ONLY)
36+
private SubResource networkInterfaceIPConfiguration;
3837

3938
/**
4039
* Name of the backend address.
@@ -47,7 +46,7 @@ public class LoadBalancerBackendAddress {
4746
*
4847
* @return the virtualNetwork value
4948
*/
50-
public VirtualNetworkInner virtualNetwork() {
49+
public SubResource virtualNetwork() {
5150
return this.virtualNetwork;
5251
}
5352

@@ -57,7 +56,7 @@ public VirtualNetworkInner virtualNetwork() {
5756
* @param virtualNetwork the virtualNetwork value to set
5857
* @return the LoadBalancerBackendAddress object itself.
5958
*/
60-
public LoadBalancerBackendAddress withVirtualNetwork(VirtualNetworkInner virtualNetwork) {
59+
public LoadBalancerBackendAddress withVirtualNetwork(SubResource virtualNetwork) {
6160
this.virtualNetwork = virtualNetwork;
6261
return this;
6362
}
@@ -87,21 +86,10 @@ public LoadBalancerBackendAddress withIpAddress(String ipAddress) {
8786
*
8887
* @return the networkInterfaceIPConfiguration value
8988
*/
90-
public NetworkInterfaceIPConfigurationInner networkInterfaceIPConfiguration() {
89+
public SubResource networkInterfaceIPConfiguration() {
9190
return this.networkInterfaceIPConfiguration;
9291
}
9392

94-
/**
95-
* Set reference to IP address defined in network interfaces.
96-
*
97-
* @param networkInterfaceIPConfiguration the networkInterfaceIPConfiguration value to set
98-
* @return the LoadBalancerBackendAddress object itself.
99-
*/
100-
public LoadBalancerBackendAddress withNetworkInterfaceIPConfiguration(NetworkInterfaceIPConfigurationInner networkInterfaceIPConfiguration) {
101-
this.networkInterfaceIPConfiguration = networkInterfaceIPConfiguration;
102-
return this;
103-
}
104-
10593
/**
10694
* Get name of the backend address.
10795
*

sdk/network/mgmt-v2020_04_01/src/main/java/com/microsoft/azure/management/network/v2020_04_01/NatRuleCondition.java

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,6 @@ public class NatRuleCondition extends FirewallPolicyRuleCondition {
4949
@JsonProperty(value = "sourceIpGroups")
5050
private List<String> sourceIpGroups;
5151

52-
/**
53-
* Terminate TLS connections for this rule.
54-
*/
55-
@JsonProperty(value = "terminateTLS")
56-
private Boolean terminateTLS;
57-
5852
/**
5953
* Get array of FirewallPolicyRuleConditionNetworkProtocols.
6054
*
@@ -155,24 +149,4 @@ public NatRuleCondition withSourceIpGroups(List<String> sourceIpGroups) {
155149
return this;
156150
}
157151

158-
/**
159-
* Get terminate TLS connections for this rule.
160-
*
161-
* @return the terminateTLS value
162-
*/
163-
public Boolean terminateTLS() {
164-
return this.terminateTLS;
165-
}
166-
167-
/**
168-
* Set terminate TLS connections for this rule.
169-
*
170-
* @param terminateTLS the terminateTLS value to set
171-
* @return the NatRuleCondition object itself.
172-
*/
173-
public NatRuleCondition withTerminateTLS(Boolean terminateTLS) {
174-
this.terminateTLS = terminateTLS;
175-
return this;
176-
}
177-
178152
}

sdk/network/mgmt-v2020_04_01/src/main/java/com/microsoft/azure/management/network/v2020_04_01/Subnet.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
package com.microsoft.azure.management.network.v2020_04_01;
1010

1111
import com.microsoft.azure.arm.model.HasInner;
12-
import com.microsoft.azure.management.network.v2020_04_01.implementation.ResourceNavigationLinkInner;
13-
import com.microsoft.azure.management.network.v2020_04_01.implementation.ServiceAssociationLinkInner;
1412
import com.microsoft.azure.management.network.v2020_04_01.implementation.SubnetInner;
1513
import com.microsoft.azure.arm.model.Indexable;
1614
import com.microsoft.azure.arm.model.Refreshable;

sdk/network/mgmt-v2020_04_01/src/main/java/com/microsoft/azure/management/network/v2020_04_01/implementation/BackendAddressPoolInner.java

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@
2020
*/
2121
@JsonFlatten
2222
public class BackendAddressPoolInner extends SubResource {
23-
/**
24-
* An array of references to IP addresses defined in network interfaces.
25-
*/
26-
@JsonProperty(value = "properties.backendIPConfigurations", access = JsonProperty.Access.WRITE_ONLY)
27-
private List<NetworkInterfaceIPConfigurationInner> backendIPConfigurations;
28-
2923
/**
3024
* An array of backend addresses.
3125
*/
3226
@JsonProperty(value = "properties.loadBalancerBackendAddresses")
3327
private List<LoadBalancerBackendAddress> loadBalancerBackendAddresses;
3428

29+
/**
30+
* An array of references to IP addresses defined in network interfaces.
31+
*/
32+
@JsonProperty(value = "properties.backendIPConfigurations", access = JsonProperty.Access.WRITE_ONLY)
33+
private List<NetworkInterfaceIPConfigurationInner> backendIPConfigurations;
34+
3535
/**
3636
* An array of references to load balancing rules that use this backend
3737
* address pool.
@@ -79,15 +79,6 @@ public class BackendAddressPoolInner extends SubResource {
7979
@JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY)
8080
private String type;
8181

82-
/**
83-
* Get an array of references to IP addresses defined in network interfaces.
84-
*
85-
* @return the backendIPConfigurations value
86-
*/
87-
public List<NetworkInterfaceIPConfigurationInner> backendIPConfigurations() {
88-
return this.backendIPConfigurations;
89-
}
90-
9182
/**
9283
* Get an array of backend addresses.
9384
*
@@ -108,6 +99,15 @@ public BackendAddressPoolInner withLoadBalancerBackendAddresses(List<LoadBalance
10899
return this;
109100
}
110101

102+
/**
103+
* Get an array of references to IP addresses defined in network interfaces.
104+
*
105+
* @return the backendIPConfigurations value
106+
*/
107+
public List<NetworkInterfaceIPConfigurationInner> backendIPConfigurations() {
108+
return this.backendIPConfigurations;
109+
}
110+
111111
/**
112112
* Get an array of references to load balancing rules that use this backend address pool.
113113
*

0 commit comments

Comments
 (0)