com.microsoft.azure.management.containerinstance.ContainerPropertiesInstanceView Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-containerinstance Show documentation
Show all versions of azure-mgmt-containerinstance Show documentation
This package contains Microsoft Azure Container Instance SDK. This package has been deprecated. A replacement package com.azure.resourcemanager:azure-resourcemanager-containerinstance is available as of 31-March-2022. We strongly encourage you to upgrade to continue receiving updates. See Migration Guide https://aka.ms/java-track2-migration-guide for guidance on upgrading. Refer to our deprecation policy https://azure.github.io/azure-sdk/policies_support.html for more details.
/**
* 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.containerinstance;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The instance view of the container instance. Only valid in response.
*/
public class ContainerPropertiesInstanceView {
/**
* The number of times that the container instance has been restarted.
*/
@JsonProperty(value = "restartCount", access = JsonProperty.Access.WRITE_ONLY)
private Integer restartCount;
/**
* Current container instance state.
*/
@JsonProperty(value = "currentState", access = JsonProperty.Access.WRITE_ONLY)
private ContainerState currentState;
/**
* Previous container instance state.
*/
@JsonProperty(value = "previousState", access = JsonProperty.Access.WRITE_ONLY)
private ContainerState previousState;
/**
* The events of the container instance.
*/
@JsonProperty(value = "events", access = JsonProperty.Access.WRITE_ONLY)
private List events;
/**
* Get the number of times that the container instance has been restarted.
*
* @return the restartCount value
*/
public Integer restartCount() {
return this.restartCount;
}
/**
* Get current container instance state.
*
* @return the currentState value
*/
public ContainerState currentState() {
return this.currentState;
}
/**
* Get previous container instance state.
*
* @return the previousState value
*/
public ContainerState previousState() {
return this.previousState;
}
/**
* Get the events of the container instance.
*
* @return the events value
*/
public List events() {
return this.events;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy