BareMetalMachineKeySetPatchParameters Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. models. BareMetalMachineKeySetPatchParameters
- com.
Implements
public final class BareMetalMachineKeySetPatchParameters
implements JsonSerializable<BareMetalMachineKeySetPatchParameters>
BareMetalMachineKeySetPatchParameters represents the body of the request to patch the bare metal machine key set.
Constructor Summary
| Constructor | Description |
|---|---|
| BareMetalMachineKeySetPatchParameters() |
Creates an instance of Bare |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
expiration()
Get the expiration property: The date and time after which the users in this key set will be removed from the bare metal machines. |
|
static
Bare |
fromJson(JsonReader jsonReader)
Reads an instance of Bare |
| List<String> |
jumpHostsAllowed()
Get the jump |
| Map<String,String> |
tags()
Get the tags property: The Azure resource tags that will replace the existing ones. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
List<Key |
userList()
Get the user |
| void |
validate()
Validates the instance. |
|
Bare |
withExpiration(OffsetDateTime expiration)
Set the expiration property: The date and time after which the users in this key set will be removed from the bare metal machines. |
|
Bare |
withJumpHostsAllowed(List<String> jumpHostsAllowed)
Set the jump |
|
Bare |
withTags(Map<String,String> tags)
Set the tags property: The Azure resource tags that will replace the existing ones. |
|
Bare |
withUserList(List<KeySetUser> userList)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
BareMetalMachineKeySetPatchParameters
public BareMetalMachineKeySetPatchParameters()
Creates an instance of BareMetalMachineKeySetPatchParameters class.
Method Details
expiration
public OffsetDateTime expiration()
Get the expiration property: The date and time after which the users in this key set will be removed from the bare metal machines.
Returns:
fromJson
public static BareMetalMachineKeySetPatchParameters fromJson(JsonReader jsonReader)
Reads an instance of BareMetalMachineKeySetPatchParameters from the JsonReader.
Parameters:
Returns:
Throws:
jumpHostsAllowed
public List<String> jumpHostsAllowed()
Get the jumpHostsAllowed property: The list of IP addresses of jump hosts with management network access from which a login will be allowed for the users.
Returns:
tags
public Map<String,String> tags()
Get the tags property: The Azure resource tags that will replace the existing ones.
Returns:
toJson
userList
public List<KeySetUser> userList()
Get the userList property: The unique list of permitted users.
Returns:
validate
public void validate()
Validates the instance.
withExpiration
public BareMetalMachineKeySetPatchParameters withExpiration(OffsetDateTime expiration)
Set the expiration property: The date and time after which the users in this key set will be removed from the bare metal machines.
Parameters:
Returns:
withJumpHostsAllowed
public BareMetalMachineKeySetPatchParameters withJumpHostsAllowed(List<String> jumpHostsAllowed)
Set the jumpHostsAllowed property: The list of IP addresses of jump hosts with management network access from which a login will be allowed for the users.
Parameters:
Returns:
withTags
public BareMetalMachineKeySetPatchParameters withTags(Map<String,String> tags)
Set the tags property: The Azure resource tags that will replace the existing ones.
Parameters:
Returns:
withUserList
public BareMetalMachineKeySetPatchParameters withUserList(List<KeySetUser> userList)
Set the userList property: The unique list of permitted users.
Parameters:
Returns: