azure.mgmt.compute.v2024_11_04.models module

class azure.mgmt.compute.v2024_11_04.models.ApiError(*, details: List[_models.ApiErrorBase] | None = None, innererror: _models.InnerError | None = None, code: str | None = None, target: str | None = None, message: str | None = None, **kwargs: Any)[source]

Bases: Model

Api error.

Variables:
  • details (list[ApiErrorBase]) – The Api error details.

  • innererror (InnerError) – The Api inner error.

  • code (str) – The error code.

  • target (str) – The target of the particular error.

  • message (str) – The error message.

Keyword Arguments:
  • details (list[ApiErrorBase]) – The Api error details.

  • innererror (InnerError) – The Api inner error.

  • code (str) – The error code.

  • target (str) – The target of the particular error.

  • message (str) – The error message.

class azure.mgmt.compute.v2024_11_04.models.ApiErrorBase(*, code: str | None = None, target: str | None = None, message: str | None = None, **kwargs: Any)[source]

Bases: Model

Api error base.

Variables:
  • code (str) – The error code.

  • target (str) – The target of the particular error.

  • message (str) – The error message.

Keyword Arguments:
  • code (str) – The error code.

  • target (str) – The target of the particular error.

  • message (str) – The error message.

class azure.mgmt.compute.v2024_11_04.models.CloudService(*, location: str, tags: Dict[str, str] | None = None, properties: _models.CloudServiceProperties | None = None, system_data: _models.SystemData | None = None, zones: List[str] | None = None, **kwargs: Any)[source]

Bases: Model

Describes the cloud service.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to server.

Variables:
  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • location (str) – Resource location. Required.

  • tags (dict[str, str]) – Resource tags.

  • properties (CloudServiceProperties) – Cloud service properties.

  • system_data (SystemData) – The system meta data relating to this resource.

  • zones (list[str]) – List of logical availability zone of the resource. List should contain only 1 zone where cloud service should be provisioned. This field is optional.

Keyword Arguments:
  • location (str) – Resource location. Required.

  • tags (dict[str, str]) – Resource tags.

  • properties (CloudServiceProperties) – Cloud service properties.

  • system_data (SystemData) – The system meta data relating to this resource.

  • zones (list[str]) – List of logical availability zone of the resource. List should contain only 1 zone where cloud service should be provisioned. This field is optional.

class azure.mgmt.compute.v2024_11_04.models.CloudServiceExtensionProfile(*, extensions: List[_models.Extension] | None = None, **kwargs: Any)[source]

Bases: Model

Describes a cloud service extension profile.

Variables:

extensions (list[Extension]) – List of extensions for the cloud service.

Keyword Arguments:

extensions (list[Extension]) – List of extensions for the cloud service.

class azure.mgmt.compute.v2024_11_04.models.CloudServiceExtensionProperties(*, publisher: str | None = None, type: str | None = None, type_handler_version: str | None = None, auto_upgrade_minor_version: bool | None = None, settings: MutableMapping[str, Any] | None = None, protected_settings: MutableMapping[str, Any] | None = None, protected_settings_from_key_vault: _models.CloudServiceVaultAndSecretReference | None = None, force_update_tag: str | None = None, roles_applied_to: List[str] | None = None, **kwargs: Any)[source]

Bases: Model

Extension Properties.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • publisher (str) – The name of the extension handler publisher.

  • type (str) – Specifies the type of the extension.

  • type_handler_version (str) – Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance.

  • auto_upgrade_minor_version (bool) – Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.

  • settings (JSON) – Public settings for the extension. For JSON extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension.

  • protected_settings (JSON) – Protected settings for the extension which are encrypted before sent to the role instance.

  • protected_settings_from_key_vault (CloudServiceVaultAndSecretReference) – Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance.

  • force_update_tag (str) – Tag to force apply the provided public and protected settings. Changing the tag value allows for re-running the extension without changing any of the public or protected settings. If forceUpdateTag is not changed, updates to public or protected settings would still be applied by the handler. If neither forceUpdateTag nor any of public or protected settings change, extension would flow to the role instance with the same sequence-number, and it is up to handler implementation whether to re-run it or not.

  • provisioning_state (str) – The provisioning state, which only appears in the response.

  • roles_applied_to (list[str]) – Optional list of roles to apply this extension. If property is not specified or ‘*’ is specified, extension is applied to all roles in the cloud service.

Keyword Arguments:
  • publisher (str) – The name of the extension handler publisher.

  • type (str) – Specifies the type of the extension.

  • type_handler_version (str) – Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance.

  • auto_upgrade_minor_version (bool) – Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.

  • settings (JSON) – Public settings for the extension. For JSON extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension.

  • protected_settings (JSON) – Protected settings for the extension which are encrypted before sent to the role instance.

  • protected_settings_from_key_vault (CloudServiceVaultAndSecretReference) – Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance.

  • force_update_tag (str) – Tag to force apply the provided public and protected settings. Changing the tag value allows for re-running the extension without changing any of the public or protected settings. If forceUpdateTag is not changed, updates to public or protected settings would still be applied by the handler. If neither forceUpdateTag nor any of public or protected settings change, extension would flow to the role instance with the same sequence-number, and it is up to handler implementation whether to re-run it or not.

  • roles_applied_to (list[str]) – Optional list of roles to apply this extension. If property is not specified or ‘*’ is specified, extension is applied to all roles in the cloud service.

class azure.mgmt.compute.v2024_11_04.models.CloudServiceInstanceView(*, role_instance: _models.InstanceViewStatusesSummary | None = None, **kwargs: Any)[source]

Bases: Model

InstanceView of CloudService as a whole.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • role_instance (InstanceViewStatusesSummary) – Instance view statuses.

  • sdk_version (str) – The version of the SDK that was used to generate the package for the cloud service.

  • private_ids (list[str]) – Specifies a list of unique identifiers generated internally for the cloud service. <br /><br /> NOTE: If you are using Azure Diagnostics extension, this property can be used as ‘DeploymentId’ for querying details.

  • statuses (list[ResourceInstanceViewStatus])

Keyword Arguments:

role_instance (InstanceViewStatusesSummary) – Instance view statuses.

class azure.mgmt.compute.v2024_11_04.models.CloudServiceListResult(*, value: List[_models.CloudService], next_link: str | None = None, **kwargs: Any)[source]

Bases: Model

The list operation result.

All required parameters must be populated in order to send to server.

Variables:
  • value (list[CloudService]) – The list of resources. Required.

  • next_link (str) – The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources.

Keyword Arguments:
  • value (list[CloudService]) – The list of resources. Required.

  • next_link (str) – The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources.

class azure.mgmt.compute.v2024_11_04.models.CloudServiceNetworkProfile(*, load_balancer_configurations: List[_models.LoadBalancerConfiguration] | None = None, slot_type: str | _models.CloudServiceSlotType | None = None, swappable_cloud_service: _models.SubResource | None = None, **kwargs: Any)[source]

Bases: Model

Network Profile for the cloud service.

Variables:
  • load_balancer_configurations (list[LoadBalancerConfiguration]) – List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.

  • slot_type (str or CloudServiceSlotType) – Slot type for the cloud service. Possible values are <br /><br />Production<br /><br />Staging<br /><br /> If not specified, the default value is Production. Known values are: “Production” and “Staging”.

  • swappable_cloud_service (SubResource) – The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown.

Keyword Arguments:
  • load_balancer_configurations (list[LoadBalancerConfiguration]) – List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.

  • slot_type (str or CloudServiceSlotType) – Slot type for the cloud service. Possible values are <br /><br />Production<br /><br />Staging<br /><br /> If not specified, the default value is Production. Known values are: “Production” and “Staging”.

  • swappable_cloud_service (SubResource) – The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown.

class azure.mgmt.compute.v2024_11_04.models.CloudServiceOsProfile(*, secrets: List[_models.CloudServiceVaultSecretGroup] | None = None, **kwargs: Any)[source]

Bases: Model

Describes the OS profile for the cloud service.

Variables:

secrets (list[CloudServiceVaultSecretGroup]) – Specifies set of certificates that should be installed onto the role instances.

Keyword Arguments:

secrets (list[CloudServiceVaultSecretGroup]) – Specifies set of certificates that should be installed onto the role instances.

class azure.mgmt.compute.v2024_11_04.models.CloudServiceProperties(*, package_url: str | None = None, configuration: str | None = None, configuration_url: str | None = None, start_cloud_service: bool | None = None, allow_model_override: bool | None = None, upgrade_mode: str | _models.CloudServiceUpgradeMode | None = None, role_profile: _models.CloudServiceRoleProfile | None = None, os_profile: _models.CloudServiceOsProfile | None = None, network_profile: _models.CloudServiceNetworkProfile | None = None, extension_profile: _models.CloudServiceExtensionProfile | None = None, **kwargs: Any)[source]

Bases: Model

Cloud service properties.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • package_url (str) – Specifies a URL that refers to the location of the service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.

  • configuration (str) – Specifies the XML service configuration (.cscfg) for the cloud service.

  • configuration_url (str) – Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.

  • start_cloud_service (bool) – (Optional) Indicates whether to start the cloud service immediately after it is created. The default value is true. If false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff.

  • allow_model_override (bool) – (Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively. The default value is false.

  • upgrade_mode (str or CloudServiceUpgradeMode) – Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. Possible Values are <br /><br />Auto<br /><br />Manual <br /><br />Simultaneous<br /><br /> If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence. Known values are: “Auto”, “Manual”, and “Simultaneous”.

  • role_profile (CloudServiceRoleProfile) – Describes the role profile for the cloud service.

  • os_profile (CloudServiceOsProfile) – Describes the OS profile for the cloud service.

  • network_profile (CloudServiceNetworkProfile) – Network Profile for the cloud service.

  • extension_profile (CloudServiceExtensionProfile) – Describes a cloud service extension profile.

  • provisioning_state (str) – The provisioning state, which only appears in the response.

  • unique_id (str) – The unique identifier for the cloud service.

Keyword Arguments:
  • package_url (str) – Specifies a URL that refers to the location of the service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.

  • configuration (str) – Specifies the XML service configuration (.cscfg) for the cloud service.

  • configuration_url (str) – Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.

  • start_cloud_service (bool) – (Optional) Indicates whether to start the cloud service immediately after it is created. The default value is true. If false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff.

  • allow_model_override (bool) – (Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively. The default value is false.

  • upgrade_mode (str or CloudServiceUpgradeMode) – Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. Possible Values are <br /><br />Auto<br /><br />Manual <br /><br />Simultaneous<br /><br /> If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence. Known values are: “Auto”, “Manual”, and “Simultaneous”.

  • role_profile (CloudServiceRoleProfile) – Describes the role profile for the cloud service.

  • os_profile (CloudServiceOsProfile) – Describes the OS profile for the cloud service.

  • network_profile (CloudServiceNetworkProfile) – Network Profile for the cloud service.

  • extension_profile (CloudServiceExtensionProfile) – Describes a cloud service extension profile.

class azure.mgmt.compute.v2024_11_04.models.CloudServiceRole(*, sku: _models.CloudServiceRoleSku | None = None, properties: _models.CloudServiceRoleProperties | None = None, **kwargs: Any)[source]

Bases: Model

Describes a role of the cloud service.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
Keyword Arguments:
class azure.mgmt.compute.v2024_11_04.models.CloudServiceRoleListResult(*, value: List[_models.CloudServiceRole], next_link: str | None = None, **kwargs: Any)[source]

Bases: Model

The list operation result.

All required parameters must be populated in order to send to server.

Variables:
  • value (list[CloudServiceRole]) – The list of resources. Required.

  • next_link (str) – The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources.

Keyword Arguments:
  • value (list[CloudServiceRole]) – The list of resources. Required.

  • next_link (str) – The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources.

class azure.mgmt.compute.v2024_11_04.models.CloudServiceRoleProfile(*, roles: List[_models.CloudServiceRoleProfileProperties] | None = None, **kwargs: Any)[source]

Bases: Model

Describes the role profile for the cloud service.

Variables:

roles (list[CloudServiceRoleProfileProperties]) – List of roles for the cloud service.

Keyword Arguments:

roles (list[CloudServiceRoleProfileProperties]) – List of roles for the cloud service.

class azure.mgmt.compute.v2024_11_04.models.CloudServiceRoleProfileProperties(*, name: str | None = None, sku: _models.CloudServiceRoleSku | None = None, **kwargs: Any)[source]

Bases: Model

Describes the role properties.

Variables:
Keyword Arguments:
class azure.mgmt.compute.v2024_11_04.models.CloudServiceRoleProperties(**kwargs: Any)[source]

Bases: Model

The cloud service role properties.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:

unique_id (str) – Specifies the ID which uniquely identifies a cloud service role.

class azure.mgmt.compute.v2024_11_04.models.CloudServiceRoleSku(*, name: str | None = None, tier: str | None = None, capacity: int | None = None, **kwargs: Any)[source]

Bases: Model

Describes the cloud service role sku.

Variables:
  • name (str) – The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.

  • tier (str) – Specifies the tier of the cloud service. Possible Values are <br /><br /> Standard <br /><br /> Basic.

  • capacity (int) – Specifies the number of role instances in the cloud service.

Keyword Arguments:
  • name (str) – The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.

  • tier (str) – Specifies the tier of the cloud service. Possible Values are <br /><br /> Standard <br /><br /> Basic.

  • capacity (int) – Specifies the number of role instances in the cloud service.

class azure.mgmt.compute.v2024_11_04.models.CloudServiceSlotType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: str, Enum

Slot type for the cloud service. Possible values are <br /><br />Production<br /><br />Staging<br /><br /> If not specified, the default value is Production.

PRODUCTION = 'Production'
STAGING = 'Staging'
class azure.mgmt.compute.v2024_11_04.models.CloudServiceUpdate(*, tags: Dict[str, str] | None = None, **kwargs: Any)[source]

Bases: Model

CloudServiceUpdate.

Variables:

tags (dict[str, str]) – Resource tags.

Keyword Arguments:

tags (dict[str, str]) – Resource tags.

class azure.mgmt.compute.v2024_11_04.models.CloudServiceUpgradeMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: str, Enum

Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. Possible Values are <br /><br />Auto<br /><br />Manual <br /><br />Simultaneous<br /><br /> If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence.

AUTO = 'Auto'
MANUAL = 'Manual'
SIMULTANEOUS = 'Simultaneous'
class azure.mgmt.compute.v2024_11_04.models.CloudServiceVaultAndSecretReference(*, source_vault: _models.SubResource | None = None, secret_url: str | None = None, **kwargs: Any)[source]

Bases: Model

Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance.

Variables:
  • source_vault (SubResource) – The ARM Resource ID of the Key Vault.

  • secret_url (str) – Secret URL which contains the protected settings of the extension.

Keyword Arguments:
  • source_vault (SubResource) – The ARM Resource ID of the Key Vault.

  • secret_url (str) – Secret URL which contains the protected settings of the extension.

class azure.mgmt.compute.v2024_11_04.models.CloudServiceVaultCertificate(*, certificate_url: str | None = None, is_bootstrap_certificate: bool | None = None, **kwargs: Any)[source]

Bases: Model

Describes a single certificate reference in a Key Vault, and where the certificate should reside on the role instance.

Variables:
  • certificate_url (str) – This is the URL of a certificate that has been uploaded to Key Vault as a secret.

  • is_bootstrap_certificate (bool) – Flag indicating if the certificate provided is a bootstrap certificate to be used by the Key Vault Extension to fetch the remaining certificates.

Keyword Arguments:
  • certificate_url (str) – This is the URL of a certificate that has been uploaded to Key Vault as a secret.

  • is_bootstrap_certificate (bool) – Flag indicating if the certificate provided is a bootstrap certificate to be used by the Key Vault Extension to fetch the remaining certificates.

class azure.mgmt.compute.v2024_11_04.models.CloudServiceVaultSecretGroup(*, source_vault: _models.SubResource | None = None, vault_certificates: List[_models.CloudServiceVaultCertificate] | None = None, **kwargs: Any)[source]

Bases: Model

Describes a set of certificates which are all in the same Key Vault.

Variables:
  • source_vault (SubResource) – The relative URL of the Key Vault containing all of the certificates in VaultCertificates.

  • vault_certificates (list[CloudServiceVaultCertificate]) – The list of key vault references in SourceVault which contain certificates.

Keyword Arguments:
  • source_vault (SubResource) – The relative URL of the Key Vault containing all of the certificates in VaultCertificates.

  • vault_certificates (list[CloudServiceVaultCertificate]) – The list of key vault references in SourceVault which contain certificates.

class azure.mgmt.compute.v2024_11_04.models.ExtendedLocation(*, name: str | None = None, type: str | _models.ExtendedLocationTypes | None = None, **kwargs: Any)[source]

Bases: Model

The complex type of the extended location.

Variables:
  • name (str) – The name of the extended location.

  • type (str or ExtendedLocationTypes) – The type of the extended location. “EdgeZone”

Keyword Arguments:
  • name (str) – The name of the extended location.

  • type (str or ExtendedLocationTypes) – The type of the extended location. “EdgeZone”

class azure.mgmt.compute.v2024_11_04.models.ExtendedLocationTypes(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: str, Enum

The type of extendedLocation.

EDGE_ZONE = 'EdgeZone'
class azure.mgmt.compute.v2024_11_04.models.Extension(*, name: str | None = None, properties: _models.CloudServiceExtensionProperties | None = None, **kwargs: Any)[source]

Bases: Model

Describes a cloud service Extension.

Variables:
Keyword Arguments:
class azure.mgmt.compute.v2024_11_04.models.InnerError(*, exceptiontype: str | None = None, errordetail: str | None = None, **kwargs: Any)[source]

Bases: Model

Inner error details.

Variables:
  • exceptiontype (str) – The exception type.

  • errordetail (str) – The internal error message or exception dump.

Keyword Arguments:
  • exceptiontype (str) – The exception type.

  • errordetail (str) – The internal error message or exception dump.

class azure.mgmt.compute.v2024_11_04.models.InstanceSku(**kwargs: Any)[source]

Bases: Model

The role instance SKU.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • name (str) – The sku name.

  • tier (str) – The tier of the cloud service role instance.

class azure.mgmt.compute.v2024_11_04.models.InstanceViewStatusesSummary(**kwargs: Any)[source]

Bases: Model

Instance view statuses.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:

statuses_summary (list[StatusCodeCount]) – The summary.

class azure.mgmt.compute.v2024_11_04.models.InstanceViewTypes(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: str, Enum

InstanceViewTypes.

INSTANCE_VIEW = 'instanceView'
USER_DATA = 'userData'
class azure.mgmt.compute.v2024_11_04.models.LoadBalancerConfiguration(*, name: str, properties: _models.LoadBalancerConfigurationProperties, id: str | None = None, **kwargs: Any)[source]

Bases: Model

Describes the load balancer configuration.

All required parameters must be populated in order to send to server.

Variables:
Keyword Arguments:
class azure.mgmt.compute.v2024_11_04.models.LoadBalancerConfigurationProperties(*, frontend_ip_configurations: List[_models.LoadBalancerFrontendIpConfiguration], **kwargs: Any)[source]

Bases: Model

Describes the properties of the load balancer configuration.

All required parameters must be populated in order to send to server.

Variables:

frontend_ip_configurations (list[LoadBalancerFrontendIpConfiguration]) – Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration. Required.

Keyword Arguments:

frontend_ip_configurations (list[LoadBalancerFrontendIpConfiguration]) – Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration. Required.

class azure.mgmt.compute.v2024_11_04.models.LoadBalancerFrontendIpConfiguration(*, name: str, properties: _models.LoadBalancerFrontendIpConfigurationProperties, **kwargs: Any)[source]

Bases: Model

Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.

All required parameters must be populated in order to send to server.

Variables:
  • name (str) – The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource. Required.

  • properties (LoadBalancerFrontendIpConfigurationProperties) – Properties of load balancer frontend ip configuration. Required.

Keyword Arguments:
  • name (str) – The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource. Required.

  • properties (LoadBalancerFrontendIpConfigurationProperties) – Properties of load balancer frontend ip configuration. Required.

class azure.mgmt.compute.v2024_11_04.models.LoadBalancerFrontendIpConfigurationProperties(*, public_ip_address: _models.SubResource | None = None, subnet: _models.SubResource | None = None, private_ip_address: str | None = None, **kwargs: Any)[source]

Bases: Model

Describes a cloud service IP Configuration.

Variables:
  • public_ip_address (SubResource) – The reference to the public ip address resource.

  • subnet (SubResource) – The reference to the virtual network subnet resource.

  • private_ip_address (str) – The virtual network private IP address of the IP configuration.

Keyword Arguments:
  • public_ip_address (SubResource) – The reference to the public ip address resource.

  • subnet (SubResource) – The reference to the virtual network subnet resource.

  • private_ip_address (str) – The virtual network private IP address of the IP configuration.

class azure.mgmt.compute.v2024_11_04.models.OSFamily(*, properties: _models.OSFamilyProperties | None = None, **kwargs: Any)[source]

Bases: Model

Describes a cloud service OS family.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • location (str) – Resource location.

  • properties (OSFamilyProperties) – OS family properties.

Keyword Arguments:

properties (OSFamilyProperties) – OS family properties.

class azure.mgmt.compute.v2024_11_04.models.OSFamilyListResult(*, value: List[_models.OSFamily], next_link: str | None = None, **kwargs: Any)[source]

Bases: Model

The list operation result.

All required parameters must be populated in order to send to server.

Variables:
  • value (list[OSFamily]) – The list of resources. Required.

  • next_link (str) – The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources.

Keyword Arguments:
  • value (list[OSFamily]) – The list of resources. Required.

  • next_link (str) – The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources.

class azure.mgmt.compute.v2024_11_04.models.OSFamilyProperties(**kwargs: Any)[source]

Bases: Model

OS family properties.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
class azure.mgmt.compute.v2024_11_04.models.OSVersion(*, properties: _models.OSVersionProperties | None = None, **kwargs: Any)[source]

Bases: Model

Describes a cloud service OS version.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • location (str) – Resource location.

  • properties (OSVersionProperties) – OS version properties.

Keyword Arguments:

properties (OSVersionProperties) – OS version properties.

class azure.mgmt.compute.v2024_11_04.models.OSVersionListResult(*, value: List[_models.OSVersion], next_link: str | None = None, **kwargs: Any)[source]

Bases: Model

The list operation result.

All required parameters must be populated in order to send to server.

Variables:
  • value (list[OSVersion]) – The list of resources. Required.

  • next_link (str) – The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources.

Keyword Arguments:
  • value (list[OSVersion]) – The list of resources. Required.

  • next_link (str) – The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources.

class azure.mgmt.compute.v2024_11_04.models.OSVersionProperties(**kwargs: Any)[source]

Bases: Model

OS version properties.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • family (str) – The family of this OS version.

  • family_label (str) – The family label of this OS version.

  • version (str) – The OS version.

  • label (str) – The OS version label.

  • is_default (bool) – Specifies whether this is the default OS version for its family.

  • is_active (bool) – Specifies whether this OS version is active.

class azure.mgmt.compute.v2024_11_04.models.OSVersionPropertiesBase(**kwargs: Any)[source]

Bases: Model

Configuration view of an OS version.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • version (str) – The OS version.

  • label (str) – The OS version label.

  • is_default (bool) – Specifies whether this is the default OS version for its family.

  • is_active (bool) – Specifies whether this OS version is active.

class azure.mgmt.compute.v2024_11_04.models.Resource(*, location: str, tags: Dict[str, str] | None = None, **kwargs: Any)[source]

Bases: Model

The Resource model definition.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to server.

Variables:
  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • location (str) – Resource location. Required.

  • tags (dict[str, str]) – Resource tags.

Keyword Arguments:
  • location (str) – Resource location. Required.

  • tags (dict[str, str]) – Resource tags.

class azure.mgmt.compute.v2024_11_04.models.ResourceInstanceViewStatus(*, level: str | _models.StatusLevelTypes | None = None, **kwargs: Any)[source]

Bases: Model

Instance view status.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • code (str) – The status code.

  • display_status (str) – The short localizable label for the status.

  • message (str) – The detailed status message, including for alerts and error messages.

  • time (datetime) – The time of the status.

  • level (str or StatusLevelTypes) – The level code. Known values are: “Info”, “Warning”, and “Error”.

Keyword Arguments:

level (str or StatusLevelTypes) – The level code. Known values are: “Info”, “Warning”, and “Error”.

class azure.mgmt.compute.v2024_11_04.models.ResourceWithOptionalLocation(*, location: str | None = None, tags: Dict[str, str] | None = None, **kwargs: Any)[source]

Bases: Model

The Resource model definition with location property as optional.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • location (str) – Resource location.

  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • tags (dict[str, str]) – Resource tags.

Keyword Arguments:
  • location (str) – Resource location.

  • tags (dict[str, str]) – Resource tags.

class azure.mgmt.compute.v2024_11_04.models.RoleInstance(*, sku: _models.InstanceSku | None = None, properties: _models.RoleInstanceProperties | None = None, **kwargs: Any)[source]

Bases: Model

Describes the cloud service role instance.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • id (str) – Resource Id.

  • name (str) – Resource Name.

  • type (str) – Resource Type.

  • location (str) – Resource Location.

  • tags (dict[str, str]) – Resource tags.

  • sku (InstanceSku) – The role instance SKU.

  • properties (RoleInstanceProperties) – Role instance properties.

Keyword Arguments:
class azure.mgmt.compute.v2024_11_04.models.RoleInstanceListResult(*, value: List[_models.RoleInstance], next_link: str | None = None, **kwargs: Any)[source]

Bases: Model

The list operation result.

All required parameters must be populated in order to send to server.

Variables:
  • value (list[RoleInstance]) – The list of resources. Required.

  • next_link (str) – The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources.

Keyword Arguments:
  • value (list[RoleInstance]) – The list of resources. Required.

  • next_link (str) – The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources.

class azure.mgmt.compute.v2024_11_04.models.RoleInstanceNetworkProfile(**kwargs: Any)[source]

Bases: Model

Describes the network profile for the role instance.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:

network_interfaces (list[SubResource]) – Specifies the list of resource Ids for the network interfaces associated with the role instance.

class azure.mgmt.compute.v2024_11_04.models.RoleInstanceProperties(*, network_profile: _models.RoleInstanceNetworkProfile | None = None, instance_view: _models.RoleInstanceView | None = None, **kwargs: Any)[source]

Bases: Model

Role instance properties.

Variables:
Keyword Arguments:
class azure.mgmt.compute.v2024_11_04.models.RoleInstanceView(**kwargs: Any)[source]

Bases: Model

The instance view of the role instance.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • platform_update_domain (int) – The Update Domain.

  • platform_fault_domain (int) – The Fault Domain.

  • private_id (str) – Specifies a unique identifier generated internally for the cloud service associated with this role instance. <br /><br /> NOTE: If you are using Azure Diagnostics extension, this property can be used as ‘DeploymentId’ for querying details.

  • statuses (list[ResourceInstanceViewStatus])

class azure.mgmt.compute.v2024_11_04.models.RoleInstances(*, role_instances: List[str], **kwargs: Any)[source]

Bases: Model

Specifies a list of role instances from the cloud service.

All required parameters must be populated in order to send to server.

Variables:

role_instances (list[str]) – List of cloud service role instance names. Value of ‘*’ will signify all role instances of the cloud service. Required.

Keyword Arguments:

role_instances (list[str]) – List of cloud service role instance names. Value of ‘*’ will signify all role instances of the cloud service. Required.

class azure.mgmt.compute.v2024_11_04.models.StatusCodeCount(**kwargs: Any)[source]

Bases: Model

The status code and count of the cloud service instance view statuses.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • code (str) – The instance view status code.

  • count (int) – Number of instances having this status code.

class azure.mgmt.compute.v2024_11_04.models.StatusLevelTypes(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: str, Enum

The level code.

ERROR = 'Error'
INFO = 'Info'
WARNING = 'Warning'
class azure.mgmt.compute.v2024_11_04.models.SubResource(*, id: str | None = None, **kwargs: Any)[source]

Bases: Model

SubResource.

Variables:

id (str) – Resource Id.

Keyword Arguments:

id (str) – Resource Id.

class azure.mgmt.compute.v2024_11_04.models.SubResourceReadOnly(**kwargs: Any)[source]

Bases: Model

SubResourceReadOnly.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:

id (str) – Resource Id.

class azure.mgmt.compute.v2024_11_04.models.SystemData(**kwargs: Any)[source]

Bases: Model

The system meta data relating to this resource.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • created_at (datetime) – Specifies the time in UTC at which the Cloud Service (extended support) resource was created. :code:`<br />`Minimum api-version: 2022-04-04.

  • last_modified_at (datetime) – Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified. :code:`<br />`Minimum api-version: 2022-04-04.

class azure.mgmt.compute.v2024_11_04.models.UpdateDomain(**kwargs: Any)[source]

Bases: Model

Defines an update domain for the cloud service.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • id (str) – Resource Id.

  • name (str) – Resource Name.

class azure.mgmt.compute.v2024_11_04.models.UpdateDomainListResult(*, value: List[_models.UpdateDomain], next_link: str | None = None, **kwargs: Any)[source]

Bases: Model

The list operation result.

All required parameters must be populated in order to send to server.

Variables:
  • value (list[UpdateDomain]) – The list of resources. Required.

  • next_link (str) – The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources.

Keyword Arguments:
  • value (list[UpdateDomain]) – The list of resources. Required.

  • next_link (str) – The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources.

class azure.mgmt.compute.v2024_11_04.models.UserAssignedIdentitiesValue(**kwargs: Any)[source]

Bases: Model

UserAssignedIdentitiesValue.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • principal_id (str) – The principal id of user assigned identity.

  • client_id (str) – The client id of user assigned identity.