UpdateProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerinstance. models. UpdateProfile
- com.
Implements
public final class UpdateProfile
implements JsonSerializable<UpdateProfile>
Used by the customer to specify the way to update the Container Groups in NGroup.
Constructor Summary
| Constructor | Description |
|---|---|
| UpdateProfile() |
Creates an instance of Update |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Update |
fromJson(JsonReader jsonReader)
Reads an instance of Update |
|
Update |
rollingUpdateProfile()
Get the rolling |
|
Json |
toJson(JsonWriter jsonWriter) |
|
NGroup |
updateMode()
Get the update |
| void |
validate()
Validates the instance. |
|
Update |
withRollingUpdateProfile(UpdateProfileRollingUpdateProfile rollingUpdateProfile)
Set the rolling |
|
Update |
withUpdateMode(NGroupUpdateMode updateMode)
Set the update |
Methods inherited from java.lang.Object
Constructor Details
UpdateProfile
public UpdateProfile()
Creates an instance of UpdateProfile class.
Method Details
fromJson
public static UpdateProfile fromJson(JsonReader jsonReader)
Reads an instance of UpdateProfile from the JsonReader.
Parameters:
Returns:
Throws:
rollingUpdateProfile
public UpdateProfileRollingUpdateProfile rollingUpdateProfile()
Get the rollingUpdateProfile property: This profile allows the customers to customize the rolling update.
Returns:
toJson
updateMode
public NGroupUpdateMode updateMode()
Get the updateMode property: The updateMode property.
Returns:
validate
public void validate()
Validates the instance.
withRollingUpdateProfile
public UpdateProfile withRollingUpdateProfile(UpdateProfileRollingUpdateProfile rollingUpdateProfile)
Set the rollingUpdateProfile property: This profile allows the customers to customize the rolling update.
Parameters:
Returns:
withUpdateMode
public UpdateProfile withUpdateMode(NGroupUpdateMode updateMode)
Set the updateMode property: The updateMode property.
Parameters:
Returns: