Skip to main content

VmSpecs

Vm Specs resource for Zscaler Internet Access.

Resource operations

This resource does not support standard CRUDL methods. Each action listed below is a custom action that takes explicit keyword arguments and returns a value.

Quick Start​

import zssdk
import logging

# Enable debug logging for VmSpecs
logging.getLogger('zssdk.zia').setLevel(logging.DEBUG)
logging.basicConfig(level=logging.DEBUG)

session = zssdk.Session(
vanity_domain="your-vanity-domain",
client_id="your-client-id",
client_secret="your-client-secret",
)

# Call get_recommended_hyper_VSpecs on VmSpecs
resource = session.zia.VmSpecs()
result = resource.get_recommended_hyper_VSpecs()
print(result)

# Debug output shows HTTP request/response details

Actions​

Gets the recommended HyperV VM specifications for a Network Sensor Server (NSS) based on various load factors like users, transactions, sessions, and DNS queries.

Parameters:

NameTypeRequiredDescription
userslongNo-
transactionslongNo-
typestringNo-
sessionslongNo-
dnslongNo-

Returns: VmSpecs

Example:

resource = session.zia.VmSpecs()
result = resource.get_recommended_hyper_VSpecs()
print(result)

Gets the recommended Nutanix VM specifications for a Network Sensor Server (NSS) based on various load factors like users, transactions, sessions, and DNS queries.

Parameters:

NameTypeRequiredDescription
userslongNo-
transactionslongNo-
typestringNo-
sessionslongNo-
dnslongNo-

Returns: VmSpecs

Example:

resource = session.zia.VmSpecs()
result = resource.get_recommended_nutanix_specs()
print(result)

Attributes​

NameTypeRequiredDescription
bandwidthstringNo-
coresstringNo-
cpustringNo-
diskstringNo-
ramstringNo-
vm_namestringNo-
  • VmSpecs - Data structure definition
  • Logging guide - enable verbose logs while debugging this resource