Skip to content

Commit af0ee9b

Browse files
author
SDK Automation
committed
Generated from a48cb1477225fd96c3d2a7891c41c68ff61bbbc1
Fixing linting issues
1 parent cfb96b3 commit af0ee9b

26 files changed

+3953
-259
lines changed

sdk/network/mgmt-v2019_09_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.2.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>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.network.v2019_09_01;
10+
11+
import java.util.Collection;
12+
import com.fasterxml.jackson.annotation.JsonCreator;
13+
import com.microsoft.rest.ExpandableStringEnum;
14+
15+
/**
16+
* Defines values for BastionConnectProtocol.
17+
*/
18+
public final class BastionConnectProtocol extends ExpandableStringEnum<BastionConnectProtocol> {
19+
/** Static value SSH for BastionConnectProtocol. */
20+
public static final BastionConnectProtocol SSH = fromString("SSH");
21+
22+
/** Static value RDP for BastionConnectProtocol. */
23+
public static final BastionConnectProtocol RDP = fromString("RDP");
24+
25+
/**
26+
* Creates or finds a BastionConnectProtocol from its string representation.
27+
* @param name a name to look for
28+
* @return the corresponding BastionConnectProtocol
29+
*/
30+
@JsonCreator
31+
public static BastionConnectProtocol fromString(String name) {
32+
return fromString(name, BastionConnectProtocol.class);
33+
}
34+
35+
/**
36+
* @return known BastionConnectProtocol values
37+
*/
38+
public static Collection<BastionConnectProtocol> values() {
39+
return values(BastionConnectProtocol.class);
40+
}
41+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.network.v2019_09_01;
10+
11+
import java.util.List;
12+
import com.microsoft.azure.management.network.v2019_09_01.implementation.BastionShareableLinkInner;
13+
import com.fasterxml.jackson.annotation.JsonProperty;
14+
15+
/**
16+
* Post request for all the Bastion Shareable Link endpoints.
17+
*/
18+
public class BastionShareableLinkListRequest {
19+
/**
20+
* List of VM references.
21+
*/
22+
@JsonProperty(value = "vms")
23+
private List<BastionShareableLinkInner> vms;
24+
25+
/**
26+
* Get list of VM references.
27+
*
28+
* @return the vms value
29+
*/
30+
public List<BastionShareableLinkInner> vms() {
31+
return this.vms;
32+
}
33+
34+
/**
35+
* Set list of VM references.
36+
*
37+
* @param vms the vms value to set
38+
* @return the BastionShareableLinkListRequest object itself.
39+
*/
40+
public BastionShareableLinkListRequest withVms(List<BastionShareableLinkInner> vms) {
41+
this.vms = vms;
42+
return this;
43+
}
44+
45+
}

sdk/network/mgmt-v2019_09_01/src/main/java/com/microsoft/azure/management/network/v2019_09_01/ConnectivityParameters.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ public class ConnectivityParameters {
3939
@JsonProperty(value = "protocolConfiguration")
4040
private ProtocolConfiguration protocolConfiguration;
4141

42+
/**
43+
* Preferred IP version of the connection. Possible values include: 'IPv4',
44+
* 'IPv6'.
45+
*/
46+
@JsonProperty(value = "preferredIPVersion")
47+
private IPVersion preferredIPVersion;
48+
4249
/**
4350
* Get describes the source of the connection.
4451
*
@@ -119,4 +126,24 @@ public ConnectivityParameters withProtocolConfiguration(ProtocolConfiguration pr
119126
return this;
120127
}
121128

129+
/**
130+
* Get preferred IP version of the connection. Possible values include: 'IPv4', 'IPv6'.
131+
*
132+
* @return the preferredIPVersion value
133+
*/
134+
public IPVersion preferredIPVersion() {
135+
return this.preferredIPVersion;
136+
}
137+
138+
/**
139+
* Set preferred IP version of the connection. Possible values include: 'IPv4', 'IPv6'.
140+
*
141+
* @param preferredIPVersion the preferredIPVersion value to set
142+
* @return the ConnectivityParameters object itself.
143+
*/
144+
public ConnectivityParameters withPreferredIPVersion(IPVersion preferredIPVersion) {
145+
this.preferredIPVersion = preferredIPVersion;
146+
return this;
147+
}
148+
122149
}

sdk/network/mgmt-v2019_09_01/src/main/java/com/microsoft/azure/management/network/v2019_09_01/ExpressRouteCircuit.java

Lines changed: 98 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,18 @@ interface WithBandwidthInGbps {
166166
WithCreate withBandwidthInGbps(Double bandwidthInGbps);
167167
}
168168

169+
/**
170+
* The stage of the expressroutecircuit definition allowing to specify CircuitProvisioningState.
171+
*/
172+
interface WithCircuitProvisioningState {
173+
/**
174+
* Specifies circuitProvisioningState.
175+
* @param circuitProvisioningState The CircuitProvisioningState state of the resource
176+
* @return the next definition stage
177+
*/
178+
WithCreate withCircuitProvisioningState(String circuitProvisioningState);
179+
}
180+
169181
/**
170182
* The stage of the expressroutecircuit definition allowing to specify ExpressRoutePort.
171183
*/
@@ -190,6 +202,18 @@ interface WithGatewayManagerEtag {
190202
WithCreate withGatewayManagerEtag(String gatewayManagerEtag);
191203
}
192204

205+
/**
206+
* The stage of the expressroutecircuit definition allowing to specify GlobalReachEnabled.
207+
*/
208+
interface WithGlobalReachEnabled {
209+
/**
210+
* Specifies globalReachEnabled.
211+
* @param globalReachEnabled Flag denoting Global reach status
212+
* @return the next definition stage
213+
*/
214+
WithCreate withGlobalReachEnabled(Boolean globalReachEnabled);
215+
}
216+
193217
/**
194218
* The stage of the expressroutecircuit definition allowing to specify Peerings.
195219
*/
@@ -202,6 +226,18 @@ interface WithPeerings {
202226
WithCreate withPeerings(List<ExpressRouteCircuitPeeringInner> peerings);
203227
}
204228

229+
/**
230+
* The stage of the expressroutecircuit definition allowing to specify ServiceKey.
231+
*/
232+
interface WithServiceKey {
233+
/**
234+
* Specifies serviceKey.
235+
* @param serviceKey The ServiceKey
236+
* @return the next definition stage
237+
*/
238+
WithCreate withServiceKey(String serviceKey);
239+
}
240+
205241
/**
206242
* The stage of the expressroutecircuit definition allowing to specify ServiceProviderNotes.
207243
*/
@@ -226,6 +262,18 @@ interface WithServiceProviderProperties {
226262
WithCreate withServiceProviderProperties(ExpressRouteCircuitServiceProviderProperties serviceProviderProperties);
227263
}
228264

265+
/**
266+
* The stage of the expressroutecircuit definition allowing to specify ServiceProviderProvisioningState.
267+
*/
268+
interface WithServiceProviderProvisioningState {
269+
/**
270+
* Specifies serviceProviderProvisioningState.
271+
* @param serviceProviderProvisioningState The ServiceProviderProvisioningState state of the resource. Possible values include: 'NotProvisioned', 'Provisioning', 'Provisioned', 'Deprovisioning'
272+
* @return the next definition stage
273+
*/
274+
WithCreate withServiceProviderProvisioningState(ServiceProviderProvisioningState serviceProviderProvisioningState);
275+
}
276+
229277
/**
230278
* The stage of the expressroutecircuit definition allowing to specify Sku.
231279
*/
@@ -243,13 +291,13 @@ interface WithSku {
243291
* the resource to be created (via {@link WithCreate#create()}), but also allows
244292
* for any other optional settings to be specified.
245293
*/
246-
interface WithCreate extends Creatable<ExpressRouteCircuit>, Resource.DefinitionWithTags<WithCreate>, DefinitionStages.WithAllowClassicOperations, DefinitionStages.WithAuthorizations, DefinitionStages.WithBandwidthInGbps, DefinitionStages.WithExpressRoutePort, DefinitionStages.WithGatewayManagerEtag, DefinitionStages.WithPeerings, DefinitionStages.WithServiceProviderNotes, DefinitionStages.WithServiceProviderProperties, DefinitionStages.WithSku {
294+
interface WithCreate extends Creatable<ExpressRouteCircuit>, Resource.DefinitionWithTags<WithCreate>, DefinitionStages.WithAllowClassicOperations, DefinitionStages.WithAuthorizations, DefinitionStages.WithBandwidthInGbps, DefinitionStages.WithCircuitProvisioningState, DefinitionStages.WithExpressRoutePort, DefinitionStages.WithGatewayManagerEtag, DefinitionStages.WithGlobalReachEnabled, DefinitionStages.WithPeerings, DefinitionStages.WithServiceKey, DefinitionStages.WithServiceProviderNotes, DefinitionStages.WithServiceProviderProperties, DefinitionStages.WithServiceProviderProvisioningState, DefinitionStages.WithSku {
247295
}
248296
}
249297
/**
250298
* The template for a ExpressRouteCircuit update operation, containing all the settings that can be modified.
251299
*/
252-
interface Update extends Appliable<ExpressRouteCircuit>, Resource.UpdateWithTags<Update>, UpdateStages.WithAllowClassicOperations, UpdateStages.WithAuthorizations, UpdateStages.WithBandwidthInGbps, UpdateStages.WithExpressRoutePort, UpdateStages.WithGatewayManagerEtag, UpdateStages.WithPeerings, UpdateStages.WithServiceProviderNotes, UpdateStages.WithServiceProviderProperties, UpdateStages.WithSku {
300+
interface Update extends Appliable<ExpressRouteCircuit>, Resource.UpdateWithTags<Update>, UpdateStages.WithAllowClassicOperations, UpdateStages.WithAuthorizations, UpdateStages.WithBandwidthInGbps, UpdateStages.WithCircuitProvisioningState, UpdateStages.WithExpressRoutePort, UpdateStages.WithGatewayManagerEtag, UpdateStages.WithGlobalReachEnabled, UpdateStages.WithPeerings, UpdateStages.WithServiceKey, UpdateStages.WithServiceProviderNotes, UpdateStages.WithServiceProviderProperties, UpdateStages.WithServiceProviderProvisioningState, UpdateStages.WithSku {
253301
}
254302

255303
/**
@@ -292,6 +340,18 @@ interface WithBandwidthInGbps {
292340
Update withBandwidthInGbps(Double bandwidthInGbps);
293341
}
294342

343+
/**
344+
* The stage of the expressroutecircuit update allowing to specify CircuitProvisioningState.
345+
*/
346+
interface WithCircuitProvisioningState {
347+
/**
348+
* Specifies circuitProvisioningState.
349+
* @param circuitProvisioningState The CircuitProvisioningState state of the resource
350+
* @return the next update stage
351+
*/
352+
Update withCircuitProvisioningState(String circuitProvisioningState);
353+
}
354+
295355
/**
296356
* The stage of the expressroutecircuit update allowing to specify ExpressRoutePort.
297357
*/
@@ -316,6 +376,18 @@ interface WithGatewayManagerEtag {
316376
Update withGatewayManagerEtag(String gatewayManagerEtag);
317377
}
318378

379+
/**
380+
* The stage of the expressroutecircuit update allowing to specify GlobalReachEnabled.
381+
*/
382+
interface WithGlobalReachEnabled {
383+
/**
384+
* Specifies globalReachEnabled.
385+
* @param globalReachEnabled Flag denoting Global reach status
386+
* @return the next update stage
387+
*/
388+
Update withGlobalReachEnabled(Boolean globalReachEnabled);
389+
}
390+
319391
/**
320392
* The stage of the expressroutecircuit update allowing to specify Peerings.
321393
*/
@@ -328,6 +400,18 @@ interface WithPeerings {
328400
Update withPeerings(List<ExpressRouteCircuitPeeringInner> peerings);
329401
}
330402

403+
/**
404+
* The stage of the expressroutecircuit update allowing to specify ServiceKey.
405+
*/
406+
interface WithServiceKey {
407+
/**
408+
* Specifies serviceKey.
409+
* @param serviceKey The ServiceKey
410+
* @return the next update stage
411+
*/
412+
Update withServiceKey(String serviceKey);
413+
}
414+
331415
/**
332416
* The stage of the expressroutecircuit update allowing to specify ServiceProviderNotes.
333417
*/
@@ -352,6 +436,18 @@ interface WithServiceProviderProperties {
352436
Update withServiceProviderProperties(ExpressRouteCircuitServiceProviderProperties serviceProviderProperties);
353437
}
354438

439+
/**
440+
* The stage of the expressroutecircuit update allowing to specify ServiceProviderProvisioningState.
441+
*/
442+
interface WithServiceProviderProvisioningState {
443+
/**
444+
* Specifies serviceProviderProvisioningState.
445+
* @param serviceProviderProvisioningState The ServiceProviderProvisioningState state of the resource. Possible values include: 'NotProvisioned', 'Provisioning', 'Provisioned', 'Deprovisioning'
446+
* @return the next update stage
447+
*/
448+
Update withServiceProviderProvisioningState(ServiceProviderProvisioningState serviceProviderProvisioningState);
449+
}
450+
355451
/**
356452
* The stage of the expressroutecircuit update allowing to specify Sku.
357453
*/

sdk/network/mgmt-v2019_09_01/src/main/java/com/microsoft/azure/management/network/v2019_09_01/ExpressRouteCircuitAuthorization.java

Lines changed: 50 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,30 @@ interface WithExpressRouteCircuit {
8686
WithCreate withExistingExpressRouteCircuit(String resourceGroupName, String circuitName);
8787
}
8888

89+
/**
90+
* The stage of the expressroutecircuitauthorization definition allowing to specify AuthorizationKey.
91+
*/
92+
interface WithAuthorizationKey {
93+
/**
94+
* Specifies authorizationKey.
95+
* @param authorizationKey The authorization key
96+
* @return the next definition stage
97+
*/
98+
WithCreate withAuthorizationKey(String authorizationKey);
99+
}
100+
101+
/**
102+
* The stage of the expressroutecircuitauthorization definition allowing to specify AuthorizationUseStatus.
103+
*/
104+
interface WithAuthorizationUseStatus {
105+
/**
106+
* Specifies authorizationUseStatus.
107+
* @param authorizationUseStatus The authorization use status. Possible values include: 'Available', 'InUse'
108+
* @return the next definition stage
109+
*/
110+
WithCreate withAuthorizationUseStatus(AuthorizationUseStatus authorizationUseStatus);
111+
}
112+
89113
/**
90114
* The stage of the expressroutecircuitauthorization definition allowing to specify Id.
91115
*/
@@ -115,19 +139,43 @@ interface WithName {
115139
* the resource to be created (via {@link WithCreate#create()}), but also allows
116140
* for any other optional settings to be specified.
117141
*/
118-
interface WithCreate extends Creatable<ExpressRouteCircuitAuthorization>, DefinitionStages.WithId, DefinitionStages.WithName {
142+
interface WithCreate extends Creatable<ExpressRouteCircuitAuthorization>, DefinitionStages.WithAuthorizationKey, DefinitionStages.WithAuthorizationUseStatus, DefinitionStages.WithId, DefinitionStages.WithName {
119143
}
120144
}
121145
/**
122146
* The template for a ExpressRouteCircuitAuthorization update operation, containing all the settings that can be modified.
123147
*/
124-
interface Update extends Appliable<ExpressRouteCircuitAuthorization>, UpdateStages.WithId, UpdateStages.WithName {
148+
interface Update extends Appliable<ExpressRouteCircuitAuthorization>, UpdateStages.WithAuthorizationKey, UpdateStages.WithAuthorizationUseStatus, UpdateStages.WithId, UpdateStages.WithName {
125149
}
126150

127151
/**
128152
* Grouping of ExpressRouteCircuitAuthorization update stages.
129153
*/
130154
interface UpdateStages {
155+
/**
156+
* The stage of the expressroutecircuitauthorization update allowing to specify AuthorizationKey.
157+
*/
158+
interface WithAuthorizationKey {
159+
/**
160+
* Specifies authorizationKey.
161+
* @param authorizationKey The authorization key
162+
* @return the next update stage
163+
*/
164+
Update withAuthorizationKey(String authorizationKey);
165+
}
166+
167+
/**
168+
* The stage of the expressroutecircuitauthorization update allowing to specify AuthorizationUseStatus.
169+
*/
170+
interface WithAuthorizationUseStatus {
171+
/**
172+
* Specifies authorizationUseStatus.
173+
* @param authorizationUseStatus The authorization use status. Possible values include: 'Available', 'InUse'
174+
* @return the next update stage
175+
*/
176+
Update withAuthorizationUseStatus(AuthorizationUseStatus authorizationUseStatus);
177+
}
178+
131179
/**
132180
* The stage of the expressroutecircuitauthorization update allowing to specify Id.
133181
*/

0 commit comments

Comments
 (0)