All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.model.ManagedInstance.html Maven / Gradle / Ivy







ManagedInstance (Compute Engine API beta-rev20220726-2.0.0)












com.google.api.services.compute.model

Class ManagedInstance

    • Constructor Detail

      • ManagedInstance

        public ManagedInstance()
    • Method Detail

      • getAllInstancesConfig

        public ManagedInstanceAllInstancesConfig getAllInstancesConfig()
        [Output Only] Current all-instances configuration revision applied to this instance.
        Returns:
        value or null for none
      • setAllInstancesConfig

        public ManagedInstance setAllInstancesConfig(ManagedInstanceAllInstancesConfig allInstancesConfig)
        [Output Only] Current all-instances configuration revision applied to this instance.
        Parameters:
        allInstancesConfig - allInstancesConfig or null for none
      • getCurrentAction

        public String getCurrentAction()
        [Output Only] The current action that the managed instance group has scheduled for the instance. Possible values: - NONE The instance is running, and the managed instance group does not have any scheduled actions for this instance. - CREATING The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful. - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased instead. - RECREATING The managed instance group is recreating this instance. - DELETING The managed instance group is permanently deleting this instance. - ABANDONING The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group. - RESTARTING The managed instance group is restarting the instance. - REFRESHING The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance. - VERIFYING The managed instance group has created the instance and it is in the process of being verified.
        Returns:
        value or null for none
      • setCurrentAction

        public ManagedInstance setCurrentAction(String currentAction)
        [Output Only] The current action that the managed instance group has scheduled for the instance. Possible values: - NONE The instance is running, and the managed instance group does not have any scheduled actions for this instance. - CREATING The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful. - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased instead. - RECREATING The managed instance group is recreating this instance. - DELETING The managed instance group is permanently deleting this instance. - ABANDONING The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group. - RESTARTING The managed instance group is restarting the instance. - REFRESHING The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance. - VERIFYING The managed instance group has created the instance and it is in the process of being verified.
        Parameters:
        currentAction - currentAction or null for none
      • getId

        public BigInteger getId()
        [Output only] The unique identifier for this resource. This field is empty when instance does not exist.
        Returns:
        value or null for none
      • setId

        public ManagedInstance setId(BigInteger id)
        [Output only] The unique identifier for this resource. This field is empty when instance does not exist.
        Parameters:
        id - id or null for none
      • getInstance

        public String getInstance()
        [Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created.
        Returns:
        value or null for none
      • setInstance

        public ManagedInstance setInstance(String instance)
        [Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created.
        Parameters:
        instance - instance or null for none
      • getInstanceHealth

        public List<ManagedInstanceInstanceHealth> getInstanceHealth()
        [Output Only] Health state of the instance per health-check.
        Returns:
        value or null for none
      • getInstanceStatus

        public String getInstanceStatus()
        [Output Only] The status of the instance. This field is empty when the instance does not exist.
        Returns:
        value or null for none
      • setInstanceStatus

        public ManagedInstance setInstanceStatus(String instanceStatus)
        [Output Only] The status of the instance. This field is empty when the instance does not exist.
        Parameters:
        instanceStatus - instanceStatus or null for none
      • getLastAttempt

        public ManagedInstanceLastAttempt getLastAttempt()
        [Output Only] Information about the last attempt to create or delete the instance.
        Returns:
        value or null for none
      • setLastAttempt

        public ManagedInstance setLastAttempt(ManagedInstanceLastAttempt lastAttempt)
        [Output Only] Information about the last attempt to create or delete the instance.
        Parameters:
        lastAttempt - lastAttempt or null for none
      • getPreservedStateFromConfig

        public PreservedState getPreservedStateFromConfig()
        [Output Only] Preserved state applied from per-instance config for this instance.
        Returns:
        value or null for none
      • setPreservedStateFromConfig

        public ManagedInstance setPreservedStateFromConfig(PreservedState preservedStateFromConfig)
        [Output Only] Preserved state applied from per-instance config for this instance.
        Parameters:
        preservedStateFromConfig - preservedStateFromConfig or null for none
      • getPreservedStateFromPolicy

        public PreservedState getPreservedStateFromPolicy()
        [Output Only] Preserved state generated based on stateful policy for this instance.
        Returns:
        value or null for none
      • setPreservedStateFromPolicy

        public ManagedInstance setPreservedStateFromPolicy(PreservedState preservedStateFromPolicy)
        [Output Only] Preserved state generated based on stateful policy for this instance.
        Parameters:
        preservedStateFromPolicy - preservedStateFromPolicy or null for none
      • getVersion

        public ManagedInstanceVersion getVersion()
        [Output Only] Intended version of this instance.
        Returns:
        value or null for none

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy