azure.mgmt.computefleet.operations module¶
- class azure.mgmt.computefleet.operations.FleetsOperations(*args, **kwargs)[source]¶
Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ComputeFleetMgmtClient
’sfleets
attribute.- begin_create_or_update(resource_group_name: str, fleet_name: str, resource: _models.Fleet, *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.Fleet] [source]¶
- begin_create_or_update(resource_group_name: str, fleet_name: str, resource: JSON, *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.Fleet]
- begin_create_or_update(resource_group_name: str, fleet_name: str, resource: IO[bytes], *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.Fleet]
Create a Fleet.
- Parameters:
- Returns:
An instance of LROPoller that returns Fleet. The Fleet is compatible with MutableMapping
- Return type:
- Raises:
Example
# JSON input template you can fill out and use as your body input. resource = { "location": "str", "id": "str", "identity": { "type": "str", "principalId": "str", "tenantId": "str", "userAssignedIdentities": { "str": { "clientId": "str", "principalId": "str" } } }, "name": "str", "plan": { "name": "str", "product": "str", "publisher": "str", "promotionCode": "str", "version": "str" }, "properties": { "computeProfile": { "baseVirtualMachineProfile": { "applicationProfile": { "galleryApplications": [ { "packageReferenceId": "str", "configurationReference": "str", "enableAutomaticUpgrade": bool, "order": 0, "tags": "str", "treatFailureAsDeploymentFailure": bool } ] }, "capacityReservation": { "capacityReservationGroup": { "id": "str" } }, "diagnosticsProfile": { "bootDiagnostics": { "enabled": bool, "storageUri": "str" } }, "extensionProfile": { "extensions": [ { "id": "str", "name": "str", "properties": { "autoUpgradeMinorVersion": bool, "enableAutomaticUpgrade": bool, "forceUpdateTag": "str", "protectedSettings": { "str": {} }, "protectedSettingsFromKeyVault": { "secretUrl": "str", "sourceVault": { "id": "str" } }, "provisionAfterExtensions": [ "str" ], "provisioningState": "str", "publisher": "str", "settings": { "str": {} }, "suppressFailures": bool, "type": "str", "typeHandlerVersion": "str" }, "type": "str" } ], "extensionsTimeBudget": "str" }, "hardwareProfile": { "vmSizeProperties": { "vCPUsAvailable": 0, "vCPUsPerCore": 0 } }, "licenseType": "str", "networkProfile": { "healthProbe": { "id": "str" }, "networkApiVersion": "str", "networkInterfaceConfigurations": [ { "name": "str", "properties": { "ipConfigurations": [ { "name": "str", "properties": { "applicationGatewayBackendAddressPools": [ { "id": "str" } ], "applicationSecurityGroups": [ { "id": "str" } ], "loadBalancerBackendAddressPools": [ { "id": "str" } ], "loadBalancerInboundNatPools": [ { "id": "str" } ], "primary": bool, "privateIPAddressVersion": "str", "publicIPAddressConfiguration": { "name": "str", "properties": { "deleteOption": "str", "dnsSettings": { "domainNameLabel": "str", "domainNameLabelScope": "str" }, "idleTimeoutInMinutes": 0, "ipTags": [ { "ipTagType": "str", "tag": "str" } ], "publicIPAddressVersion": "str", "publicIPPrefix": { "id": "str" } }, "sku": { "name": "str", "tier": "str" } }, "subnet": { "id": "str" } } } ], "auxiliaryMode": "str", "auxiliarySku": "str", "deleteOption": "str", "disableTcpStateTracking": bool, "dnsSettings": { "dnsServers": [ "str" ] }, "enableAcceleratedNetworking": bool, "enableFpga": bool, "enableIPForwarding": bool, "networkSecurityGroup": { "id": "str" }, "primary": bool } } ] }, "osProfile": { "adminPassword": "str", "adminUsername": "str", "allowExtensionOperations": bool, "computerNamePrefix": "str", "customData": "str", "linuxConfiguration": { "disablePasswordAuthentication": bool, "enableVMAgentPlatformUpdates": bool, "patchSettings": { "assessmentMode": "str", "automaticByPlatformSettings": { "bypassPlatformSafetyChecksOnUserSchedule": bool, "rebootSetting": "str" }, "patchMode": "str" }, "provisionVMAgent": bool, "ssh": { "publicKeys": [ { "keyData": "str", "path": "str" } ] } }, "requireGuestProvisionSignal": bool, "secrets": [ { "sourceVault": { "id": "str" }, "vaultCertificates": [ { "certificateStore": "str", "certificateUrl": "str" } ] } ], "windowsConfiguration": { "additionalUnattendContent": [ { "componentName": "Microsoft-Windows-Shell-Setup", "content": "str", "passName": "OobeSystem", "settingName": "str" } ], "enableAutomaticUpdates": bool, "enableVMAgentPlatformUpdates": bool, "patchSettings": { "assessmentMode": "str", "automaticByPlatformSettings": { "bypassPlatformSafetyChecksOnUserSchedule": bool, "rebootSetting": "str" }, "enableHotpatching": bool, "patchMode": "str" }, "provisionVMAgent": bool, "timeZone": "str", "winRM": { "listeners": [ { "certificateUrl": "str", "protocol": "str" } ] } } }, "scheduledEventsProfile": { "osImageNotificationProfile": { "enable": bool, "notBeforeTimeout": "str" }, "terminateNotificationProfile": { "enable": bool, "notBeforeTimeout": "str" } }, "securityPostureReference": { "excludeExtensions": [ "str" ], "id": "str", "isOverridable": bool }, "securityProfile": { "encryptionAtHost": bool, "encryptionIdentity": { "userAssignedIdentityResourceId": "str" }, "proxyAgentSettings": { "enabled": bool, "keyIncarnationId": 0, "mode": "str" }, "securityType": "str", "uefiSettings": { "secureBootEnabled": bool, "vTpmEnabled": bool } }, "serviceArtifactReference": { "id": "str" }, "storageProfile": { "dataDisks": [ { "createOption": "str", "lun": 0, "caching": "str", "deleteOption": "str", "diskIOPSReadWrite": 0, "diskMBpsReadWrite": 0, "diskSizeGB": 0, "managedDisk": { "diskEncryptionSet": { "id": "str" }, "securityProfile": { "diskEncryptionSet": { "id": "str" }, "securityEncryptionType": "str" }, "storageAccountType": "str" }, "name": "str", "writeAcceleratorEnabled": bool } ], "diskControllerType": "str", "imageReference": { "communityGalleryImageId": "str", "exactVersion": "str", "id": "str", "offer": "str", "publisher": "str", "sharedGalleryImageId": "str", "sku": "str", "version": "str" }, "osDisk": { "createOption": "str", "caching": "str", "deleteOption": "str", "diffDiskSettings": { "option": "str", "placement": "str" }, "diskSizeGB": 0, "image": { "uri": "str" }, "managedDisk": { "diskEncryptionSet": { "id": "str" }, "securityProfile": { "diskEncryptionSet": { "id": "str" }, "securityEncryptionType": "str" }, "storageAccountType": "str" }, "name": "str", "osType": "str", "vhdContainers": [ "str" ], "writeAcceleratorEnabled": bool } }, "timeCreated": "2020-02-20 00:00:00", "userData": "str" }, "computeApiVersion": "str", "platformFaultDomainCount": 0 }, "vmSizesProfile": [ { "name": "str", "rank": 0 } ], "provisioningState": "str", "regularPriorityProfile": { "allocationStrategy": "str", "capacity": 0, "minCapacity": 0 }, "spotPriorityProfile": { "allocationStrategy": "str", "capacity": 0, "evictionPolicy": "str", "maintain": bool, "maxPricePerVM": 0.0, "minCapacity": 0 }, "timeCreated": "2020-02-20 00:00:00", "uniqueId": "str" }, "systemData": { "createdAt": "2020-02-20 00:00:00", "createdBy": "str", "createdByType": "str", "lastModifiedAt": "2020-02-20 00:00:00", "lastModifiedBy": "str", "lastModifiedByType": "str" }, "tags": { "str": "str" }, "type": "str", "zones": [ "str" ] } # response body for status code(s): 200, 201 response == { "location": "str", "id": "str", "identity": { "type": "str", "principalId": "str", "tenantId": "str", "userAssignedIdentities": { "str": { "clientId": "str", "principalId": "str" } } }, "name": "str", "plan": { "name": "str", "product": "str", "publisher": "str", "promotionCode": "str", "version": "str" }, "properties": { "computeProfile": { "baseVirtualMachineProfile": { "applicationProfile": { "galleryApplications": [ { "packageReferenceId": "str", "configurationReference": "str", "enableAutomaticUpgrade": bool, "order": 0, "tags": "str", "treatFailureAsDeploymentFailure": bool } ] }, "capacityReservation": { "capacityReservationGroup": { "id": "str" } }, "diagnosticsProfile": { "bootDiagnostics": { "enabled": bool, "storageUri": "str" } }, "extensionProfile": { "extensions": [ { "id": "str", "name": "str", "properties": { "autoUpgradeMinorVersion": bool, "enableAutomaticUpgrade": bool, "forceUpdateTag": "str", "protectedSettings": { "str": {} }, "protectedSettingsFromKeyVault": { "secretUrl": "str", "sourceVault": { "id": "str" } }, "provisionAfterExtensions": [ "str" ], "provisioningState": "str", "publisher": "str", "settings": { "str": {} }, "suppressFailures": bool, "type": "str", "typeHandlerVersion": "str" }, "type": "str" } ], "extensionsTimeBudget": "str" }, "hardwareProfile": { "vmSizeProperties": { "vCPUsAvailable": 0, "vCPUsPerCore": 0 } }, "licenseType": "str", "networkProfile": { "healthProbe": { "id": "str" }, "networkApiVersion": "str", "networkInterfaceConfigurations": [ { "name": "str", "properties": { "ipConfigurations": [ { "name": "str", "properties": { "applicationGatewayBackendAddressPools": [ { "id": "str" } ], "applicationSecurityGroups": [ { "id": "str" } ], "loadBalancerBackendAddressPools": [ { "id": "str" } ], "loadBalancerInboundNatPools": [ { "id": "str" } ], "primary": bool, "privateIPAddressVersion": "str", "publicIPAddressConfiguration": { "name": "str", "properties": { "deleteOption": "str", "dnsSettings": { "domainNameLabel": "str", "domainNameLabelScope": "str" }, "idleTimeoutInMinutes": 0, "ipTags": [ { "ipTagType": "str", "tag": "str" } ], "publicIPAddressVersion": "str", "publicIPPrefix": { "id": "str" } }, "sku": { "name": "str", "tier": "str" } }, "subnet": { "id": "str" } } } ], "auxiliaryMode": "str", "auxiliarySku": "str", "deleteOption": "str", "disableTcpStateTracking": bool, "dnsSettings": { "dnsServers": [ "str" ] }, "enableAcceleratedNetworking": bool, "enableFpga": bool, "enableIPForwarding": bool, "networkSecurityGroup": { "id": "str" }, "primary": bool } } ] }, "osProfile": { "adminPassword": "str", "adminUsername": "str", "allowExtensionOperations": bool, "computerNamePrefix": "str", "customData": "str", "linuxConfiguration": { "disablePasswordAuthentication": bool, "enableVMAgentPlatformUpdates": bool, "patchSettings": { "assessmentMode": "str", "automaticByPlatformSettings": { "bypassPlatformSafetyChecksOnUserSchedule": bool, "rebootSetting": "str" }, "patchMode": "str" }, "provisionVMAgent": bool, "ssh": { "publicKeys": [ { "keyData": "str", "path": "str" } ] } }, "requireGuestProvisionSignal": bool, "secrets": [ { "sourceVault": { "id": "str" }, "vaultCertificates": [ { "certificateStore": "str", "certificateUrl": "str" } ] } ], "windowsConfiguration": { "additionalUnattendContent": [ { "componentName": "Microsoft-Windows-Shell-Setup", "content": "str", "passName": "OobeSystem", "settingName": "str" } ], "enableAutomaticUpdates": bool, "enableVMAgentPlatformUpdates": bool, "patchSettings": { "assessmentMode": "str", "automaticByPlatformSettings": { "bypassPlatformSafetyChecksOnUserSchedule": bool, "rebootSetting": "str" }, "enableHotpatching": bool, "patchMode": "str" }, "provisionVMAgent": bool, "timeZone": "str", "winRM": { "listeners": [ { "certificateUrl": "str", "protocol": "str" } ] } } }, "scheduledEventsProfile": { "osImageNotificationProfile": { "enable": bool, "notBeforeTimeout": "str" }, "terminateNotificationProfile": { "enable": bool, "notBeforeTimeout": "str" } }, "securityPostureReference": { "excludeExtensions": [ "str" ], "id": "str", "isOverridable": bool }, "securityProfile": { "encryptionAtHost": bool, "encryptionIdentity": { "userAssignedIdentityResourceId": "str" }, "proxyAgentSettings": { "enabled": bool, "keyIncarnationId": 0, "mode": "str" }, "securityType": "str", "uefiSettings": { "secureBootEnabled": bool, "vTpmEnabled": bool } }, "serviceArtifactReference": { "id": "str" }, "storageProfile": { "dataDisks": [ { "createOption": "str", "lun": 0, "caching": "str", "deleteOption": "str", "diskIOPSReadWrite": 0, "diskMBpsReadWrite": 0, "diskSizeGB": 0, "managedDisk": { "diskEncryptionSet": { "id": "str" }, "securityProfile": { "diskEncryptionSet": { "id": "str" }, "securityEncryptionType": "str" }, "storageAccountType": "str" }, "name": "str", "writeAcceleratorEnabled": bool } ], "diskControllerType": "str", "imageReference": { "communityGalleryImageId": "str", "exactVersion": "str", "id": "str", "offer": "str", "publisher": "str", "sharedGalleryImageId": "str", "sku": "str", "version": "str" }, "osDisk": { "createOption": "str", "caching": "str", "deleteOption": "str", "diffDiskSettings": { "option": "str", "placement": "str" }, "diskSizeGB": 0, "image": { "uri": "str" }, "managedDisk": { "diskEncryptionSet": { "id": "str" }, "securityProfile": { "diskEncryptionSet": { "id": "str" }, "securityEncryptionType": "str" }, "storageAccountType": "str" }, "name": "str", "osType": "str", "vhdContainers": [ "str" ], "writeAcceleratorEnabled": bool } }, "timeCreated": "2020-02-20 00:00:00", "userData": "str" }, "computeApiVersion": "str", "platformFaultDomainCount": 0 }, "vmSizesProfile": [ { "name": "str", "rank": 0 } ], "provisioningState": "str", "regularPriorityProfile": { "allocationStrategy": "str", "capacity": 0, "minCapacity": 0 }, "spotPriorityProfile": { "allocationStrategy": "str", "capacity": 0, "evictionPolicy": "str", "maintain": bool, "maxPricePerVM": 0.0, "minCapacity": 0 }, "timeCreated": "2020-02-20 00:00:00", "uniqueId": "str" }, "systemData": { "createdAt": "2020-02-20 00:00:00", "createdBy": "str", "createdByType": "str", "lastModifiedAt": "2020-02-20 00:00:00", "lastModifiedBy": "str", "lastModifiedByType": "str" }, "tags": { "str": "str" }, "type": "str", "zones": [ "str" ] }
- begin_delete(resource_group_name: str, fleet_name: str, **kwargs: Any) LROPoller[None] [source]¶
Delete a Fleet.
- Parameters:
- Returns:
An instance of LROPoller that returns None
- Return type:
LROPoller[None]
- Raises:
- begin_update(resource_group_name: str, fleet_name: str, properties: _models.FleetUpdate, *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.Fleet] [source]¶
- begin_update(resource_group_name: str, fleet_name: str, properties: JSON, *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.Fleet]
- begin_update(resource_group_name: str, fleet_name: str, properties: IO[bytes], *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.Fleet]
Update a Fleet.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
fleet_name (str) – The name of the Compute Fleet. Required.
properties (FleetUpdate or JSON or IO[bytes]) – The resource properties to be updated. Is one of the following types: FleetUpdate, JSON, IO[bytes] Required.
- Returns:
An instance of LROPoller that returns Fleet. The Fleet is compatible with MutableMapping
- Return type:
- Raises:
Example
# JSON input template you can fill out and use as your body input. properties = { "identity": { "type": "str", "userAssignedIdentities": { "str": { "clientId": "str", "principalId": "str" } } }, "plan": { "name": "str", "product": "str", "promotionCode": "str", "publisher": "str", "version": "str" }, "properties": { "computeProfile": { "baseVirtualMachineProfile": { "applicationProfile": { "galleryApplications": [ { "packageReferenceId": "str", "configurationReference": "str", "enableAutomaticUpgrade": bool, "order": 0, "tags": "str", "treatFailureAsDeploymentFailure": bool } ] }, "capacityReservation": { "capacityReservationGroup": { "id": "str" } }, "diagnosticsProfile": { "bootDiagnostics": { "enabled": bool, "storageUri": "str" } }, "extensionProfile": { "extensions": [ { "id": "str", "name": "str", "properties": { "autoUpgradeMinorVersion": bool, "enableAutomaticUpgrade": bool, "forceUpdateTag": "str", "protectedSettings": { "str": {} }, "protectedSettingsFromKeyVault": { "secretUrl": "str", "sourceVault": { "id": "str" } }, "provisionAfterExtensions": [ "str" ], "provisioningState": "str", "publisher": "str", "settings": { "str": {} }, "suppressFailures": bool, "type": "str", "typeHandlerVersion": "str" }, "type": "str" } ], "extensionsTimeBudget": "str" }, "hardwareProfile": { "vmSizeProperties": { "vCPUsAvailable": 0, "vCPUsPerCore": 0 } }, "licenseType": "str", "networkProfile": { "healthProbe": { "id": "str" }, "networkApiVersion": "str", "networkInterfaceConfigurations": [ { "name": "str", "properties": { "ipConfigurations": [ { "name": "str", "properties": { "applicationGatewayBackendAddressPools": [ { "id": "str" } ], "applicationSecurityGroups": [ { "id": "str" } ], "loadBalancerBackendAddressPools": [ { "id": "str" } ], "loadBalancerInboundNatPools": [ { "id": "str" } ], "primary": bool, "privateIPAddressVersion": "str", "publicIPAddressConfiguration": { "name": "str", "properties": { "deleteOption": "str", "dnsSettings": { "domainNameLabel": "str", "domainNameLabelScope": "str" }, "idleTimeoutInMinutes": 0, "ipTags": [ { "ipTagType": "str", "tag": "str" } ], "publicIPAddressVersion": "str", "publicIPPrefix": { "id": "str" } }, "sku": { "name": "str", "tier": "str" } }, "subnet": { "id": "str" } } } ], "auxiliaryMode": "str", "auxiliarySku": "str", "deleteOption": "str", "disableTcpStateTracking": bool, "dnsSettings": { "dnsServers": [ "str" ] }, "enableAcceleratedNetworking": bool, "enableFpga": bool, "enableIPForwarding": bool, "networkSecurityGroup": { "id": "str" }, "primary": bool } } ] }, "osProfile": { "adminPassword": "str", "adminUsername": "str", "allowExtensionOperations": bool, "computerNamePrefix": "str", "customData": "str", "linuxConfiguration": { "disablePasswordAuthentication": bool, "enableVMAgentPlatformUpdates": bool, "patchSettings": { "assessmentMode": "str", "automaticByPlatformSettings": { "bypassPlatformSafetyChecksOnUserSchedule": bool, "rebootSetting": "str" }, "patchMode": "str" }, "provisionVMAgent": bool, "ssh": { "publicKeys": [ { "keyData": "str", "path": "str" } ] } }, "requireGuestProvisionSignal": bool, "secrets": [ { "sourceVault": { "id": "str" }, "vaultCertificates": [ { "certificateStore": "str", "certificateUrl": "str" } ] } ], "windowsConfiguration": { "additionalUnattendContent": [ { "componentName": "Microsoft-Windows-Shell-Setup", "content": "str", "passName": "OobeSystem", "settingName": "str" } ], "enableAutomaticUpdates": bool, "enableVMAgentPlatformUpdates": bool, "patchSettings": { "assessmentMode": "str", "automaticByPlatformSettings": { "bypassPlatformSafetyChecksOnUserSchedule": bool, "rebootSetting": "str" }, "enableHotpatching": bool, "patchMode": "str" }, "provisionVMAgent": bool, "timeZone": "str", "winRM": { "listeners": [ { "certificateUrl": "str", "protocol": "str" } ] } } }, "scheduledEventsProfile": { "osImageNotificationProfile": { "enable": bool, "notBeforeTimeout": "str" }, "terminateNotificationProfile": { "enable": bool, "notBeforeTimeout": "str" } }, "securityPostureReference": { "excludeExtensions": [ "str" ], "id": "str", "isOverridable": bool }, "securityProfile": { "encryptionAtHost": bool, "encryptionIdentity": { "userAssignedIdentityResourceId": "str" }, "proxyAgentSettings": { "enabled": bool, "keyIncarnationId": 0, "mode": "str" }, "securityType": "str", "uefiSettings": { "secureBootEnabled": bool, "vTpmEnabled": bool } }, "serviceArtifactReference": { "id": "str" }, "storageProfile": { "dataDisks": [ { "createOption": "str", "lun": 0, "caching": "str", "deleteOption": "str", "diskIOPSReadWrite": 0, "diskMBpsReadWrite": 0, "diskSizeGB": 0, "managedDisk": { "diskEncryptionSet": { "id": "str" }, "securityProfile": { "diskEncryptionSet": { "id": "str" }, "securityEncryptionType": "str" }, "storageAccountType": "str" }, "name": "str", "writeAcceleratorEnabled": bool } ], "diskControllerType": "str", "imageReference": { "communityGalleryImageId": "str", "exactVersion": "str", "id": "str", "offer": "str", "publisher": "str", "sharedGalleryImageId": "str", "sku": "str", "version": "str" }, "osDisk": { "createOption": "str", "caching": "str", "deleteOption": "str", "diffDiskSettings": { "option": "str", "placement": "str" }, "diskSizeGB": 0, "image": { "uri": "str" }, "managedDisk": { "diskEncryptionSet": { "id": "str" }, "securityProfile": { "diskEncryptionSet": { "id": "str" }, "securityEncryptionType": "str" }, "storageAccountType": "str" }, "name": "str", "osType": "str", "vhdContainers": [ "str" ], "writeAcceleratorEnabled": bool } }, "timeCreated": "2020-02-20 00:00:00", "userData": "str" }, "computeApiVersion": "str", "platformFaultDomainCount": 0 }, "vmSizesProfile": [ { "name": "str", "rank": 0 } ], "provisioningState": "str", "regularPriorityProfile": { "allocationStrategy": "str", "capacity": 0, "minCapacity": 0 }, "spotPriorityProfile": { "allocationStrategy": "str", "capacity": 0, "evictionPolicy": "str", "maintain": bool, "maxPricePerVM": 0.0, "minCapacity": 0 }, "timeCreated": "2020-02-20 00:00:00", "uniqueId": "str" }, "tags": { "str": "str" } } # response body for status code(s): 200, 202 response == { "location": "str", "id": "str", "identity": { "type": "str", "principalId": "str", "tenantId": "str", "userAssignedIdentities": { "str": { "clientId": "str", "principalId": "str" } } }, "name": "str", "plan": { "name": "str", "product": "str", "publisher": "str", "promotionCode": "str", "version": "str" }, "properties": { "computeProfile": { "baseVirtualMachineProfile": { "applicationProfile": { "galleryApplications": [ { "packageReferenceId": "str", "configurationReference": "str", "enableAutomaticUpgrade": bool, "order": 0, "tags": "str", "treatFailureAsDeploymentFailure": bool } ] }, "capacityReservation": { "capacityReservationGroup": { "id": "str" } }, "diagnosticsProfile": { "bootDiagnostics": { "enabled": bool, "storageUri": "str" } }, "extensionProfile": { "extensions": [ { "id": "str", "name": "str", "properties": { "autoUpgradeMinorVersion": bool, "enableAutomaticUpgrade": bool, "forceUpdateTag": "str", "protectedSettings": { "str": {} }, "protectedSettingsFromKeyVault": { "secretUrl": "str", "sourceVault": { "id": "str" } }, "provisionAfterExtensions": [ "str" ], "provisioningState": "str", "publisher": "str", "settings": { "str": {} }, "suppressFailures": bool, "type": "str", "typeHandlerVersion": "str" }, "type": "str" } ], "extensionsTimeBudget": "str" }, "hardwareProfile": { "vmSizeProperties": { "vCPUsAvailable": 0, "vCPUsPerCore": 0 } }, "licenseType": "str", "networkProfile": { "healthProbe": { "id": "str" }, "networkApiVersion": "str", "networkInterfaceConfigurations": [ { "name": "str", "properties": { "ipConfigurations": [ { "name": "str", "properties": { "applicationGatewayBackendAddressPools": [ { "id": "str" } ], "applicationSecurityGroups": [ { "id": "str" } ], "loadBalancerBackendAddressPools": [ { "id": "str" } ], "loadBalancerInboundNatPools": [ { "id": "str" } ], "primary": bool, "privateIPAddressVersion": "str", "publicIPAddressConfiguration": { "name": "str", "properties": { "deleteOption": "str", "dnsSettings": { "domainNameLabel": "str", "domainNameLabelScope": "str" }, "idleTimeoutInMinutes": 0, "ipTags": [ { "ipTagType": "str", "tag": "str" } ], "publicIPAddressVersion": "str", "publicIPPrefix": { "id": "str" } }, "sku": { "name": "str", "tier": "str" } }, "subnet": { "id": "str" } } } ], "auxiliaryMode": "str", "auxiliarySku": "str", "deleteOption": "str", "disableTcpStateTracking": bool, "dnsSettings": { "dnsServers": [ "str" ] }, "enableAcceleratedNetworking": bool, "enableFpga": bool, "enableIPForwarding": bool, "networkSecurityGroup": { "id": "str" }, "primary": bool } } ] }, "osProfile": { "adminPassword": "str", "adminUsername": "str", "allowExtensionOperations": bool, "computerNamePrefix": "str", "customData": "str", "linuxConfiguration": { "disablePasswordAuthentication": bool, "enableVMAgentPlatformUpdates": bool, "patchSettings": { "assessmentMode": "str", "automaticByPlatformSettings": { "bypassPlatformSafetyChecksOnUserSchedule": bool, "rebootSetting": "str" }, "patchMode": "str" }, "provisionVMAgent": bool, "ssh": { "publicKeys": [ { "keyData": "str", "path": "str" } ] } }, "requireGuestProvisionSignal": bool, "secrets": [ { "sourceVault": { "id": "str" }, "vaultCertificates": [ { "certificateStore": "str", "certificateUrl": "str" } ] } ], "windowsConfiguration": { "additionalUnattendContent": [ { "componentName": "Microsoft-Windows-Shell-Setup", "content": "str", "passName": "OobeSystem", "settingName": "str" } ], "enableAutomaticUpdates": bool, "enableVMAgentPlatformUpdates": bool, "patchSettings": { "assessmentMode": "str", "automaticByPlatformSettings": { "bypassPlatformSafetyChecksOnUserSchedule": bool, "rebootSetting": "str" }, "enableHotpatching": bool, "patchMode": "str" }, "provisionVMAgent": bool, "timeZone": "str", "winRM": { "listeners": [ { "certificateUrl": "str", "protocol": "str" } ] } } }, "scheduledEventsProfile": { "osImageNotificationProfile": { "enable": bool, "notBeforeTimeout": "str" }, "terminateNotificationProfile": { "enable": bool, "notBeforeTimeout": "str" } }, "securityPostureReference": { "excludeExtensions": [ "str" ], "id": "str", "isOverridable": bool }, "securityProfile": { "encryptionAtHost": bool, "encryptionIdentity": { "userAssignedIdentityResourceId": "str" }, "proxyAgentSettings": { "enabled": bool, "keyIncarnationId": 0, "mode": "str" }, "securityType": "str", "uefiSettings": { "secureBootEnabled": bool, "vTpmEnabled": bool } }, "serviceArtifactReference": { "id": "str" }, "storageProfile": { "dataDisks": [ { "createOption": "str", "lun": 0, "caching": "str", "deleteOption": "str", "diskIOPSReadWrite": 0, "diskMBpsReadWrite": 0, "diskSizeGB": 0, "managedDisk": { "diskEncryptionSet": { "id": "str" }, "securityProfile": { "diskEncryptionSet": { "id": "str" }, "securityEncryptionType": "str" }, "storageAccountType": "str" }, "name": "str", "writeAcceleratorEnabled": bool } ], "diskControllerType": "str", "imageReference": { "communityGalleryImageId": "str", "exactVersion": "str", "id": "str", "offer": "str", "publisher": "str", "sharedGalleryImageId": "str", "sku": "str", "version": "str" }, "osDisk": { "createOption": "str", "caching": "str", "deleteOption": "str", "diffDiskSettings": { "option": "str", "placement": "str" }, "diskSizeGB": 0, "image": { "uri": "str" }, "managedDisk": { "diskEncryptionSet": { "id": "str" }, "securityProfile": { "diskEncryptionSet": { "id": "str" }, "securityEncryptionType": "str" }, "storageAccountType": "str" }, "name": "str", "osType": "str", "vhdContainers": [ "str" ], "writeAcceleratorEnabled": bool } }, "timeCreated": "2020-02-20 00:00:00", "userData": "str" }, "computeApiVersion": "str", "platformFaultDomainCount": 0 }, "vmSizesProfile": [ { "name": "str", "rank": 0 } ], "provisioningState": "str", "regularPriorityProfile": { "allocationStrategy": "str", "capacity": 0, "minCapacity": 0 }, "spotPriorityProfile": { "allocationStrategy": "str", "capacity": 0, "evictionPolicy": "str", "maintain": bool, "maxPricePerVM": 0.0, "minCapacity": 0 }, "timeCreated": "2020-02-20 00:00:00", "uniqueId": "str" }, "systemData": { "createdAt": "2020-02-20 00:00:00", "createdBy": "str", "createdByType": "str", "lastModifiedAt": "2020-02-20 00:00:00", "lastModifiedBy": "str", "lastModifiedByType": "str" }, "tags": { "str": "str" }, "type": "str", "zones": [ "str" ] }
- get(resource_group_name: str, fleet_name: str, **kwargs: Any) Fleet [source]¶
Get a Fleet.
- Parameters:
- Returns:
Fleet. The Fleet is compatible with MutableMapping
- Return type:
- Raises:
Example
# response body for status code(s): 200 response == { "location": "str", "id": "str", "identity": { "type": "str", "principalId": "str", "tenantId": "str", "userAssignedIdentities": { "str": { "clientId": "str", "principalId": "str" } } }, "name": "str", "plan": { "name": "str", "product": "str", "publisher": "str", "promotionCode": "str", "version": "str" }, "properties": { "computeProfile": { "baseVirtualMachineProfile": { "applicationProfile": { "galleryApplications": [ { "packageReferenceId": "str", "configurationReference": "str", "enableAutomaticUpgrade": bool, "order": 0, "tags": "str", "treatFailureAsDeploymentFailure": bool } ] }, "capacityReservation": { "capacityReservationGroup": { "id": "str" } }, "diagnosticsProfile": { "bootDiagnostics": { "enabled": bool, "storageUri": "str" } }, "extensionProfile": { "extensions": [ { "id": "str", "name": "str", "properties": { "autoUpgradeMinorVersion": bool, "enableAutomaticUpgrade": bool, "forceUpdateTag": "str", "protectedSettings": { "str": {} }, "protectedSettingsFromKeyVault": { "secretUrl": "str", "sourceVault": { "id": "str" } }, "provisionAfterExtensions": [ "str" ], "provisioningState": "str", "publisher": "str", "settings": { "str": {} }, "suppressFailures": bool, "type": "str", "typeHandlerVersion": "str" }, "type": "str" } ], "extensionsTimeBudget": "str" }, "hardwareProfile": { "vmSizeProperties": { "vCPUsAvailable": 0, "vCPUsPerCore": 0 } }, "licenseType": "str", "networkProfile": { "healthProbe": { "id": "str" }, "networkApiVersion": "str", "networkInterfaceConfigurations": [ { "name": "str", "properties": { "ipConfigurations": [ { "name": "str", "properties": { "applicationGatewayBackendAddressPools": [ { "id": "str" } ], "applicationSecurityGroups": [ { "id": "str" } ], "loadBalancerBackendAddressPools": [ { "id": "str" } ], "loadBalancerInboundNatPools": [ { "id": "str" } ], "primary": bool, "privateIPAddressVersion": "str", "publicIPAddressConfiguration": { "name": "str", "properties": { "deleteOption": "str", "dnsSettings": { "domainNameLabel": "str", "domainNameLabelScope": "str" }, "idleTimeoutInMinutes": 0, "ipTags": [ { "ipTagType": "str", "tag": "str" } ], "publicIPAddressVersion": "str", "publicIPPrefix": { "id": "str" } }, "sku": { "name": "str", "tier": "str" } }, "subnet": { "id": "str" } } } ], "auxiliaryMode": "str", "auxiliarySku": "str", "deleteOption": "str", "disableTcpStateTracking": bool, "dnsSettings": { "dnsServers": [ "str" ] }, "enableAcceleratedNetworking": bool, "enableFpga": bool, "enableIPForwarding": bool, "networkSecurityGroup": { "id": "str" }, "primary": bool } } ] }, "osProfile": { "adminPassword": "str", "adminUsername": "str", "allowExtensionOperations": bool, "computerNamePrefix": "str", "customData": "str", "linuxConfiguration": { "disablePasswordAuthentication": bool, "enableVMAgentPlatformUpdates": bool, "patchSettings": { "assessmentMode": "str", "automaticByPlatformSettings": { "bypassPlatformSafetyChecksOnUserSchedule": bool, "rebootSetting": "str" }, "patchMode": "str" }, "provisionVMAgent": bool, "ssh": { "publicKeys": [ { "keyData": "str", "path": "str" } ] } }, "requireGuestProvisionSignal": bool, "secrets": [ { "sourceVault": { "id": "str" }, "vaultCertificates": [ { "certificateStore": "str", "certificateUrl": "str" } ] } ], "windowsConfiguration": { "additionalUnattendContent": [ { "componentName": "Microsoft-Windows-Shell-Setup", "content": "str", "passName": "OobeSystem", "settingName": "str" } ], "enableAutomaticUpdates": bool, "enableVMAgentPlatformUpdates": bool, "patchSettings": { "assessmentMode": "str", "automaticByPlatformSettings": { "bypassPlatformSafetyChecksOnUserSchedule": bool, "rebootSetting": "str" }, "enableHotpatching": bool, "patchMode": "str" }, "provisionVMAgent": bool, "timeZone": "str", "winRM": { "listeners": [ { "certificateUrl": "str", "protocol": "str" } ] } } }, "scheduledEventsProfile": { "osImageNotificationProfile": { "enable": bool, "notBeforeTimeout": "str" }, "terminateNotificationProfile": { "enable": bool, "notBeforeTimeout": "str" } }, "securityPostureReference": { "excludeExtensions": [ "str" ], "id": "str", "isOverridable": bool }, "securityProfile": { "encryptionAtHost": bool, "encryptionIdentity": { "userAssignedIdentityResourceId": "str" }, "proxyAgentSettings": { "enabled": bool, "keyIncarnationId": 0, "mode": "str" }, "securityType": "str", "uefiSettings": { "secureBootEnabled": bool, "vTpmEnabled": bool } }, "serviceArtifactReference": { "id": "str" }, "storageProfile": { "dataDisks": [ { "createOption": "str", "lun": 0, "caching": "str", "deleteOption": "str", "diskIOPSReadWrite": 0, "diskMBpsReadWrite": 0, "diskSizeGB": 0, "managedDisk": { "diskEncryptionSet": { "id": "str" }, "securityProfile": { "diskEncryptionSet": { "id": "str" }, "securityEncryptionType": "str" }, "storageAccountType": "str" }, "name": "str", "writeAcceleratorEnabled": bool } ], "diskControllerType": "str", "imageReference": { "communityGalleryImageId": "str", "exactVersion": "str", "id": "str", "offer": "str", "publisher": "str", "sharedGalleryImageId": "str", "sku": "str", "version": "str" }, "osDisk": { "createOption": "str", "caching": "str", "deleteOption": "str", "diffDiskSettings": { "option": "str", "placement": "str" }, "diskSizeGB": 0, "image": { "uri": "str" }, "managedDisk": { "diskEncryptionSet": { "id": "str" }, "securityProfile": { "diskEncryptionSet": { "id": "str" }, "securityEncryptionType": "str" }, "storageAccountType": "str" }, "name": "str", "osType": "str", "vhdContainers": [ "str" ], "writeAcceleratorEnabled": bool } }, "timeCreated": "2020-02-20 00:00:00", "userData": "str" }, "computeApiVersion": "str", "platformFaultDomainCount": 0 }, "vmSizesProfile": [ { "name": "str", "rank": 0 } ], "provisioningState": "str", "regularPriorityProfile": { "allocationStrategy": "str", "capacity": 0, "minCapacity": 0 }, "spotPriorityProfile": { "allocationStrategy": "str", "capacity": 0, "evictionPolicy": "str", "maintain": bool, "maxPricePerVM": 0.0, "minCapacity": 0 }, "timeCreated": "2020-02-20 00:00:00", "uniqueId": "str" }, "systemData": { "createdAt": "2020-02-20 00:00:00", "createdBy": "str", "createdByType": "str", "lastModifiedAt": "2020-02-20 00:00:00", "lastModifiedBy": "str", "lastModifiedByType": "str" }, "tags": { "str": "str" }, "type": "str", "zones": [ "str" ] }
- list_by_resource_group(resource_group_name: str, **kwargs: Any) Iterable[Fleet] [source]¶
List Fleet resources by resource group.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
- Returns:
An iterator like instance of Fleet
- Return type:
- Raises:
Example
# response body for status code(s): 200 response == { "location": "str", "id": "str", "identity": { "type": "str", "principalId": "str", "tenantId": "str", "userAssignedIdentities": { "str": { "clientId": "str", "principalId": "str" } } }, "name": "str", "plan": { "name": "str", "product": "str", "publisher": "str", "promotionCode": "str", "version": "str" }, "properties": { "computeProfile": { "baseVirtualMachineProfile": { "applicationProfile": { "galleryApplications": [ { "packageReferenceId": "str", "configurationReference": "str", "enableAutomaticUpgrade": bool, "order": 0, "tags": "str", "treatFailureAsDeploymentFailure": bool } ] }, "capacityReservation": { "capacityReservationGroup": { "id": "str" } }, "diagnosticsProfile": { "bootDiagnostics": { "enabled": bool, "storageUri": "str" } }, "extensionProfile": { "extensions": [ { "id": "str", "name": "str", "properties": { "autoUpgradeMinorVersion": bool, "enableAutomaticUpgrade": bool, "forceUpdateTag": "str", "protectedSettings": { "str": {} }, "protectedSettingsFromKeyVault": { "secretUrl": "str", "sourceVault": { "id": "str" } }, "provisionAfterExtensions": [ "str" ], "provisioningState": "str", "publisher": "str", "settings": { "str": {} }, "suppressFailures": bool, "type": "str", "typeHandlerVersion": "str" }, "type": "str" } ], "extensionsTimeBudget": "str" }, "hardwareProfile": { "vmSizeProperties": { "vCPUsAvailable": 0, "vCPUsPerCore": 0 } }, "licenseType": "str", "networkProfile": { "healthProbe": { "id": "str" }, "networkApiVersion": "str", "networkInterfaceConfigurations": [ { "name": "str", "properties": { "ipConfigurations": [ { "name": "str", "properties": { "applicationGatewayBackendAddressPools": [ { "id": "str" } ], "applicationSecurityGroups": [ { "id": "str" } ], "loadBalancerBackendAddressPools": [ { "id": "str" } ], "loadBalancerInboundNatPools": [ { "id": "str" } ], "primary": bool, "privateIPAddressVersion": "str", "publicIPAddressConfiguration": { "name": "str", "properties": { "deleteOption": "str", "dnsSettings": { "domainNameLabel": "str", "domainNameLabelScope": "str" }, "idleTimeoutInMinutes": 0, "ipTags": [ { "ipTagType": "str", "tag": "str" } ], "publicIPAddressVersion": "str", "publicIPPrefix": { "id": "str" } }, "sku": { "name": "str", "tier": "str" } }, "subnet": { "id": "str" } } } ], "auxiliaryMode": "str", "auxiliarySku": "str", "deleteOption": "str", "disableTcpStateTracking": bool, "dnsSettings": { "dnsServers": [ "str" ] }, "enableAcceleratedNetworking": bool, "enableFpga": bool, "enableIPForwarding": bool, "networkSecurityGroup": { "id": "str" }, "primary": bool } } ] }, "osProfile": { "adminPassword": "str", "adminUsername": "str", "allowExtensionOperations": bool, "computerNamePrefix": "str", "customData": "str", "linuxConfiguration": { "disablePasswordAuthentication": bool, "enableVMAgentPlatformUpdates": bool, "patchSettings": { "assessmentMode": "str", "automaticByPlatformSettings": { "bypassPlatformSafetyChecksOnUserSchedule": bool, "rebootSetting": "str" }, "patchMode": "str" }, "provisionVMAgent": bool, "ssh": { "publicKeys": [ { "keyData": "str", "path": "str" } ] } }, "requireGuestProvisionSignal": bool, "secrets": [ { "sourceVault": { "id": "str" }, "vaultCertificates": [ { "certificateStore": "str", "certificateUrl": "str" } ] } ], "windowsConfiguration": { "additionalUnattendContent": [ { "componentName": "Microsoft-Windows-Shell-Setup", "content": "str", "passName": "OobeSystem", "settingName": "str" } ], "enableAutomaticUpdates": bool, "enableVMAgentPlatformUpdates": bool, "patchSettings": { "assessmentMode": "str", "automaticByPlatformSettings": { "bypassPlatformSafetyChecksOnUserSchedule": bool, "rebootSetting": "str" }, "enableHotpatching": bool, "patchMode": "str" }, "provisionVMAgent": bool, "timeZone": "str", "winRM": { "listeners": [ { "certificateUrl": "str", "protocol": "str" } ] } } }, "scheduledEventsProfile": { "osImageNotificationProfile": { "enable": bool, "notBeforeTimeout": "str" }, "terminateNotificationProfile": { "enable": bool, "notBeforeTimeout": "str" } }, "securityPostureReference": { "excludeExtensions": [ "str" ], "id": "str", "isOverridable": bool }, "securityProfile": { "encryptionAtHost": bool, "encryptionIdentity": { "userAssignedIdentityResourceId": "str" }, "proxyAgentSettings": { "enabled": bool, "keyIncarnationId": 0, "mode": "str" }, "securityType": "str", "uefiSettings": { "secureBootEnabled": bool, "vTpmEnabled": bool } }, "serviceArtifactReference": { "id": "str" }, "storageProfile": { "dataDisks": [ { "createOption": "str", "lun": 0, "caching": "str", "deleteOption": "str", "diskIOPSReadWrite": 0, "diskMBpsReadWrite": 0, "diskSizeGB": 0, "managedDisk": { "diskEncryptionSet": { "id": "str" }, "securityProfile": { "diskEncryptionSet": { "id": "str" }, "securityEncryptionType": "str" }, "storageAccountType": "str" }, "name": "str", "writeAcceleratorEnabled": bool } ], "diskControllerType": "str", "imageReference": { "communityGalleryImageId": "str", "exactVersion": "str", "id": "str", "offer": "str", "publisher": "str", "sharedGalleryImageId": "str", "sku": "str", "version": "str" }, "osDisk": { "createOption": "str", "caching": "str", "deleteOption": "str", "diffDiskSettings": { "option": "str", "placement": "str" }, "diskSizeGB": 0, "image": { "uri": "str" }, "managedDisk": { "diskEncryptionSet": { "id": "str" }, "securityProfile": { "diskEncryptionSet": { "id": "str" }, "securityEncryptionType": "str" }, "storageAccountType": "str" }, "name": "str", "osType": "str", "vhdContainers": [ "str" ], "writeAcceleratorEnabled": bool } }, "timeCreated": "2020-02-20 00:00:00", "userData": "str" }, "computeApiVersion": "str", "platformFaultDomainCount": 0 }, "vmSizesProfile": [ { "name": "str", "rank": 0 } ], "provisioningState": "str", "regularPriorityProfile": { "allocationStrategy": "str", "capacity": 0, "minCapacity": 0 }, "spotPriorityProfile": { "allocationStrategy": "str", "capacity": 0, "evictionPolicy": "str", "maintain": bool, "maxPricePerVM": 0.0, "minCapacity": 0 }, "timeCreated": "2020-02-20 00:00:00", "uniqueId": "str" }, "systemData": { "createdAt": "2020-02-20 00:00:00", "createdBy": "str", "createdByType": "str", "lastModifiedAt": "2020-02-20 00:00:00", "lastModifiedBy": "str", "lastModifiedByType": "str" }, "tags": { "str": "str" }, "type": "str", "zones": [ "str" ] }
- list_by_subscription(**kwargs: Any) Iterable[Fleet] [source]¶
List Fleet resources by subscription ID.
- Returns:
An iterator like instance of Fleet
- Return type:
- Raises:
Example
# response body for status code(s): 200 response == { "location": "str", "id": "str", "identity": { "type": "str", "principalId": "str", "tenantId": "str", "userAssignedIdentities": { "str": { "clientId": "str", "principalId": "str" } } }, "name": "str", "plan": { "name": "str", "product": "str", "publisher": "str", "promotionCode": "str", "version": "str" }, "properties": { "computeProfile": { "baseVirtualMachineProfile": { "applicationProfile": { "galleryApplications": [ { "packageReferenceId": "str", "configurationReference": "str", "enableAutomaticUpgrade": bool, "order": 0, "tags": "str", "treatFailureAsDeploymentFailure": bool } ] }, "capacityReservation": { "capacityReservationGroup": { "id": "str" } }, "diagnosticsProfile": { "bootDiagnostics": { "enabled": bool, "storageUri": "str" } }, "extensionProfile": { "extensions": [ { "id": "str", "name": "str", "properties": { "autoUpgradeMinorVersion": bool, "enableAutomaticUpgrade": bool, "forceUpdateTag": "str", "protectedSettings": { "str": {} }, "protectedSettingsFromKeyVault": { "secretUrl": "str", "sourceVault": { "id": "str" } }, "provisionAfterExtensions": [ "str" ], "provisioningState": "str", "publisher": "str", "settings": { "str": {} }, "suppressFailures": bool, "type": "str", "typeHandlerVersion": "str" }, "type": "str" } ], "extensionsTimeBudget": "str" }, "hardwareProfile": { "vmSizeProperties": { "vCPUsAvailable": 0, "vCPUsPerCore": 0 } }, "licenseType": "str", "networkProfile": { "healthProbe": { "id": "str" }, "networkApiVersion": "str", "networkInterfaceConfigurations": [ { "name": "str", "properties": { "ipConfigurations": [ { "name": "str", "properties": { "applicationGatewayBackendAddressPools": [ { "id": "str" } ], "applicationSecurityGroups": [ { "id": "str" } ], "loadBalancerBackendAddressPools": [ { "id": "str" } ], "loadBalancerInboundNatPools": [ { "id": "str" } ], "primary": bool, "privateIPAddressVersion": "str", "publicIPAddressConfiguration": { "name": "str", "properties": { "deleteOption": "str", "dnsSettings": { "domainNameLabel": "str", "domainNameLabelScope": "str" }, "idleTimeoutInMinutes": 0, "ipTags": [ { "ipTagType": "str", "tag": "str" } ], "publicIPAddressVersion": "str", "publicIPPrefix": { "id": "str" } }, "sku": { "name": "str", "tier": "str" } }, "subnet": { "id": "str" } } } ], "auxiliaryMode": "str", "auxiliarySku": "str", "deleteOption": "str", "disableTcpStateTracking": bool, "dnsSettings": { "dnsServers": [ "str" ] }, "enableAcceleratedNetworking": bool, "enableFpga": bool, "enableIPForwarding": bool, "networkSecurityGroup": { "id": "str" }, "primary": bool } } ] }, "osProfile": { "adminPassword": "str", "adminUsername": "str", "allowExtensionOperations": bool, "computerNamePrefix": "str", "customData": "str", "linuxConfiguration": { "disablePasswordAuthentication": bool, "enableVMAgentPlatformUpdates": bool, "patchSettings": { "assessmentMode": "str", "automaticByPlatformSettings": { "bypassPlatformSafetyChecksOnUserSchedule": bool, "rebootSetting": "str" }, "patchMode": "str" }, "provisionVMAgent": bool, "ssh": { "publicKeys": [ { "keyData": "str", "path": "str" } ] } }, "requireGuestProvisionSignal": bool, "secrets": [ { "sourceVault": { "id": "str" }, "vaultCertificates": [ { "certificateStore": "str", "certificateUrl": "str" } ] } ], "windowsConfiguration": { "additionalUnattendContent": [ { "componentName": "Microsoft-Windows-Shell-Setup", "content": "str", "passName": "OobeSystem", "settingName": "str" } ], "enableAutomaticUpdates": bool, "enableVMAgentPlatformUpdates": bool, "patchSettings": { "assessmentMode": "str", "automaticByPlatformSettings": { "bypassPlatformSafetyChecksOnUserSchedule": bool, "rebootSetting": "str" }, "enableHotpatching": bool, "patchMode": "str" }, "provisionVMAgent": bool, "timeZone": "str", "winRM": { "listeners": [ { "certificateUrl": "str", "protocol": "str" } ] } } }, "scheduledEventsProfile": { "osImageNotificationProfile": { "enable": bool, "notBeforeTimeout": "str" }, "terminateNotificationProfile": { "enable": bool, "notBeforeTimeout": "str" } }, "securityPostureReference": { "excludeExtensions": [ "str" ], "id": "str", "isOverridable": bool }, "securityProfile": { "encryptionAtHost": bool, "encryptionIdentity": { "userAssignedIdentityResourceId": "str" }, "proxyAgentSettings": { "enabled": bool, "keyIncarnationId": 0, "mode": "str" }, "securityType": "str", "uefiSettings": { "secureBootEnabled": bool, "vTpmEnabled": bool } }, "serviceArtifactReference": { "id": "str" }, "storageProfile": { "dataDisks": [ { "createOption": "str", "lun": 0, "caching": "str", "deleteOption": "str", "diskIOPSReadWrite": 0, "diskMBpsReadWrite": 0, "diskSizeGB": 0, "managedDisk": { "diskEncryptionSet": { "id": "str" }, "securityProfile": { "diskEncryptionSet": { "id": "str" }, "securityEncryptionType": "str" }, "storageAccountType": "str" }, "name": "str", "writeAcceleratorEnabled": bool } ], "diskControllerType": "str", "imageReference": { "communityGalleryImageId": "str", "exactVersion": "str", "id": "str", "offer": "str", "publisher": "str", "sharedGalleryImageId": "str", "sku": "str", "version": "str" }, "osDisk": { "createOption": "str", "caching": "str", "deleteOption": "str", "diffDiskSettings": { "option": "str", "placement": "str" }, "diskSizeGB": 0, "image": { "uri": "str" }, "managedDisk": { "diskEncryptionSet": { "id": "str" }, "securityProfile": { "diskEncryptionSet": { "id": "str" }, "securityEncryptionType": "str" }, "storageAccountType": "str" }, "name": "str", "osType": "str", "vhdContainers": [ "str" ], "writeAcceleratorEnabled": bool } }, "timeCreated": "2020-02-20 00:00:00", "userData": "str" }, "computeApiVersion": "str", "platformFaultDomainCount": 0 }, "vmSizesProfile": [ { "name": "str", "rank": 0 } ], "provisioningState": "str", "regularPriorityProfile": { "allocationStrategy": "str", "capacity": 0, "minCapacity": 0 }, "spotPriorityProfile": { "allocationStrategy": "str", "capacity": 0, "evictionPolicy": "str", "maintain": bool, "maxPricePerVM": 0.0, "minCapacity": 0 }, "timeCreated": "2020-02-20 00:00:00", "uniqueId": "str" }, "systemData": { "createdAt": "2020-02-20 00:00:00", "createdBy": "str", "createdByType": "str", "lastModifiedAt": "2020-02-20 00:00:00", "lastModifiedBy": "str", "lastModifiedByType": "str" }, "tags": { "str": "str" }, "type": "str", "zones": [ "str" ] }
- list_virtual_machine_scale_sets(resource_group_name: str, name: str, **kwargs: Any) Iterable[VirtualMachineScaleSet] [source]¶
List VirtualMachineScaleSet resources by Fleet.
- Parameters:
- Returns:
An iterator like instance of VirtualMachineScaleSet
- Return type:
- Raises:
Example
# response body for status code(s): 200 response == { "id": "str", "operationStatus": "str", "error": { "code": "str", "details": [ { "code": "str", "message": "str", "target": "str" } ], "innererror": { "errorDetail": "str", "exceptionType": "str" }, "message": "str", "target": "str" }, "type": "str" }
- class azure.mgmt.computefleet.operations.Operations(*args, **kwargs)[source]¶
Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ComputeFleetMgmtClient
’soperations
attribute.- list(**kwargs: Any) Iterable[Operation] [source]¶
List the operations for the provider.
- Returns:
An iterator like instance of Operation
- Return type:
- Raises:
Example
# response body for status code(s): 200 response == { "actionType": "str", "display": { "description": "str", "operation": "str", "provider": "str", "resource": "str" }, "isDataAction": bool, "name": "str", "origin": "str" }