Skip to content

Commit 63c3f58

Browse files
author
SDK Automation
committed
Generated from bdb0cc6fc024a1e0f394acc54df0cc6e3d1fd925
delete the MasterCustomIpPrefix swagger examples
1 parent c389612 commit 63c3f58

File tree

10 files changed

+315
-338
lines changed

10 files changed

+315
-338
lines changed

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

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ 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+
4046
/**
4147
* List of FQDNs for this rule condition.
4248
*/
@@ -115,6 +121,26 @@ public ApplicationRuleCondition withProtocols(List<FirewallPolicyRuleConditionAp
115121
return this;
116122
}
117123

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+
118144
/**
119145
* Get list of FQDNs for this rule condition.
120146
*

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

Lines changed: 89 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,16 @@ 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+
4959
/**
5060
* @return the provisioningState value.
5161
*/
@@ -66,6 +76,11 @@ public interface FirewallPolicy extends HasInner<FirewallPolicyInner>, Resource,
6676
*/
6777
FirewallPolicyThreatIntelWhitelist threatIntelWhitelist();
6878

79+
/**
80+
* @return the transportSecurity value.
81+
*/
82+
FirewallPolicyTransportSecurity transportSecurity();
83+
6984
/**
7085
* The entirety of the FirewallPolicy definition.
7186
*/
@@ -100,6 +115,30 @@ interface WithBasePolicy {
100115
WithCreate withBasePolicy(SubResource basePolicy);
101116
}
102117

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+
103142
/**
104143
* The stage of the firewallpolicy definition allowing to specify ThreatIntelMode.
105144
*/
@@ -124,18 +163,30 @@ interface WithThreatIntelWhitelist {
124163
WithCreate withThreatIntelWhitelist(FirewallPolicyThreatIntelWhitelist threatIntelWhitelist);
125164
}
126165

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+
127178
/**
128179
* The stage of the definition which contains all the minimum required inputs for
129180
* the resource to be created (via {@link WithCreate#create()}), but also allows
130181
* for any other optional settings to be specified.
131182
*/
132-
interface WithCreate extends Creatable<FirewallPolicy>, Resource.DefinitionWithTags<WithCreate>, DefinitionStages.WithBasePolicy, DefinitionStages.WithThreatIntelMode, DefinitionStages.WithThreatIntelWhitelist {
183+
interface WithCreate extends Creatable<FirewallPolicy>, Resource.DefinitionWithTags<WithCreate>, DefinitionStages.WithBasePolicy, DefinitionStages.WithIdentity, DefinitionStages.WithIntrusionSystemMode, DefinitionStages.WithThreatIntelMode, DefinitionStages.WithThreatIntelWhitelist, DefinitionStages.WithTransportSecurity {
133184
}
134185
}
135186
/**
136187
* The template for a FirewallPolicy update operation, containing all the settings that can be modified.
137188
*/
138-
interface Update extends Appliable<FirewallPolicy>, Resource.UpdateWithTags<Update>, UpdateStages.WithBasePolicy, UpdateStages.WithThreatIntelMode, UpdateStages.WithThreatIntelWhitelist {
189+
interface Update extends Appliable<FirewallPolicy>, Resource.UpdateWithTags<Update>, UpdateStages.WithBasePolicy, UpdateStages.WithIdentity, UpdateStages.WithIntrusionSystemMode, UpdateStages.WithThreatIntelMode, UpdateStages.WithThreatIntelWhitelist, UpdateStages.WithTransportSecurity {
139190
}
140191

141192
/**
@@ -154,6 +205,30 @@ interface WithBasePolicy {
154205
Update withBasePolicy(SubResource basePolicy);
155206
}
156207

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+
157232
/**
158233
* The stage of the firewallpolicy update allowing to specify ThreatIntelMode.
159234
*/
@@ -178,5 +253,17 @@ interface WithThreatIntelWhitelist {
178253
Update withThreatIntelWhitelist(FirewallPolicyThreatIntelWhitelist threatIntelWhitelist);
179254
}
180255

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+
181268
}
182269
}

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
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;
2122

2223
/**
2324
* Type representing HubRouteTable.
@@ -26,7 +27,7 @@ public interface HubRouteTable extends HasInner<HubRouteTableInner>, Indexable,
2627
/**
2728
* @return the associatedConnections value.
2829
*/
29-
List<String> associatedConnections();
30+
List<SubResource> associatedConnections();
3031

3132
/**
3233
* @return the etag value.
@@ -51,7 +52,7 @@ public interface HubRouteTable extends HasInner<HubRouteTableInner>, Indexable,
5152
/**
5253
* @return the propagatingConnections value.
5354
*/
54-
List<String> propagatingConnections();
55+
List<SubResource> propagatingConnections();
5556

