forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
SDK Automation
committed
Aug 7, 2020
1 parent
a165390
commit 236564c
Showing
26 changed files
with
3,953 additions
and
259 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
.../main/java/com/microsoft/azure/management/network/v2019_09_01/BastionConnectProtocol.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.network.v2019_09_01; | ||
|
||
import java.util.Collection; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.microsoft.rest.ExpandableStringEnum; | ||
|
||
/** | ||
* Defines values for BastionConnectProtocol. | ||
*/ | ||
public final class BastionConnectProtocol extends ExpandableStringEnum<BastionConnectProtocol> { | ||
/** Static value SSH for BastionConnectProtocol. */ | ||
public static final BastionConnectProtocol SSH = fromString("SSH"); | ||
|
||
/** Static value RDP for BastionConnectProtocol. */ | ||
public static final BastionConnectProtocol RDP = fromString("RDP"); | ||
|
||
/** | ||
* Creates or finds a BastionConnectProtocol from its string representation. | ||
* @param name a name to look for | ||
* @return the corresponding BastionConnectProtocol | ||
*/ | ||
@JsonCreator | ||
public static BastionConnectProtocol fromString(String name) { | ||
return fromString(name, BastionConnectProtocol.class); | ||
} | ||
|
||
/** | ||
* @return known BastionConnectProtocol values | ||
*/ | ||
public static Collection<BastionConnectProtocol> values() { | ||
return values(BastionConnectProtocol.class); | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
...a/com/microsoft/azure/management/network/v2019_09_01/BastionShareableLinkListRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.network.v2019_09_01; | ||
|
||
import java.util.List; | ||
import com.microsoft.azure.management.network.v2019_09_01.implementation.BastionShareableLinkInner; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* Post request for all the Bastion Shareable Link endpoints. | ||
*/ | ||
public class BastionShareableLinkListRequest { | ||
/** | ||
* List of VM references. | ||
*/ | ||
@JsonProperty(value = "vms") | ||
private List<BastionShareableLinkInner> vms; | ||
|
||
/** | ||
* Get list of VM references. | ||
* | ||
* @return the vms value | ||
*/ | ||
public List<BastionShareableLinkInner> vms() { | ||
return this.vms; | ||
} | ||
|
||
/** | ||
* Set list of VM references. | ||
* | ||
* @param vms the vms value to set | ||
* @return the BastionShareableLinkListRequest object itself. | ||
*/ | ||
public BastionShareableLinkListRequest withVms(List<BastionShareableLinkInner> vms) { | ||
this.vms = vms; | ||
return this; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.