PUT /vimgrsevmruntime/{uuid}

PUT /vimgrsevmruntime/{uuid}

/vimgrsevmruntime/{uuid}

Request
URI
PUT
https://{api_host}/api/vimgrsevmruntime/{uuid}
COPY
Path Parameters
string
uuid
Required

UUID of the object to fetch

Query Parameters
string
name
Optional

object name

Header Parameters
string
X-Avi-Tenant
Optional

Avi Tenant Header

string
X-Avi-Tenant-UUID
Optional

Avi Tenant Header UUID

string
X-Avi-Version
Required

The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.

string
X-CSRFToken
Optional

Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.


Request Body

VIMgrSEVMRuntime object creation

VIMgrSEVMRuntime of type(s) application/json
Optional

Show optional properties

{
    "managed_object_id": "string",
    "name": "string",
    "type": "string"
}
{
    "_last_modified": "string",
    "availability_zone": "string",
    "azure_info": {
        "availability_set": "string",
        "fault_domain": "string",
        "name": "string",
        "resource_group": "string",
        "subnet_id": "string",
        "update_domain": "string",
        "vm_uuid": "string",
        "vnic_id": "string"
    },
    "cloud_name": "string",
    "cloud_ref": "string",
    "cluster_id": "string",
    "cluster_vmgroup": "string",
    "connection_state": "string",
    "controller_cluster_uuid": "string",
    "controller_ip_addr": "string",
    "cookie": "string",
    "creation_in_progress": false,
    "deletion_in_progress": false,
    "discovery_response": "string",
    "discovery_status": 0,
    "disk_gb": 0,
    "flavor": "string",
    "gcp_se_project_id": "string",
    "guest_nic": [
        {
            "avi_internal_network": false,
            "connected": false,
            "del_pending": false,
            "guest_ip": [
                {
                    "fip_available": false,
                    "fip_subnet_uuids": [
                        "string"
                    ],
                    "floatingip_subnets": [
                        {
                            "name": "string",
                            "prefix": {
                                "ip_addr": {
                                    "addr": "string",
                                    "type": "string"
                                },
                                "mask": 0
                            },
                            "uuid": "string"
                        }
                    ],
                    "ip_subnet": "string",
                    "name": "string",
                    "prefix": {
                        "ip_addr": {
                            "addr": "string",
                            "type": "string"
                        },
                        "mask": 0
                    },
                    "primary": false,
                    "ref_count": 0,
                    "se_ref_count": 0,
                    "uuid": "string"
                }
            ],
            "label": "string",
            "mac_addr": "string",
            "mgmt_vnic": false,
            "network_name": "string",
            "network_uuid": "string",
            "os_port_uuid": "string",
            "type": "string"
        }
    ],
    "host": "string",
    "host_ref": "string",
    "hostid": "string",
    "hypervisor": "string",
    "init_vnics": 0,
    "last_discovery": 0,
    "managed_object_id": "string",
    "memory_mb": 0,
    "name": "string",
    "nsxt_no_hotplug": false,
    "powerstate": "string",
    "security_group_uuid": "string",
    "segroup_ref": "string",
    "server_group_uuid": "string",
    "tenant_ref": "string",
    "type": "string",
    "url": "string",
    "uuid": "string",
    "vcenter_datacenter_uuid": "string",
    "vcenter_host_connection_state": "string",
    "vcenter_host_ha_state": "string",
    "vcenter_instance_uuid": "string",
    "vcenter_ref": "string",
    "vcenter_rm_cookie": "string",
    "vcenter_se_type": "string",
    "vcenter_template_vm": false,
    "vcenter_url": "string",
    "vcenter_vAppName": "string",
    "vcenter_vAppVendor": "string",
    "vcenter_vm_type": "string",
    "vcpus": 0,
    "vsphere_ha_enabled": false,
    "vsphere_ha_inprogress": false
}
Responses
200

OK

Returns VIMgrSEVMRuntime of type(s) application/json
"VIMgrSEVMRuntime Object"
string
_last_modified
Optional

UNIX time since epoch in microseconds. Units(MICROSECONDS).

string
availability_zone
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

object
azure_info
Optional

azure_info

string
cloud_name
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
cloud_ref
Optional

It is a reference to an object of type Cloud. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
cluster_id
Optional

ServiceEngine deployed on cluster.Ex MOB domain-c23. Field introduced in 20.1.7, 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

string
cluster_vmgroup
Optional

ServiceEngine added to cluster vmgroup. Field introduced in 20.1.7, 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

string
connection_state
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
controller_cluster_uuid
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
controller_ip_addr
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
cookie
Optional

Service Engine Cookie set by the resource manager. Field introduced in 18.2.2. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

boolean
creation_in_progress
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

boolean
deletion_in_progress
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
discovery_response
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

integer As uint32 As uint32
discovery_status
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

integer As uint32 As uint32
disk_gb
Optional

Disk space in GB for each service engine VM. Field introduced in 18.2.2. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
flavor
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
gcp_se_project_id
Optional

GCP Project ID in which SE is created. This field is applicable for GCP cloud type only. Field introduced in 20.1.7, 21.1.2, 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

array of object
guest_nic
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
host
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
host_ref
Optional

It is a reference to an object of type VIMgrHostRuntime. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
hostid
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
hypervisor
Optional

Enum options - DEFAULT, VMWARE_ESX, KVM, VMWARE_VSAN, XEN. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

integer As int32 As int32
init_vnics
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

integer As uint32 As uint32
last_discovery
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
managed_object_id
Required

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

integer As uint32 As uint32
memory_mb
Optional

Memory in MB for each service engine VM. Field introduced in 18.2.2. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
name
Required

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

boolean
nsxt_no_hotplug
Optional

If set to true for NSXT cloud, controller should not hotplug the VNICs. Field introduced in 30.2.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

string
powerstate
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
security_group_uuid
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
segroup_ref
Optional

It is a reference to an object of type ServiceEngineGroup. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
server_group_uuid
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
tenant_ref
Optional

It is a reference to an object of type Tenant. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
type
Required

Enum options - CLOUD_NONE, CLOUD_VCENTER, CLOUD_OPENSTACK, CLOUD_AWS, CLOUD_VCA, CLOUD_APIC, CLOUD_MESOS, CLOUD_LINUXSERVER, CLOUD_DOCKER_UCP, CLOUD_RANCHER, CLOUD_OSHIFT_K8S, CLOUD_AZURE, CLOUD_GCP, CLOUD_NSXT. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
url
Optional

url

string
uuid
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
vcenter_datacenter_uuid
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
vcenter_host_connection_state
Optional

ServiceEngine host connection state in vCenter. Field introduced in 20.1.7, 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

string
vcenter_host_ha_state
Optional

VCenter Host HA state.Ex election, fdmUnreachable, hostDown, initializationError, networkIsolated, uninitializationError, uninitialized. Field introduced in 20.1.7, 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

string
vcenter_instance_uuid
Optional

ServiceEngine instance uuid from vCenter. Field introduced in 20.1.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
vcenter_ref
Optional

ServiceEngine belongs to VCenter. It is a reference to an object of type VCenterServer. Field introduced in 20.1.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
vcenter_rm_cookie
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
vcenter_se_type
Optional

Enum options - VIMGR_SE_NETWORK_ADMIN, VIMGR_SE_UNIFIED_ADMIN. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

boolean
vcenter_template_vm
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
vcenter_url
Optional

Service Engine deployed in vcenter. Field introduced in 20.1.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
vcenter_vAppName
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
vcenter_vAppVendor
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
vcenter_vm_type
Optional

Enum options - VMTYPE_SE_VM, VMTYPE_POOL_SRVR. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

integer As uint32 As uint32
vcpus
Optional

Count of vcpus for each service engine VM. Field introduced in 18.2.2. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

boolean
vsphere_ha_enabled
Optional

VSphere HA on cluster enabled or not. Field introduced in 20.1.7, 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

boolean
vsphere_ha_inprogress
Optional

If this flag is set to True, vCenter vSphere HA handles ServiceEngine failure. This flag is set dynamiclly based on underlying ESX HA state(connected, hostDown..etc). Field introduced in 20.1.7, 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.


401

log in failed

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"managed_object_id:"string","name:"string","type:"string"}' https://{api_host}/api/vimgrsevmruntime/{uuid}