5657
/**
5758
* @return the provisioningState value.

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

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ 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+
5258
/**
5359
* Get array of FirewallPolicyRuleConditionNetworkProtocols.
5460
*
@@ -149,4 +155,24 @@ public NatRuleCondition withSourceIpGroups(List<String> sourceIpGroups) {
149155
return this;
150156
}
151157

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+
152178
}

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 backend addresses.
25-
*/
26-
@JsonProperty(value = "properties.loadBalancerBackendAddresses")
27-
private List<LoadBalancerBackendAddress> loadBalancerBackendAddresses;
28-
2923
/**
3024
* An array of references to IP addresses defined in network interfaces.
3125
*/
3226
@JsonProperty(value = "properties.backendIPConfigurations", access = JsonProperty.Access.WRITE_ONLY)
3327
private List<NetworkInterfaceIPConfigurationInner> backendIPConfigurations;
3428

29+
/**
30+
* An array of backend addresses.
31+
*/
32+
@JsonProperty(value = "properties.loadBalancerBackendAddresses")
33+
private List<LoadBalancerBackendAddress> loadBalancerBackendAddresses;
34+
3535
/**
3636
* An array of references to load balancing rules that use this backend
3737
* address pool.
@@ -79,6 +79,15 @@ 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+
8291
/**
8392
* Get an array of backend addresses.
8493
*
@@ -99,15 +108,6 @@ public BackendAddressPoolInner withLoadBalancerBackendAddresses(List<LoadBalance
99108
return this;
100109
}
101110

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
*

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

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
import com.microsoft.azure.management.network.v2020_04_01.ProvisioningState;
1717
import com.microsoft.azure.management.network.v2020_04_01.AzureFirewallThreatIntelMode;
1818
import com.microsoft.azure.management.network.v2020_04_01.FirewallPolicyThreatIntelWhitelist;
19+
import com.microsoft.azure.management.network.v2020_04_01.FirewallPolicyIntrusionSystemMode;
20+
import com.microsoft.azure.management.network.v2020_04_01.FirewallPolicyTransportSecurity;
21+
import com.microsoft.azure.management.network.v2020_04_01.ManagedServiceIdentity;
1922

2023
class FirewallPolicyImpl extends GroupableResourceCoreImpl<FirewallPolicy, FirewallPolicyInner, FirewallPolicyImpl, NetworkManager> implements FirewallPolicy, FirewallPolicy.Definition, FirewallPolicy.Update {
2124
FirewallPolicyImpl(String name, FirewallPolicyInner inner, NetworkManager manager) {
@@ -68,6 +71,16 @@ public List<SubResource> firewalls() {
6871
return this.inner().firewalls();
6972
}
7073

74+
@Override
75+
public ManagedServiceIdentity identity() {
76+
return this.inner().identity();
77+
}
78+
79+
@Override
80+
public FirewallPolicyIntrusionSystemMode intrusionSystemMode() {
81+
return this.inner().intrusionSystemMode();
82+
}
83+
7184
@Override
7285
public ProvisioningState provisioningState() {
7386
return this.inner().provisioningState();
@@ -88,12 +101,29 @@ public FirewallPolicyThreatIntelWhitelist threatIntelWhitelist() {
88101
return this.inner().threatIntelWhitelist();
89102
}
90103

104+
@Override
105+
public FirewallPolicyTransportSecurity transportSecurity() {
106+
return this.inner().transportSecurity();
107+
}
108+
91109
@Override
92110
public FirewallPolicyImpl withBasePolicy(SubResource basePolicy) {
93111
this.inner().withBasePolicy(basePolicy);
94112
return this;
95113
}
96114

115+
@Override
116+
public FirewallPolicyImpl withIdentity(ManagedServiceIdentity identity) {
117+
this.inner().withIdentity(identity);
118+
return this;
119+
}
120+
121+
@Override
122+
public FirewallPolicyImpl withIntrusionSystemMode(FirewallPolicyIntrusionSystemMode intrusionSystemMode) {
123+
this.inner().withIntrusionSystemMode(intrusionSystemMode);
124+
return this;
125+
}
126+
97127
@Override
98128
public FirewallPolicyImpl withThreatIntelMode(AzureFirewallThreatIntelMode threatIntelMode) {
99129
this.inner().withThreatIntelMode(threatIntelMode);
@@ -106,4 +136,10 @@ public FirewallPolicyImpl withThreatIntelWhitelist(FirewallPolicyThreatIntelWhit
106136
return this;
107137
}
108138

139+
@Override
140+
public FirewallPolicyImpl withTransportSecurity(FirewallPolicyTransportSecurity transportSecurity) {
141+
this.inner().withTransportSecurity(transportSecurity);
142+
return this;
143+
}
144+
109145
}

0 commit comments

Comments
 (0)