CommitConfigurationRequest Class
- java.
lang. Object - com.
azure. resourcemanager. managednetworkfabric. models. CommitConfigurationRequest
- com.
Implements
public final class CommitConfigurationRequest
implements JsonSerializable<CommitConfigurationRequest>
Commit Configuration Request.
Constructor Summary
| Constructor | Description |
|---|---|
| CommitConfigurationRequest() |
Creates an instance of Commit |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Commit |
commitPolicy()
Get the commit |
|
Commit |
commitStage()
Get the commit |
| List<String> |
devices()
Get the devices property: List of ARM resource IDs of devices to be included in the commit operation. |
|
static
Commit |
fromJson(JsonReader jsonReader)
Reads an instance of Commit |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Commit |
withCommitPolicy(CommitConfigurationPolicy commitPolicy)
Set the commit |
|
Commit |
withCommitStage(CommitStage commitStage)
Set the commit |
|
Commit |
withDevices(List<String> devices)
Set the devices property: List of ARM resource IDs of devices to be included in the commit operation. |
Methods inherited from java.lang.Object
Constructor Details
CommitConfigurationRequest
public CommitConfigurationRequest()
Creates an instance of CommitConfigurationRequest class.
Method Details
commitPolicy
public CommitConfigurationPolicy commitPolicy()
Get the commitPolicy property: Commit configuration Policy. Supported policy is StageCEConfiguration, which indicates to prepare the configuration for the CE device type.
Returns:
commitStage
public CommitStage commitStage()
Get the commitStage property: Commit stage Action to be performed.
Returns:
devices
public List<String> devices()
Get the devices property: List of ARM resource IDs of devices to be included in the commit operation. Either CE1 or CE2 is allowed.
Returns:
fromJson
public static CommitConfigurationRequest fromJson(JsonReader jsonReader)
Reads an instance of CommitConfigurationRequest from the JsonReader.
Parameters:
Returns:
Throws:
toJson
withCommitPolicy
public CommitConfigurationRequest withCommitPolicy(CommitConfigurationPolicy commitPolicy)
Set the commitPolicy property: Commit configuration Policy. Supported policy is StageCEConfiguration, which indicates to prepare the configuration for the CE device type.
Parameters:
Returns:
withCommitStage
public CommitConfigurationRequest withCommitStage(CommitStage commitStage)
Set the commitStage property: Commit stage Action to be performed.
Parameters:
Returns:
withDevices
public CommitConfigurationRequest withDevices(List<String> devices)
Set the devices property: List of ARM resource IDs of devices to be included in the commit operation. Either CE1 or CE2 is allowed.
Parameters:
Returns: