diff --git a/sdk/hybridcompute/azure-mgmt-hybridcompute/CHANGELOG.md b/sdk/hybridcompute/azure-mgmt-hybridcompute/CHANGELOG.md index 78a579cf9f5b..932c6cfe5101 100644 --- a/sdk/hybridcompute/azure-mgmt-hybridcompute/CHANGELOG.md +++ b/sdk/hybridcompute/azure-mgmt-hybridcompute/CHANGELOG.md @@ -1,11 +1,5 @@ # Release History -## 9.1.0b4 (2026-07-07) - -### Other Changes - - - Regular release - ## 9.1.0b3 (2026-06-03) ### Features Added diff --git a/sdk/hybridcompute/azure-mgmt-hybridcompute/_metadata.json b/sdk/hybridcompute/azure-mgmt-hybridcompute/_metadata.json index 58e2a3ec51b1..ebad15250a4b 100644 --- a/sdk/hybridcompute/azure-mgmt-hybridcompute/_metadata.json +++ b/sdk/hybridcompute/azure-mgmt-hybridcompute/_metadata.json @@ -3,9 +3,8 @@ "apiVersions": { "Microsoft.HybridCompute": "2025-09-16-preview" }, - "commit": "e64d37d1c60bdfc5dce4673808c09a50a12d1fd5", + "commit": "ecd420c9534d0dab69be38027c1723031504b081", "repository_url": "https://github.com/Azure/azure-rest-api-specs", "typespec_src": "specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute", - "emitterVersion": "0.63.2", - "httpClientPythonVersion": "^0.34.1" + "emitterVersion": "0.62.1" } \ No newline at end of file diff --git a/sdk/hybridcompute/azure-mgmt-hybridcompute/api.md b/sdk/hybridcompute/azure-mgmt-hybridcompute/api.md index fb0bb63a24a8..45560f66fa14 100644 --- a/sdk/hybridcompute/azure-mgmt-hybridcompute/api.md +++ b/sdk/hybridcompute/azure-mgmt-hybridcompute/api.md @@ -48,7 +48,7 @@ namespace azure.mgmt.hybridcompute self, resource_group_name: str, machine_name: str, - extensions: SetupExtensionRequest, + extensions: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -81,7 +81,7 @@ namespace azure.mgmt.hybridcompute self, resource_group_name: str, machine_name: str, - extension_upgrade_parameters: MachineExtensionUpgrade, + extension_upgrade_parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -158,7 +158,7 @@ namespace azure.mgmt.hybridcompute.aio self, resource_group_name: str, machine_name: str, - extensions: SetupExtensionRequest, + extensions: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -191,7 +191,7 @@ namespace azure.mgmt.hybridcompute.aio self, resource_group_name: str, machine_name: str, - extension_upgrade_parameters: MachineExtensionUpgrade, + extension_upgrade_parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -334,7 +334,7 @@ namespace azure.mgmt.hybridcompute.aio.operations self, resource_group_name: str, gateway_name: str, - parameters: Gateway, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -393,7 +393,7 @@ namespace azure.mgmt.hybridcompute.aio.operations self, resource_group_name: str, gateway_name: str, - parameters: GatewayUpdate, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -435,7 +435,7 @@ namespace azure.mgmt.hybridcompute.aio.operations self, resource_group_name: str, machine_name: str, - parameters: LicenseProfile, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -476,7 +476,7 @@ namespace azure.mgmt.hybridcompute.aio.operations self, resource_group_name: str, machine_name: str, - parameters: LicenseProfileUpdate, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -534,7 +534,7 @@ namespace azure.mgmt.hybridcompute.aio.operations self, resource_group_name: str, license_name: str, - parameters: License, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -575,7 +575,7 @@ namespace azure.mgmt.hybridcompute.aio.operations self, resource_group_name: str, license_name: str, - parameters: LicenseUpdate, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -604,7 +604,7 @@ namespace azure.mgmt.hybridcompute.aio.operations @overload async def begin_validate_license( self, - parameters: License, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -664,7 +664,7 @@ namespace azure.mgmt.hybridcompute.aio.operations resource_group_name: str, machine_name: str, extension_name: str, - extension_parameters: MachineExtension, + extension_parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -709,7 +709,7 @@ namespace azure.mgmt.hybridcompute.aio.operations resource_group_name: str, machine_name: str, extension_name: str, - extension_parameters: MachineExtensionUpdate, + extension_parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -773,7 +773,7 @@ namespace azure.mgmt.hybridcompute.aio.operations resource_group_name: str, machine_name: str, run_command_name: str, - run_command_properties: MachineRunCommand, + run_command_properties: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -860,7 +860,7 @@ namespace azure.mgmt.hybridcompute.aio.operations self, resource_group_name: str, name: str, - install_patches_input: MachineInstallPatchesParameters, + install_patches_input: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -894,7 +894,7 @@ namespace azure.mgmt.hybridcompute.aio.operations self, resource_group_name: str, machine_name: str, - parameters: Machine, + parameters: JSON, *, content_type: str = "application/json", expand: Optional[str] = ..., @@ -951,7 +951,7 @@ namespace azure.mgmt.hybridcompute.aio.operations self, resource_group_name: str, machine_name: str, - parameters: MachineUpdate, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -1059,7 +1059,7 @@ namespace azure.mgmt.hybridcompute.aio.operations resource_group_name: str, scope_name: str, private_endpoint_connection_name: str, - parameters: PrivateEndpointConnection, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -1162,7 +1162,7 @@ namespace azure.mgmt.hybridcompute.aio.operations self, resource_group_name: str, scope_name: str, - parameters: HybridComputePrivateLinkScope, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -1229,7 +1229,7 @@ namespace azure.mgmt.hybridcompute.aio.operations self, resource_group_name: str, scope_name: str, - private_link_scope_tags: TagsResource, + private_link_scope_tags: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -1288,7 +1288,7 @@ namespace azure.mgmt.hybridcompute.aio.operations base_resource_type: str, base_resource_name: str, settings_resource_name: str, - parameters: Settings, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -1330,7 +1330,7 @@ namespace azure.mgmt.hybridcompute.aio.operations base_resource_type: str, base_resource_name: str, settings_resource_name: str, - parameters: Settings, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -3814,7 +3814,7 @@ namespace azure.mgmt.hybridcompute.operations self, resource_group_name: str, gateway_name: str, - parameters: Gateway, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -3873,7 +3873,7 @@ namespace azure.mgmt.hybridcompute.operations self, resource_group_name: str, gateway_name: str, - parameters: GatewayUpdate, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -3915,7 +3915,7 @@ namespace azure.mgmt.hybridcompute.operations self, resource_group_name: str, machine_name: str, - parameters: LicenseProfile, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -3956,7 +3956,7 @@ namespace azure.mgmt.hybridcompute.operations self, resource_group_name: str, machine_name: str, - parameters: LicenseProfileUpdate, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -4014,7 +4014,7 @@ namespace azure.mgmt.hybridcompute.operations self, resource_group_name: str, license_name: str, - parameters: License, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -4055,7 +4055,7 @@ namespace azure.mgmt.hybridcompute.operations self, resource_group_name: str, license_name: str, - parameters: LicenseUpdate, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -4084,7 +4084,7 @@ namespace azure.mgmt.hybridcompute.operations @overload def begin_validate_license( self, - parameters: License, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -4144,7 +4144,7 @@ namespace azure.mgmt.hybridcompute.operations resource_group_name: str, machine_name: str, extension_name: str, - extension_parameters: MachineExtension, + extension_parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -4189,7 +4189,7 @@ namespace azure.mgmt.hybridcompute.operations resource_group_name: str, machine_name: str, extension_name: str, - extension_parameters: MachineExtensionUpdate, + extension_parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -4253,7 +4253,7 @@ namespace azure.mgmt.hybridcompute.operations resource_group_name: str, machine_name: str, run_command_name: str, - run_command_properties: MachineRunCommand, + run_command_properties: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -4340,7 +4340,7 @@ namespace azure.mgmt.hybridcompute.operations self, resource_group_name: str, name: str, - install_patches_input: MachineInstallPatchesParameters, + install_patches_input: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -4374,7 +4374,7 @@ namespace azure.mgmt.hybridcompute.operations self, resource_group_name: str, machine_name: str, - parameters: Machine, + parameters: JSON, *, content_type: str = "application/json", expand: Optional[str] = ..., @@ -4431,7 +4431,7 @@ namespace azure.mgmt.hybridcompute.operations self, resource_group_name: str, machine_name: str, - parameters: MachineUpdate, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -4539,7 +4539,7 @@ namespace azure.mgmt.hybridcompute.operations resource_group_name: str, scope_name: str, private_endpoint_connection_name: str, - parameters: PrivateEndpointConnection, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -4642,7 +4642,7 @@ namespace azure.mgmt.hybridcompute.operations self, resource_group_name: str, scope_name: str, - parameters: HybridComputePrivateLinkScope, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -4709,7 +4709,7 @@ namespace azure.mgmt.hybridcompute.operations self, resource_group_name: str, scope_name: str, - private_link_scope_tags: TagsResource, + private_link_scope_tags: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -4768,7 +4768,7 @@ namespace azure.mgmt.hybridcompute.operations base_resource_type: str, base_resource_name: str, settings_resource_name: str, - parameters: Settings, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -4810,7 +4810,7 @@ namespace azure.mgmt.hybridcompute.operations base_resource_type: str, base_resource_name: str, settings_resource_name: str, - parameters: Settings, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -4831,1054 +4831,4 @@ namespace azure.mgmt.hybridcompute.operations ) -> Settings: ... -namespace azure.mgmt.hybridcompute.types - - class azure.mgmt.hybridcompute.types.AgentConfiguration(TypedDict, total=False): - key "configMode": Union[str, AgentConfigurationMode] - key "extensionsEnabled": str - key "guestConfigurationEnabled": str - key "proxyUrl": str - config_mode: Union[str, AgentConfigurationMode] - extensionsAllowList: list[ConfigurationExtension] - extensionsBlockList: list[ConfigurationExtension] - extensions_allow_list: list[ConfigurationExtension] - extensions_block_list: list[ConfigurationExtension] - extensions_enabled: str - guest_configuration_enabled: str - incomingConnectionsPorts: list[str] - incoming_connections_ports: list[str] - proxyBypass: list[str] - proxy_bypass: list[str] - proxy_url: str - - - class azure.mgmt.hybridcompute.types.AgentUpgrade(TypedDict, total=False): - key "correlationId": str - key "desiredVersion": str - key "enableAutomaticUpgrade": bool - key "lastAttemptDesiredVersion": str - key "lastAttemptMessage": str - key "lastAttemptStatus": Union[str, LastAttemptStatusEnum] - key "lastAttemptTimestamp": str - correlation_id: str - desired_version: str - enable_automatic_upgrade: bool - last_attempt_desired_version: str - last_attempt_message: str - last_attempt_status: Union[str, LastAttemptStatusEnum] - last_attempt_timestamp: str - - - class azure.mgmt.hybridcompute.types.CloudMetadata(TypedDict, total=False): - key "provider": str - provider: str - - - class azure.mgmt.hybridcompute.types.ConfigurationExtension(TypedDict, total=False): - key "publisher": str - key "type": str - publisher: str - type: str - - - class azure.mgmt.hybridcompute.types.Disk(TypedDict, total=False): - key "diskType": str - key "generatedId": str - key "id": str - key "maxSizeInBytes": int - key "name": str - key "path": str - key "usedSpaceInBytes": int - disk_type: str - generated_id: str - id: str - max_size_in_bytes: int - name: str - path: str - used_space_in_bytes: int - - - class azure.mgmt.hybridcompute.types.ErrorAdditionalInfo(TypedDict, total=False): - key "info": Any - key "type": str - info: Any - type: str - - - class azure.mgmt.hybridcompute.types.ErrorDetail(TypedDict, total=False): - key "code": str - key "message": str - key "target": str - additionalInfo: list[ErrorAdditionalInfo] - additional_info: list[ErrorAdditionalInfo] - code: str - details: list[ErrorDetail] - message: str - target: str - - - class azure.mgmt.hybridcompute.types.EsuKey(TypedDict, total=False): - key "licenseStatus": int - key "sku": str - license_status: int - sku: str - - - class azure.mgmt.hybridcompute.types.EsuProfileUpdateProperties(TypedDict, total=False): - key "assignedLicense": str - assigned_license: str - - - class azure.mgmt.hybridcompute.types.ExtensionTargetProperties(TypedDict, total=False): - key "targetVersion": str - target_version: str - - - class azure.mgmt.hybridcompute.types.ExtensionsResourceStatus(TypedDict, total=False): - key "code": str - key "displayStatus": str - key "level": Union[str, ExtensionsStatusLevelTypes] - key "message": str - key "time": str - code: str - display_status: str - level: Union[str, ExtensionsStatusLevelTypes] - message: str - time: str - - - class azure.mgmt.hybridcompute.types.FirmwareProfile(TypedDict, total=False): - key "serialNumber": str - key "type": str - serial_number: str - type: str - - - class azure.mgmt.hybridcompute.types.Gateway(TrackedResource): - key "id": str - key "location": Required[str] - key "name": str - key "properties": ForwardRef('GatewayProperties', module='types') - key "systemData": ForwardRef('SystemData', module='types') - key "type": str - id: str - location: str - name: str - properties: GatewayProperties - system_data: SystemData - tags: dict[str, str] - type: str - - - class azure.mgmt.hybridcompute.types.GatewayProperties(TypedDict, total=False): - key "gatewayEndpoint": str - key "gatewayId": str - key "gatewayType": Union[str, GatewayType] - key "provisioningState": Union[str, ProvisioningState] - allowedFeatures: list[str] - allowed_features: list[str] - gateway_endpoint: str - gateway_id: str - gateway_type: Union[str, GatewayType] - provisioning_state: Union[str, ProvisioningState] - - - class azure.mgmt.hybridcompute.types.GatewayUpdate(ResourceUpdate): - key "properties": ForwardRef('GatewayUpdateProperties', module='types') - properties: GatewayUpdateProperties - tags: dict[str, str] - - - class azure.mgmt.hybridcompute.types.GatewayUpdateProperties(TypedDict, total=False): - allowedFeatures: list[str] - allowed_features: list[str] - - - class azure.mgmt.hybridcompute.types.HardwareProfile(TypedDict, total=False): - key "numberOfCpuSockets": int - key "totalPhysicalMemoryInBytes": int - number_of_cpu_sockets: int - processors: list[Processor] - total_physical_memory_in_bytes: int - - - class azure.mgmt.hybridcompute.types.HybridComputePrivateLinkScope(TrackedResource): - key "id": str - key "location": Required[str] - key "name": str - key "properties": ForwardRef('HybridComputePrivateLinkScopeProperties', module='types') - key "systemData": ForwardRef('SystemData', module='types') - key "type": str - id: str - location: str - name: str - properties: HybridComputePrivateLinkScopeProperties - system_data: SystemData - tags: dict[str, str] - type: str - - - class azure.mgmt.hybridcompute.types.HybridComputePrivateLinkScopeProperties(TypedDict, total=False): - key "privateLinkScopeId": str - key "provisioningState": str - key "publicNetworkAccess": Union[str, PublicNetworkAccessType] - privateEndpointConnections: list[PrivateEndpointConnectionDataModel] - private_endpoint_connections: list[PrivateEndpointConnectionDataModel] - private_link_scope_id: str - provisioning_state: str - public_network_access: Union[str, PublicNetworkAccessType] - serviceExtensions: list[ServiceExtension] - service_extensions: list[ServiceExtension] - - - class azure.mgmt.hybridcompute.types.Identity(TypedDict, total=False): - key "principalId": str - key "tenantId": str - key "type": Union[str, ResourceIdentityType] - principal_id: str - tenant_id: str - type: Union[str, ResourceIdentityType] - - - class azure.mgmt.hybridcompute.types.IpAddress(TypedDict, total=False): - key "address": str - key "ipAddressVersion": str - key "subnet": ForwardRef('Subnet', module='types') - address: str - ip_address_version: str - subnet: Subnet - - - class azure.mgmt.hybridcompute.types.License(TrackedResource): - key "id": str - key "location": Required[str] - key "name": str - key "properties": ForwardRef('LicenseProperties', module='types') - key "systemData": ForwardRef('SystemData', module='types') - key "type": str - id: str - location: str - name: str - properties: LicenseProperties - system_data: SystemData - tags: dict[str, str] - type: str - - - class azure.mgmt.hybridcompute.types.LicenseDetails(TypedDict, total=False): - key "assignedLicenses": int - key "edition": Union[str, LicenseEdition] - key "immutableId": str - key "processors": int - key "state": Union[str, LicenseState] - key "target": Union[str, LicenseTarget] - key "type": Union[str, LicenseCoreType] - assigned_licenses: int - edition: Union[str, LicenseEdition] - immutable_id: str - processors: int - state: Union[str, LicenseState] - target: Union[str, LicenseTarget] - type: Union[str, LicenseCoreType] - volumeLicenseDetails: list[VolumeLicenseDetails] - volume_license_details: list[VolumeLicenseDetails] - - - class azure.mgmt.hybridcompute.types.LicenseProfile(TrackedResource): - key "id": str - key "location": Required[str] - key "name": str - key "properties": ForwardRef('LicenseProfileProperties', module='types') - key "systemData": ForwardRef('SystemData', module='types') - key "type": str - id: str - location: str - name: str - properties: LicenseProfileProperties - system_data: SystemData - tags: dict[str, str] - type: str - - - class azure.mgmt.hybridcompute.types.LicenseProfileArmEsuProperties(LicenseProfileArmEsuPropertiesWithoutAssignedLicense): - key "assignedLicense": str - key "assignedLicenseImmutableId": str - key "esuEligibility": Union[str, EsuEligibility] - key "esuKeyState": Union[str, EsuKeyState] - key "serverType": Union[str, EsuServerType] - assigned_license: str - assigned_license_immutable_id: str - esuKeys: list[EsuKey] - esu_eligibility: Union[str, EsuEligibility] - esu_key_state: Union[str, EsuKeyState] - esu_keys: list[EsuKey] - server_type: Union[str, EsuServerType] - - - class azure.mgmt.hybridcompute.types.LicenseProfileArmEsuPropertiesWithoutAssignedLicense(LicenseProfileStorageModelEsuProperties): - key "assignedLicenseImmutableId": str - key "esuEligibility": Union[str, EsuEligibility] - key "esuKeyState": Union[str, EsuKeyState] - key "serverType": Union[str, EsuServerType] - assigned_license_immutable_id: str - esuKeys: list[EsuKey] - esu_eligibility: Union[str, EsuEligibility] - esu_key_state: Union[str, EsuKeyState] - esu_keys: list[EsuKey] - server_type: Union[str, EsuServerType] - - - class azure.mgmt.hybridcompute.types.LicenseProfileArmProductProfileProperties(TypedDict, total=False): - key "billingEndDate": str - key "billingStartDate": str - key "disenrollmentDate": str - key "enrollmentDate": str - key "error": ForwardRef('ErrorDetail', module='types') - key "productType": Union[str, LicenseProfileProductType] - key "subscriptionStatus": Union[str, LicenseProfileSubscriptionStatus] - billing_end_date: str - billing_start_date: str - disenrollment_date: str - enrollment_date: str - error: ErrorDetail - productFeatures: list[ProductFeature] - product_features: list[ProductFeature] - product_type: Union[str, LicenseProfileProductType] - subscription_status: Union[str, LicenseProfileSubscriptionStatus] - - - class azure.mgmt.hybridcompute.types.LicenseProfileMachineInstanceView(TypedDict, total=False): - key "esuProfile": ForwardRef('LicenseProfileMachineInstanceViewEsuProperties', module='types') - key "licenseChannel": str - key "licenseStatus": Union[str, LicenseStatus] - key "productProfile": ForwardRef('LicenseProfileArmProductProfileProperties', module='types') - key "softwareAssurance": ForwardRef('LicenseProfileMachineInstanceViewSoftwareAssurance', module='types') - esu_profile: LicenseProfileMachineInstanceViewEsuProperties - license_channel: str - license_status: Union[str, LicenseStatus] - product_profile: LicenseProfileArmProductProfileProperties - software_assurance: LicenseProfileMachineInstanceViewSoftwareAssurance - - - class azure.mgmt.hybridcompute.types.LicenseProfileMachineInstanceViewEsuProperties(LicenseProfileArmEsuPropertiesWithoutAssignedLicense): - key "assignedLicense": ForwardRef('License', module='types') - key "assignedLicenseImmutableId": str - key "esuEligibility": Union[str, EsuEligibility] - key "esuKeyState": Union[str, EsuKeyState] - key "licenseAssignmentState": Union[str, LicenseAssignmentState] - key "serverType": Union[str, EsuServerType] - assigned_license: License - assigned_license_immutable_id: str - esuKeys: list[EsuKey] - esu_eligibility: Union[str, EsuEligibility] - esu_key_state: Union[str, EsuKeyState] - esu_keys: list[EsuKey] - license_assignment_state: Union[str, LicenseAssignmentState] - server_type: Union[str, EsuServerType] - - - class azure.mgmt.hybridcompute.types.LicenseProfileMachineInstanceViewSoftwareAssurance(TypedDict, total=False): - key "softwareAssuranceCustomer": bool - software_assurance_customer: bool - - - class azure.mgmt.hybridcompute.types.LicenseProfileProperties(TypedDict, total=False): - key "esuProfile": ForwardRef('LicenseProfileArmEsuProperties', module='types') - key "productProfile": ForwardRef('LicenseProfileArmProductProfileProperties', module='types') - key "provisioningState": Union[str, ProvisioningState] - key "softwareAssurance": ForwardRef('LicenseProfilePropertiesSoftwareAssurance', module='types') - esu_profile: LicenseProfileArmEsuProperties - product_profile: LicenseProfileArmProductProfileProperties - provisioning_state: Union[str, ProvisioningState] - software_assurance: LicenseProfilePropertiesSoftwareAssurance - - - class azure.mgmt.hybridcompute.types.LicenseProfilePropertiesSoftwareAssurance(TypedDict, total=False): - key "softwareAssuranceCustomer": bool - software_assurance_customer: bool - - - class azure.mgmt.hybridcompute.types.LicenseProfileStorageModelEsuProperties(TypedDict, total=False): - key "assignedLicenseImmutableId": str - assigned_license_immutable_id: str - esuKeys: list[EsuKey] - esu_keys: list[EsuKey] - - - class azure.mgmt.hybridcompute.types.LicenseProfileUpdate(ResourceUpdate): - key "properties": ForwardRef('LicenseProfileUpdateProperties', module='types') - properties: LicenseProfileUpdateProperties - tags: dict[str, str] - - - class azure.mgmt.hybridcompute.types.LicenseProfileUpdateProperties(TypedDict, total=False): - key "esuProfile": ForwardRef('EsuProfileUpdateProperties', module='types') - key "productProfile": ForwardRef('ProductProfileUpdateProperties', module='types') - key "softwareAssurance": ForwardRef('LicenseProfileUpdatePropertiesSoftwareAssurance', module='types') - esu_profile: EsuProfileUpdateProperties - product_profile: ProductProfileUpdateProperties - software_assurance: LicenseProfileUpdatePropertiesSoftwareAssurance - - - class azure.mgmt.hybridcompute.types.LicenseProfileUpdatePropertiesSoftwareAssurance(TypedDict, total=False): - key "softwareAssuranceCustomer": bool - software_assurance_customer: bool - - - class azure.mgmt.hybridcompute.types.LicenseProperties(TypedDict, total=False): - key "licenseDetails": ForwardRef('LicenseDetails', module='types') - key "licenseType": Union[str, LicenseType] - key "provisioningState": Union[str, ProvisioningState] - key "tenantId": str - license_details: LicenseDetails - license_type: Union[str, LicenseType] - provisioning_state: Union[str, ProvisioningState] - tenant_id: str - - - class azure.mgmt.hybridcompute.types.LicenseUpdate(ResourceUpdate): - key "properties": ForwardRef('LicenseUpdateProperties', module='types') - properties: LicenseUpdateProperties - tags: dict[str, str] - - - class azure.mgmt.hybridcompute.types.LicenseUpdateProperties(TypedDict, total=False): - key "licenseDetails": ForwardRef('LicenseUpdatePropertiesLicenseDetails', module='types') - key "licenseType": Union[str, LicenseType] - license_details: LicenseUpdatePropertiesLicenseDetails - license_type: Union[str, LicenseType] - - - class azure.mgmt.hybridcompute.types.LicenseUpdatePropertiesLicenseDetails(TypedDict, total=False): - key "edition": Union[str, LicenseEdition] - key "processors": int - key "state": Union[str, LicenseState] - key "target": Union[str, LicenseTarget] - key "type": Union[str, LicenseCoreType] - edition: Union[str, LicenseEdition] - processors: int - state: Union[str, LicenseState] - target: Union[str, LicenseTarget] - type: Union[str, LicenseCoreType] - - - class azure.mgmt.hybridcompute.types.LinuxParameters(TypedDict, total=False): - classificationsToInclude: list[Union[str, VMGuestPatchClassificationLinux]] - classifications_to_include: list[Union[str, VMGuestPatchClassificationLinux]] - packageNameMasksToExclude: list[str] - packageNameMasksToInclude: list[str] - package_name_masks_to_exclude: list[str] - package_name_masks_to_include: list[str] - - - class azure.mgmt.hybridcompute.types.LocationData(TypedDict, total=False): - key "city": str - key "countryOrRegion": str - key "district": str - key "name": Required[str] - city: str - country_or_region: str - district: str - name: str - - - class azure.mgmt.hybridcompute.types.Machine(TrackedResource): - key "id": str - key "identity": ForwardRef('Identity', module='types') - key "kind": Union[str, ArcKindEnum] - key "location": Required[str] - key "name": str - key "properties": ForwardRef('MachineProperties', module='types') - key "systemData": ForwardRef('SystemData', module='types') - key "type": str - id: str - identity: Identity - kind: Union[str, ArcKindEnum] - location: str - name: str - properties: MachineProperties - resources: list[MachineExtension] - system_data: SystemData - tags: dict[str, str] - type: str - - - class azure.mgmt.hybridcompute.types.MachineExtension(TrackedResource): - key "id": str - key "location": Required[str] - key "name": str - key "properties": ForwardRef('MachineExtensionProperties', module='types') - key "systemData": ForwardRef('SystemData', module='types') - key "type": str - id: str - location: str - name: str - properties: MachineExtensionProperties - system_data: SystemData - tags: dict[str, str] - type: str - - - class azure.mgmt.hybridcompute.types.MachineExtensionInstanceView(TypedDict, total=False): - key "name": str - key "status": ForwardRef('MachineExtensionInstanceViewStatus', module='types') - key "type": str - key "typeHandlerVersion": str - name: str - status: MachineExtensionInstanceViewStatus - type: str - type_handler_version: str - - - class azure.mgmt.hybridcompute.types.MachineExtensionInstanceViewStatus(TypedDict, total=False): - key "code": str - key "displayStatus": str - key "level": Union[str, StatusLevelTypes] - key "message": str - key "time": str - code: str - display_status: str - level: Union[str, StatusLevelTypes] - message: str - time: str - - - class azure.mgmt.hybridcompute.types.MachineExtensionProperties(TypedDict, total=False): - key "autoUpgradeMinorVersion": bool - key "enableAutomaticUpgrade": bool - key "forceUpdateTag": str - key "instanceView": ForwardRef('MachineExtensionInstanceView', module='types') - key "provisioningState": str - key "publisher": str - key "type": str - key "typeHandlerVersion": str - auto_upgrade_minor_version: bool - enable_automatic_upgrade: bool - force_update_tag: str - instance_view: MachineExtensionInstanceView - protectedSettings: dict[str, Any] - protected_settings: dict[str, Any] - provisioning_state: str - publisher: str - settings: dict[str, Any] - type: str - type_handler_version: str - - - class azure.mgmt.hybridcompute.types.MachineExtensionUpdate(ResourceUpdate): - key "properties": ForwardRef('MachineExtensionUpdateProperties', module='types') - properties: MachineExtensionUpdateProperties - tags: dict[str, str] - - - class azure.mgmt.hybridcompute.types.MachineExtensionUpdateProperties(TypedDict, total=False): - key "autoUpgradeMinorVersion": bool - key "enableAutomaticUpgrade": bool - key "forceUpdateTag": str - key "publisher": str - key "type": str - key "typeHandlerVersion": str - auto_upgrade_minor_version: bool - enable_automatic_upgrade: bool - force_update_tag: str - protectedSettings: dict[str, Any] - protected_settings: dict[str, Any] - publisher: str - settings: dict[str, Any] - type: str - type_handler_version: str - - - class azure.mgmt.hybridcompute.types.MachineExtensionUpgrade(TypedDict, total=False): - extensionTargets: dict[str, ExtensionTargetProperties] - extension_targets: dict[str, ExtensionTargetProperties] - - - class azure.mgmt.hybridcompute.types.MachineInstallPatchesParameters(TypedDict, total=False): - key "linuxParameters": ForwardRef('LinuxParameters', module='types') - key "maximumDuration": Required[str] - key "rebootSetting": Required[Union[str, VMGuestPatchRebootSetting]] - key "windowsParameters": ForwardRef('WindowsParameters', module='types') - linux_parameters: LinuxParameters - maximum_duration: str - reboot_setting: Union[str, VMGuestPatchRebootSetting] - windows_parameters: WindowsParameters - - - class azure.mgmt.hybridcompute.types.MachineProperties(TypedDict, total=False): - key "adFqdn": str - key "agentConfiguration": ForwardRef('AgentConfiguration', module='types') - key "agentUpgrade": ForwardRef('AgentUpgrade', module='types') - key "agentVersion": str - key "clientPublicKey": str - key "cloudMetadata": ForwardRef('CloudMetadata', module='types') - key "displayName": str - key "dnsFqdn": str - key "domainName": str - key "firmwareProfile": ForwardRef('FirmwareProfile', module='types') - key "hardwareProfile": ForwardRef('HardwareProfile', module='types') - key "hardwareResourceId": str - key "identityKeyStore": Union[str, IdentityKeyStore] - key "lastStatusChange": str - key "licenseProfile": ForwardRef('LicenseProfileMachineInstanceView', module='types') - key "locationData": ForwardRef('LocationData', module='types') - key "machineFqdn": str - key "mssqlDiscovered": str - key "networkProfile": ForwardRef('NetworkProfile', module='types') - key "osEdition": str - key "osName": str - key "osProfile": ForwardRef('OSProfile', module='types') - key "osSku": str - key "osType": str - key "osVersion": str - key "parentClusterResourceId": str - key "privateLinkScopeResourceId": str - key "provisioningState": str - key "serviceStatuses": ForwardRef('ServiceStatuses', module='types') - key "status": Union[str, StatusTypes] - key "storageProfile": ForwardRef('StorageProfile', module='types') - key "tpmEkCertificate": str - key "vmId": str - key "vmUuid": str - ad_fqdn: str - agent_configuration: AgentConfiguration - agent_upgrade: AgentUpgrade - agent_version: str - client_public_key: str - cloud_metadata: CloudMetadata - detectedProperties: dict[str, str] - detected_properties: dict[str, str] - display_name: str - dns_fqdn: str - domain_name: str - errorDetails: list[ErrorDetail] - error_details: list[ErrorDetail] - extensions: list[MachineExtensionInstanceView] - firmware_profile: FirmwareProfile - hardware_profile: HardwareProfile - hardware_resource_id: str - identity_key_store: Union[str, IdentityKeyStore] - last_status_change: str - license_profile: LicenseProfileMachineInstanceView - location_data: LocationData - machine_fqdn: str - mssql_discovered: str - network_profile: NetworkProfile - os_edition: str - os_name: str - os_profile: OSProfile - os_sku: str - os_type: str - os_version: str - parent_cluster_resource_id: str - private_link_scope_resource_id: str - provisioning_state: str - service_statuses: ServiceStatuses - status: Union[str, StatusTypes] - storage_profile: StorageProfile - tpm_ek_certificate: str - vm_id: str - vm_uuid: str - - - class azure.mgmt.hybridcompute.types.MachineRunCommand(TrackedResource): - key "id": str - key "location": Required[str] - key "name": str - key "properties": ForwardRef('MachineRunCommandProperties', module='types') - key "systemData": ForwardRef('SystemData', module='types') - key "type": str - id: str - location: str - name: str - properties: MachineRunCommandProperties - system_data: SystemData - tags: dict[str, str] - type: str - - - class azure.mgmt.hybridcompute.types.MachineRunCommandInstanceView(TypedDict, total=False): - key "endTime": str - key "error": str - key "executionMessage": str - key "executionState": Union[str, ExecutionState] - key "exitCode": int - key "output": str - key "startTime": str - end_time: str - error: str - execution_message: str - execution_state: Union[str, ExecutionState] - exit_code: int - output: str - start_time: str - statuses: list[ExtensionsResourceStatus] - - - class azure.mgmt.hybridcompute.types.MachineRunCommandProperties(TypedDict, total=False): - key "asyncExecution": bool - key "errorBlobManagedIdentity": ForwardRef('RunCommandManagedIdentity', module='types') - key "errorBlobUri": str - key "instanceView": ForwardRef('MachineRunCommandInstanceView', module='types') - key "outputBlobManagedIdentity": ForwardRef('RunCommandManagedIdentity', module='types') - key "outputBlobUri": str - key "provisioningState": str - key "runAsPassword": str - key "runAsUser": str - key "source": ForwardRef('MachineRunCommandScriptSource', module='types') - key "timeoutInSeconds": int - async_execution: bool - error_blob_managed_identity: RunCommandManagedIdentity - error_blob_uri: str - instance_view: MachineRunCommandInstanceView - output_blob_managed_identity: RunCommandManagedIdentity - output_blob_uri: str - parameters: list[RunCommandInputParameter] - protectedParameters: list[RunCommandInputParameter] - protected_parameters: list[RunCommandInputParameter] - provisioning_state: str - run_as_password: str - run_as_user: str - source: MachineRunCommandScriptSource - timeout_in_seconds: int - - - class azure.mgmt.hybridcompute.types.MachineRunCommandScriptSource(TypedDict, total=False): - key "commandId": str - key "script": str - key "scriptUri": str - key "scriptUriManagedIdentity": ForwardRef('RunCommandManagedIdentity', module='types') - command_id: str - script: str - script_uri: str - script_uri_managed_identity: RunCommandManagedIdentity - - - class azure.mgmt.hybridcompute.types.MachineUpdate(ResourceUpdate): - key "identity": ForwardRef('Identity', module='types') - key "kind": Union[str, ArcKindEnum] - key "properties": ForwardRef('MachineUpdateProperties', module='types') - identity: Identity - kind: Union[str, ArcKindEnum] - properties: MachineUpdateProperties - tags: dict[str, str] - - - class azure.mgmt.hybridcompute.types.MachineUpdateProperties(TypedDict, total=False): - key "agentUpgrade": ForwardRef('AgentUpgrade', module='types') - key "cloudMetadata": ForwardRef('CloudMetadata', module='types') - key "identityKeyStore": str - key "locationData": ForwardRef('LocationData', module='types') - key "osProfile": ForwardRef('OSProfile', module='types') - key "parentClusterResourceId": str - key "privateLinkScopeResourceId": str - key "tpmEkCertificate": str - agent_upgrade: AgentUpgrade - cloud_metadata: CloudMetadata - identity_key_store: str - location_data: LocationData - os_profile: OSProfile - parent_cluster_resource_id: str - private_link_scope_resource_id: str - tpm_ek_certificate: str - - - class azure.mgmt.hybridcompute.types.NetworkInterface(TypedDict, total=False): - key "id": str - key "macAddress": str - key "name": str - id: str - ipAddresses: list[IpAddress] - ip_addresses: list[IpAddress] - mac_address: str - name: str - - - class azure.mgmt.hybridcompute.types.NetworkProfile(TypedDict, total=False): - networkInterfaces: list[NetworkInterface] - network_interfaces: list[NetworkInterface] - - - class azure.mgmt.hybridcompute.types.OSProfile(TypedDict, total=False): - key "computerName": str - key "linuxConfiguration": ForwardRef('OSProfileLinuxConfiguration', module='types') - key "windowsConfiguration": ForwardRef('OSProfileWindowsConfiguration', module='types') - computer_name: str - linux_configuration: OSProfileLinuxConfiguration - windows_configuration: OSProfileWindowsConfiguration - - - class azure.mgmt.hybridcompute.types.OSProfileLinuxConfiguration(TypedDict, total=False): - key "patchSettings": ForwardRef('PatchSettings', module='types') - patch_settings: PatchSettings - - - class azure.mgmt.hybridcompute.types.OSProfileWindowsConfiguration(TypedDict, total=False): - key "patchSettings": ForwardRef('PatchSettings', module='types') - patch_settings: PatchSettings - - - class azure.mgmt.hybridcompute.types.PatchSettings(TypedDict, total=False): - key "assessmentMode": Union[str, AssessmentModeTypes] - key "enableHotpatching": bool - key "patchMode": Union[str, PatchModeTypes] - key "status": ForwardRef('PatchSettingsStatus', module='types') - assessment_mode: Union[str, AssessmentModeTypes] - enable_hotpatching: bool - patch_mode: Union[str, PatchModeTypes] - status: PatchSettingsStatus - - - class azure.mgmt.hybridcompute.types.PatchSettingsStatus(TypedDict, total=False): - key "error": ForwardRef('ErrorDetail', module='types') - key "hotpatchEnablementStatus": Union[str, HotpatchEnablementStatus] - error: ErrorDetail - hotpatch_enablement_status: Union[str, HotpatchEnablementStatus] - - - class azure.mgmt.hybridcompute.types.PrivateEndpointConnection(ProxyResource): - key "id": str - key "name": str - key "properties": ForwardRef('PrivateEndpointConnectionProperties', module='types') - key "systemData": ForwardRef('SystemData', module='types') - key "type": str - id: str - name: str - properties: PrivateEndpointConnectionProperties - system_data: SystemData - type: str - - - class azure.mgmt.hybridcompute.types.PrivateEndpointConnectionDataModel(TypedDict, total=False): - key "id": str - key "name": str - key "properties": ForwardRef('PrivateEndpointConnectionProperties', module='types') - key "type": str - id: str - name: str - properties: PrivateEndpointConnectionProperties - type: str - - - class azure.mgmt.hybridcompute.types.PrivateEndpointConnectionProperties(TypedDict, total=False): - key "privateEndpoint": ForwardRef('PrivateEndpointProperty', module='types') - key "privateLinkServiceConnectionState": ForwardRef('PrivateLinkServiceConnectionStateProperty', module='types') - key "provisioningState": str - groupIds: list[str] - group_ids: list[str] - private_endpoint: PrivateEndpointProperty - private_link_service_connection_state: PrivateLinkServiceConnectionStateProperty - provisioning_state: str - - - class azure.mgmt.hybridcompute.types.PrivateEndpointProperty(TypedDict, total=False): - key "id": str - id: str - - - class azure.mgmt.hybridcompute.types.PrivateLinkServiceConnectionStateProperty(TypedDict, total=False): - key "actionsRequired": str - key "description": Required[str] - key "status": Required[str] - actions_required: str - description: str - status: str - - - class azure.mgmt.hybridcompute.types.Processor(TypedDict, total=False): - key "name": str - key "numberOfCores": int - name: str - number_of_cores: int - - - class azure.mgmt.hybridcompute.types.ProductFeature(TypedDict, total=False): - key "billingEndDate": str - key "billingStartDate": str - key "disenrollmentDate": str - key "enrollmentDate": str - key "error": ForwardRef('ErrorDetail', module='types') - key "name": str - key "subscriptionStatus": Union[str, LicenseProfileSubscriptionStatus] - billing_end_date: str - billing_start_date: str - disenrollment_date: str - enrollment_date: str - error: ErrorDetail - name: str - subscription_status: Union[str, LicenseProfileSubscriptionStatus] - - - class azure.mgmt.hybridcompute.types.ProductFeatureUpdate(TypedDict, total=False): - key "name": str - key "subscriptionStatus": Union[str, LicenseProfileSubscriptionStatusUpdate] - name: str - subscription_status: Union[str, LicenseProfileSubscriptionStatusUpdate] - - - class azure.mgmt.hybridcompute.types.ProductProfileUpdateProperties(TypedDict, total=False): - key "productType": Union[str, LicenseProfileProductType] - key "subscriptionStatus": Union[str, LicenseProfileSubscriptionStatusUpdate] - productFeatures: list[ProductFeatureUpdate] - product_features: list[ProductFeatureUpdate] - product_type: Union[str, LicenseProfileProductType] - subscription_status: Union[str, LicenseProfileSubscriptionStatusUpdate] - - - class azure.mgmt.hybridcompute.types.ProxyResource(Resource): - key "id": str - key "name": str - key "systemData": ForwardRef('SystemData', module='types') - key "type": str - id: str - name: str - system_data: SystemData - type: str - - - class azure.mgmt.hybridcompute.types.Resource(TypedDict, total=False): - key "id": str - key "name": str - key "systemData": ForwardRef('SystemData', module='types') - key "type": str - id: str - name: str - system_data: SystemData - type: str - - - class azure.mgmt.hybridcompute.types.ResourceUpdate(TypedDict, total=False): - tags: dict[str, str] - - - class azure.mgmt.hybridcompute.types.RunCommandInputParameter(TypedDict, total=False): - key "name": Required[str] - key "value": Required[str] - name: str - value: str - - - class azure.mgmt.hybridcompute.types.RunCommandManagedIdentity(TypedDict, total=False): - key "clientId": str - key "objectId": str - client_id: str - object_id: str - - - class azure.mgmt.hybridcompute.types.ServiceExtension(TypedDict, total=False): - key "serviceExtensionPublicNetworkAccess": Union[str, ServiceExtensionPublicNetworkAccess] - key "serviceExtensionType": ForwardRef('ServiceExtensionType', module='types') - service_extension_public_network_access: Union[str, ServiceExtensionPublicNetworkAccess] - service_extension_type: ServiceExtensionType - - - class azure.mgmt.hybridcompute.types.ServiceStatus(TypedDict, total=False): - key "startupType": str - key "status": str - startup_type: str - status: str - - - class azure.mgmt.hybridcompute.types.ServiceStatuses(TypedDict, total=False): - key "extensionService": ForwardRef('ServiceStatus', module='types') - key "guestConfigurationService": ForwardRef('ServiceStatus', module='types') - extension_service: ServiceStatus - guest_configuration_service: ServiceStatus - - - class azure.mgmt.hybridcompute.types.Settings(ProxyResource): - key "id": str - key "name": str - key "properties": ForwardRef('SettingsProperties', module='types') - key "systemData": ForwardRef('SystemData', module='types') - key "type": str - id: str - name: str - properties: SettingsProperties - system_data: SystemData - type: str - - - class azure.mgmt.hybridcompute.types.SettingsGatewayProperties(TypedDict, total=False): - key "gatewayResourceId": str - gateway_resource_id: str - - - class azure.mgmt.hybridcompute.types.SettingsProperties(TypedDict, total=False): - key "gatewayProperties": ForwardRef('SettingsGatewayProperties', module='types') - key "tenantId": str - gateway_properties: SettingsGatewayProperties - tenant_id: str - - - class azure.mgmt.hybridcompute.types.SetupExtensionRequest(TypedDict, total=False): - extensions: list[MachineExtensionProperties] - - - class azure.mgmt.hybridcompute.types.StorageProfile(TypedDict, total=False): - disks: list[Disk] - - - class azure.mgmt.hybridcompute.types.Subnet(TypedDict, total=False): - key "addressPrefix": str - address_prefix: str - - - class azure.mgmt.hybridcompute.types.SystemData(TypedDict, total=False): - key "createdAt": str - key "createdBy": str - key "createdByType": Union[str, CreatedByType] - key "lastModifiedAt": str - key "lastModifiedBy": str - key "lastModifiedByType": Union[str, CreatedByType] - created_at: str - created_by: str - created_by_type: Union[str, CreatedByType] - last_modified_at: str - last_modified_by: str - last_modified_by_type: Union[str, CreatedByType] - - - class azure.mgmt.hybridcompute.types.TagsResource(TypedDict, total=False): - tags: dict[str, str] - - - class azure.mgmt.hybridcompute.types.TrackedResource(Resource): - key "id": str - key "location": Required[str] - key "name": str - key "systemData": ForwardRef('SystemData', module='types') - key "type": str - id: str - location: str - name: str - system_data: SystemData - tags: dict[str, str] - type: str - - - class azure.mgmt.hybridcompute.types.VolumeLicenseDetails(TypedDict, total=False): - key "invoiceId": str - key "programYear": Union[str, ProgramYear] - invoice_id: str - program_year: Union[str, ProgramYear] - - - class azure.mgmt.hybridcompute.types.WindowsParameters(TypedDict, total=False): - key "excludeKbsRequiringReboot": bool - key "maxPatchPublishDate": str - classificationsToInclude: list[Union[str, VMGuestPatchClassificationWindows]] - classifications_to_include: list[Union[str, VMGuestPatchClassificationWindows]] - exclude_kbs_requiring_reboot: bool - kbNumbersToExclude: list[str] - kbNumbersToInclude: list[str] - kb_numbers_to_exclude: list[str] - kb_numbers_to_include: list[str] - max_patch_publish_date: str - patchNameMasksToExclude: list[str] - patchNameMasksToInclude: list[str] - patch_name_masks_to_exclude: list[str] - patch_name_masks_to_include: list[str] - - ``` \ No newline at end of file diff --git a/sdk/hybridcompute/azure-mgmt-hybridcompute/api.metadata.yml b/sdk/hybridcompute/azure-mgmt-hybridcompute/api.metadata.yml index af8e0f5c76fe..696278e7d872 100644 --- a/sdk/hybridcompute/azure-mgmt-hybridcompute/api.metadata.yml +++ b/sdk/hybridcompute/azure-mgmt-hybridcompute/api.metadata.yml @@ -1,3 +1,3 @@ -apiMdSha256: 61bc8ee25c7464e3efd9ae0f7900b98dedf39c985749c2fe74b84c87e0866dbe +apiMdSha256: 58eee09ddf72c666b5ef5cb45dfa28346aada23b20e963133075f0feb557f734 parserVersion: 0.3.28 pythonVersion: 3.13.14 diff --git a/sdk/hybridcompute/azure-mgmt-hybridcompute/apiview-properties.json b/sdk/hybridcompute/azure-mgmt-hybridcompute/apiview-properties.json index 78ec4cd27e91..a06e9aeada61 100644 --- a/sdk/hybridcompute/azure-mgmt-hybridcompute/apiview-properties.json +++ b/sdk/hybridcompute/azure-mgmt-hybridcompute/apiview-properties.json @@ -295,5 +295,5 @@ "azure.mgmt.hybridcompute.HybridComputeManagementClient.begin_setup_extensions": "Microsoft.HybridCompute.Machines.setupExtensions", "azure.mgmt.hybridcompute.aio.HybridComputeManagementClient.begin_setup_extensions": "Microsoft.HybridCompute.Machines.setupExtensions" }, - "CrossLanguageVersion": "c3f7cfc7efb3" + "CrossLanguageVersion": "5fed212eb1ee" } \ No newline at end of file diff --git a/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/_patch.py b/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/_patch.py index 87676c65a8f0..ea765788358a 100644 --- a/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/_patch.py +++ b/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/_patch.py @@ -8,7 +8,6 @@ Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize """ - __all__: list[str] = [] # Add all objects you want publicly available to users at this package level diff --git a/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/_unions.py b/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/_types.py similarity index 100% rename from sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/_unions.py rename to sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/_types.py diff --git a/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/_utils/model_base.py b/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/_utils/model_base.py index b93f5120d517..d725c55906d3 100644 --- a/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/_utils/model_base.py +++ b/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/_utils/model_base.py @@ -109,29 +109,6 @@ def _serialize_bytes(o, format: typing.Optional[str] = None) -> str: return encoded -def _serialize_duration(td: timedelta, format: typing.Optional[str] = None): - """Serialize a timedelta to its wire representation. - - For the ``seconds``/``milliseconds`` encodings the value is converted to a - numeric value, otherwise it falls back to an ISO 8601 duration string. - - :param timedelta td: The timedelta to serialize. - :param str format: The duration encoding format. - :rtype: int or float or str - :return: serialized duration - """ - seconds = td.total_seconds() - if format == "duration-seconds-int": - return int(seconds) - if format == "duration-seconds-float": - return seconds - if format == "duration-milliseconds-int": - return int(seconds * 1000) - if format == "duration-milliseconds-float": - return seconds * 1000 - return _timedelta_as_isostr(td) - - def _serialize_datetime(o, format: typing.Optional[str] = None): if hasattr(o, "year") and hasattr(o, "hour"): if format == "rfc7231": @@ -324,12 +301,6 @@ def _deserialize_duration(attr): return isodate.parse_duration(attr) -def _deserialize_duration_numeric(attr, unit): - if isinstance(attr, timedelta): - return attr - return timedelta(**{unit: float(attr)}) - - def _deserialize_decimal(attr): if isinstance(attr, decimal.Decimal): return attr @@ -359,10 +330,6 @@ def _deserialize_int_as_str(attr): "unix-timestamp": _deserialize_datetime_unix_timestamp, "base64": _deserialize_bytes, "base64url": _deserialize_bytes_base64, - "duration-seconds-int": functools.partial(_deserialize_duration_numeric, unit="seconds"), - "duration-seconds-float": functools.partial(_deserialize_duration_numeric, unit="seconds"), - "duration-milliseconds-int": functools.partial(_deserialize_duration_numeric, unit="milliseconds"), - "duration-milliseconds-float": functools.partial(_deserialize_duration_numeric, unit="milliseconds"), } @@ -597,7 +564,7 @@ def _serialize(o, format: typing.Optional[str] = None): # pylint: disable=too-m pass # Last, try datetime.timedelta try: - return _serialize_duration(o, format) + return _timedelta_as_isostr(o) except AttributeError: # This will be raised when it hits value.total_seconds in the method above pass diff --git a/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/_utils/serialization.py b/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/_utils/serialization.py index 75906e2eb77f..a088671e9c51 100644 --- a/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/_utils/serialization.py +++ b/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/_utils/serialization.py @@ -520,10 +520,6 @@ def __init__(self, classes: Optional[Mapping[str, type]] = None) -> None: "rfc-1123": Serializer.serialize_rfc, "unix-time": Serializer.serialize_unix, "duration": Serializer.serialize_duration, - "duration-seconds-int": Serializer.serialize_duration_seconds_int, - "duration-seconds-float": Serializer.serialize_duration_seconds_float, - "duration-milliseconds-int": Serializer.serialize_duration_milliseconds_int, - "duration-milliseconds-float": Serializer.serialize_duration_milliseconds_float, "date": Serializer.serialize_date, "time": Serializer.serialize_time, "decimal": Serializer.serialize_decimal, @@ -1113,61 +1109,6 @@ def serialize_duration(attr, **kwargs): # pylint: disable=unused-argument attr = isodate.parse_duration(attr) return isodate.duration_isoformat(attr) - @staticmethod - def _serialize_duration_numeric(attr, scale, as_int): - """Serialize a TimeDelta into a numeric value scaled to the wire unit. - - :param TimeDelta attr: Object to be serialized. - :param int scale: Multiplier applied to total seconds (1 for seconds, 1000 for milliseconds). - :param bool as_int: Whether to truncate the result to an int. - :rtype: int or float - :return: serialized duration - """ - if isinstance(attr, str): - attr = isodate.parse_duration(attr) - value = attr.total_seconds() * scale if isinstance(attr, datetime.timedelta) else attr - return int(value) if as_int else float(value) - - @staticmethod - def serialize_duration_seconds_int(attr, **kwargs): # pylint: disable=unused-argument - """Serialize TimeDelta object into an integer number of seconds. - - :param TimeDelta attr: Object to be serialized. - :rtype: int - :return: serialized duration - """ - return Serializer._serialize_duration_numeric(attr, 1, True) - - @staticmethod - def serialize_duration_seconds_float(attr, **kwargs): # pylint: disable=unused-argument - """Serialize TimeDelta object into a floating point number of seconds. - - :param TimeDelta attr: Object to be serialized. - :rtype: float - :return: serialized duration - """ - return Serializer._serialize_duration_numeric(attr, 1, False) - - @staticmethod - def serialize_duration_milliseconds_int(attr, **kwargs): # pylint: disable=unused-argument - """Serialize TimeDelta object into an integer number of milliseconds. - - :param TimeDelta attr: Object to be serialized. - :rtype: int - :return: serialized duration - """ - return Serializer._serialize_duration_numeric(attr, 1000, True) - - @staticmethod - def serialize_duration_milliseconds_float(attr, **kwargs): # pylint: disable=unused-argument - """Serialize TimeDelta object into a floating point number of milliseconds. - - :param TimeDelta attr: Object to be serialized. - :rtype: float - :return: serialized duration - """ - return Serializer._serialize_duration_numeric(attr, 1000, False) - @staticmethod def serialize_rfc(attr, **kwargs): # pylint: disable=unused-argument """Serialize Datetime object into RFC-1123 formatted string. @@ -1440,10 +1381,6 @@ def __init__(self, classes: Optional[Mapping[str, type]] = None) -> None: "rfc-1123": Deserializer.deserialize_rfc, "unix-time": Deserializer.deserialize_unix, "duration": Deserializer.deserialize_duration, - "duration-seconds-int": Deserializer.deserialize_duration_seconds, - "duration-seconds-float": Deserializer.deserialize_duration_seconds, - "duration-milliseconds-int": Deserializer.deserialize_duration_milliseconds, - "duration-milliseconds-float": Deserializer.deserialize_duration_milliseconds, "date": Deserializer.deserialize_date, "time": Deserializer.deserialize_time, "decimal": Deserializer.deserialize_decimal, @@ -1456,10 +1393,6 @@ def __init__(self, classes: Optional[Mapping[str, type]] = None) -> None: } self.deserialize_expected_types = { "duration": (isodate.Duration, datetime.timedelta), - "duration-seconds-int": (isodate.Duration, datetime.timedelta), - "duration-seconds-float": (isodate.Duration, datetime.timedelta), - "duration-milliseconds-int": (isodate.Duration, datetime.timedelta), - "duration-milliseconds-float": (isodate.Duration, datetime.timedelta), "iso-8601": (datetime.datetime), } self.dependencies: dict[str, type] = dict(classes) if classes else {} @@ -2021,48 +1954,6 @@ def deserialize_duration(attr): raise DeserializationError(msg) from err return duration - @staticmethod - def _deserialize_duration_numeric(attr, unit): - """Deserialize a numeric duration value into a TimeDelta object. - - :param float attr: response value to be deserialized. - :param str unit: The wire unit, used as the ``timedelta`` keyword - (``"seconds"`` or ``"milliseconds"``). - :return: Deserialized duration - :rtype: TimeDelta - :raises DeserializationError: if value is invalid. - """ - if isinstance(attr, ET.Element): - attr = attr.text - try: - duration = datetime.timedelta(**{unit: float(attr)}) # type: ignore - except (ValueError, OverflowError, TypeError) as err: - msg = "Cannot deserialize duration object." - raise DeserializationError(msg) from err - return duration - - @staticmethod - def deserialize_duration_seconds(attr): - """Deserialize a numeric number of seconds into a TimeDelta object. - - :param float attr: response value to be deserialized. - :return: Deserialized duration - :rtype: TimeDelta - :raises DeserializationError: if value is invalid. - """ - return Deserializer._deserialize_duration_numeric(attr, "seconds") - - @staticmethod - def deserialize_duration_milliseconds(attr): - """Deserialize a numeric number of milliseconds into a TimeDelta object. - - :param float attr: response value to be deserialized. - :return: Deserialized duration - :rtype: TimeDelta - :raises DeserializationError: if value is invalid. - """ - return Deserializer._deserialize_duration_numeric(attr, "milliseconds") - @staticmethod def deserialize_date(attr): """Deserialize ISO-8601 formatted string into Date object. diff --git a/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/_version.py b/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/_version.py index 884e751a6699..191229873896 100644 --- a/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/_version.py +++ b/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "9.1.0b4" +VERSION = "9.1.0b3" diff --git a/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/aio/_patch.py b/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/aio/_patch.py index 87676c65a8f0..ea765788358a 100644 --- a/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/aio/_patch.py +++ b/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/aio/_patch.py @@ -8,7 +8,6 @@ Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize """ - __all__: list[str] = [] # Add all objects you want publicly available to users at this package level diff --git a/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/aio/operations/_operations.py b/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/aio/operations/_operations.py index a5ca4ce4a3ef..b26290f94cb7 100644 --- a/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/aio/operations/_operations.py +++ b/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/aio/operations/_operations.py @@ -33,7 +33,7 @@ from azure.mgmt.core.exceptions import ARMErrorFormat from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling -from ... import models as _models, types as _types +from ... import models as _models from ..._utils.model_base import SdkJSONEncoder, _deserialize, _failsafe_deserialize from ..._utils.serialization import Deserializer, Serializer from ..._utils.utils import ClientMixinABC @@ -108,6 +108,7 @@ T = TypeVar("T") ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, dict[str, Any]], Any]] +JSON = MutableMapping[str, Any] List = list @@ -317,7 +318,7 @@ async def _create_or_update_initial( self, resource_group_name: str, license_name: str, - parameters: Union[_models.License, _types.License, IO[bytes]], + parameters: Union[_models.License, JSON, IO[bytes]], **kwargs: Any ) -> AsyncIterator[bytes]: error_map: MutableMapping = { @@ -420,7 +421,7 @@ async def begin_create_or_update( self, resource_group_name: str, license_name: str, - parameters: _types.License, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -433,7 +434,7 @@ async def begin_create_or_update( :param license_name: The name of the license. Required. :type license_name: str :param parameters: Parameters supplied to the Create license operation. Required. - :type parameters: ~azure.mgmt.hybridcompute.types.License + :type parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -476,7 +477,7 @@ async def begin_create_or_update( self, resource_group_name: str, license_name: str, - parameters: Union[_models.License, _types.License, IO[bytes]], + parameters: Union[_models.License, JSON, IO[bytes]], **kwargs: Any ) -> AsyncLROPoller[_models.License]: """The operation to create or update a license. @@ -486,10 +487,9 @@ async def begin_create_or_update( :type resource_group_name: str :param license_name: The name of the license. Required. :type license_name: str - :param parameters: Parameters supplied to the Create license operation. Is either a License - type or a IO[bytes] type. Required. - :type parameters: ~azure.mgmt.hybridcompute.models.License or - ~azure.mgmt.hybridcompute.types.License or IO[bytes] + :param parameters: Parameters supplied to the Create license operation. Is one of the following + types: License, JSON, IO[bytes] Required. + :type parameters: ~azure.mgmt.hybridcompute.models.License or JSON or IO[bytes] :return: An instance of AsyncLROPoller that returns License. The License is compatible with MutableMapping :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.hybridcompute.models.License] @@ -555,7 +555,7 @@ async def _update_initial( self, resource_group_name: str, license_name: str, - parameters: Union[_models.LicenseUpdate, _types.LicenseUpdate, IO[bytes]], + parameters: Union[_models.LicenseUpdate, JSON, IO[bytes]], **kwargs: Any ) -> AsyncIterator[bytes]: error_map: MutableMapping = { @@ -658,7 +658,7 @@ async def begin_update( self, resource_group_name: str, license_name: str, - parameters: _types.LicenseUpdate, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -671,7 +671,7 @@ async def begin_update( :param license_name: The name of the license. Required. :type license_name: str :param parameters: Parameters supplied to the Update license operation. Required. - :type parameters: ~azure.mgmt.hybridcompute.types.LicenseUpdate + :type parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -714,7 +714,7 @@ async def begin_update( self, resource_group_name: str, license_name: str, - parameters: Union[_models.LicenseUpdate, _types.LicenseUpdate, IO[bytes]], + parameters: Union[_models.LicenseUpdate, JSON, IO[bytes]], **kwargs: Any ) -> AsyncLROPoller[_models.License]: """The operation to update a license. @@ -724,10 +724,9 @@ async def begin_update( :type resource_group_name: str :param license_name: The name of the license. Required. :type license_name: str - :param parameters: Parameters supplied to the Update license operation. Is either a - LicenseUpdate type or a IO[bytes] type. Required. - :type parameters: ~azure.mgmt.hybridcompute.models.LicenseUpdate or - ~azure.mgmt.hybridcompute.types.LicenseUpdate or IO[bytes] + :param parameters: Parameters supplied to the Update license operation. Is one of the following + types: LicenseUpdate, JSON, IO[bytes] Required. + :type parameters: ~azure.mgmt.hybridcompute.models.LicenseUpdate or JSON or IO[bytes] :return: An instance of AsyncLROPoller that returns License. The License is compatible with MutableMapping :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.hybridcompute.models.License] @@ -1096,7 +1095,7 @@ async def get_next(next_link=None): return AsyncItemPaged(get_next, extract_data) async def _validate_license_initial( - self, parameters: Union[_models.License, _types.License, IO[bytes]], **kwargs: Any + self, parameters: Union[_models.License, JSON, IO[bytes]], **kwargs: Any ) -> AsyncIterator[bytes]: error_map: MutableMapping = { 401: ClientAuthenticationError, @@ -1182,12 +1181,12 @@ async def begin_validate_license( @overload async def begin_validate_license( - self, parameters: _types.License, *, content_type: str = "application/json", **kwargs: Any + self, parameters: JSON, *, content_type: str = "application/json", **kwargs: Any ) -> AsyncLROPoller[_models.License]: """The operation to validate a license. :param parameters: The content of the action request. Required. - :type parameters: ~azure.mgmt.hybridcompute.types.License + :type parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -1216,14 +1215,13 @@ async def begin_validate_license( @distributed_trace_async async def begin_validate_license( - self, parameters: Union[_models.License, _types.License, IO[bytes]], **kwargs: Any + self, parameters: Union[_models.License, JSON, IO[bytes]], **kwargs: Any ) -> AsyncLROPoller[_models.License]: """The operation to validate a license. - :param parameters: The content of the action request. Is either a License type or a IO[bytes] - type. Required. - :type parameters: ~azure.mgmt.hybridcompute.models.License or - ~azure.mgmt.hybridcompute.types.License or IO[bytes] + :param parameters: The content of the action request. Is one of the following types: License, + JSON, IO[bytes] Required. + :type parameters: ~azure.mgmt.hybridcompute.models.License or JSON or IO[bytes] :return: An instance of AsyncLROPoller that returns License. The License is compatible with MutableMapping :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.hybridcompute.models.License] @@ -1420,7 +1418,7 @@ async def create_or_update( self, resource_group_name: str, machine_name: str, - parameters: _types.Machine, + parameters: JSON, *, expand: Optional[str] = None, content_type: str = "application/json", @@ -1435,7 +1433,7 @@ async def create_or_update( :param machine_name: The name of the hybrid machine. Required. :type machine_name: str :param parameters: Parameters supplied to the Create hybrid machine operation. Required. - :type parameters: ~azure.mgmt.hybridcompute.types.Machine + :type parameters: JSON :keyword expand: Expands referenced resources. Default value is None. :paramtype expand: str :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. @@ -1482,7 +1480,7 @@ async def create_or_update( self, resource_group_name: str, machine_name: str, - parameters: Union[_models.Machine, _types.Machine, IO[bytes]], + parameters: Union[_models.Machine, JSON, IO[bytes]], *, expand: Optional[str] = None, **kwargs: Any @@ -1495,10 +1493,9 @@ async def create_or_update( :type resource_group_name: str :param machine_name: The name of the hybrid machine. Required. :type machine_name: str - :param parameters: Parameters supplied to the Create hybrid machine operation. Is either a - Machine type or a IO[bytes] type. Required. - :type parameters: ~azure.mgmt.hybridcompute.models.Machine or - ~azure.mgmt.hybridcompute.types.Machine or IO[bytes] + :param parameters: Parameters supplied to the Create hybrid machine operation. Is one of the + following types: Machine, JSON, IO[bytes] Required. + :type parameters: ~azure.mgmt.hybridcompute.models.Machine or JSON or IO[bytes] :keyword expand: Expands referenced resources. Default value is None. :paramtype expand: str :return: Machine. The Machine is compatible with MutableMapping @@ -1605,7 +1602,7 @@ async def update( self, resource_group_name: str, machine_name: str, - parameters: _types.MachineUpdate, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -1618,7 +1615,7 @@ async def update( :param machine_name: The name of the hybrid machine. Required. :type machine_name: str :param parameters: Parameters supplied to the Update hybrid machine operation. Required. - :type parameters: ~azure.mgmt.hybridcompute.types.MachineUpdate + :type parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -1659,7 +1656,7 @@ async def update( self, resource_group_name: str, machine_name: str, - parameters: Union[_models.MachineUpdate, _types.MachineUpdate, IO[bytes]], + parameters: Union[_models.MachineUpdate, JSON, IO[bytes]], **kwargs: Any ) -> _models.Machine: """The operation to update a hybrid machine. @@ -1669,10 +1666,9 @@ async def update( :type resource_group_name: str :param machine_name: The name of the hybrid machine. Required. :type machine_name: str - :param parameters: Parameters supplied to the Update hybrid machine operation. Is either a - MachineUpdate type or a IO[bytes] type. Required. - :type parameters: ~azure.mgmt.hybridcompute.models.MachineUpdate or - ~azure.mgmt.hybridcompute.types.MachineUpdate or IO[bytes] + :param parameters: Parameters supplied to the Update hybrid machine operation. Is one of the + following types: MachineUpdate, JSON, IO[bytes] Required. + :type parameters: ~azure.mgmt.hybridcompute.models.MachineUpdate or JSON or IO[bytes] :return: Machine. The Machine is compatible with MutableMapping :rtype: ~azure.mgmt.hybridcompute.models.Machine :raises ~azure.core.exceptions.HttpResponseError: @@ -2189,9 +2185,7 @@ async def _install_patches_initial( self, resource_group_name: str, name: str, - install_patches_input: Union[ - _models.MachineInstallPatchesParameters, _types.MachineInstallPatchesParameters, IO[bytes] - ], + install_patches_input: Union[_models.MachineInstallPatchesParameters, JSON, IO[bytes]], **kwargs: Any ) -> AsyncIterator[bytes]: error_map: MutableMapping = { @@ -2297,7 +2291,7 @@ async def begin_install_patches( self, resource_group_name: str, name: str, - install_patches_input: _types.MachineInstallPatchesParameters, + install_patches_input: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -2311,7 +2305,7 @@ async def begin_install_patches( :type name: str :param install_patches_input: Input for InstallPatches as directly received by the API. Required. - :type install_patches_input: ~azure.mgmt.hybridcompute.types.MachineInstallPatchesParameters + :type install_patches_input: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2357,9 +2351,7 @@ async def begin_install_patches( self, resource_group_name: str, name: str, - install_patches_input: Union[ - _models.MachineInstallPatchesParameters, _types.MachineInstallPatchesParameters, IO[bytes] - ], + install_patches_input: Union[_models.MachineInstallPatchesParameters, JSON, IO[bytes]], **kwargs: Any ) -> AsyncLROPoller[_models.MachineInstallPatchesResult]: """The operation to install patches on a hybrid machine identity in Azure. @@ -2369,10 +2361,10 @@ async def begin_install_patches( :type resource_group_name: str :param name: The name of the hybrid machine. Required. :type name: str - :param install_patches_input: Input for InstallPatches as directly received by the API. Is - either a MachineInstallPatchesParameters type or a IO[bytes] type. Required. + :param install_patches_input: Input for InstallPatches as directly received by the API. Is one + of the following types: MachineInstallPatchesParameters, JSON, IO[bytes] Required. :type install_patches_input: ~azure.mgmt.hybridcompute.models.MachineInstallPatchesParameters - or ~azure.mgmt.hybridcompute.types.MachineInstallPatchesParameters or IO[bytes] + or JSON or IO[bytes] :return: An instance of AsyncLROPoller that returns MachineInstallPatchesResult. The MachineInstallPatchesResult is compatible with MutableMapping :rtype: @@ -2527,7 +2519,7 @@ async def _create_or_update_initial( self, resource_group_name: str, machine_name: str, - parameters: Union[_models.LicenseProfile, _types.LicenseProfile, IO[bytes]], + parameters: Union[_models.LicenseProfile, JSON, IO[bytes]], **kwargs: Any ) -> AsyncIterator[bytes]: error_map: MutableMapping = { @@ -2637,7 +2629,7 @@ async def begin_create_or_update( self, resource_group_name: str, machine_name: str, - parameters: _types.LicenseProfile, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -2651,7 +2643,7 @@ async def begin_create_or_update( :type machine_name: str :param parameters: Parameters supplied to the Create or Update license profile operation. Required. - :type parameters: ~azure.mgmt.hybridcompute.types.LicenseProfile + :type parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2695,7 +2687,7 @@ async def begin_create_or_update( self, resource_group_name: str, machine_name: str, - parameters: Union[_models.LicenseProfile, _types.LicenseProfile, IO[bytes]], + parameters: Union[_models.LicenseProfile, JSON, IO[bytes]], **kwargs: Any ) -> AsyncLROPoller[_models.LicenseProfile]: """The operation to create or update a license profile. @@ -2706,9 +2698,8 @@ async def begin_create_or_update( :param machine_name: The name of the hybrid machine. Required. :type machine_name: str :param parameters: Parameters supplied to the Create or Update license profile operation. Is - either a LicenseProfile type or a IO[bytes] type. Required. - :type parameters: ~azure.mgmt.hybridcompute.models.LicenseProfile or - ~azure.mgmt.hybridcompute.types.LicenseProfile or IO[bytes] + one of the following types: LicenseProfile, JSON, IO[bytes] Required. + :type parameters: ~azure.mgmt.hybridcompute.models.LicenseProfile or JSON or IO[bytes] :return: An instance of AsyncLROPoller that returns LicenseProfile. The LicenseProfile is compatible with MutableMapping :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.hybridcompute.models.LicenseProfile] @@ -2772,7 +2763,7 @@ async def _update_initial( self, resource_group_name: str, machine_name: str, - parameters: Union[_models.LicenseProfileUpdate, _types.LicenseProfileUpdate, IO[bytes]], + parameters: Union[_models.LicenseProfileUpdate, JSON, IO[bytes]], **kwargs: Any ) -> AsyncIterator[bytes]: error_map: MutableMapping = { @@ -2881,7 +2872,7 @@ async def begin_update( self, resource_group_name: str, machine_name: str, - parameters: _types.LicenseProfileUpdate, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -2894,7 +2885,7 @@ async def begin_update( :param machine_name: The name of the hybrid machine. Required. :type machine_name: str :param parameters: Parameters supplied to the Update license profile operation. Required. - :type parameters: ~azure.mgmt.hybridcompute.types.LicenseProfileUpdate + :type parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2937,7 +2928,7 @@ async def begin_update( self, resource_group_name: str, machine_name: str, - parameters: Union[_models.LicenseProfileUpdate, _types.LicenseProfileUpdate, IO[bytes]], + parameters: Union[_models.LicenseProfileUpdate, JSON, IO[bytes]], **kwargs: Any ) -> AsyncLROPoller[_models.LicenseProfile]: """The operation to update a license profile. @@ -2947,10 +2938,9 @@ async def begin_update( :type resource_group_name: str :param machine_name: The name of the hybrid machine. Required. :type machine_name: str - :param parameters: Parameters supplied to the Update license profile operation. Is either a - LicenseProfileUpdate type or a IO[bytes] type. Required. - :type parameters: ~azure.mgmt.hybridcompute.models.LicenseProfileUpdate or - ~azure.mgmt.hybridcompute.types.LicenseProfileUpdate or IO[bytes] + :param parameters: Parameters supplied to the Update license profile operation. Is one of the + following types: LicenseProfileUpdate, JSON, IO[bytes] Required. + :type parameters: ~azure.mgmt.hybridcompute.models.LicenseProfileUpdate or JSON or IO[bytes] :return: An instance of AsyncLROPoller that returns LicenseProfile. The LicenseProfile is compatible with MutableMapping :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.hybridcompute.models.LicenseProfile] @@ -3336,7 +3326,7 @@ async def _create_or_update_initial( resource_group_name: str, machine_name: str, extension_name: str, - extension_parameters: Union[_models.MachineExtension, _types.MachineExtension, IO[bytes]], + extension_parameters: Union[_models.MachineExtension, JSON, IO[bytes]], **kwargs: Any ) -> AsyncIterator[bytes]: error_map: MutableMapping = { @@ -3446,7 +3436,7 @@ async def begin_create_or_update( resource_group_name: str, machine_name: str, extension_name: str, - extension_parameters: _types.MachineExtension, + extension_parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -3462,7 +3452,7 @@ async def begin_create_or_update( :type extension_name: str :param extension_parameters: Parameters supplied to the Create Machine Extension operation. Required. - :type extension_parameters: ~azure.mgmt.hybridcompute.types.MachineExtension + :type extension_parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -3510,7 +3500,7 @@ async def begin_create_or_update( resource_group_name: str, machine_name: str, extension_name: str, - extension_parameters: Union[_models.MachineExtension, _types.MachineExtension, IO[bytes]], + extension_parameters: Union[_models.MachineExtension, JSON, IO[bytes]], **kwargs: Any ) -> AsyncLROPoller[_models.MachineExtension]: """The operation to create or update the extension. @@ -3523,9 +3513,9 @@ async def begin_create_or_update( :param extension_name: The name of the machine extension. Required. :type extension_name: str :param extension_parameters: Parameters supplied to the Create Machine Extension operation. Is - either a MachineExtension type or a IO[bytes] type. Required. - :type extension_parameters: ~azure.mgmt.hybridcompute.models.MachineExtension or - ~azure.mgmt.hybridcompute.types.MachineExtension or IO[bytes] + one of the following types: MachineExtension, JSON, IO[bytes] Required. + :type extension_parameters: ~azure.mgmt.hybridcompute.models.MachineExtension or JSON or + IO[bytes] :return: An instance of AsyncLROPoller that returns MachineExtension. The MachineExtension is compatible with MutableMapping :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.hybridcompute.models.MachineExtension] @@ -3589,7 +3579,7 @@ async def _update_initial( resource_group_name: str, machine_name: str, extension_name: str, - extension_parameters: Union[_models.MachineExtensionUpdate, _types.MachineExtensionUpdate, IO[bytes]], + extension_parameters: Union[_models.MachineExtensionUpdate, JSON, IO[bytes]], **kwargs: Any ) -> AsyncIterator[bytes]: error_map: MutableMapping = { @@ -3702,7 +3692,7 @@ async def begin_update( resource_group_name: str, machine_name: str, extension_name: str, - extension_parameters: _types.MachineExtensionUpdate, + extension_parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -3718,7 +3708,7 @@ async def begin_update( :type extension_name: str :param extension_parameters: Parameters supplied to the Create Machine Extension operation. Required. - :type extension_parameters: ~azure.mgmt.hybridcompute.types.MachineExtensionUpdate + :type extension_parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -3766,7 +3756,7 @@ async def begin_update( resource_group_name: str, machine_name: str, extension_name: str, - extension_parameters: Union[_models.MachineExtensionUpdate, _types.MachineExtensionUpdate, IO[bytes]], + extension_parameters: Union[_models.MachineExtensionUpdate, JSON, IO[bytes]], **kwargs: Any ) -> AsyncLROPoller[_models.MachineExtension]: """The operation to create or update the extension. @@ -3779,9 +3769,9 @@ async def begin_update( :param extension_name: The name of the machine extension. Required. :type extension_name: str :param extension_parameters: Parameters supplied to the Create Machine Extension operation. Is - either a MachineExtensionUpdate type or a IO[bytes] type. Required. - :type extension_parameters: ~azure.mgmt.hybridcompute.models.MachineExtensionUpdate or - ~azure.mgmt.hybridcompute.types.MachineExtensionUpdate or IO[bytes] + one of the following types: MachineExtensionUpdate, JSON, IO[bytes] Required. + :type extension_parameters: ~azure.mgmt.hybridcompute.models.MachineExtensionUpdate or JSON or + IO[bytes] :return: An instance of AsyncLROPoller that returns MachineExtension. The MachineExtension is compatible with MutableMapping :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.hybridcompute.models.MachineExtension] @@ -4173,7 +4163,7 @@ async def _create_or_update_initial( resource_group_name: str, machine_name: str, run_command_name: str, - run_command_properties: Union[_models.MachineRunCommand, _types.MachineRunCommand, IO[bytes]], + run_command_properties: Union[_models.MachineRunCommand, JSON, IO[bytes]], **kwargs: Any ) -> AsyncIterator[bytes]: error_map: MutableMapping = { @@ -4285,7 +4275,7 @@ async def begin_create_or_update( resource_group_name: str, machine_name: str, run_command_name: str, - run_command_properties: _types.MachineRunCommand, + run_command_properties: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -4300,7 +4290,7 @@ async def begin_create_or_update( :param run_command_name: The name of the run command. Required. :type run_command_name: str :param run_command_properties: Parameters supplied to the Create Run Command. Required. - :type run_command_properties: ~azure.mgmt.hybridcompute.types.MachineRunCommand + :type run_command_properties: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -4347,7 +4337,7 @@ async def begin_create_or_update( resource_group_name: str, machine_name: str, run_command_name: str, - run_command_properties: Union[_models.MachineRunCommand, _types.MachineRunCommand, IO[bytes]], + run_command_properties: Union[_models.MachineRunCommand, JSON, IO[bytes]], **kwargs: Any ) -> AsyncLROPoller[_models.MachineRunCommand]: """The operation to create or update a run command. @@ -4359,10 +4349,10 @@ async def begin_create_or_update( :type machine_name: str :param run_command_name: The name of the run command. Required. :type run_command_name: str - :param run_command_properties: Parameters supplied to the Create Run Command. Is either a - MachineRunCommand type or a IO[bytes] type. Required. - :type run_command_properties: ~azure.mgmt.hybridcompute.models.MachineRunCommand or - ~azure.mgmt.hybridcompute.types.MachineRunCommand or IO[bytes] + :param run_command_properties: Parameters supplied to the Create Run Command. Is one of the + following types: MachineRunCommand, JSON, IO[bytes] Required. + :type run_command_properties: ~azure.mgmt.hybridcompute.models.MachineRunCommand or JSON or + IO[bytes] :return: An instance of AsyncLROPoller that returns MachineRunCommand. The MachineRunCommand is compatible with MutableMapping :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.hybridcompute.models.MachineRunCommand] @@ -4748,7 +4738,7 @@ async def _create_or_update_initial( self, resource_group_name: str, gateway_name: str, - parameters: Union[_models.Gateway, _types.Gateway, IO[bytes]], + parameters: Union[_models.Gateway, JSON, IO[bytes]], **kwargs: Any ) -> AsyncIterator[bytes]: error_map: MutableMapping = { @@ -4855,7 +4845,7 @@ async def begin_create_or_update( self, resource_group_name: str, gateway_name: str, - parameters: _types.Gateway, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -4868,7 +4858,7 @@ async def begin_create_or_update( :param gateway_name: The name of the Gateway. Required. :type gateway_name: str :param parameters: Parameters supplied to the Create gateway operation. Required. - :type parameters: ~azure.mgmt.hybridcompute.types.Gateway + :type parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -4911,7 +4901,7 @@ async def begin_create_or_update( self, resource_group_name: str, gateway_name: str, - parameters: Union[_models.Gateway, _types.Gateway, IO[bytes]], + parameters: Union[_models.Gateway, JSON, IO[bytes]], **kwargs: Any ) -> AsyncLROPoller[_models.Gateway]: """The operation to create or update a gateway. @@ -4921,10 +4911,9 @@ async def begin_create_or_update( :type resource_group_name: str :param gateway_name: The name of the Gateway. Required. :type gateway_name: str - :param parameters: Parameters supplied to the Create gateway operation. Is either a Gateway - type or a IO[bytes] type. Required. - :type parameters: ~azure.mgmt.hybridcompute.models.Gateway or - ~azure.mgmt.hybridcompute.types.Gateway or IO[bytes] + :param parameters: Parameters supplied to the Create gateway operation. Is one of the following + types: Gateway, JSON, IO[bytes] Required. + :type parameters: ~azure.mgmt.hybridcompute.models.Gateway or JSON or IO[bytes] :return: An instance of AsyncLROPoller that returns Gateway. The Gateway is compatible with MutableMapping :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.hybridcompute.models.Gateway] @@ -5014,7 +5003,7 @@ async def update( self, resource_group_name: str, gateway_name: str, - parameters: _types.GatewayUpdate, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -5027,7 +5016,7 @@ async def update( :param gateway_name: The name of the Gateway. Required. :type gateway_name: str :param parameters: Parameters supplied to the Update gateway operation. Required. - :type parameters: ~azure.mgmt.hybridcompute.types.GatewayUpdate + :type parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -5068,7 +5057,7 @@ async def update( self, resource_group_name: str, gateway_name: str, - parameters: Union[_models.GatewayUpdate, _types.GatewayUpdate, IO[bytes]], + parameters: Union[_models.GatewayUpdate, JSON, IO[bytes]], **kwargs: Any ) -> _models.Gateway: """The operation to update a gateway. @@ -5078,10 +5067,9 @@ async def update( :type resource_group_name: str :param gateway_name: The name of the Gateway. Required. :type gateway_name: str - :param parameters: Parameters supplied to the Update gateway operation. Is either a - GatewayUpdate type or a IO[bytes] type. Required. - :type parameters: ~azure.mgmt.hybridcompute.models.GatewayUpdate or - ~azure.mgmt.hybridcompute.types.GatewayUpdate or IO[bytes] + :param parameters: Parameters supplied to the Update gateway operation. Is one of the following + types: GatewayUpdate, JSON, IO[bytes] Required. + :type parameters: ~azure.mgmt.hybridcompute.models.GatewayUpdate or JSON or IO[bytes] :return: Gateway. The Gateway is compatible with MutableMapping :rtype: ~azure.mgmt.hybridcompute.models.Gateway :raises ~azure.core.exceptions.HttpResponseError: @@ -5761,7 +5749,7 @@ async def _create_or_update_initial( resource_group_name: str, scope_name: str, private_endpoint_connection_name: str, - parameters: Union[_models.PrivateEndpointConnection, _types.PrivateEndpointConnection, IO[bytes]], + parameters: Union[_models.PrivateEndpointConnection, JSON, IO[bytes]], **kwargs: Any ) -> AsyncIterator[bytes]: error_map: MutableMapping = { @@ -5871,7 +5859,7 @@ async def begin_create_or_update( resource_group_name: str, scope_name: str, private_endpoint_connection_name: str, - parameters: _types.PrivateEndpointConnection, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -5886,7 +5874,7 @@ async def begin_create_or_update( :param private_endpoint_connection_name: The name of the private endpoint connection. Required. :type private_endpoint_connection_name: str :param parameters: Required. - :type parameters: ~azure.mgmt.hybridcompute.types.PrivateEndpointConnection + :type parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -5935,7 +5923,7 @@ async def begin_create_or_update( resource_group_name: str, scope_name: str, private_endpoint_connection_name: str, - parameters: Union[_models.PrivateEndpointConnection, _types.PrivateEndpointConnection, IO[bytes]], + parameters: Union[_models.PrivateEndpointConnection, JSON, IO[bytes]], **kwargs: Any ) -> AsyncLROPoller[_models.PrivateEndpointConnection]: """Approve or reject a private endpoint connection with a given name. @@ -5947,9 +5935,10 @@ async def begin_create_or_update( :type scope_name: str :param private_endpoint_connection_name: The name of the private endpoint connection. Required. :type private_endpoint_connection_name: str - :param parameters: Is either a PrivateEndpointConnection type or a IO[bytes] type. Required. - :type parameters: ~azure.mgmt.hybridcompute.models.PrivateEndpointConnection or - ~azure.mgmt.hybridcompute.types.PrivateEndpointConnection or IO[bytes] + :param parameters: Is one of the following types: PrivateEndpointConnection, JSON, IO[bytes] + Required. + :type parameters: ~azure.mgmt.hybridcompute.models.PrivateEndpointConnection or JSON or + IO[bytes] :return: An instance of AsyncLROPoller that returns PrivateEndpointConnection. The PrivateEndpointConnection is compatible with MutableMapping :rtype: @@ -6873,7 +6862,7 @@ async def create_or_update( self, resource_group_name: str, scope_name: str, - parameters: _types.HybridComputePrivateLinkScope, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -6888,7 +6877,7 @@ async def create_or_update( :type scope_name: str :param parameters: Properties that need to be specified to create or update a Azure Arc for Servers and Clusters PrivateLinkScope. Required. - :type parameters: ~azure.mgmt.hybridcompute.types.HybridComputePrivateLinkScope + :type parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -6933,7 +6922,7 @@ async def create_or_update( self, resource_group_name: str, scope_name: str, - parameters: Union[_models.HybridComputePrivateLinkScope, _types.HybridComputePrivateLinkScope, IO[bytes]], + parameters: Union[_models.HybridComputePrivateLinkScope, JSON, IO[bytes]], **kwargs: Any ) -> _models.HybridComputePrivateLinkScope: """Creates (or updates) a Azure Arc PrivateLinkScope. Note: You cannot specify a different value @@ -6945,10 +6934,10 @@ async def create_or_update( :param scope_name: The name of the Azure Arc PrivateLinkScope resource. Required. :type scope_name: str :param parameters: Properties that need to be specified to create or update a Azure Arc for - Servers and Clusters PrivateLinkScope. Is either a HybridComputePrivateLinkScope type or a - IO[bytes] type. Required. - :type parameters: ~azure.mgmt.hybridcompute.models.HybridComputePrivateLinkScope or - ~azure.mgmt.hybridcompute.types.HybridComputePrivateLinkScope or IO[bytes] + Servers and Clusters PrivateLinkScope. Is one of the following types: + HybridComputePrivateLinkScope, JSON, IO[bytes] Required. + :type parameters: ~azure.mgmt.hybridcompute.models.HybridComputePrivateLinkScope or JSON or + IO[bytes] :return: HybridComputePrivateLinkScope. The HybridComputePrivateLinkScope is compatible with MutableMapping :rtype: ~azure.mgmt.hybridcompute.models.HybridComputePrivateLinkScope @@ -7056,7 +7045,7 @@ async def update_tags( self, resource_group_name: str, scope_name: str, - private_link_scope_tags: _types.TagsResource, + private_link_scope_tags: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -7071,7 +7060,7 @@ async def update_tags( :type scope_name: str :param private_link_scope_tags: Updated tag information to set into the PrivateLinkScope instance. Required. - :type private_link_scope_tags: ~azure.mgmt.hybridcompute.types.TagsResource + :type private_link_scope_tags: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -7116,7 +7105,7 @@ async def update_tags( self, resource_group_name: str, scope_name: str, - private_link_scope_tags: Union[_models.TagsResource, _types.TagsResource, IO[bytes]], + private_link_scope_tags: Union[_models.TagsResource, JSON, IO[bytes]], **kwargs: Any ) -> _models.HybridComputePrivateLinkScope: """Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate @@ -7128,9 +7117,9 @@ async def update_tags( :param scope_name: The name of the Azure Arc PrivateLinkScope resource. Required. :type scope_name: str :param private_link_scope_tags: Updated tag information to set into the PrivateLinkScope - instance. Is either a TagsResource type or a IO[bytes] type. Required. - :type private_link_scope_tags: ~azure.mgmt.hybridcompute.models.TagsResource or - ~azure.mgmt.hybridcompute.types.TagsResource or IO[bytes] + instance. Is one of the following types: TagsResource, JSON, IO[bytes] Required. + :type private_link_scope_tags: ~azure.mgmt.hybridcompute.models.TagsResource or JSON or + IO[bytes] :return: HybridComputePrivateLinkScope. The HybridComputePrivateLinkScope is compatible with MutableMapping :rtype: ~azure.mgmt.hybridcompute.models.HybridComputePrivateLinkScope @@ -8142,7 +8131,7 @@ async def update( base_resource_type: str, base_resource_name: str, settings_resource_name: str, - parameters: _types.Settings, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -8161,7 +8150,7 @@ async def update( :param settings_resource_name: The name of the settings resource. Required. :type settings_resource_name: str :param parameters: Settings details. Required. - :type parameters: ~azure.mgmt.hybridcompute.types.Settings + :type parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -8214,7 +8203,7 @@ async def update( base_resource_type: str, base_resource_name: str, settings_resource_name: str, - parameters: Union[_models.Settings, _types.Settings, IO[bytes]], + parameters: Union[_models.Settings, JSON, IO[bytes]], **kwargs: Any ) -> _models.Settings: """Updates the base Settings of the target resource. @@ -8230,9 +8219,9 @@ async def update( :type base_resource_name: str :param settings_resource_name: The name of the settings resource. Required. :type settings_resource_name: str - :param parameters: Settings details. Is either a Settings type or a IO[bytes] type. Required. - :type parameters: ~azure.mgmt.hybridcompute.models.Settings or - ~azure.mgmt.hybridcompute.types.Settings or IO[bytes] + :param parameters: Settings details. Is one of the following types: Settings, JSON, IO[bytes] + Required. + :type parameters: ~azure.mgmt.hybridcompute.models.Settings or JSON or IO[bytes] :return: Settings. The Settings is compatible with MutableMapping :rtype: ~azure.mgmt.hybridcompute.models.Settings :raises ~azure.core.exceptions.HttpResponseError: @@ -8351,7 +8340,7 @@ async def patch( base_resource_type: str, base_resource_name: str, settings_resource_name: str, - parameters: _types.Settings, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -8370,7 +8359,7 @@ async def patch( :param settings_resource_name: The name of the settings resource. Required. :type settings_resource_name: str :param parameters: Settings details. Required. - :type parameters: ~azure.mgmt.hybridcompute.types.Settings + :type parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -8423,7 +8412,7 @@ async def patch( base_resource_type: str, base_resource_name: str, settings_resource_name: str, - parameters: Union[_models.Settings, _types.Settings, IO[bytes]], + parameters: Union[_models.Settings, JSON, IO[bytes]], **kwargs: Any ) -> _models.Settings: """Update the base Settings of the target resource. @@ -8439,9 +8428,9 @@ async def patch( :type base_resource_name: str :param settings_resource_name: The name of the settings resource. Required. :type settings_resource_name: str - :param parameters: Settings details. Is either a Settings type or a IO[bytes] type. Required. - :type parameters: ~azure.mgmt.hybridcompute.models.Settings or - ~azure.mgmt.hybridcompute.types.Settings or IO[bytes] + :param parameters: Settings details. Is one of the following types: Settings, JSON, IO[bytes] + Required. + :type parameters: ~azure.mgmt.hybridcompute.models.Settings or JSON or IO[bytes] :return: Settings. The Settings is compatible with MutableMapping :rtype: ~azure.mgmt.hybridcompute.models.Settings :raises ~azure.core.exceptions.HttpResponseError: @@ -8759,7 +8748,7 @@ async def _upgrade_extensions_initial( self, resource_group_name: str, machine_name: str, - extension_upgrade_parameters: Union[_models.MachineExtensionUpgrade, _types.MachineExtensionUpgrade, IO[bytes]], + extension_upgrade_parameters: Union[_models.MachineExtensionUpgrade, JSON, IO[bytes]], **kwargs: Any ) -> AsyncIterator[bytes]: error_map: MutableMapping = { @@ -8866,7 +8855,7 @@ async def begin_upgrade_extensions( self, resource_group_name: str, machine_name: str, - extension_upgrade_parameters: _types.MachineExtensionUpgrade, + extension_upgrade_parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -8880,7 +8869,7 @@ async def begin_upgrade_extensions( :type machine_name: str :param extension_upgrade_parameters: Parameters supplied to the Upgrade Extensions operation. Required. - :type extension_upgrade_parameters: ~azure.mgmt.hybridcompute.types.MachineExtensionUpgrade + :type extension_upgrade_parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -8922,7 +8911,7 @@ async def begin_upgrade_extensions( self, resource_group_name: str, machine_name: str, - extension_upgrade_parameters: Union[_models.MachineExtensionUpgrade, _types.MachineExtensionUpgrade, IO[bytes]], + extension_upgrade_parameters: Union[_models.MachineExtensionUpgrade, JSON, IO[bytes]], **kwargs: Any ) -> AsyncLROPoller[None]: """The operation to Upgrade Machine Extensions. @@ -8933,9 +8922,9 @@ async def begin_upgrade_extensions( :param machine_name: The name of the hybrid machine. Required. :type machine_name: str :param extension_upgrade_parameters: Parameters supplied to the Upgrade Extensions operation. - Is either a MachineExtensionUpgrade type or a IO[bytes] type. Required. + Is one of the following types: MachineExtensionUpgrade, JSON, IO[bytes] Required. :type extension_upgrade_parameters: ~azure.mgmt.hybridcompute.models.MachineExtensionUpgrade or - ~azure.mgmt.hybridcompute.types.MachineExtensionUpgrade or IO[bytes] + JSON or IO[bytes] :return: An instance of AsyncLROPoller that returns None :rtype: ~azure.core.polling.AsyncLROPoller[None] :raises ~azure.core.exceptions.HttpResponseError: @@ -8991,7 +8980,7 @@ async def _setup_extensions_initial( self, resource_group_name: str, machine_name: str, - extensions: Union[_models.SetupExtensionRequest, _types.SetupExtensionRequest, IO[bytes]], + extensions: Union[_models.SetupExtensionRequest, JSON, IO[bytes]], **kwargs: Any ) -> AsyncIterator[bytes]: error_map: MutableMapping = { @@ -9099,7 +9088,7 @@ async def begin_setup_extensions( self, resource_group_name: str, machine_name: str, - extensions: _types.SetupExtensionRequest, + extensions: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -9112,7 +9101,7 @@ async def begin_setup_extensions( :param machine_name: The name of the hybrid machine. Required. :type machine_name: str :param extensions: Parameters supplied to the Setup Extensions operation. Required. - :type extensions: ~azure.mgmt.hybridcompute.types.SetupExtensionRequest + :type extensions: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -9157,7 +9146,7 @@ async def begin_setup_extensions( self, resource_group_name: str, machine_name: str, - extensions: Union[_models.SetupExtensionRequest, _types.SetupExtensionRequest, IO[bytes]], + extensions: Union[_models.SetupExtensionRequest, JSON, IO[bytes]], **kwargs: Any ) -> AsyncLROPoller[_models.SetupExtensionRequest]: """The operation to Setup Machine Extensions. @@ -9167,10 +9156,9 @@ async def begin_setup_extensions( :type resource_group_name: str :param machine_name: The name of the hybrid machine. Required. :type machine_name: str - :param extensions: Parameters supplied to the Setup Extensions operation. Is either a - SetupExtensionRequest type or a IO[bytes] type. Required. - :type extensions: ~azure.mgmt.hybridcompute.models.SetupExtensionRequest or - ~azure.mgmt.hybridcompute.types.SetupExtensionRequest or IO[bytes] + :param extensions: Parameters supplied to the Setup Extensions operation. Is one of the + following types: SetupExtensionRequest, JSON, IO[bytes] Required. + :type extensions: ~azure.mgmt.hybridcompute.models.SetupExtensionRequest or JSON or IO[bytes] :return: An instance of AsyncLROPoller that returns SetupExtensionRequest. The SetupExtensionRequest is compatible with MutableMapping :rtype: diff --git a/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/aio/operations/_patch.py b/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/aio/operations/_patch.py index 87676c65a8f0..ea765788358a 100644 --- a/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/aio/operations/_patch.py +++ b/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/aio/operations/_patch.py @@ -8,7 +8,6 @@ Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize """ - __all__: list[str] = [] # Add all objects you want publicly available to users at this package level diff --git a/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/models/_models.py b/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/models/_models.py index 8fd0adb09a36..3db21ce1c85b 100644 --- a/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/models/_models.py +++ b/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/models/_models.py @@ -14,7 +14,7 @@ from .._utils.model_base import Model as _Model, rest_field if TYPE_CHECKING: - from .. import _unions, models as _models + from .. import _types, models as _models class AccessRule(_Model): @@ -5115,7 +5115,7 @@ class ServiceExtension(_Model): ~azure.mgmt.hybridcompute.models.ServiceExtensionPublicNetworkAccess """ - service_extension_type: Optional["_unions.ServiceExtensionType"] = rest_field( + service_extension_type: Optional["_types.ServiceExtensionType"] = rest_field( name="serviceExtensionType", visibility=["read", "create", "update", "delete", "query"] ) """The name of the Azure Arc Extension. Is one of the following types: str""" @@ -5131,7 +5131,7 @@ class ServiceExtension(_Model): def __init__( self, *, - service_extension_type: Optional["_unions.ServiceExtensionType"] = None, + service_extension_type: Optional["_types.ServiceExtensionType"] = None, service_extension_public_network_access: Optional[ Union[str, "_models.ServiceExtensionPublicNetworkAccess"] ] = None, diff --git a/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/models/_patch.py b/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/models/_patch.py index 87676c65a8f0..ea765788358a 100644 --- a/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/models/_patch.py +++ b/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/models/_patch.py @@ -8,7 +8,6 @@ Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize """ - __all__: list[str] = [] # Add all objects you want publicly available to users at this package level diff --git a/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/operations/_operations.py b/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/operations/_operations.py index 277221214560..26d70b489211 100644 --- a/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/operations/_operations.py +++ b/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/operations/_operations.py @@ -32,7 +32,7 @@ from azure.mgmt.core.exceptions import ARMErrorFormat from azure.mgmt.core.polling.arm_polling import ARMPolling -from .. import models as _models, types as _types +from .. import models as _models from .._configuration import HybridComputeManagementClientConfiguration from .._utils.model_base import SdkJSONEncoder, _deserialize, _failsafe_deserialize from .._utils.serialization import Deserializer, Serializer @@ -40,6 +40,7 @@ T = TypeVar("T") ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, dict[str, Any]], Any]] +JSON = MutableMapping[str, Any] List = list _SERIALIZER = Serializer() @@ -2137,7 +2138,7 @@ def _create_or_update_initial( self, resource_group_name: str, license_name: str, - parameters: Union[_models.License, _types.License, IO[bytes]], + parameters: Union[_models.License, JSON, IO[bytes]], **kwargs: Any ) -> Iterator[bytes]: error_map: MutableMapping = { @@ -2240,7 +2241,7 @@ def begin_create_or_update( self, resource_group_name: str, license_name: str, - parameters: _types.License, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -2253,7 +2254,7 @@ def begin_create_or_update( :param license_name: The name of the license. Required. :type license_name: str :param parameters: Parameters supplied to the Create license operation. Required. - :type parameters: ~azure.mgmt.hybridcompute.types.License + :type parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2296,7 +2297,7 @@ def begin_create_or_update( self, resource_group_name: str, license_name: str, - parameters: Union[_models.License, _types.License, IO[bytes]], + parameters: Union[_models.License, JSON, IO[bytes]], **kwargs: Any ) -> LROPoller[_models.License]: """The operation to create or update a license. @@ -2306,10 +2307,9 @@ def begin_create_or_update( :type resource_group_name: str :param license_name: The name of the license. Required. :type license_name: str - :param parameters: Parameters supplied to the Create license operation. Is either a License - type or a IO[bytes] type. Required. - :type parameters: ~azure.mgmt.hybridcompute.models.License or - ~azure.mgmt.hybridcompute.types.License or IO[bytes] + :param parameters: Parameters supplied to the Create license operation. Is one of the following + types: License, JSON, IO[bytes] Required. + :type parameters: ~azure.mgmt.hybridcompute.models.License or JSON or IO[bytes] :return: An instance of LROPoller that returns License. The License is compatible with MutableMapping :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.hybridcompute.models.License] @@ -2375,7 +2375,7 @@ def _update_initial( self, resource_group_name: str, license_name: str, - parameters: Union[_models.LicenseUpdate, _types.LicenseUpdate, IO[bytes]], + parameters: Union[_models.LicenseUpdate, JSON, IO[bytes]], **kwargs: Any ) -> Iterator[bytes]: error_map: MutableMapping = { @@ -2478,7 +2478,7 @@ def begin_update( self, resource_group_name: str, license_name: str, - parameters: _types.LicenseUpdate, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -2491,7 +2491,7 @@ def begin_update( :param license_name: The name of the license. Required. :type license_name: str :param parameters: Parameters supplied to the Update license operation. Required. - :type parameters: ~azure.mgmt.hybridcompute.types.LicenseUpdate + :type parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2534,7 +2534,7 @@ def begin_update( self, resource_group_name: str, license_name: str, - parameters: Union[_models.LicenseUpdate, _types.LicenseUpdate, IO[bytes]], + parameters: Union[_models.LicenseUpdate, JSON, IO[bytes]], **kwargs: Any ) -> LROPoller[_models.License]: """The operation to update a license. @@ -2544,10 +2544,9 @@ def begin_update( :type resource_group_name: str :param license_name: The name of the license. Required. :type license_name: str - :param parameters: Parameters supplied to the Update license operation. Is either a - LicenseUpdate type or a IO[bytes] type. Required. - :type parameters: ~azure.mgmt.hybridcompute.models.LicenseUpdate or - ~azure.mgmt.hybridcompute.types.LicenseUpdate or IO[bytes] + :param parameters: Parameters supplied to the Update license operation. Is one of the following + types: LicenseUpdate, JSON, IO[bytes] Required. + :type parameters: ~azure.mgmt.hybridcompute.models.LicenseUpdate or JSON or IO[bytes] :return: An instance of LROPoller that returns License. The License is compatible with MutableMapping :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.hybridcompute.models.License] @@ -2916,7 +2915,7 @@ def get_next(next_link=None): return ItemPaged(get_next, extract_data) def _validate_license_initial( - self, parameters: Union[_models.License, _types.License, IO[bytes]], **kwargs: Any + self, parameters: Union[_models.License, JSON, IO[bytes]], **kwargs: Any ) -> Iterator[bytes]: error_map: MutableMapping = { 401: ClientAuthenticationError, @@ -3002,12 +3001,12 @@ def begin_validate_license( @overload def begin_validate_license( - self, parameters: _types.License, *, content_type: str = "application/json", **kwargs: Any + self, parameters: JSON, *, content_type: str = "application/json", **kwargs: Any ) -> LROPoller[_models.License]: """The operation to validate a license. :param parameters: The content of the action request. Required. - :type parameters: ~azure.mgmt.hybridcompute.types.License + :type parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -3036,14 +3035,13 @@ def begin_validate_license( @distributed_trace def begin_validate_license( - self, parameters: Union[_models.License, _types.License, IO[bytes]], **kwargs: Any + self, parameters: Union[_models.License, JSON, IO[bytes]], **kwargs: Any ) -> LROPoller[_models.License]: """The operation to validate a license. - :param parameters: The content of the action request. Is either a License type or a IO[bytes] - type. Required. - :type parameters: ~azure.mgmt.hybridcompute.models.License or - ~azure.mgmt.hybridcompute.types.License or IO[bytes] + :param parameters: The content of the action request. Is one of the following types: License, + JSON, IO[bytes] Required. + :type parameters: ~azure.mgmt.hybridcompute.models.License or JSON or IO[bytes] :return: An instance of LROPoller that returns License. The License is compatible with MutableMapping :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.hybridcompute.models.License] @@ -3240,7 +3238,7 @@ def create_or_update( self, resource_group_name: str, machine_name: str, - parameters: _types.Machine, + parameters: JSON, *, expand: Optional[str] = None, content_type: str = "application/json", @@ -3255,7 +3253,7 @@ def create_or_update( :param machine_name: The name of the hybrid machine. Required. :type machine_name: str :param parameters: Parameters supplied to the Create hybrid machine operation. Required. - :type parameters: ~azure.mgmt.hybridcompute.types.Machine + :type parameters: JSON :keyword expand: Expands referenced resources. Default value is None. :paramtype expand: str :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. @@ -3302,7 +3300,7 @@ def create_or_update( self, resource_group_name: str, machine_name: str, - parameters: Union[_models.Machine, _types.Machine, IO[bytes]], + parameters: Union[_models.Machine, JSON, IO[bytes]], *, expand: Optional[str] = None, **kwargs: Any @@ -3315,10 +3313,9 @@ def create_or_update( :type resource_group_name: str :param machine_name: The name of the hybrid machine. Required. :type machine_name: str - :param parameters: Parameters supplied to the Create hybrid machine operation. Is either a - Machine type or a IO[bytes] type. Required. - :type parameters: ~azure.mgmt.hybridcompute.models.Machine or - ~azure.mgmt.hybridcompute.types.Machine or IO[bytes] + :param parameters: Parameters supplied to the Create hybrid machine operation. Is one of the + following types: Machine, JSON, IO[bytes] Required. + :type parameters: ~azure.mgmt.hybridcompute.models.Machine or JSON or IO[bytes] :keyword expand: Expands referenced resources. Default value is None. :paramtype expand: str :return: Machine. The Machine is compatible with MutableMapping @@ -3425,7 +3422,7 @@ def update( self, resource_group_name: str, machine_name: str, - parameters: _types.MachineUpdate, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -3438,7 +3435,7 @@ def update( :param machine_name: The name of the hybrid machine. Required. :type machine_name: str :param parameters: Parameters supplied to the Update hybrid machine operation. Required. - :type parameters: ~azure.mgmt.hybridcompute.types.MachineUpdate + :type parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -3479,7 +3476,7 @@ def update( self, resource_group_name: str, machine_name: str, - parameters: Union[_models.MachineUpdate, _types.MachineUpdate, IO[bytes]], + parameters: Union[_models.MachineUpdate, JSON, IO[bytes]], **kwargs: Any ) -> _models.Machine: """The operation to update a hybrid machine. @@ -3489,10 +3486,9 @@ def update( :type resource_group_name: str :param machine_name: The name of the hybrid machine. Required. :type machine_name: str - :param parameters: Parameters supplied to the Update hybrid machine operation. Is either a - MachineUpdate type or a IO[bytes] type. Required. - :type parameters: ~azure.mgmt.hybridcompute.models.MachineUpdate or - ~azure.mgmt.hybridcompute.types.MachineUpdate or IO[bytes] + :param parameters: Parameters supplied to the Update hybrid machine operation. Is one of the + following types: MachineUpdate, JSON, IO[bytes] Required. + :type parameters: ~azure.mgmt.hybridcompute.models.MachineUpdate or JSON or IO[bytes] :return: Machine. The Machine is compatible with MutableMapping :rtype: ~azure.mgmt.hybridcompute.models.Machine :raises ~azure.core.exceptions.HttpResponseError: @@ -4009,9 +4005,7 @@ def _install_patches_initial( self, resource_group_name: str, name: str, - install_patches_input: Union[ - _models.MachineInstallPatchesParameters, _types.MachineInstallPatchesParameters, IO[bytes] - ], + install_patches_input: Union[_models.MachineInstallPatchesParameters, JSON, IO[bytes]], **kwargs: Any ) -> Iterator[bytes]: error_map: MutableMapping = { @@ -4117,7 +4111,7 @@ def begin_install_patches( self, resource_group_name: str, name: str, - install_patches_input: _types.MachineInstallPatchesParameters, + install_patches_input: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -4131,7 +4125,7 @@ def begin_install_patches( :type name: str :param install_patches_input: Input for InstallPatches as directly received by the API. Required. - :type install_patches_input: ~azure.mgmt.hybridcompute.types.MachineInstallPatchesParameters + :type install_patches_input: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -4177,9 +4171,7 @@ def begin_install_patches( self, resource_group_name: str, name: str, - install_patches_input: Union[ - _models.MachineInstallPatchesParameters, _types.MachineInstallPatchesParameters, IO[bytes] - ], + install_patches_input: Union[_models.MachineInstallPatchesParameters, JSON, IO[bytes]], **kwargs: Any ) -> LROPoller[_models.MachineInstallPatchesResult]: """The operation to install patches on a hybrid machine identity in Azure. @@ -4189,10 +4181,10 @@ def begin_install_patches( :type resource_group_name: str :param name: The name of the hybrid machine. Required. :type name: str - :param install_patches_input: Input for InstallPatches as directly received by the API. Is - either a MachineInstallPatchesParameters type or a IO[bytes] type. Required. + :param install_patches_input: Input for InstallPatches as directly received by the API. Is one + of the following types: MachineInstallPatchesParameters, JSON, IO[bytes] Required. :type install_patches_input: ~azure.mgmt.hybridcompute.models.MachineInstallPatchesParameters - or ~azure.mgmt.hybridcompute.types.MachineInstallPatchesParameters or IO[bytes] + or JSON or IO[bytes] :return: An instance of LROPoller that returns MachineInstallPatchesResult. The MachineInstallPatchesResult is compatible with MutableMapping :rtype: @@ -4347,7 +4339,7 @@ def _create_or_update_initial( self, resource_group_name: str, machine_name: str, - parameters: Union[_models.LicenseProfile, _types.LicenseProfile, IO[bytes]], + parameters: Union[_models.LicenseProfile, JSON, IO[bytes]], **kwargs: Any ) -> Iterator[bytes]: error_map: MutableMapping = { @@ -4457,7 +4449,7 @@ def begin_create_or_update( self, resource_group_name: str, machine_name: str, - parameters: _types.LicenseProfile, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -4471,7 +4463,7 @@ def begin_create_or_update( :type machine_name: str :param parameters: Parameters supplied to the Create or Update license profile operation. Required. - :type parameters: ~azure.mgmt.hybridcompute.types.LicenseProfile + :type parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -4515,7 +4507,7 @@ def begin_create_or_update( self, resource_group_name: str, machine_name: str, - parameters: Union[_models.LicenseProfile, _types.LicenseProfile, IO[bytes]], + parameters: Union[_models.LicenseProfile, JSON, IO[bytes]], **kwargs: Any ) -> LROPoller[_models.LicenseProfile]: """The operation to create or update a license profile. @@ -4526,9 +4518,8 @@ def begin_create_or_update( :param machine_name: The name of the hybrid machine. Required. :type machine_name: str :param parameters: Parameters supplied to the Create or Update license profile operation. Is - either a LicenseProfile type or a IO[bytes] type. Required. - :type parameters: ~azure.mgmt.hybridcompute.models.LicenseProfile or - ~azure.mgmt.hybridcompute.types.LicenseProfile or IO[bytes] + one of the following types: LicenseProfile, JSON, IO[bytes] Required. + :type parameters: ~azure.mgmt.hybridcompute.models.LicenseProfile or JSON or IO[bytes] :return: An instance of LROPoller that returns LicenseProfile. The LicenseProfile is compatible with MutableMapping :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.hybridcompute.models.LicenseProfile] @@ -4592,7 +4583,7 @@ def _update_initial( self, resource_group_name: str, machine_name: str, - parameters: Union[_models.LicenseProfileUpdate, _types.LicenseProfileUpdate, IO[bytes]], + parameters: Union[_models.LicenseProfileUpdate, JSON, IO[bytes]], **kwargs: Any ) -> Iterator[bytes]: error_map: MutableMapping = { @@ -4701,7 +4692,7 @@ def begin_update( self, resource_group_name: str, machine_name: str, - parameters: _types.LicenseProfileUpdate, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -4714,7 +4705,7 @@ def begin_update( :param machine_name: The name of the hybrid machine. Required. :type machine_name: str :param parameters: Parameters supplied to the Update license profile operation. Required. - :type parameters: ~azure.mgmt.hybridcompute.types.LicenseProfileUpdate + :type parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -4757,7 +4748,7 @@ def begin_update( self, resource_group_name: str, machine_name: str, - parameters: Union[_models.LicenseProfileUpdate, _types.LicenseProfileUpdate, IO[bytes]], + parameters: Union[_models.LicenseProfileUpdate, JSON, IO[bytes]], **kwargs: Any ) -> LROPoller[_models.LicenseProfile]: """The operation to update a license profile. @@ -4767,10 +4758,9 @@ def begin_update( :type resource_group_name: str :param machine_name: The name of the hybrid machine. Required. :type machine_name: str - :param parameters: Parameters supplied to the Update license profile operation. Is either a - LicenseProfileUpdate type or a IO[bytes] type. Required. - :type parameters: ~azure.mgmt.hybridcompute.models.LicenseProfileUpdate or - ~azure.mgmt.hybridcompute.types.LicenseProfileUpdate or IO[bytes] + :param parameters: Parameters supplied to the Update license profile operation. Is one of the + following types: LicenseProfileUpdate, JSON, IO[bytes] Required. + :type parameters: ~azure.mgmt.hybridcompute.models.LicenseProfileUpdate or JSON or IO[bytes] :return: An instance of LROPoller that returns LicenseProfile. The LicenseProfile is compatible with MutableMapping :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.hybridcompute.models.LicenseProfile] @@ -5153,7 +5143,7 @@ def _create_or_update_initial( resource_group_name: str, machine_name: str, extension_name: str, - extension_parameters: Union[_models.MachineExtension, _types.MachineExtension, IO[bytes]], + extension_parameters: Union[_models.MachineExtension, JSON, IO[bytes]], **kwargs: Any ) -> Iterator[bytes]: error_map: MutableMapping = { @@ -5263,7 +5253,7 @@ def begin_create_or_update( resource_group_name: str, machine_name: str, extension_name: str, - extension_parameters: _types.MachineExtension, + extension_parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -5279,7 +5269,7 @@ def begin_create_or_update( :type extension_name: str :param extension_parameters: Parameters supplied to the Create Machine Extension operation. Required. - :type extension_parameters: ~azure.mgmt.hybridcompute.types.MachineExtension + :type extension_parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -5327,7 +5317,7 @@ def begin_create_or_update( resource_group_name: str, machine_name: str, extension_name: str, - extension_parameters: Union[_models.MachineExtension, _types.MachineExtension, IO[bytes]], + extension_parameters: Union[_models.MachineExtension, JSON, IO[bytes]], **kwargs: Any ) -> LROPoller[_models.MachineExtension]: """The operation to create or update the extension. @@ -5340,9 +5330,9 @@ def begin_create_or_update( :param extension_name: The name of the machine extension. Required. :type extension_name: str :param extension_parameters: Parameters supplied to the Create Machine Extension operation. Is - either a MachineExtension type or a IO[bytes] type. Required. - :type extension_parameters: ~azure.mgmt.hybridcompute.models.MachineExtension or - ~azure.mgmt.hybridcompute.types.MachineExtension or IO[bytes] + one of the following types: MachineExtension, JSON, IO[bytes] Required. + :type extension_parameters: ~azure.mgmt.hybridcompute.models.MachineExtension or JSON or + IO[bytes] :return: An instance of LROPoller that returns MachineExtension. The MachineExtension is compatible with MutableMapping :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.hybridcompute.models.MachineExtension] @@ -5406,7 +5396,7 @@ def _update_initial( resource_group_name: str, machine_name: str, extension_name: str, - extension_parameters: Union[_models.MachineExtensionUpdate, _types.MachineExtensionUpdate, IO[bytes]], + extension_parameters: Union[_models.MachineExtensionUpdate, JSON, IO[bytes]], **kwargs: Any ) -> Iterator[bytes]: error_map: MutableMapping = { @@ -5519,7 +5509,7 @@ def begin_update( resource_group_name: str, machine_name: str, extension_name: str, - extension_parameters: _types.MachineExtensionUpdate, + extension_parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -5535,7 +5525,7 @@ def begin_update( :type extension_name: str :param extension_parameters: Parameters supplied to the Create Machine Extension operation. Required. - :type extension_parameters: ~azure.mgmt.hybridcompute.types.MachineExtensionUpdate + :type extension_parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -5583,7 +5573,7 @@ def begin_update( resource_group_name: str, machine_name: str, extension_name: str, - extension_parameters: Union[_models.MachineExtensionUpdate, _types.MachineExtensionUpdate, IO[bytes]], + extension_parameters: Union[_models.MachineExtensionUpdate, JSON, IO[bytes]], **kwargs: Any ) -> LROPoller[_models.MachineExtension]: """The operation to create or update the extension. @@ -5596,9 +5586,9 @@ def begin_update( :param extension_name: The name of the machine extension. Required. :type extension_name: str :param extension_parameters: Parameters supplied to the Create Machine Extension operation. Is - either a MachineExtensionUpdate type or a IO[bytes] type. Required. - :type extension_parameters: ~azure.mgmt.hybridcompute.models.MachineExtensionUpdate or - ~azure.mgmt.hybridcompute.types.MachineExtensionUpdate or IO[bytes] + one of the following types: MachineExtensionUpdate, JSON, IO[bytes] Required. + :type extension_parameters: ~azure.mgmt.hybridcompute.models.MachineExtensionUpdate or JSON or + IO[bytes] :return: An instance of LROPoller that returns MachineExtension. The MachineExtension is compatible with MutableMapping :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.hybridcompute.models.MachineExtension] @@ -5989,7 +5979,7 @@ def _create_or_update_initial( resource_group_name: str, machine_name: str, run_command_name: str, - run_command_properties: Union[_models.MachineRunCommand, _types.MachineRunCommand, IO[bytes]], + run_command_properties: Union[_models.MachineRunCommand, JSON, IO[bytes]], **kwargs: Any ) -> Iterator[bytes]: error_map: MutableMapping = { @@ -6101,7 +6091,7 @@ def begin_create_or_update( resource_group_name: str, machine_name: str, run_command_name: str, - run_command_properties: _types.MachineRunCommand, + run_command_properties: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -6116,7 +6106,7 @@ def begin_create_or_update( :param run_command_name: The name of the run command. Required. :type run_command_name: str :param run_command_properties: Parameters supplied to the Create Run Command. Required. - :type run_command_properties: ~azure.mgmt.hybridcompute.types.MachineRunCommand + :type run_command_properties: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -6163,7 +6153,7 @@ def begin_create_or_update( resource_group_name: str, machine_name: str, run_command_name: str, - run_command_properties: Union[_models.MachineRunCommand, _types.MachineRunCommand, IO[bytes]], + run_command_properties: Union[_models.MachineRunCommand, JSON, IO[bytes]], **kwargs: Any ) -> LROPoller[_models.MachineRunCommand]: """The operation to create or update a run command. @@ -6175,10 +6165,10 @@ def begin_create_or_update( :type machine_name: str :param run_command_name: The name of the run command. Required. :type run_command_name: str - :param run_command_properties: Parameters supplied to the Create Run Command. Is either a - MachineRunCommand type or a IO[bytes] type. Required. - :type run_command_properties: ~azure.mgmt.hybridcompute.models.MachineRunCommand or - ~azure.mgmt.hybridcompute.types.MachineRunCommand or IO[bytes] + :param run_command_properties: Parameters supplied to the Create Run Command. Is one of the + following types: MachineRunCommand, JSON, IO[bytes] Required. + :type run_command_properties: ~azure.mgmt.hybridcompute.models.MachineRunCommand or JSON or + IO[bytes] :return: An instance of LROPoller that returns MachineRunCommand. The MachineRunCommand is compatible with MutableMapping :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.hybridcompute.models.MachineRunCommand] @@ -6563,7 +6553,7 @@ def _create_or_update_initial( self, resource_group_name: str, gateway_name: str, - parameters: Union[_models.Gateway, _types.Gateway, IO[bytes]], + parameters: Union[_models.Gateway, JSON, IO[bytes]], **kwargs: Any ) -> Iterator[bytes]: error_map: MutableMapping = { @@ -6670,7 +6660,7 @@ def begin_create_or_update( self, resource_group_name: str, gateway_name: str, - parameters: _types.Gateway, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -6683,7 +6673,7 @@ def begin_create_or_update( :param gateway_name: The name of the Gateway. Required. :type gateway_name: str :param parameters: Parameters supplied to the Create gateway operation. Required. - :type parameters: ~azure.mgmt.hybridcompute.types.Gateway + :type parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -6726,7 +6716,7 @@ def begin_create_or_update( self, resource_group_name: str, gateway_name: str, - parameters: Union[_models.Gateway, _types.Gateway, IO[bytes]], + parameters: Union[_models.Gateway, JSON, IO[bytes]], **kwargs: Any ) -> LROPoller[_models.Gateway]: """The operation to create or update a gateway. @@ -6736,10 +6726,9 @@ def begin_create_or_update( :type resource_group_name: str :param gateway_name: The name of the Gateway. Required. :type gateway_name: str - :param parameters: Parameters supplied to the Create gateway operation. Is either a Gateway - type or a IO[bytes] type. Required. - :type parameters: ~azure.mgmt.hybridcompute.models.Gateway or - ~azure.mgmt.hybridcompute.types.Gateway or IO[bytes] + :param parameters: Parameters supplied to the Create gateway operation. Is one of the following + types: Gateway, JSON, IO[bytes] Required. + :type parameters: ~azure.mgmt.hybridcompute.models.Gateway or JSON or IO[bytes] :return: An instance of LROPoller that returns Gateway. The Gateway is compatible with MutableMapping :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.hybridcompute.models.Gateway] @@ -6829,7 +6818,7 @@ def update( self, resource_group_name: str, gateway_name: str, - parameters: _types.GatewayUpdate, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -6842,7 +6831,7 @@ def update( :param gateway_name: The name of the Gateway. Required. :type gateway_name: str :param parameters: Parameters supplied to the Update gateway operation. Required. - :type parameters: ~azure.mgmt.hybridcompute.types.GatewayUpdate + :type parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -6883,7 +6872,7 @@ def update( self, resource_group_name: str, gateway_name: str, - parameters: Union[_models.GatewayUpdate, _types.GatewayUpdate, IO[bytes]], + parameters: Union[_models.GatewayUpdate, JSON, IO[bytes]], **kwargs: Any ) -> _models.Gateway: """The operation to update a gateway. @@ -6893,10 +6882,9 @@ def update( :type resource_group_name: str :param gateway_name: The name of the Gateway. Required. :type gateway_name: str - :param parameters: Parameters supplied to the Update gateway operation. Is either a - GatewayUpdate type or a IO[bytes] type. Required. - :type parameters: ~azure.mgmt.hybridcompute.models.GatewayUpdate or - ~azure.mgmt.hybridcompute.types.GatewayUpdate or IO[bytes] + :param parameters: Parameters supplied to the Update gateway operation. Is one of the following + types: GatewayUpdate, JSON, IO[bytes] Required. + :type parameters: ~azure.mgmt.hybridcompute.models.GatewayUpdate or JSON or IO[bytes] :return: Gateway. The Gateway is compatible with MutableMapping :rtype: ~azure.mgmt.hybridcompute.models.Gateway :raises ~azure.core.exceptions.HttpResponseError: @@ -7575,7 +7563,7 @@ def _create_or_update_initial( resource_group_name: str, scope_name: str, private_endpoint_connection_name: str, - parameters: Union[_models.PrivateEndpointConnection, _types.PrivateEndpointConnection, IO[bytes]], + parameters: Union[_models.PrivateEndpointConnection, JSON, IO[bytes]], **kwargs: Any ) -> Iterator[bytes]: error_map: MutableMapping = { @@ -7685,7 +7673,7 @@ def begin_create_or_update( resource_group_name: str, scope_name: str, private_endpoint_connection_name: str, - parameters: _types.PrivateEndpointConnection, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -7700,7 +7688,7 @@ def begin_create_or_update( :param private_endpoint_connection_name: The name of the private endpoint connection. Required. :type private_endpoint_connection_name: str :param parameters: Required. - :type parameters: ~azure.mgmt.hybridcompute.types.PrivateEndpointConnection + :type parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -7749,7 +7737,7 @@ def begin_create_or_update( resource_group_name: str, scope_name: str, private_endpoint_connection_name: str, - parameters: Union[_models.PrivateEndpointConnection, _types.PrivateEndpointConnection, IO[bytes]], + parameters: Union[_models.PrivateEndpointConnection, JSON, IO[bytes]], **kwargs: Any ) -> LROPoller[_models.PrivateEndpointConnection]: """Approve or reject a private endpoint connection with a given name. @@ -7761,9 +7749,10 @@ def begin_create_or_update( :type scope_name: str :param private_endpoint_connection_name: The name of the private endpoint connection. Required. :type private_endpoint_connection_name: str - :param parameters: Is either a PrivateEndpointConnection type or a IO[bytes] type. Required. - :type parameters: ~azure.mgmt.hybridcompute.models.PrivateEndpointConnection or - ~azure.mgmt.hybridcompute.types.PrivateEndpointConnection or IO[bytes] + :param parameters: Is one of the following types: PrivateEndpointConnection, JSON, IO[bytes] + Required. + :type parameters: ~azure.mgmt.hybridcompute.models.PrivateEndpointConnection or JSON or + IO[bytes] :return: An instance of LROPoller that returns PrivateEndpointConnection. The PrivateEndpointConnection is compatible with MutableMapping :rtype: @@ -8685,7 +8674,7 @@ def create_or_update( self, resource_group_name: str, scope_name: str, - parameters: _types.HybridComputePrivateLinkScope, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -8700,7 +8689,7 @@ def create_or_update( :type scope_name: str :param parameters: Properties that need to be specified to create or update a Azure Arc for Servers and Clusters PrivateLinkScope. Required. - :type parameters: ~azure.mgmt.hybridcompute.types.HybridComputePrivateLinkScope + :type parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -8745,7 +8734,7 @@ def create_or_update( self, resource_group_name: str, scope_name: str, - parameters: Union[_models.HybridComputePrivateLinkScope, _types.HybridComputePrivateLinkScope, IO[bytes]], + parameters: Union[_models.HybridComputePrivateLinkScope, JSON, IO[bytes]], **kwargs: Any ) -> _models.HybridComputePrivateLinkScope: """Creates (or updates) a Azure Arc PrivateLinkScope. Note: You cannot specify a different value @@ -8757,10 +8746,10 @@ def create_or_update( :param scope_name: The name of the Azure Arc PrivateLinkScope resource. Required. :type scope_name: str :param parameters: Properties that need to be specified to create or update a Azure Arc for - Servers and Clusters PrivateLinkScope. Is either a HybridComputePrivateLinkScope type or a - IO[bytes] type. Required. - :type parameters: ~azure.mgmt.hybridcompute.models.HybridComputePrivateLinkScope or - ~azure.mgmt.hybridcompute.types.HybridComputePrivateLinkScope or IO[bytes] + Servers and Clusters PrivateLinkScope. Is one of the following types: + HybridComputePrivateLinkScope, JSON, IO[bytes] Required. + :type parameters: ~azure.mgmt.hybridcompute.models.HybridComputePrivateLinkScope or JSON or + IO[bytes] :return: HybridComputePrivateLinkScope. The HybridComputePrivateLinkScope is compatible with MutableMapping :rtype: ~azure.mgmt.hybridcompute.models.HybridComputePrivateLinkScope @@ -8868,7 +8857,7 @@ def update_tags( self, resource_group_name: str, scope_name: str, - private_link_scope_tags: _types.TagsResource, + private_link_scope_tags: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -8883,7 +8872,7 @@ def update_tags( :type scope_name: str :param private_link_scope_tags: Updated tag information to set into the PrivateLinkScope instance. Required. - :type private_link_scope_tags: ~azure.mgmt.hybridcompute.types.TagsResource + :type private_link_scope_tags: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -8928,7 +8917,7 @@ def update_tags( self, resource_group_name: str, scope_name: str, - private_link_scope_tags: Union[_models.TagsResource, _types.TagsResource, IO[bytes]], + private_link_scope_tags: Union[_models.TagsResource, JSON, IO[bytes]], **kwargs: Any ) -> _models.HybridComputePrivateLinkScope: """Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate @@ -8940,9 +8929,9 @@ def update_tags( :param scope_name: The name of the Azure Arc PrivateLinkScope resource. Required. :type scope_name: str :param private_link_scope_tags: Updated tag information to set into the PrivateLinkScope - instance. Is either a TagsResource type or a IO[bytes] type. Required. - :type private_link_scope_tags: ~azure.mgmt.hybridcompute.models.TagsResource or - ~azure.mgmt.hybridcompute.types.TagsResource or IO[bytes] + instance. Is one of the following types: TagsResource, JSON, IO[bytes] Required. + :type private_link_scope_tags: ~azure.mgmt.hybridcompute.models.TagsResource or JSON or + IO[bytes] :return: HybridComputePrivateLinkScope. The HybridComputePrivateLinkScope is compatible with MutableMapping :rtype: ~azure.mgmt.hybridcompute.models.HybridComputePrivateLinkScope @@ -9952,7 +9941,7 @@ def update( base_resource_type: str, base_resource_name: str, settings_resource_name: str, - parameters: _types.Settings, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -9971,7 +9960,7 @@ def update( :param settings_resource_name: The name of the settings resource. Required. :type settings_resource_name: str :param parameters: Settings details. Required. - :type parameters: ~azure.mgmt.hybridcompute.types.Settings + :type parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -10024,7 +10013,7 @@ def update( base_resource_type: str, base_resource_name: str, settings_resource_name: str, - parameters: Union[_models.Settings, _types.Settings, IO[bytes]], + parameters: Union[_models.Settings, JSON, IO[bytes]], **kwargs: Any ) -> _models.Settings: """Updates the base Settings of the target resource. @@ -10040,9 +10029,9 @@ def update( :type base_resource_name: str :param settings_resource_name: The name of the settings resource. Required. :type settings_resource_name: str - :param parameters: Settings details. Is either a Settings type or a IO[bytes] type. Required. - :type parameters: ~azure.mgmt.hybridcompute.models.Settings or - ~azure.mgmt.hybridcompute.types.Settings or IO[bytes] + :param parameters: Settings details. Is one of the following types: Settings, JSON, IO[bytes] + Required. + :type parameters: ~azure.mgmt.hybridcompute.models.Settings or JSON or IO[bytes] :return: Settings. The Settings is compatible with MutableMapping :rtype: ~azure.mgmt.hybridcompute.models.Settings :raises ~azure.core.exceptions.HttpResponseError: @@ -10161,7 +10150,7 @@ def patch( base_resource_type: str, base_resource_name: str, settings_resource_name: str, - parameters: _types.Settings, + parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -10180,7 +10169,7 @@ def patch( :param settings_resource_name: The name of the settings resource. Required. :type settings_resource_name: str :param parameters: Settings details. Required. - :type parameters: ~azure.mgmt.hybridcompute.types.Settings + :type parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -10233,7 +10222,7 @@ def patch( base_resource_type: str, base_resource_name: str, settings_resource_name: str, - parameters: Union[_models.Settings, _types.Settings, IO[bytes]], + parameters: Union[_models.Settings, JSON, IO[bytes]], **kwargs: Any ) -> _models.Settings: """Update the base Settings of the target resource. @@ -10249,9 +10238,9 @@ def patch( :type base_resource_name: str :param settings_resource_name: The name of the settings resource. Required. :type settings_resource_name: str - :param parameters: Settings details. Is either a Settings type or a IO[bytes] type. Required. - :type parameters: ~azure.mgmt.hybridcompute.models.Settings or - ~azure.mgmt.hybridcompute.types.Settings or IO[bytes] + :param parameters: Settings details. Is one of the following types: Settings, JSON, IO[bytes] + Required. + :type parameters: ~azure.mgmt.hybridcompute.models.Settings or JSON or IO[bytes] :return: Settings. The Settings is compatible with MutableMapping :rtype: ~azure.mgmt.hybridcompute.models.Settings :raises ~azure.core.exceptions.HttpResponseError: @@ -10568,7 +10557,7 @@ def _upgrade_extensions_initial( self, resource_group_name: str, machine_name: str, - extension_upgrade_parameters: Union[_models.MachineExtensionUpgrade, _types.MachineExtensionUpgrade, IO[bytes]], + extension_upgrade_parameters: Union[_models.MachineExtensionUpgrade, JSON, IO[bytes]], **kwargs: Any ) -> Iterator[bytes]: error_map: MutableMapping = { @@ -10675,7 +10664,7 @@ def begin_upgrade_extensions( self, resource_group_name: str, machine_name: str, - extension_upgrade_parameters: _types.MachineExtensionUpgrade, + extension_upgrade_parameters: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -10689,7 +10678,7 @@ def begin_upgrade_extensions( :type machine_name: str :param extension_upgrade_parameters: Parameters supplied to the Upgrade Extensions operation. Required. - :type extension_upgrade_parameters: ~azure.mgmt.hybridcompute.types.MachineExtensionUpgrade + :type extension_upgrade_parameters: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -10731,7 +10720,7 @@ def begin_upgrade_extensions( self, resource_group_name: str, machine_name: str, - extension_upgrade_parameters: Union[_models.MachineExtensionUpgrade, _types.MachineExtensionUpgrade, IO[bytes]], + extension_upgrade_parameters: Union[_models.MachineExtensionUpgrade, JSON, IO[bytes]], **kwargs: Any ) -> LROPoller[None]: """The operation to Upgrade Machine Extensions. @@ -10742,9 +10731,9 @@ def begin_upgrade_extensions( :param machine_name: The name of the hybrid machine. Required. :type machine_name: str :param extension_upgrade_parameters: Parameters supplied to the Upgrade Extensions operation. - Is either a MachineExtensionUpgrade type or a IO[bytes] type. Required. + Is one of the following types: MachineExtensionUpgrade, JSON, IO[bytes] Required. :type extension_upgrade_parameters: ~azure.mgmt.hybridcompute.models.MachineExtensionUpgrade or - ~azure.mgmt.hybridcompute.types.MachineExtensionUpgrade or IO[bytes] + JSON or IO[bytes] :return: An instance of LROPoller that returns None :rtype: ~azure.core.polling.LROPoller[None] :raises ~azure.core.exceptions.HttpResponseError: @@ -10800,7 +10789,7 @@ def _setup_extensions_initial( self, resource_group_name: str, machine_name: str, - extensions: Union[_models.SetupExtensionRequest, _types.SetupExtensionRequest, IO[bytes]], + extensions: Union[_models.SetupExtensionRequest, JSON, IO[bytes]], **kwargs: Any ) -> Iterator[bytes]: error_map: MutableMapping = { @@ -10907,7 +10896,7 @@ def begin_setup_extensions( self, resource_group_name: str, machine_name: str, - extensions: _types.SetupExtensionRequest, + extensions: JSON, *, content_type: str = "application/json", **kwargs: Any @@ -10920,7 +10909,7 @@ def begin_setup_extensions( :param machine_name: The name of the hybrid machine. Required. :type machine_name: str :param extensions: Parameters supplied to the Setup Extensions operation. Required. - :type extensions: ~azure.mgmt.hybridcompute.types.SetupExtensionRequest + :type extensions: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -10963,7 +10952,7 @@ def begin_setup_extensions( self, resource_group_name: str, machine_name: str, - extensions: Union[_models.SetupExtensionRequest, _types.SetupExtensionRequest, IO[bytes]], + extensions: Union[_models.SetupExtensionRequest, JSON, IO[bytes]], **kwargs: Any ) -> LROPoller[_models.SetupExtensionRequest]: """The operation to Setup Machine Extensions. @@ -10973,10 +10962,9 @@ def begin_setup_extensions( :type resource_group_name: str :param machine_name: The name of the hybrid machine. Required. :type machine_name: str - :param extensions: Parameters supplied to the Setup Extensions operation. Is either a - SetupExtensionRequest type or a IO[bytes] type. Required. - :type extensions: ~azure.mgmt.hybridcompute.models.SetupExtensionRequest or - ~azure.mgmt.hybridcompute.types.SetupExtensionRequest or IO[bytes] + :param extensions: Parameters supplied to the Setup Extensions operation. Is one of the + following types: SetupExtensionRequest, JSON, IO[bytes] Required. + :type extensions: ~azure.mgmt.hybridcompute.models.SetupExtensionRequest or JSON or IO[bytes] :return: An instance of LROPoller that returns SetupExtensionRequest. The SetupExtensionRequest is compatible with MutableMapping :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.hybridcompute.models.SetupExtensionRequest] diff --git a/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/operations/_patch.py b/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/operations/_patch.py index 87676c65a8f0..ea765788358a 100644 --- a/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/operations/_patch.py +++ b/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/operations/_patch.py @@ -8,7 +8,6 @@ Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize """ - __all__: list[str] = [] # Add all objects you want publicly available to users at this package level diff --git a/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/types.py b/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/types.py deleted file mode 100644 index 24568f769295..000000000000 --- a/sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/types.py +++ /dev/null @@ -1,2390 +0,0 @@ -# pylint: disable=line-too-long,useless-suppression,too-many-lines -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - -from typing import Any, TYPE_CHECKING, Union -from typing_extensions import Required, TypedDict - -if TYPE_CHECKING: - from . import _unions - from .models import ( - AgentConfigurationMode, - ArcKindEnum, - AssessmentModeTypes, - CreatedByType, - EsuEligibility, - EsuKeyState, - EsuServerType, - ExecutionState, - ExtensionsStatusLevelTypes, - GatewayType, - HotpatchEnablementStatus, - IdentityKeyStore, - LastAttemptStatusEnum, - LicenseAssignmentState, - LicenseCoreType, - LicenseEdition, - LicenseProfileProductType, - LicenseProfileSubscriptionStatus, - LicenseProfileSubscriptionStatusUpdate, - LicenseState, - LicenseStatus, - LicenseTarget, - LicenseType, - PatchModeTypes, - ProgramYear, - ProvisioningState, - PublicNetworkAccessType, - ResourceIdentityType, - ServiceExtensionPublicNetworkAccess, - StatusLevelTypes, - StatusTypes, - VMGuestPatchClassificationLinux, - VMGuestPatchClassificationWindows, - VMGuestPatchRebootSetting, - ) - - -class AgentConfiguration(TypedDict, total=False): - """Configurable properties that the user can set locally via the azcmagent config command, or - remotely via ARM. - - :ivar proxy_url: Specifies the URL of the proxy to be used. - :vartype proxy_url: str - :ivar incoming_connections_ports: Specifies the list of ports that the agent will be able to - listen on. - :vartype incoming_connections_ports: list[str] - :ivar extensions_allow_list: Array of extensions that are allowed to be installed or updated. - :vartype extensions_allow_list: list["ConfigurationExtension"] - :ivar extensions_block_list: Array of extensions that are blocked (cannot be installed or - updated). - :vartype extensions_block_list: list["ConfigurationExtension"] - :ivar proxy_bypass: List of service names which should not use the specified proxy server. - :vartype proxy_bypass: list[str] - :ivar extensions_enabled: Specifies whether the extension service is enabled or disabled. - :vartype extensions_enabled: str - :ivar guest_configuration_enabled: Specified whether the guest configuration service is enabled - or disabled. - :vartype guest_configuration_enabled: str - :ivar config_mode: Name of configuration mode to use. Modes are pre-defined configurations of - security controls, extension allowlists and guest configuration, maintained by Microsoft. Known - values are: "full" and "monitor". - :vartype config_mode: Union[str, "AgentConfigurationMode"] - """ - - proxyUrl: str - """Specifies the URL of the proxy to be used.""" - incomingConnectionsPorts: list[str] - """Specifies the list of ports that the agent will be able to listen on.""" - extensionsAllowList: list["ConfigurationExtension"] - """Array of extensions that are allowed to be installed or updated.""" - extensionsBlockList: list["ConfigurationExtension"] - """Array of extensions that are blocked (cannot be installed or updated).""" - proxyBypass: list[str] - """List of service names which should not use the specified proxy server.""" - extensionsEnabled: str - """Specifies whether the extension service is enabled or disabled.""" - guestConfigurationEnabled: str - """Specified whether the guest configuration service is enabled or disabled.""" - configMode: Union[str, "AgentConfigurationMode"] - """Name of configuration mode to use. Modes are pre-defined configurations of security controls, - extension allowlists and guest configuration, maintained by Microsoft. Known values are: - \"full\" and \"monitor\".""" - - -class AgentUpgrade(TypedDict, total=False): - """The info w.r.t Agent Upgrade. - - :ivar desired_version: Specifies the version info w.r.t AgentUpgrade for the machine. - :vartype desired_version: str - :ivar correlation_id: The correlation ID associated with an agent upgrade operation. - :vartype correlation_id: str - :ivar enable_automatic_upgrade: Specifies if the machine's agent should be upgraded. - :vartype enable_automatic_upgrade: bool - :ivar last_attempt_desired_version: Specifies the version of the last attempt. - :vartype last_attempt_desired_version: str - :ivar last_attempt_timestamp: Timestamp of last upgrade attempt. - :vartype last_attempt_timestamp: str - :ivar last_attempt_status: Specifies the status of Agent Upgrade. Known values are: "Success" - and "Failed". - :vartype last_attempt_status: Union[str, "LastAttemptStatusEnum"] - :ivar last_attempt_message: Failure message of last upgrade attempt if any. - :vartype last_attempt_message: str - """ - - desiredVersion: str - """Specifies the version info w.r.t AgentUpgrade for the machine.""" - correlationId: str - """The correlation ID associated with an agent upgrade operation.""" - enableAutomaticUpgrade: bool - """Specifies if the machine's agent should be upgraded.""" - lastAttemptDesiredVersion: str - """Specifies the version of the last attempt.""" - lastAttemptTimestamp: str - """Timestamp of last upgrade attempt.""" - lastAttemptStatus: Union[str, "LastAttemptStatusEnum"] - """Specifies the status of Agent Upgrade. Known values are: \"Success\" and \"Failed\".""" - lastAttemptMessage: str - """Failure message of last upgrade attempt if any.""" - - -class CloudMetadata(TypedDict, total=False): - """The metadata of the cloud environment (Azure/GCP/AWS/OCI...). - - :ivar provider: Specifies the cloud provider (Azure/AWS/GCP...). - :vartype provider: str - """ - - provider: str - """Specifies the cloud provider (Azure/AWS/GCP...).""" - - -class ConfigurationExtension(TypedDict, total=False): - """Describes properties that can identify extensions. - - :ivar publisher: Publisher of the extension. - :vartype publisher: str - :ivar type: Type of the extension. - :vartype type: str - """ - - publisher: str - """Publisher of the extension.""" - type: str - """Type of the extension.""" - - -class Disk(TypedDict, total=False): - """Describes a disk on the machine. - - :ivar path: The path of the disk. - :vartype path: str - :ivar disk_type: The type of the disk. - :vartype disk_type: str - :ivar generated_id: The generated ID of the disk. - :vartype generated_id: str - :ivar id: The ID of the disk. - :vartype id: str - :ivar name: The name of the disk. - :vartype name: str - :ivar max_size_in_bytes: The size of the disk, in bytes. - :vartype max_size_in_bytes: int - :ivar used_space_in_bytes: The amount of space used on the disk, in bytes. - :vartype used_space_in_bytes: int - """ - - path: str - """The path of the disk.""" - diskType: str - """The type of the disk.""" - generatedId: str - """The generated ID of the disk.""" - id: str - """The ID of the disk.""" - name: str - """The name of the disk.""" - maxSizeInBytes: int - """The size of the disk, in bytes.""" - usedSpaceInBytes: int - """The amount of space used on the disk, in bytes.""" - - -class ErrorAdditionalInfo(TypedDict, total=False): - """The resource management error additional info. - - :ivar type: The additional info type. - :vartype type: str - :ivar info: The additional info. - :vartype info: Any - """ - - type: str - """The additional info type.""" - info: Any - """The additional info.""" - - -class ErrorDetail(TypedDict, total=False): - """The error detail. - - :ivar code: The error code. - :vartype code: str - :ivar message: The error message. - :vartype message: str - :ivar target: The error target. - :vartype target: str - :ivar details: The error details. - :vartype details: list["ErrorDetail"] - :ivar additional_info: The error additional info. - :vartype additional_info: list["ErrorAdditionalInfo"] - """ - - code: str - """The error code.""" - message: str - """The error message.""" - target: str - """The error target.""" - details: list["ErrorDetail"] - """The error details.""" - additionalInfo: list["ErrorAdditionalInfo"] - """The error additional info.""" - - -class EsuKey(TypedDict, total=False): - """ESU key. - - :ivar sku: SKU number. - :vartype sku: str - :ivar license_status: The current status of the license profile key. Represented by the same - integer value that is presented on the machine itself when querying the license key status. - :vartype license_status: int - """ - - sku: str - """SKU number.""" - licenseStatus: int - """The current status of the license profile key. Represented by the same integer value that is - presented on the machine itself when querying the license key status.""" - - -class EsuProfileUpdateProperties(TypedDict, total=False): - """Describes the Update properties of a ESU License Profile. - - :ivar assigned_license: The resource id of the license. - :vartype assigned_license: str - """ - - assignedLicense: str - """The resource id of the license.""" - - -class ExtensionsResourceStatus(TypedDict, total=False): - """Instance view status. - - :ivar code: The status code. - :vartype code: str - :ivar level: The level code. Known values are: "Info", "Warning", and "Error". - :vartype level: Union[str, "ExtensionsStatusLevelTypes"] - :ivar display_status: The short localizable label for the status. - :vartype display_status: str - :ivar message: The detailed status message, including for alerts and error messages. - :vartype message: str - :ivar time: The time of the status. - :vartype time: str - """ - - code: str - """The status code.""" - level: Union[str, "ExtensionsStatusLevelTypes"] - """The level code. Known values are: \"Info\", \"Warning\", and \"Error\".""" - displayStatus: str - """The short localizable label for the status.""" - message: str - """The detailed status message, including for alerts and error messages.""" - time: str - """The time of the status.""" - - -class ExtensionTargetProperties(TypedDict, total=False): - """Describes the Machine Extension Target Version Properties. - - :ivar target_version: Properties for the specified Extension to Upgrade. - :vartype target_version: str - """ - - targetVersion: str - """Properties for the specified Extension to Upgrade.""" - - -class Resource(TypedDict, total=False): - """Resource. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: "SystemData" - """ - - id: str - """Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.""" - name: str - """The name of the resource.""" - type: str - """The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or - \"Microsoft.Storage/storageAccounts\".""" - systemData: "SystemData" - """Azure Resource Manager metadata containing createdBy and modifiedBy information.""" - - -class ProxyResource(Resource): - """Proxy Resource. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: "SystemData" - """ - - -class FirmwareProfile(TypedDict, total=False): - """Describes the firmware of the machine. - - :ivar serial_number: The serial number of the firmware. - :vartype serial_number: str - :ivar type: The type of the firmware. - :vartype type: str - """ - - serialNumber: str - """The serial number of the firmware.""" - type: str - """The type of the firmware.""" - - -class TrackedResource(Resource): - """Tracked Resource. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: "SystemData" - :ivar tags: Resource tags. - :vartype tags: dict[str, str] - :ivar location: The geo-location where the resource lives. Required. - :vartype location: str - """ - - tags: dict[str, str] - """Resource tags.""" - location: Required[str] - """The geo-location where the resource lives. Required.""" - - -class Gateway(TrackedResource): - """Describes an Arc Gateway. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: "SystemData" - :ivar tags: Resource tags. - :vartype tags: dict[str, str] - :ivar location: The geo-location where the resource lives. Required. - :vartype location: str - :ivar properties: Hybrid Compute Gateway properties. - :vartype properties: "GatewayProperties" - """ - - properties: "GatewayProperties" - """Hybrid Compute Gateway properties.""" - - -class GatewayProperties(TypedDict, total=False): - """Describes the properties of a Gateway Profile. - - :ivar provisioning_state: The provisioning state, which only appears in the response. Known - values are: "Creating", "Updating", "Deleting", "Succeeded", "Failed", "Accepted", "Canceled", - and "Deleted". - :vartype provisioning_state: Union[str, "ProvisioningState"] - :ivar gateway_id: A unique, immutable, identifier for the Gateway. - :vartype gateway_id: str - :ivar gateway_type: The type of the Gateway resource. "Public" - :vartype gateway_type: Union[str, "GatewayType"] - :ivar gateway_endpoint: The endpoint fqdn for the Gateway. - :vartype gateway_endpoint: str - :ivar allowed_features: Specifies the list of features that are enabled for this Gateway. - :vartype allowed_features: list[str] - """ - - provisioningState: Union[str, "ProvisioningState"] - """The provisioning state, which only appears in the response. Known values are: \"Creating\", - \"Updating\", \"Deleting\", \"Succeeded\", \"Failed\", \"Accepted\", \"Canceled\", and - \"Deleted\".""" - gatewayId: str - """A unique, immutable, identifier for the Gateway.""" - gatewayType: Union[str, "GatewayType"] - """The type of the Gateway resource. \"Public\"""" - gatewayEndpoint: str - """The endpoint fqdn for the Gateway.""" - allowedFeatures: list[str] - """Specifies the list of features that are enabled for this Gateway.""" - - -class ResourceUpdate(TypedDict, total=False): - """The Update Resource model definition. - - :ivar tags: Resource tags. - :vartype tags: dict[str, str] - """ - - tags: dict[str, str] - """Resource tags.""" - - -class GatewayUpdate(ResourceUpdate): - """Describes a License Update. - - :ivar tags: Resource tags. - :vartype tags: dict[str, str] - :ivar properties: Gateway Update properties. - :vartype properties: "GatewayUpdateProperties" - """ - - properties: "GatewayUpdateProperties" - """Gateway Update properties.""" - - -class GatewayUpdateProperties(TypedDict, total=False): - """Describes the Update properties of a Gateway Profile. - - :ivar allowed_features: Specifies the list of features that are enabled for this Gateway. - :vartype allowed_features: list[str] - """ - - allowedFeatures: list[str] - """Specifies the list of features that are enabled for this Gateway.""" - - -class HardwareProfile(TypedDict, total=False): - """Describes the hardware of the machine. - - :ivar total_physical_memory_in_bytes: The total physical memory on the machine. - :vartype total_physical_memory_in_bytes: int - :ivar number_of_cpu_sockets: The total number of CPU sockets available on the machine. - :vartype number_of_cpu_sockets: int - :ivar processors: The physical processors of the machine. - :vartype processors: list["Processor"] - """ - - totalPhysicalMemoryInBytes: int - """The total physical memory on the machine.""" - numberOfCpuSockets: int - """The total number of CPU sockets available on the machine.""" - processors: list["Processor"] - """The physical processors of the machine.""" - - -class HybridComputePrivateLinkScope(TrackedResource): - """An Azure Arc PrivateLinkScope definition. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: "SystemData" - :ivar tags: Resource tags. - :vartype tags: dict[str, str] - :ivar location: The geo-location where the resource lives. Required. - :vartype location: str - :ivar properties: Properties that define a Azure Arc PrivateLinkScope resource. - :vartype properties: "HybridComputePrivateLinkScopeProperties" - """ - - properties: "HybridComputePrivateLinkScopeProperties" - """Properties that define a Azure Arc PrivateLinkScope resource.""" - - -class HybridComputePrivateLinkScopeProperties(TypedDict, total=False): - """Properties that define a Azure Arc PrivateLinkScope resource. - - :ivar public_network_access: Indicates whether machines associated with the private link scope - can also use public Azure Arc service endpoints. Known values are: "Enabled", "Disabled", and - "SecuredByPerimeter". - :vartype public_network_access: Union[str, "PublicNetworkAccessType"] - :ivar provisioning_state: Current state of this PrivateLinkScope: whether or not is has been - provisioned within the resource group it is defined. Users cannot change this value but are - able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed. - :vartype provisioning_state: str - :ivar private_link_scope_id: The Guid id of the private link scope. - :vartype private_link_scope_id: str - :ivar private_endpoint_connections: The collection of associated Private Endpoint Connections. - :vartype private_endpoint_connections: list["PrivateEndpointConnectionDataModel"] - :ivar service_extensions: Enable private link validation for an Azure Arc Extension. - :vartype service_extensions: list["ServiceExtension"] - """ - - publicNetworkAccess: Union[str, "PublicNetworkAccessType"] - """Indicates whether machines associated with the private link scope can also use public Azure Arc - service endpoints. Known values are: \"Enabled\", \"Disabled\", and \"SecuredByPerimeter\".""" - provisioningState: str - """Current state of this PrivateLinkScope: whether or not is has been provisioned within the - resource group it is defined. Users cannot change this value but are able to read from it. - Values will include Provisioning ,Succeeded, Canceled and Failed.""" - privateLinkScopeId: str - """The Guid id of the private link scope.""" - privateEndpointConnections: list["PrivateEndpointConnectionDataModel"] - """The collection of associated Private Endpoint Connections.""" - serviceExtensions: list["ServiceExtension"] - """Enable private link validation for an Azure Arc Extension.""" - - -class Identity(TypedDict, total=False): - """Identity for the resource. - - :ivar principal_id: The principal ID of resource identity. The value must be an UUID. - :vartype principal_id: str - :ivar tenant_id: The tenant ID of resource. The value must be an UUID. - :vartype tenant_id: str - :ivar type: The identity type. "SystemAssigned" - :vartype type: Union[str, "ResourceIdentityType"] - """ - - principalId: str - """The principal ID of resource identity. The value must be an UUID.""" - tenantId: str - """The tenant ID of resource. The value must be an UUID.""" - type: Union[str, "ResourceIdentityType"] - """The identity type. \"SystemAssigned\"""" - - -class IpAddress(TypedDict, total=False): - """Describes properties of the IP address. - - :ivar address: Represents the IP Address. - :vartype address: str - :ivar ip_address_version: Represents the Ip Address Version. - :vartype ip_address_version: str - :ivar subnet: The subnet to which this IP address belongs. - :vartype subnet: "Subnet" - """ - - address: str - """Represents the IP Address.""" - ipAddressVersion: str - """Represents the Ip Address Version.""" - subnet: "Subnet" - """The subnet to which this IP address belongs.""" - - -class License(TrackedResource): - """Describes a license in a hybrid machine. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: "SystemData" - :ivar tags: Resource tags. - :vartype tags: dict[str, str] - :ivar location: The geo-location where the resource lives. Required. - :vartype location: str - :ivar properties: Hybrid Compute License properties. - :vartype properties: "LicenseProperties" - """ - - properties: "LicenseProperties" - """Hybrid Compute License properties.""" - - -class LicenseDetails(TypedDict, total=False): - """Describes the properties of a License. - - :ivar state: Describes the state of the license. Known values are: "Activated" and - "Deactivated". - :vartype state: Union[str, "LicenseState"] - :ivar target: Describes the license target server. Known values are: "Windows Server 2012" and - "Windows Server 2012 R2". - :vartype target: Union[str, "LicenseTarget"] - :ivar edition: Describes the edition of the license. The values are either Standard or - Datacenter. Known values are: "Standard" and "Datacenter". - :vartype edition: Union[str, "LicenseEdition"] - :ivar type: Describes the license core type (pCore or vCore). Known values are: "pCore" and - "vCore". - :vartype type: Union[str, "LicenseCoreType"] - :ivar processors: Describes the number of processors. - :vartype processors: int - :ivar assigned_licenses: Describes the number of assigned licenses. - :vartype assigned_licenses: int - :ivar immutable_id: Describes the immutable id. - :vartype immutable_id: str - :ivar volume_license_details: A list of volume license details. - :vartype volume_license_details: list["VolumeLicenseDetails"] - """ - - state: Union[str, "LicenseState"] - """Describes the state of the license. Known values are: \"Activated\" and \"Deactivated\".""" - target: Union[str, "LicenseTarget"] - """Describes the license target server. Known values are: \"Windows Server 2012\" and \"Windows - Server 2012 R2\".""" - edition: Union[str, "LicenseEdition"] - """Describes the edition of the license. The values are either Standard or Datacenter. Known - values are: \"Standard\" and \"Datacenter\".""" - type: Union[str, "LicenseCoreType"] - """Describes the license core type (pCore or vCore). Known values are: \"pCore\" and \"vCore\".""" - processors: int - """Describes the number of processors.""" - assignedLicenses: int - """Describes the number of assigned licenses.""" - immutableId: str - """Describes the immutable id.""" - volumeLicenseDetails: list["VolumeLicenseDetails"] - """A list of volume license details.""" - - -class LicenseProfile(TrackedResource): - """Describes a license profile in a hybrid machine. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: "SystemData" - :ivar tags: Resource tags. - :vartype tags: dict[str, str] - :ivar location: The geo-location where the resource lives. Required. - :vartype location: str - :ivar properties: Describe the properties of a license profile. - :vartype properties: "LicenseProfileProperties" - """ - - properties: "LicenseProfileProperties" - """Describe the properties of a license profile.""" - - -class LicenseProfileStorageModelEsuProperties(TypedDict, total=False): - """License profile storage model for ESU properties. - - :ivar assigned_license_immutable_id: The guid id of the license. - :vartype assigned_license_immutable_id: str - :ivar esu_keys: The list of ESU keys. - :vartype esu_keys: list["EsuKey"] - """ - - assignedLicenseImmutableId: str - """The guid id of the license.""" - esuKeys: list["EsuKey"] - """The list of ESU keys.""" - - -class LicenseProfileArmEsuPropertiesWithoutAssignedLicense( - LicenseProfileStorageModelEsuProperties -): # pylint: disable=name-too-long - """Describes the properties of a License Profile ARM model. - - :ivar assigned_license_immutable_id: The guid id of the license. - :vartype assigned_license_immutable_id: str - :ivar esu_keys: The list of ESU keys. - :vartype esu_keys: list["EsuKey"] - :ivar server_type: The type of the Esu servers. Known values are: "Standard" and "Datacenter". - :vartype server_type: Union[str, "EsuServerType"] - :ivar esu_eligibility: Indicates the eligibility state of Esu. Known values are: "Eligible", - "Ineligible", and "Unknown". - :vartype esu_eligibility: Union[str, "EsuEligibility"] - :ivar esu_key_state: Indicates whether there is an ESU Key currently active for the machine. - Known values are: "Inactive" and "Active". - :vartype esu_key_state: Union[str, "EsuKeyState"] - """ - - serverType: Union[str, "EsuServerType"] - """The type of the Esu servers. Known values are: \"Standard\" and \"Datacenter\".""" - esuEligibility: Union[str, "EsuEligibility"] - """Indicates the eligibility state of Esu. Known values are: \"Eligible\", \"Ineligible\", and - \"Unknown\".""" - esuKeyState: Union[str, "EsuKeyState"] - """Indicates whether there is an ESU Key currently active for the machine. Known values are: - \"Inactive\" and \"Active\".""" - - -class LicenseProfileArmEsuProperties(LicenseProfileArmEsuPropertiesWithoutAssignedLicense): - """Describes the properties of a License Profile ARM model. - - :ivar assigned_license_immutable_id: The guid id of the license. - :vartype assigned_license_immutable_id: str - :ivar esu_keys: The list of ESU keys. - :vartype esu_keys: list["EsuKey"] - :ivar server_type: The type of the Esu servers. Known values are: "Standard" and "Datacenter". - :vartype server_type: Union[str, "EsuServerType"] - :ivar esu_eligibility: Indicates the eligibility state of Esu. Known values are: "Eligible", - "Ineligible", and "Unknown". - :vartype esu_eligibility: Union[str, "EsuEligibility"] - :ivar esu_key_state: Indicates whether there is an ESU Key currently active for the machine. - Known values are: "Inactive" and "Active". - :vartype esu_key_state: Union[str, "EsuKeyState"] - :ivar assigned_license: The resource id of the license. - :vartype assigned_license: str - """ - - assignedLicense: str - """The resource id of the license.""" - - -class LicenseProfileArmProductProfileProperties(TypedDict, total=False): # pylint: disable=name-too-long - """Describes the properties of a Product License Profile ARM model. - - :ivar subscription_status: Indicates the subscription status of the product. Known values are: - "Unknown", "Enabling", "Enabled", "Disabled", "Disabling", and "Failed". - :vartype subscription_status: Union[str, "LicenseProfileSubscriptionStatus"] - :ivar product_type: Indicates the product type of the license. Known values are: - "WindowsServer" and "WindowsIoTEnterprise". - :vartype product_type: Union[str, "LicenseProfileProductType"] - :ivar enrollment_date: The timestamp in UTC when the user enrolls the feature. - :vartype enrollment_date: str - :ivar billing_start_date: The timestamp in UTC when the billing starts. - :vartype billing_start_date: str - :ivar disenrollment_date: The timestamp in UTC when the user disenrolled the feature. - :vartype disenrollment_date: str - :ivar billing_end_date: The timestamp in UTC when the billing ends. - :vartype billing_end_date: str - :ivar error: The errors that were encountered during the feature enrollment or disenrollment. - :vartype error: "ErrorDetail" - :ivar product_features: The list of product features. - :vartype product_features: list["ProductFeature"] - """ - - subscriptionStatus: Union[str, "LicenseProfileSubscriptionStatus"] - """Indicates the subscription status of the product. Known values are: \"Unknown\", \"Enabling\", - \"Enabled\", \"Disabled\", \"Disabling\", and \"Failed\".""" - productType: Union[str, "LicenseProfileProductType"] - """Indicates the product type of the license. Known values are: \"WindowsServer\" and - \"WindowsIoTEnterprise\".""" - enrollmentDate: str - """The timestamp in UTC when the user enrolls the feature.""" - billingStartDate: str - """The timestamp in UTC when the billing starts.""" - disenrollmentDate: str - """The timestamp in UTC when the user disenrolled the feature.""" - billingEndDate: str - """The timestamp in UTC when the billing ends.""" - error: "ErrorDetail" - """The errors that were encountered during the feature enrollment or disenrollment.""" - productFeatures: list["ProductFeature"] - """The list of product features.""" - - -class LicenseProfileMachineInstanceView(TypedDict, total=False): - """License Profile Instance View in Machine Properties. - - :ivar license_status: Indicates the license status of the OS. Known values are: "Unlicensed", - "Licensed", "OOBGrace", "OOTGrace", "NonGenuineGrace", "Notification", and "ExtendedGrace". - :vartype license_status: Union[str, "LicenseStatus"] - :ivar license_channel: Indicates the license channel. - :vartype license_channel: str - :ivar software_assurance: - :vartype software_assurance: "LicenseProfileMachineInstanceViewSoftwareAssurance" - :ivar esu_profile: Properties for the Machine ESU profile. - :vartype esu_profile: "LicenseProfileMachineInstanceViewEsuProperties" - :ivar product_profile: Hybrid Compute Product Profile properties. - :vartype product_profile: "LicenseProfileArmProductProfileProperties" - """ - - licenseStatus: Union[str, "LicenseStatus"] - """Indicates the license status of the OS. Known values are: \"Unlicensed\", \"Licensed\", - \"OOBGrace\", \"OOTGrace\", \"NonGenuineGrace\", \"Notification\", and \"ExtendedGrace\".""" - licenseChannel: str - """Indicates the license channel.""" - softwareAssurance: "LicenseProfileMachineInstanceViewSoftwareAssurance" - esuProfile: "LicenseProfileMachineInstanceViewEsuProperties" - """Properties for the Machine ESU profile.""" - productProfile: "LicenseProfileArmProductProfileProperties" - """Hybrid Compute Product Profile properties.""" - - -class LicenseProfileMachineInstanceViewEsuProperties( - LicenseProfileArmEsuPropertiesWithoutAssignedLicense -): # pylint: disable=name-too-long - """Properties for the Machine ESU profile. - - :ivar assigned_license_immutable_id: The guid id of the license. - :vartype assigned_license_immutable_id: str - :ivar esu_keys: The list of ESU keys. - :vartype esu_keys: list["EsuKey"] - :ivar server_type: The type of the Esu servers. Known values are: "Standard" and "Datacenter". - :vartype server_type: Union[str, "EsuServerType"] - :ivar esu_eligibility: Indicates the eligibility state of Esu. Known values are: "Eligible", - "Ineligible", and "Unknown". - :vartype esu_eligibility: Union[str, "EsuEligibility"] - :ivar esu_key_state: Indicates whether there is an ESU Key currently active for the machine. - Known values are: "Inactive" and "Active". - :vartype esu_key_state: Union[str, "EsuKeyState"] - :ivar assigned_license: The assigned license resource. - :vartype assigned_license: "License" - :ivar license_assignment_state: Describes the license assignment state (Assigned or - NotAssigned). Known values are: "Assigned" and "NotAssigned". - :vartype license_assignment_state: Union[str, "LicenseAssignmentState"] - """ - - assignedLicense: "License" - """The assigned license resource.""" - licenseAssignmentState: Union[str, "LicenseAssignmentState"] - """Describes the license assignment state (Assigned or NotAssigned). Known values are: - \"Assigned\" and \"NotAssigned\".""" - - -class LicenseProfileMachineInstanceViewSoftwareAssurance(TypedDict, total=False): # pylint: disable=name-too-long - """LicenseProfileMachineInstanceViewSoftwareAssurance. - - :ivar software_assurance_customer: Specifies if this machine is licensed as part of a Software - Assurance agreement. - :vartype software_assurance_customer: bool - """ - - softwareAssuranceCustomer: bool - """Specifies if this machine is licensed as part of a Software Assurance agreement.""" - - -class LicenseProfileProperties(TypedDict, total=False): - """Describe the properties of a license profile. - - :ivar software_assurance: - :vartype software_assurance: "LicenseProfilePropertiesSoftwareAssurance" - :ivar esu_profile: Hybrid Compute ESU Profile properties. - :vartype esu_profile: "LicenseProfileArmEsuProperties" - :ivar product_profile: Hybrid Compute Product Profile properties. - :vartype product_profile: "LicenseProfileArmProductProfileProperties" - :ivar provisioning_state: The provisioning state, which only appears in the response. Known - values are: "Creating", "Updating", "Deleting", "Succeeded", "Failed", "Accepted", "Canceled", - and "Deleted". - :vartype provisioning_state: Union[str, "ProvisioningState"] - """ - - softwareAssurance: "LicenseProfilePropertiesSoftwareAssurance" - esuProfile: "LicenseProfileArmEsuProperties" - """Hybrid Compute ESU Profile properties.""" - productProfile: "LicenseProfileArmProductProfileProperties" - """Hybrid Compute Product Profile properties.""" - provisioningState: Union[str, "ProvisioningState"] - """The provisioning state, which only appears in the response. Known values are: \"Creating\", - \"Updating\", \"Deleting\", \"Succeeded\", \"Failed\", \"Accepted\", \"Canceled\", and - \"Deleted\".""" - - -class LicenseProfilePropertiesSoftwareAssurance(TypedDict, total=False): # pylint: disable=name-too-long - """LicenseProfilePropertiesSoftwareAssurance. - - :ivar software_assurance_customer: Specifies if this machine is licensed as part of a Software - Assurance agreement. - :vartype software_assurance_customer: bool - """ - - softwareAssuranceCustomer: bool - """Specifies if this machine is licensed as part of a Software Assurance agreement.""" - - -class LicenseProfileUpdate(ResourceUpdate): - """Describes a License Profile Update. - - :ivar tags: Resource tags. - :vartype tags: dict[str, str] - :ivar properties: Describe the Update properties of a license profile. - :vartype properties: "LicenseProfileUpdateProperties" - """ - - properties: "LicenseProfileUpdateProperties" - """Describe the Update properties of a license profile.""" - - -class LicenseProfileUpdateProperties(TypedDict, total=False): - """Describe the Update properties of a license profile. - - :ivar software_assurance: - :vartype software_assurance: "LicenseProfileUpdatePropertiesSoftwareAssurance" - :ivar esu_profile: Hybrid Compute ESU Profile Update properties. - :vartype esu_profile: "EsuProfileUpdateProperties" - :ivar product_profile: Hybrid Compute Product Profile Update properties. - :vartype product_profile: "ProductProfileUpdateProperties" - """ - - softwareAssurance: "LicenseProfileUpdatePropertiesSoftwareAssurance" - esuProfile: "EsuProfileUpdateProperties" - """Hybrid Compute ESU Profile Update properties.""" - productProfile: "ProductProfileUpdateProperties" - """Hybrid Compute Product Profile Update properties.""" - - -class LicenseProfileUpdatePropertiesSoftwareAssurance(TypedDict, total=False): # pylint: disable=name-too-long - """LicenseProfileUpdatePropertiesSoftwareAssurance. - - :ivar software_assurance_customer: Specifies if this machine is licensed as part of a Software - Assurance agreement. - :vartype software_assurance_customer: bool - """ - - softwareAssuranceCustomer: bool - """Specifies if this machine is licensed as part of a Software Assurance agreement.""" - - -class LicenseProperties(TypedDict, total=False): - """Describes the properties of a License Profile. - - :ivar provisioning_state: The provisioning state, which only appears in the response. Known - values are: "Creating", "Updating", "Deleting", "Succeeded", "Failed", "Accepted", "Canceled", - and "Deleted". - :vartype provisioning_state: Union[str, "ProvisioningState"] - :ivar tenant_id: Describes the tenant id. - :vartype tenant_id: str - :ivar license_type: The type of the license resource. "ESU" - :vartype license_type: Union[str, "LicenseType"] - :ivar license_details: Describes the properties of a License. - :vartype license_details: "LicenseDetails" - """ - - provisioningState: Union[str, "ProvisioningState"] - """The provisioning state, which only appears in the response. Known values are: \"Creating\", - \"Updating\", \"Deleting\", \"Succeeded\", \"Failed\", \"Accepted\", \"Canceled\", and - \"Deleted\".""" - tenantId: str - """Describes the tenant id.""" - licenseType: Union[str, "LicenseType"] - """The type of the license resource. \"ESU\"""" - licenseDetails: "LicenseDetails" - """Describes the properties of a License.""" - - -class LicenseUpdate(ResourceUpdate): - """Describes a License Update. - - :ivar tags: Resource tags. - :vartype tags: dict[str, str] - :ivar properties: License Update properties. - :vartype properties: "LicenseUpdateProperties" - """ - - properties: "LicenseUpdateProperties" - """License Update properties.""" - - -class LicenseUpdateProperties(TypedDict, total=False): - """Describes the Update properties of a License Profile. - - :ivar license_type: The type of the license resource. "ESU" - :vartype license_type: Union[str, "LicenseType"] - :ivar license_details: - :vartype license_details: "LicenseUpdatePropertiesLicenseDetails" - """ - - licenseType: Union[str, "LicenseType"] - """The type of the license resource. \"ESU\"""" - licenseDetails: "LicenseUpdatePropertiesLicenseDetails" - - -class LicenseUpdatePropertiesLicenseDetails(TypedDict, total=False): - """LicenseUpdatePropertiesLicenseDetails. - - :ivar state: Describes the state of the license. Known values are: "Activated" and - "Deactivated". - :vartype state: Union[str, "LicenseState"] - :ivar target: Describes the license target server. Known values are: "Windows Server 2012" and - "Windows Server 2012 R2". - :vartype target: Union[str, "LicenseTarget"] - :ivar edition: Describes the edition of the license. The values are either Standard or - Datacenter. Known values are: "Standard" and "Datacenter". - :vartype edition: Union[str, "LicenseEdition"] - :ivar type: Describes the license core type (pCore or vCore). Known values are: "pCore" and - "vCore". - :vartype type: Union[str, "LicenseCoreType"] - :ivar processors: Describes the number of processors. - :vartype processors: int - """ - - state: Union[str, "LicenseState"] - """Describes the state of the license. Known values are: \"Activated\" and \"Deactivated\".""" - target: Union[str, "LicenseTarget"] - """Describes the license target server. Known values are: \"Windows Server 2012\" and \"Windows - Server 2012 R2\".""" - edition: Union[str, "LicenseEdition"] - """Describes the edition of the license. The values are either Standard or Datacenter. Known - values are: \"Standard\" and \"Datacenter\".""" - type: Union[str, "LicenseCoreType"] - """Describes the license core type (pCore or vCore). Known values are: \"pCore\" and \"vCore\".""" - processors: int - """Describes the number of processors.""" - - -class LinuxParameters(TypedDict, total=False): - """Input for InstallPatches on a Linux VM, as directly received by the API. - - :ivar classifications_to_include: The update classifications to select when installing patches - for Linux. - :vartype classifications_to_include: list[Union[str, "VMGuestPatchClassificationLinux"]] - :ivar package_name_masks_to_include: packages to include in the patch operation. Format: - packageName_packageVersion. - :vartype package_name_masks_to_include: list[str] - :ivar package_name_masks_to_exclude: packages to exclude in the patch operation. Format: - packageName_packageVersion. - :vartype package_name_masks_to_exclude: list[str] - """ - - classificationsToInclude: list[Union[str, "VMGuestPatchClassificationLinux"]] - """The update classifications to select when installing patches for Linux.""" - packageNameMasksToInclude: list[str] - """packages to include in the patch operation. Format: packageName_packageVersion.""" - packageNameMasksToExclude: list[str] - """packages to exclude in the patch operation. Format: packageName_packageVersion.""" - - -class LocationData(TypedDict, total=False): - """Metadata pertaining to the geographic location of the resource. - - :ivar name: A canonical name for the geographic or physical location. Required. - :vartype name: str - :ivar city: The city or locality where the resource is located. - :vartype city: str - :ivar district: The district, state, or province where the resource is located. - :vartype district: str - :ivar country_or_region: The country or region where the resource is located. - :vartype country_or_region: str - """ - - name: Required[str] - """A canonical name for the geographic or physical location. Required.""" - city: str - """The city or locality where the resource is located.""" - district: str - """The district, state, or province where the resource is located.""" - countryOrRegion: str - """The country or region where the resource is located.""" - - -class Machine(TrackedResource): - """Describes a hybrid machine. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: "SystemData" - :ivar tags: Resource tags. - :vartype tags: dict[str, str] - :ivar location: The geo-location where the resource lives. Required. - :vartype location: str - :ivar properties: Hybrid Compute Machine properties. - :vartype properties: "MachineProperties" - :ivar resources: The list of extensions affiliated to the machine. - :vartype resources: list["MachineExtension"] - :ivar identity: Identity for the resource. - :vartype identity: "Identity" - :ivar kind: Indicates which kind of Arc machine placement on-premises, such as HCI, SCVMM or - VMware etc. Known values are: "AVS", "HCI", "SCVMM", "VMware", "EPS", "GCP", and "AWS". - :vartype kind: Union[str, "ArcKindEnum"] - """ - - properties: "MachineProperties" - """Hybrid Compute Machine properties.""" - resources: list["MachineExtension"] - """The list of extensions affiliated to the machine.""" - identity: "Identity" - """Identity for the resource.""" - kind: Union[str, "ArcKindEnum"] - """Indicates which kind of Arc machine placement on-premises, such as HCI, SCVMM or VMware etc. - Known values are: \"AVS\", \"HCI\", \"SCVMM\", \"VMware\", \"EPS\", \"GCP\", and \"AWS\".""" - - -class MachineExtension(TrackedResource): - """Describes a Machine Extension. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: "SystemData" - :ivar tags: Resource tags. - :vartype tags: dict[str, str] - :ivar location: The geo-location where the resource lives. Required. - :vartype location: str - :ivar properties: Describes Machine Extension Properties. - :vartype properties: "MachineExtensionProperties" - """ - - properties: "MachineExtensionProperties" - """Describes Machine Extension Properties.""" - - -class MachineExtensionInstanceView(TypedDict, total=False): - """Describes the Machine Extension Instance View. - - :ivar name: The machine extension name. - :vartype name: str - :ivar type: Specifies the type of the extension; an example is "CustomScriptExtension". - :vartype type: str - :ivar type_handler_version: Specifies the version of the script handler. - :vartype type_handler_version: str - :ivar status: Instance view status. - :vartype status: "MachineExtensionInstanceViewStatus" - """ - - name: str - """The machine extension name.""" - type: str - """Specifies the type of the extension; an example is \"CustomScriptExtension\".""" - typeHandlerVersion: str - """Specifies the version of the script handler.""" - status: "MachineExtensionInstanceViewStatus" - """Instance view status.""" - - -class MachineExtensionInstanceViewStatus(TypedDict, total=False): - """Instance view status. - - :ivar code: The status code. - :vartype code: str - :ivar level: The level code. Known values are: "Info", "Warning", and "Error". - :vartype level: Union[str, "StatusLevelTypes"] - :ivar display_status: The short localizable label for the status. - :vartype display_status: str - :ivar message: The detailed status message, including for alerts and error messages. - :vartype message: str - :ivar time: The time of the status. - :vartype time: str - """ - - code: str - """The status code.""" - level: Union[str, "StatusLevelTypes"] - """The level code. Known values are: \"Info\", \"Warning\", and \"Error\".""" - displayStatus: str - """The short localizable label for the status.""" - message: str - """The detailed status message, including for alerts and error messages.""" - time: str - """The time of the status.""" - - -class MachineExtensionProperties(TypedDict, total=False): - """Describes the properties of a Machine Extension. - - :ivar force_update_tag: How the extension handler should be forced to update even if the - extension configuration has not changed. - :vartype force_update_tag: str - :ivar publisher: The name of the extension handler publisher. - :vartype publisher: str - :ivar type: Specifies the type of the extension; an example is "CustomScriptExtension". - :vartype type: str - :ivar type_handler_version: Specifies the version of the script handler. - :vartype type_handler_version: str - :ivar enable_automatic_upgrade: Indicates whether the extension should be automatically - upgraded by the platform if there is a newer version available. - :vartype enable_automatic_upgrade: bool - :ivar auto_upgrade_minor_version: Indicates whether the extension should use a newer minor - version if one is available at deployment time. Once deployed, however, the extension will not - upgrade minor versions unless redeployed, even with this property set to true. - :vartype auto_upgrade_minor_version: bool - :ivar settings: Json formatted public settings for the extension. - :vartype settings: dict[str, Any] - :ivar protected_settings: The extension can contain either protectedSettings or - protectedSettingsFromKeyVault or no protected settings at all. - :vartype protected_settings: dict[str, Any] - :ivar provisioning_state: The provisioning state, which only appears in the response. - :vartype provisioning_state: str - :ivar instance_view: The machine extension instance view. - :vartype instance_view: "MachineExtensionInstanceView" - """ - - forceUpdateTag: str - """How the extension handler should be forced to update even if the extension configuration has - not changed.""" - publisher: str - """The name of the extension handler publisher.""" - type: str - """Specifies the type of the extension; an example is \"CustomScriptExtension\".""" - typeHandlerVersion: str - """Specifies the version of the script handler.""" - enableAutomaticUpgrade: bool - """Indicates whether the extension should be automatically upgraded by the platform if there is a - newer version available.""" - autoUpgradeMinorVersion: bool - """Indicates whether the extension should use a newer minor version if one is available at - deployment time. Once deployed, however, the extension will not upgrade minor versions unless - redeployed, even with this property set to true.""" - settings: dict[str, Any] - """Json formatted public settings for the extension.""" - protectedSettings: dict[str, Any] - """The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no - protected settings at all.""" - provisioningState: str - """The provisioning state, which only appears in the response.""" - instanceView: "MachineExtensionInstanceView" - """The machine extension instance view.""" - - -class MachineExtensionUpdate(ResourceUpdate): - """Describes a Machine Extension Update. - - :ivar tags: Resource tags. - :vartype tags: dict[str, str] - :ivar properties: Describes Machine Extension Update Properties. - :vartype properties: "MachineExtensionUpdateProperties" - """ - - properties: "MachineExtensionUpdateProperties" - """Describes Machine Extension Update Properties.""" - - -class MachineExtensionUpdateProperties(TypedDict, total=False): - """Describes the properties of a Machine Extension. - - :ivar force_update_tag: How the extension handler should be forced to update even if the - extension configuration has not changed. - :vartype force_update_tag: str - :ivar publisher: The name of the extension handler publisher. - :vartype publisher: str - :ivar type: Specifies the type of the extension; an example is "CustomScriptExtension". - :vartype type: str - :ivar type_handler_version: Specifies the version of the script handler. - :vartype type_handler_version: str - :ivar enable_automatic_upgrade: Indicates whether the extension should be automatically - upgraded by the platform if there is a newer version available. - :vartype enable_automatic_upgrade: bool - :ivar auto_upgrade_minor_version: Indicates whether the extension should use a newer minor - version if one is available at deployment time. Once deployed, however, the extension will not - upgrade minor versions unless redeployed, even with this property set to true. - :vartype auto_upgrade_minor_version: bool - :ivar settings: Json formatted public settings for the extension. - :vartype settings: dict[str, Any] - :ivar protected_settings: The extension can contain either protectedSettings or - protectedSettingsFromKeyVault or no protected settings at all. - :vartype protected_settings: dict[str, Any] - """ - - forceUpdateTag: str - """How the extension handler should be forced to update even if the extension configuration has - not changed.""" - publisher: str - """The name of the extension handler publisher.""" - type: str - """Specifies the type of the extension; an example is \"CustomScriptExtension\".""" - typeHandlerVersion: str - """Specifies the version of the script handler.""" - enableAutomaticUpgrade: bool - """Indicates whether the extension should be automatically upgraded by the platform if there is a - newer version available.""" - autoUpgradeMinorVersion: bool - """Indicates whether the extension should use a newer minor version if one is available at - deployment time. Once deployed, however, the extension will not upgrade minor versions unless - redeployed, even with this property set to true.""" - settings: dict[str, Any] - """Json formatted public settings for the extension.""" - protectedSettings: dict[str, Any] - """The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no - protected settings at all.""" - - -class MachineExtensionUpgrade(TypedDict, total=False): - """Describes the Machine Extension Upgrade Properties. - - :ivar extension_targets: Describes the Extension Target Properties. - :vartype extension_targets: dict[str, "ExtensionTargetProperties"] - """ - - extensionTargets: dict[str, "ExtensionTargetProperties"] - """Describes the Extension Target Properties.""" - - -class MachineInstallPatchesParameters(TypedDict, total=False): - """Input for InstallPatches as directly received by the API. - - :ivar maximum_duration: Specifies the maximum amount of time that the operation will run. It - must be an ISO 8601-compliant duration string such as PT4H (4 hours). Required. - :vartype maximum_duration: str - :ivar reboot_setting: Defines when it is acceptable to reboot a VM during a software update - operation. Required. Known values are: "IfRequired", "Never", and "Always". - :vartype reboot_setting: Union[str, "VMGuestPatchRebootSetting"] - :ivar windows_parameters: Input for InstallPatches on a Windows VM, as directly received by the - API. - :vartype windows_parameters: "WindowsParameters" - :ivar linux_parameters: Input for InstallPatches on a Linux VM, as directly received by the - API. - :vartype linux_parameters: "LinuxParameters" - """ - - maximumDuration: Required[str] - """Specifies the maximum amount of time that the operation will run. It must be an ISO - 8601-compliant duration string such as PT4H (4 hours). Required.""" - rebootSetting: Required[Union[str, "VMGuestPatchRebootSetting"]] - """Defines when it is acceptable to reboot a VM during a software update operation. Required. - Known values are: \"IfRequired\", \"Never\", and \"Always\".""" - windowsParameters: "WindowsParameters" - """Input for InstallPatches on a Windows VM, as directly received by the API.""" - linuxParameters: "LinuxParameters" - """Input for InstallPatches on a Linux VM, as directly received by the API.""" - - -class MachineProperties(TypedDict, total=False): - """Describes the properties of a hybrid machine. - - :ivar location_data: Metadata pertaining to the geographic location of the resource. - :vartype location_data: "LocationData" - :ivar agent_configuration: Configurable properties that the user can set locally via the - azcmagent config command, or remotely via ARM. - :vartype agent_configuration: "AgentConfiguration" - :ivar service_statuses: Statuses of dependent services that are reported back to ARM. - :vartype service_statuses: "ServiceStatuses" - :ivar hardware_profile: Information about the machine's hardware. - :vartype hardware_profile: "HardwareProfile" - :ivar storage_profile: Information about the machine's storage. - :vartype storage_profile: "StorageProfile" - :ivar firmware_profile: Information about the machine's firmware. - :vartype firmware_profile: "FirmwareProfile" - :ivar cloud_metadata: The metadata of the cloud environment (Azure/GCP/AWS/OCI...). - :vartype cloud_metadata: "CloudMetadata" - :ivar agent_upgrade: The info of the machine w.r.t Agent Upgrade. - :vartype agent_upgrade: "AgentUpgrade" - :ivar os_profile: Specifies the operating system settings for the hybrid machine. - :vartype os_profile: "OSProfile" - :ivar license_profile: Specifies the License related properties for a machine. - :vartype license_profile: "LicenseProfileMachineInstanceView" - :ivar provisioning_state: The provisioning state, which only appears in the response. - :vartype provisioning_state: str - :ivar status: The status of the hybrid machine agent. Known values are: "Connected", - "Disconnected", "Error", and "AwaitingConnection". - :vartype status: Union[str, "StatusTypes"] - :ivar last_status_change: The time of the last status change. - :vartype last_status_change: str - :ivar error_details: Details about the error state. - :vartype error_details: list["ErrorDetail"] - :ivar agent_version: The hybrid machine agent full version. - :vartype agent_version: str - :ivar vm_id: Specifies the hybrid machine unique ID. - :vartype vm_id: str - :ivar display_name: Specifies the hybrid machine display name. - :vartype display_name: str - :ivar machine_fqdn: Specifies the hybrid machine FQDN. - :vartype machine_fqdn: str - :ivar client_public_key: Public Key that the client provides to be used during initial resource - onboarding. - :vartype client_public_key: str - :ivar identity_key_store: Specifies the identity key store a machine is using. Known values - are: "TPM" and "Default". - :vartype identity_key_store: Union[str, "IdentityKeyStore"] - :ivar tpm_ek_certificate: Endorsement Key Certificate of the Trusted Platform Module (TPM) that - the client provides to be used during initial resource onboarding. - :vartype tpm_ek_certificate: str - :ivar os_name: The Operating System running on the hybrid machine. - :vartype os_name: str - :ivar os_version: The version of Operating System running on the hybrid machine. - :vartype os_version: str - :ivar os_type: The type of Operating System (windows/linux). - :vartype os_type: str - :ivar vm_uuid: Specifies the Arc Machine's unique SMBIOS ID. - :vartype vm_uuid: str - :ivar extensions: Machine Extensions information (deprecated field). - :vartype extensions: list["MachineExtensionInstanceView"] - :ivar os_sku: Specifies the Operating System product SKU. - :vartype os_sku: str - :ivar os_edition: The edition of the Operating System. - :vartype os_edition: str - :ivar domain_name: Specifies the Windows domain name. - :vartype domain_name: str - :ivar ad_fqdn: Specifies the AD fully qualified display name. - :vartype ad_fqdn: str - :ivar dns_fqdn: Specifies the DNS fully qualified display name. - :vartype dns_fqdn: str - :ivar private_link_scope_resource_id: The resource id of the private link scope this machine is - assigned to, if any. - :vartype private_link_scope_resource_id: str - :ivar parent_cluster_resource_id: The resource id of the parent cluster (Azure HCI) this - machine is assigned to, if any. - :vartype parent_cluster_resource_id: str - :ivar hardware_resource_id: Specifies the resource ID of the associated hardware device. Only - settable by HCI RP. - :vartype hardware_resource_id: str - :ivar mssql_discovered: Specifies whether any MS SQL instance is discovered on the machine. - :vartype mssql_discovered: str - :ivar detected_properties: Detected properties from the machine. - :vartype detected_properties: dict[str, str] - :ivar network_profile: Information about the network the machine is on. - :vartype network_profile: "NetworkProfile" - """ - - locationData: "LocationData" - """Metadata pertaining to the geographic location of the resource.""" - agentConfiguration: "AgentConfiguration" - """Configurable properties that the user can set locally via the azcmagent config command, or - remotely via ARM.""" - serviceStatuses: "ServiceStatuses" - """Statuses of dependent services that are reported back to ARM.""" - hardwareProfile: "HardwareProfile" - """Information about the machine's hardware.""" - storageProfile: "StorageProfile" - """Information about the machine's storage.""" - firmwareProfile: "FirmwareProfile" - """Information about the machine's firmware.""" - cloudMetadata: "CloudMetadata" - """The metadata of the cloud environment (Azure/GCP/AWS/OCI...).""" - agentUpgrade: "AgentUpgrade" - """The info of the machine w.r.t Agent Upgrade.""" - osProfile: "OSProfile" - """Specifies the operating system settings for the hybrid machine.""" - licenseProfile: "LicenseProfileMachineInstanceView" - """Specifies the License related properties for a machine.""" - provisioningState: str - """The provisioning state, which only appears in the response.""" - status: Union[str, "StatusTypes"] - """The status of the hybrid machine agent. Known values are: \"Connected\", \"Disconnected\", - \"Error\", and \"AwaitingConnection\".""" - lastStatusChange: str - """The time of the last status change.""" - errorDetails: list["ErrorDetail"] - """Details about the error state.""" - agentVersion: str - """The hybrid machine agent full version.""" - vmId: str - """Specifies the hybrid machine unique ID.""" - displayName: str - """Specifies the hybrid machine display name.""" - machineFqdn: str - """Specifies the hybrid machine FQDN.""" - clientPublicKey: str - """Public Key that the client provides to be used during initial resource onboarding.""" - identityKeyStore: Union[str, "IdentityKeyStore"] - """Specifies the identity key store a machine is using. Known values are: \"TPM\" and \"Default\".""" - tpmEkCertificate: str - """Endorsement Key Certificate of the Trusted Platform Module (TPM) that the client provides to be - used during initial resource onboarding.""" - osName: str - """The Operating System running on the hybrid machine.""" - osVersion: str - """The version of Operating System running on the hybrid machine.""" - osType: str - """The type of Operating System (windows/linux).""" - vmUuid: str - """Specifies the Arc Machine's unique SMBIOS ID.""" - extensions: list["MachineExtensionInstanceView"] - """Machine Extensions information (deprecated field).""" - osSku: str - """Specifies the Operating System product SKU.""" - osEdition: str - """The edition of the Operating System.""" - domainName: str - """Specifies the Windows domain name.""" - adFqdn: str - """Specifies the AD fully qualified display name.""" - dnsFqdn: str - """Specifies the DNS fully qualified display name.""" - privateLinkScopeResourceId: str - """The resource id of the private link scope this machine is assigned to, if any.""" - parentClusterResourceId: str - """The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any.""" - hardwareResourceId: str - """Specifies the resource ID of the associated hardware device. Only settable by HCI RP.""" - mssqlDiscovered: str - """Specifies whether any MS SQL instance is discovered on the machine.""" - detectedProperties: dict[str, str] - """Detected properties from the machine.""" - networkProfile: "NetworkProfile" - """Information about the network the machine is on.""" - - -class MachineRunCommand(TrackedResource): - """Describes a Run Command. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: "SystemData" - :ivar tags: Resource tags. - :vartype tags: dict[str, str] - :ivar location: The geo-location where the resource lives. Required. - :vartype location: str - :ivar properties: Describes Run Command Properties. - :vartype properties: "MachineRunCommandProperties" - """ - - properties: "MachineRunCommandProperties" - """Describes Run Command Properties.""" - - -class MachineRunCommandInstanceView(TypedDict, total=False): - """The instance view of a machine run command. - - :ivar execution_state: Script execution status. Known values are: "Unknown", "Pending", - "Running", "Failed", "Succeeded", "TimedOut", and "Canceled". - :vartype execution_state: Union[str, "ExecutionState"] - :ivar execution_message: Communicate script configuration errors or execution messages. - :vartype execution_message: str - :ivar exit_code: Exit code returned from script execution. - :vartype exit_code: int - :ivar output: Script output stream. - :vartype output: str - :ivar error: Script error stream. - :vartype error: str - :ivar start_time: Script start time. - :vartype start_time: str - :ivar end_time: Script end time. - :vartype end_time: str - :ivar statuses: The status information. - :vartype statuses: list["ExtensionsResourceStatus"] - """ - - executionState: Union[str, "ExecutionState"] - """Script execution status. Known values are: \"Unknown\", \"Pending\", \"Running\", \"Failed\", - \"Succeeded\", \"TimedOut\", and \"Canceled\".""" - executionMessage: str - """Communicate script configuration errors or execution messages.""" - exitCode: int - """Exit code returned from script execution.""" - output: str - """Script output stream.""" - error: str - """Script error stream.""" - startTime: str - """Script start time.""" - endTime: str - """Script end time.""" - statuses: list["ExtensionsResourceStatus"] - """The status information.""" - - -class MachineRunCommandProperties(TypedDict, total=False): - """Describes the properties of a run command. - - :ivar source: The source of the run command script. - :vartype source: "MachineRunCommandScriptSource" - :ivar parameters: The parameters used by the script. - :vartype parameters: list["RunCommandInputParameter"] - :ivar protected_parameters: The parameters used by the script. - :vartype protected_parameters: list["RunCommandInputParameter"] - :ivar async_execution: Optional. If set to true, provisioning will complete as soon as script - starts and will not wait for script to complete. - :vartype async_execution: bool - :ivar run_as_user: Specifies the user account on the machine when executing the run command. - :vartype run_as_user: str - :ivar run_as_password: Specifies the user account password on the machine when executing the - run command. - :vartype run_as_password: str - :ivar timeout_in_seconds: The timeout in seconds to execute the run command. - :vartype timeout_in_seconds: int - :ivar output_blob_uri: Specifies the Azure storage blob where script output stream will be - uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to - provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. - :vartype output_blob_uri: str - :ivar error_blob_uri: Specifies the Azure storage blob where script error stream will be - uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to - provide the VM access to the blob. Refer errorBlobManagedIdentity parameter. - :vartype error_blob_uri: str - :ivar output_blob_managed_identity: User-assigned managed identity that has access to - outputBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure - managed identity has been given access to blob's container with 'Storage Blob Data Contributor' - role assignment. In case of user-assigned identity, make sure you add it under VM's identity. - For more info on managed identity and Run Command, refer `https://aka.ms/ManagedIdentity - `_ and `https://aka.ms/RunCommandManaged - `_. - :vartype output_blob_managed_identity: "RunCommandManagedIdentity" - :ivar error_blob_managed_identity: User-assigned managed identity that has access to - errorBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure - managed identity has been given access to blob's container with 'Storage Blob Data Contributor' - role assignment. In case of user-assigned identity, make sure you add it under VM's identity. - For more info on managed identity and Run Command, refer `https://aka.ms/ManagedIdentity - `_ and `https://aka.ms/RunCommandManaged - `_. - :vartype error_blob_managed_identity: "RunCommandManagedIdentity" - :ivar provisioning_state: The provisioning state, which only appears in the response. - :vartype provisioning_state: str - :ivar instance_view: The machine run command instance view. - :vartype instance_view: "MachineRunCommandInstanceView" - """ - - source: "MachineRunCommandScriptSource" - """The source of the run command script.""" - parameters: list["RunCommandInputParameter"] - """The parameters used by the script.""" - protectedParameters: list["RunCommandInputParameter"] - """The parameters used by the script.""" - asyncExecution: bool - """Optional. If set to true, provisioning will complete as soon as script starts and will not wait - for script to complete.""" - runAsUser: str - """Specifies the user account on the machine when executing the run command.""" - runAsPassword: str - """Specifies the user account password on the machine when executing the run command.""" - timeoutInSeconds: int - """The timeout in seconds to execute the run command.""" - outputBlobUri: str - """Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI - with read, append, create, write access OR use managed identity to provide the VM access to the - blob. Refer outputBlobManagedIdentity parameter.""" - errorBlobUri: str - """Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with - read, append, create, write access OR use managed identity to provide the VM access to the - blob. Refer errorBlobManagedIdentity parameter.""" - outputBlobManagedIdentity: "RunCommandManagedIdentity" - """User-assigned managed identity that has access to outputBlobUri storage blob. Use an empty - object in case of system-assigned identity. Make sure managed identity has been given access to - blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned - identity, make sure you add it under VM's identity. For more info on managed identity and Run - Command, refer `https://aka.ms/ManagedIdentity `_ and - `https://aka.ms/RunCommandManaged `_.""" - errorBlobManagedIdentity: "RunCommandManagedIdentity" - """User-assigned managed identity that has access to errorBlobUri storage blob. Use an empty - object in case of system-assigned identity. Make sure managed identity has been given access to - blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned - identity, make sure you add it under VM's identity. For more info on managed identity and Run - Command, refer `https://aka.ms/ManagedIdentity `_ and - `https://aka.ms/RunCommandManaged `_.""" - provisioningState: str - """The provisioning state, which only appears in the response.""" - instanceView: "MachineRunCommandInstanceView" - """The machine run command instance view.""" - - -class MachineRunCommandScriptSource(TypedDict, total=False): - """Describes the script sources for run command. Use only one of script, scriptUri, commandId. - - :ivar script: Specifies the script content to be executed on the machine. - :vartype script: str - :ivar script_uri: Specifies the script download location. It can be either SAS URI of an Azure - storage blob with read access or public URI. - :vartype script_uri: str - :ivar command_id: Specifies the commandId of predefined built-in script. - :vartype command_id: str - :ivar script_uri_managed_identity: User-assigned managed identity that has access to scriptUri - in case of Azure storage blob. Use an empty object in case of system-assigned identity. Make - sure the Azure storage blob exists, and managed identity has been given access to blob's - container with 'Storage Blob Data Reader' role assignment. In case of user-assigned identity, - make sure you add it under VM's identity. For more info on managed identity and Run Command, - refer `https://aka.ms/ManagedIdentity `_ and - `https://aka.ms/RunCommandManaged `_. - :vartype script_uri_managed_identity: "RunCommandManagedIdentity" - """ - - script: str - """Specifies the script content to be executed on the machine.""" - scriptUri: str - """Specifies the script download location. It can be either SAS URI of an Azure storage blob with - read access or public URI.""" - commandId: str - """Specifies the commandId of predefined built-in script.""" - scriptUriManagedIdentity: "RunCommandManagedIdentity" - """User-assigned managed identity that has access to scriptUri in case of Azure storage blob. Use - an empty object in case of system-assigned identity. Make sure the Azure storage blob exists, - and managed identity has been given access to blob's container with 'Storage Blob Data Reader' - role assignment. In case of user-assigned identity, make sure you add it under VM's identity. - For more info on managed identity and Run Command, refer `https://aka.ms/ManagedIdentity - `_ and `https://aka.ms/RunCommandManaged - `_.""" - - -class MachineUpdate(ResourceUpdate): - """Describes a hybrid machine Update. - - :ivar tags: Resource tags. - :vartype tags: dict[str, str] - :ivar identity: Identity for the resource. - :vartype identity: "Identity" - :ivar kind: Indicates which kind of Arc machine placement on-premises, such as HCI, SCVMM or - VMware etc. Known values are: "AVS", "HCI", "SCVMM", "VMware", "EPS", "GCP", and "AWS". - :vartype kind: Union[str, "ArcKindEnum"] - :ivar properties: Hybrid Compute Machine properties. - :vartype properties: "MachineUpdateProperties" - """ - - identity: "Identity" - """Identity for the resource.""" - kind: Union[str, "ArcKindEnum"] - """Indicates which kind of Arc machine placement on-premises, such as HCI, SCVMM or VMware etc. - Known values are: \"AVS\", \"HCI\", \"SCVMM\", \"VMware\", \"EPS\", \"GCP\", and \"AWS\".""" - properties: "MachineUpdateProperties" - """Hybrid Compute Machine properties.""" - - -class MachineUpdateProperties(TypedDict, total=False): - """Describes the ARM updatable properties of a hybrid machine. - - :ivar location_data: Metadata pertaining to the geographic location of the resource. - :vartype location_data: "LocationData" - :ivar os_profile: Specifies the operating system settings for the hybrid machine. - :vartype os_profile: "OSProfile" - :ivar cloud_metadata: The metadata of the cloud environment (Azure/GCP/AWS/OCI...). - :vartype cloud_metadata: "CloudMetadata" - :ivar agent_upgrade: The info of the machine w.r.t Agent Upgrade. - :vartype agent_upgrade: "AgentUpgrade" - :ivar parent_cluster_resource_id: The resource id of the parent cluster (Azure HCI) this - machine is assigned to, if any. - :vartype parent_cluster_resource_id: str - :ivar private_link_scope_resource_id: The resource id of the private link scope this machine is - assigned to, if any. - :vartype private_link_scope_resource_id: str - :ivar identity_key_store: Identity key store type of the machine. - :vartype identity_key_store: str - :ivar tpm_ek_certificate: Endorsement Key Certificate of the Trusted Platform Module (TPM) that - the client provides to be used during initial resource onboarding. - :vartype tpm_ek_certificate: str - """ - - locationData: "LocationData" - """Metadata pertaining to the geographic location of the resource.""" - osProfile: "OSProfile" - """Specifies the operating system settings for the hybrid machine.""" - cloudMetadata: "CloudMetadata" - """The metadata of the cloud environment (Azure/GCP/AWS/OCI...).""" - agentUpgrade: "AgentUpgrade" - """The info of the machine w.r.t Agent Upgrade.""" - parentClusterResourceId: str - """The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any.""" - privateLinkScopeResourceId: str - """The resource id of the private link scope this machine is assigned to, if any.""" - identityKeyStore: str - """Identity key store type of the machine.""" - tpmEkCertificate: str - """Endorsement Key Certificate of the Trusted Platform Module (TPM) that the client provides to be - used during initial resource onboarding.""" - - -class NetworkInterface(TypedDict, total=False): - """Describes a network interface. - - :ivar mac_address: Represents MAC address of the network interface. - :vartype mac_address: str - :ivar id: Represents the ID of the network interface. - :vartype id: str - :ivar name: Represents the name of the network interface. - :vartype name: str - :ivar ip_addresses: The list of IP addresses in this interface. - :vartype ip_addresses: list["IpAddress"] - """ - - macAddress: str - """Represents MAC address of the network interface.""" - id: str - """Represents the ID of the network interface.""" - name: str - """Represents the name of the network interface.""" - ipAddresses: list["IpAddress"] - """The list of IP addresses in this interface.""" - - -class NetworkProfile(TypedDict, total=False): - """Describes the network information on this machine. - - :ivar network_interfaces: The list of network interfaces. - :vartype network_interfaces: list["NetworkInterface"] - """ - - networkInterfaces: list["NetworkInterface"] - """The list of network interfaces.""" - - -class OSProfile(TypedDict, total=False): - """Specifies the operating system settings for the hybrid machine. - - :ivar computer_name: Specifies the host OS name of the hybrid machine. - :vartype computer_name: str - :ivar windows_configuration: Specifies the windows configuration for update management. - :vartype windows_configuration: "OSProfileWindowsConfiguration" - :ivar linux_configuration: Specifies the linux configuration for update management. - :vartype linux_configuration: "OSProfileLinuxConfiguration" - """ - - computerName: str - """Specifies the host OS name of the hybrid machine.""" - windowsConfiguration: "OSProfileWindowsConfiguration" - """Specifies the windows configuration for update management.""" - linuxConfiguration: "OSProfileLinuxConfiguration" - """Specifies the linux configuration for update management.""" - - -class OSProfileLinuxConfiguration(TypedDict, total=False): - """Specifies the linux configuration for update management. - - :ivar patch_settings: Specifies the patch settings. - :vartype patch_settings: "PatchSettings" - """ - - patchSettings: "PatchSettings" - """Specifies the patch settings.""" - - -class OSProfileWindowsConfiguration(TypedDict, total=False): - """Specifies the windows configuration for update management. - - :ivar patch_settings: Specifies the patch settings. - :vartype patch_settings: "PatchSettings" - """ - - patchSettings: "PatchSettings" - """Specifies the patch settings.""" - - -class PatchSettings(TypedDict, total=False): - """Specifies the patch settings. - - :ivar assessment_mode: Specifies the assessment mode. Known values are: "ImageDefault" and - "AutomaticByPlatform". - :vartype assessment_mode: Union[str, "AssessmentModeTypes"] - :ivar patch_mode: Specifies the patch mode. Known values are: "ImageDefault", - "AutomaticByPlatform", "AutomaticByOS", and "Manual". - :vartype patch_mode: Union[str, "PatchModeTypes"] - :ivar enable_hotpatching: Captures the hotpatch capability enrollment intent of the customers, - which enables customers to patch their Windows machines without requiring a reboot. - :vartype enable_hotpatching: bool - :ivar status: Status of the hotpatch capability enrollment or disenrollment. - :vartype status: "PatchSettingsStatus" - """ - - assessmentMode: Union[str, "AssessmentModeTypes"] - """Specifies the assessment mode. Known values are: \"ImageDefault\" and \"AutomaticByPlatform\".""" - patchMode: Union[str, "PatchModeTypes"] - """Specifies the patch mode. Known values are: \"ImageDefault\", \"AutomaticByPlatform\", - \"AutomaticByOS\", and \"Manual\".""" - enableHotpatching: bool - """Captures the hotpatch capability enrollment intent of the customers, which enables customers to - patch their Windows machines without requiring a reboot.""" - status: "PatchSettingsStatus" - """Status of the hotpatch capability enrollment or disenrollment.""" - - -class PatchSettingsStatus(TypedDict, total=False): - """Status of the hotpatch capability enrollment or disenrollment. - - :ivar hotpatch_enablement_status: Indicates the current status of the hotpatch being enabled or - disabled. Known values are: "Unknown", "PendingEvaluation", "Disabled", "ActionRequired", and - "Enabled". - :vartype hotpatch_enablement_status: Union[str, "HotpatchEnablementStatus"] - :ivar error: The errors that were encountered during the hotpatch capability enrollment or - disenrollment. - :vartype error: "ErrorDetail" - """ - - hotpatchEnablementStatus: Union[str, "HotpatchEnablementStatus"] - """Indicates the current status of the hotpatch being enabled or disabled. Known values are: - \"Unknown\", \"PendingEvaluation\", \"Disabled\", \"ActionRequired\", and \"Enabled\".""" - error: "ErrorDetail" - """The errors that were encountered during the hotpatch capability enrollment or disenrollment.""" - - -class PrivateEndpointConnection(ProxyResource): - """A private endpoint connection. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: "SystemData" - :ivar properties: Resource properties. - :vartype properties: "PrivateEndpointConnectionProperties" - """ - - properties: "PrivateEndpointConnectionProperties" - """Resource properties.""" - - -class PrivateEndpointConnectionDataModel(TypedDict, total=False): - """The Data Model for a Private Endpoint Connection associated with a Private Link Scope. - - :ivar id: The ARM Resource Id of the Private Endpoint. - :vartype id: str - :ivar name: The Name of the Private Endpoint. - :vartype name: str - :ivar type: Azure resource type. - :vartype type: str - :ivar properties: The Private Endpoint Connection properties. - :vartype properties: "PrivateEndpointConnectionProperties" - """ - - id: str - """The ARM Resource Id of the Private Endpoint.""" - name: str - """The Name of the Private Endpoint.""" - type: str - """Azure resource type.""" - properties: "PrivateEndpointConnectionProperties" - """The Private Endpoint Connection properties.""" - - -class PrivateEndpointConnectionProperties(TypedDict, total=False): - """Properties of a private endpoint connection. - - :ivar private_endpoint: Private endpoint which the connection belongs to. - :vartype private_endpoint: "PrivateEndpointProperty" - :ivar private_link_service_connection_state: Connection state of the private endpoint - connection. - :vartype private_link_service_connection_state: "PrivateLinkServiceConnectionStateProperty" - :ivar provisioning_state: State of the private endpoint connection. - :vartype provisioning_state: str - :ivar group_ids: List of group IDs. - :vartype group_ids: list[str] - """ - - privateEndpoint: "PrivateEndpointProperty" - """Private endpoint which the connection belongs to.""" - privateLinkServiceConnectionState: "PrivateLinkServiceConnectionStateProperty" - """Connection state of the private endpoint connection.""" - provisioningState: str - """State of the private endpoint connection.""" - groupIds: list[str] - """List of group IDs.""" - - -class PrivateEndpointProperty(TypedDict, total=False): - """Private endpoint which the connection belongs to. - - :ivar id: Resource id of the private endpoint. - :vartype id: str - """ - - id: str - """Resource id of the private endpoint.""" - - -class PrivateLinkServiceConnectionStateProperty(TypedDict, total=False): # pylint: disable=name-too-long - """State of the private endpoint connection. - - :ivar status: The private link service connection status. Required. - :vartype status: str - :ivar description: The private link service connection description. Required. - :vartype description: str - :ivar actions_required: The actions required for private link service connection. - :vartype actions_required: str - """ - - status: Required[str] - """The private link service connection status. Required.""" - description: Required[str] - """The private link service connection description. Required.""" - actionsRequired: str - """The actions required for private link service connection.""" - - -class Processor(TypedDict, total=False): - """Describes the firmware of the machine. - - :ivar name: The name of the processor. - :vartype name: str - :ivar number_of_cores: The total number of physical cores on the processor. - :vartype number_of_cores: int - """ - - name: str - """The name of the processor.""" - numberOfCores: int - """The total number of physical cores on the processor.""" - - -class ProductFeature(TypedDict, total=False): - """Product Feature. - - :ivar name: Product feature name. - :vartype name: str - :ivar subscription_status: Indicates the current status of the product features. Known values - are: "Unknown", "Enabling", "Enabled", "Disabled", "Disabling", and "Failed". - :vartype subscription_status: Union[str, "LicenseProfileSubscriptionStatus"] - :ivar enrollment_date: The timestamp in UTC when the user enrolls the feature. - :vartype enrollment_date: str - :ivar billing_start_date: The timestamp in UTC when the billing starts. - :vartype billing_start_date: str - :ivar disenrollment_date: The timestamp in UTC when the user disenrolled the feature. - :vartype disenrollment_date: str - :ivar billing_end_date: The timestamp in UTC when the billing ends. - :vartype billing_end_date: str - :ivar error: The errors that were encountered during the feature enrollment or disenrollment. - :vartype error: "ErrorDetail" - """ - - name: str - """Product feature name.""" - subscriptionStatus: Union[str, "LicenseProfileSubscriptionStatus"] - """Indicates the current status of the product features. Known values are: \"Unknown\", - \"Enabling\", \"Enabled\", \"Disabled\", \"Disabling\", and \"Failed\".""" - enrollmentDate: str - """The timestamp in UTC when the user enrolls the feature.""" - billingStartDate: str - """The timestamp in UTC when the billing starts.""" - disenrollmentDate: str - """The timestamp in UTC when the user disenrolled the feature.""" - billingEndDate: str - """The timestamp in UTC when the billing ends.""" - error: "ErrorDetail" - """The errors that were encountered during the feature enrollment or disenrollment.""" - - -class ProductFeatureUpdate(TypedDict, total=False): - """Product Feature. - - :ivar name: Product feature name. - :vartype name: str - :ivar subscription_status: Indicates the new status of the product feature. Known values are: - "Enable" and "Disable". - :vartype subscription_status: Union[str, "LicenseProfileSubscriptionStatusUpdate"] - """ - - name: str - """Product feature name.""" - subscriptionStatus: Union[str, "LicenseProfileSubscriptionStatusUpdate"] - """Indicates the new status of the product feature. Known values are: \"Enable\" and \"Disable\".""" - - -class ProductProfileUpdateProperties(TypedDict, total=False): - """Describes the Update properties of a Product Profile. - - :ivar subscription_status: Indicates the subscription status of the product. Known values are: - "Enable" and "Disable". - :vartype subscription_status: Union[str, "LicenseProfileSubscriptionStatusUpdate"] - :ivar product_type: Indicates the product type of the license. Known values are: - "WindowsServer" and "WindowsIoTEnterprise". - :vartype product_type: Union[str, "LicenseProfileProductType"] - :ivar product_features: The list of product feature updates. - :vartype product_features: list["ProductFeatureUpdate"] - """ - - subscriptionStatus: Union[str, "LicenseProfileSubscriptionStatusUpdate"] - """Indicates the subscription status of the product. Known values are: \"Enable\" and \"Disable\".""" - productType: Union[str, "LicenseProfileProductType"] - """Indicates the product type of the license. Known values are: \"WindowsServer\" and - \"WindowsIoTEnterprise\".""" - productFeatures: list["ProductFeatureUpdate"] - """The list of product feature updates.""" - - -class RunCommandInputParameter(TypedDict, total=False): - """Describes the properties of a run command parameter. - - :ivar name: The run command parameter name. Required. - :vartype name: str - :ivar value: The run command parameter value. Required. - :vartype value: str - """ - - name: Required[str] - """The run command parameter name. Required.""" - value: Required[str] - """The run command parameter value. Required.""" - - -class RunCommandManagedIdentity(TypedDict, total=False): - """Contains clientId or objectId (use only one, not both) of a user-assigned managed identity that - has access to storage blob used in Run Command. Use an empty RunCommandManagedIdentity object - in case of system-assigned identity. Make sure the Azure storage blob exists in case of - scriptUri, and managed identity has been given access to blob's container with 'Storage Blob - Data Reader' role assignment with scriptUri blob and 'Storage Blob Data Contributor' for Append - blobs(outputBlobUri, errorBlobUri). In case of user assigned identity, make sure you add it - under VM's identity. For more info on managed identity and Run Command, refer - `https://aka.ms/ManagedIdentity `_ and - `https://aka.ms/RunCommandManaged `_. - - :ivar client_id: Client Id (GUID value) of the user-assigned managed identity. ObjectId should - not be used if this is provided. - :vartype client_id: str - :ivar object_id: Object Id (GUID value) of the user-assigned managed identity. ClientId should - not be used if this is provided. - :vartype object_id: str - """ - - clientId: str - """Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if - this is provided.""" - objectId: str - """Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if - this is provided.""" - - -class ServiceExtension(TypedDict, total=False): - """Enable private link validation for an Azure Arc Extension. - - :ivar service_extension_type: The name of the Azure Arc Extension. Is one of the following - types: str - :vartype service_extension_type: "_unions.ServiceExtensionType" - :ivar service_extension_public_network_access: The network access policy to determine if the - specified Azure Arc Extension can use public Azure Arc Extension service endpoints. Known - values are: "Enabled" and "Disabled". - :vartype service_extension_public_network_access: Union[str, - "ServiceExtensionPublicNetworkAccess"] - """ - - serviceExtensionType: "_unions.ServiceExtensionType" - """The name of the Azure Arc Extension. Is one of the following types: str""" - serviceExtensionPublicNetworkAccess: Union[str, "ServiceExtensionPublicNetworkAccess"] - """The network access policy to determine if the specified Azure Arc Extension can use public - Azure Arc Extension service endpoints. Known values are: \"Enabled\" and \"Disabled\".""" - - -class ServiceStatus(TypedDict, total=False): - """Describes the status and behavior of a service. - - :ivar status: The current status of the service. - :vartype status: str - :ivar startup_type: The behavior of the service when the Arc-enabled machine starts up. - :vartype startup_type: str - """ - - status: str - """The current status of the service.""" - startupType: str - """The behavior of the service when the Arc-enabled machine starts up.""" - - -class ServiceStatuses(TypedDict, total=False): - """Reports the state and behavior of dependent services. - - :ivar extension_service: The state of the extension service on the Arc-enabled machine. - :vartype extension_service: "ServiceStatus" - :ivar guest_configuration_service: The state of the guest configuration service on the - Arc-enabled machine. - :vartype guest_configuration_service: "ServiceStatus" - """ - - extensionService: "ServiceStatus" - """The state of the extension service on the Arc-enabled machine.""" - guestConfigurationService: "ServiceStatus" - """The state of the guest configuration service on the Arc-enabled machine.""" - - -class Settings(ProxyResource): - """Concrete proxy resource types can be created by aliasing this type using a specific property - type. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: "SystemData" - :ivar properties: Settings properties. - :vartype properties: "SettingsProperties" - """ - - properties: "SettingsProperties" - """Settings properties.""" - - -class SettingsGatewayProperties(TypedDict, total=False): - """Settings Gateway properties. - - :ivar gateway_resource_id: Associated Gateway Resource Id. - :vartype gateway_resource_id: str - """ - - gatewayResourceId: str - """Associated Gateway Resource Id.""" - - -class SettingsProperties(TypedDict, total=False): - """Settings properties. - - :ivar tenant_id: Azure resource tenant Id. - :vartype tenant_id: str - :ivar gateway_properties: Settings Gateway properties. - :vartype gateway_properties: "SettingsGatewayProperties" - """ - - tenantId: str - """Azure resource tenant Id.""" - gatewayProperties: "SettingsGatewayProperties" - """Settings Gateway properties.""" - - -class SetupExtensionRequest(TypedDict, total=False): - """SetupExtensionRequest. - - :ivar extensions: The list of extensions. - :vartype extensions: list["MachineExtensionProperties"] - """ - - extensions: list["MachineExtensionProperties"] - """The list of extensions.""" - - -class StorageProfile(TypedDict, total=False): - """Describes the storage configuration of the machine. - - :ivar disks: The disks on the machine. - :vartype disks: list["Disk"] - """ - - disks: list["Disk"] - """The disks on the machine.""" - - -class Subnet(TypedDict, total=False): - """Describes the subnet. - - :ivar address_prefix: Represents address prefix. - :vartype address_prefix: str - """ - - addressPrefix: str - """Represents address prefix.""" - - -class SystemData(TypedDict, total=False): - """Metadata pertaining to creation and last modification of the resource. - - :ivar created_by: The identity that created the resource. - :vartype created_by: str - :ivar created_by_type: The type of identity that created the resource. Known values are: - "User", "Application", "ManagedIdentity", and "Key". - :vartype created_by_type: Union[str, "CreatedByType"] - :ivar created_at: The timestamp of resource creation (UTC). - :vartype created_at: str - :ivar last_modified_by: The identity that last modified the resource. - :vartype last_modified_by: str - :ivar last_modified_by_type: The type of identity that last modified the resource. Known values - are: "User", "Application", "ManagedIdentity", and "Key". - :vartype last_modified_by_type: Union[str, "CreatedByType"] - :ivar last_modified_at: The timestamp of resource last modification (UTC). - :vartype last_modified_at: str - """ - - createdBy: str - """The identity that created the resource.""" - createdByType: Union[str, "CreatedByType"] - """The type of identity that created the resource. Known values are: \"User\", \"Application\", - \"ManagedIdentity\", and \"Key\".""" - createdAt: str - """The timestamp of resource creation (UTC).""" - lastModifiedBy: str - """The identity that last modified the resource.""" - lastModifiedByType: Union[str, "CreatedByType"] - """The type of identity that last modified the resource. Known values are: \"User\", - \"Application\", \"ManagedIdentity\", and \"Key\".""" - lastModifiedAt: str - """The timestamp of resource last modification (UTC).""" - - -class TagsResource(TypedDict, total=False): - """A container holding only the Tags for a resource, allowing the user to update the tags on a - PrivateLinkScope instance. - - :ivar tags: Resource tags. - :vartype tags: dict[str, str] - """ - - tags: dict[str, str] - """Resource tags.""" - - -class VolumeLicenseDetails(TypedDict, total=False): - """VolumeLicenseDetails. - - :ivar program_year: Describes the program year the volume license is for. Known values are: - "Year 1", "Year 2", and "Year 3". - :vartype program_year: Union[str, "ProgramYear"] - :ivar invoice_id: The invoice id for the volume license. - :vartype invoice_id: str - """ - - programYear: Union[str, "ProgramYear"] - """Describes the program year the volume license is for. Known values are: \"Year 1\", \"Year 2\", - and \"Year 3\".""" - invoiceId: str - """The invoice id for the volume license.""" - - -class WindowsParameters(TypedDict, total=False): - """Input for InstallPatches on a Windows VM, as directly received by the API. - - :ivar classifications_to_include: The update classifications to select when installing patches - for Windows. - :vartype classifications_to_include: list[Union[str, "VMGuestPatchClassificationWindows"]] - :ivar kb_numbers_to_include: Kbs to include in the patch operation. - :vartype kb_numbers_to_include: list[str] - :ivar kb_numbers_to_exclude: Kbs to exclude in the patch operation. - :vartype kb_numbers_to_exclude: list[str] - :ivar exclude_kbs_requiring_reboot: Filters out Kbs that don't have an - InstallationRebootBehavior of 'NeverReboots' when this is set to true. - :vartype exclude_kbs_requiring_reboot: bool - :ivar max_patch_publish_date: This is used to install patches that were published on or before - this given max published date. - :vartype max_patch_publish_date: str - :ivar patch_name_masks_to_include: This is used to include patches that match the given patch - name masks. Alphanumeric strings and wildcard expressions consisting of * and ? are only - supported as input values in the list. Null, empty and only whitespaces strings as inputs - values are not supported. - :vartype patch_name_masks_to_include: list[str] - :ivar patch_name_masks_to_exclude: This is used to exclude patches that match the given patch - name masks. Alphanumeric strings and wildcard expressions consisting of * and ? are only - supported as input values in the list. Null, empty and only whitespaces strings as inputs - values are not supported. - :vartype patch_name_masks_to_exclude: list[str] - """ - - classificationsToInclude: list[Union[str, "VMGuestPatchClassificationWindows"]] - """The update classifications to select when installing patches for Windows.""" - kbNumbersToInclude: list[str] - """Kbs to include in the patch operation.""" - kbNumbersToExclude: list[str] - """Kbs to exclude in the patch operation.""" - excludeKbsRequiringReboot: bool - """Filters out Kbs that don't have an InstallationRebootBehavior of 'NeverReboots' when this is - set to true.""" - maxPatchPublishDate: str - """This is used to install patches that were published on or before this given max published date.""" - patchNameMasksToInclude: list[str] - """This is used to include patches that match the given patch name masks. Alphanumeric strings and - wildcard expressions consisting of * and ? are only supported as input values in the list. - Null, empty and only whitespaces strings as inputs values are not supported.""" - patchNameMasksToExclude: list[str] - """This is used to exclude patches that match the given patch name masks. Alphanumeric strings and - wildcard expressions consisting of * and ? are only supported as input values in the list. - Null, empty and only whitespaces strings as inputs values are not supported.""" diff --git a/sdk/hybridcompute/azure-mgmt-hybridcompute/pyproject.toml b/sdk/hybridcompute/azure-mgmt-hybridcompute/pyproject.toml index 2a3581406340..03be87f2cfa6 100644 --- a/sdk/hybridcompute/azure-mgmt-hybridcompute/pyproject.toml +++ b/sdk/hybridcompute/azure-mgmt-hybridcompute/pyproject.toml @@ -21,7 +21,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "Programming Language :: Python :: 3.14", ] requires-python = ">=3.10" keywords = [ diff --git a/sdk/hybridcompute/azure-mgmt-hybridcompute/tsp-location.yaml b/sdk/hybridcompute/azure-mgmt-hybridcompute/tsp-location.yaml index c55c0822613a..ad2b37c9151e 100644 --- a/sdk/hybridcompute/azure-mgmt-hybridcompute/tsp-location.yaml +++ b/sdk/hybridcompute/azure-mgmt-hybridcompute/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute -commit: e64d37d1c60bdfc5dce4673808c09a50a12d1fd5 +commit: ecd420c9534d0dab69be38027c1723031504b081 repo: Azure/azure-rest-api-specs additionalDirectories: