diff --git a/src/lambda-test/HISTORY.rst b/src/lambda-test/HISTORY.rst new file mode 100644 index 00000000000..abbff5a61a7 --- /dev/null +++ b/src/lambda-test/HISTORY.rst @@ -0,0 +1,8 @@ +.. :changelog: + +Release History +=============== + +1.0.0b1 +++++++ +* Initial release. \ No newline at end of file diff --git a/src/lambda-test/README.md b/src/lambda-test/README.md new file mode 100644 index 00000000000..f844b1b0aa9 --- /dev/null +++ b/src/lambda-test/README.md @@ -0,0 +1,26 @@ +# Azure CLI LambdaTest Extension # +This is an extension to Azure CLI to manage LambdaTest resources. + +## How to use ## +#### Install the extension #### +Install this extension using the below CLI command +``` +az extension add --name lambda-test +``` +#### Check the version #### +``` +az extension show --name lambda-test --query version +``` +#### Connect to Azure subscription #### +``` +az login +az account set -s {subs_id} +``` +#### List an weights-and-biases instance #### +``` +az lambda-test hyper-execute organization list --resource-group jawt-rg +``` +#### Get a weights-and-biases instance resource #### +``` +az lambda-test hyper-execute organization show --resource-group jawt-rg --organizationname wnb-test-org-5 +``` \ No newline at end of file diff --git a/src/lambda-test/azext_lambda_test/__init__.py b/src/lambda-test/azext_lambda_test/__init__.py new file mode 100644 index 00000000000..f694e0de9f5 --- /dev/null +++ b/src/lambda-test/azext_lambda_test/__init__.py @@ -0,0 +1,42 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +from azure.cli.core import AzCommandsLoader +from azext_lambda_test._help import helps # pylint: disable=unused-import + + +class LambdaTestCommandsLoader(AzCommandsLoader): + + def __init__(self, cli_ctx=None): + from azure.cli.core.commands import CliCommandType + custom_command_type = CliCommandType( + operations_tmpl='azext_lambda_test.custom#{}') + super().__init__(cli_ctx=cli_ctx, + custom_command_type=custom_command_type) + + def load_command_table(self, args): + from azext_lambda_test.commands import load_command_table + from azure.cli.core.aaz import load_aaz_command_table + try: + from . import aaz + except ImportError: + aaz = None + if aaz: + load_aaz_command_table( + loader=self, + aaz_pkg_name=aaz.__name__, + args=args + ) + load_command_table(self, args) + return self.command_table + + def load_arguments(self, command): + from azext_lambda_test._params import load_arguments + load_arguments(self, command) + + +COMMAND_LOADER_CLS = LambdaTestCommandsLoader diff --git a/src/lambda-test/azext_lambda_test/_help.py b/src/lambda-test/azext_lambda_test/_help.py new file mode 100644 index 00000000000..126d5d00714 --- /dev/null +++ b/src/lambda-test/azext_lambda_test/_help.py @@ -0,0 +1,11 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: disable=line-too-long +# pylint: disable=too-many-lines + +from knack.help_files import helps # pylint: disable=unused-import diff --git a/src/lambda-test/azext_lambda_test/_params.py b/src/lambda-test/azext_lambda_test/_params.py new file mode 100644 index 00000000000..cfcec717c9c --- /dev/null +++ b/src/lambda-test/azext_lambda_test/_params.py @@ -0,0 +1,13 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements + + +def load_arguments(self, _): # pylint: disable=unused-argument + pass diff --git a/src/lambda-test/azext_lambda_test/aaz/__init__.py b/src/lambda-test/azext_lambda_test/aaz/__init__.py new file mode 100644 index 00000000000..5757aea3175 --- /dev/null +++ b/src/lambda-test/azext_lambda_test/aaz/__init__.py @@ -0,0 +1,6 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- diff --git a/src/lambda-test/azext_lambda_test/aaz/latest/__init__.py b/src/lambda-test/azext_lambda_test/aaz/latest/__init__.py new file mode 100644 index 00000000000..f6acc11aa4e --- /dev/null +++ b/src/lambda-test/azext_lambda_test/aaz/latest/__init__.py @@ -0,0 +1,10 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + diff --git a/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/__cmd_group.py b/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/__cmd_group.py new file mode 100644 index 00000000000..fbbc8bf25c7 --- /dev/null +++ b/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "lambda-test", +) +class __CMDGroup(AAZCommandGroup): + """Manage Lambda Test + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/__init__.py b/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/__init__.py new file mode 100644 index 00000000000..5a9d61963d6 --- /dev/null +++ b/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/__init__.py @@ -0,0 +1,11 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * diff --git a/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/hyper_execute/__cmd_group.py b/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/hyper_execute/__cmd_group.py new file mode 100644 index 00000000000..05c103e4559 --- /dev/null +++ b/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/hyper_execute/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "lambda-test hyper-execute", +) +class __CMDGroup(AAZCommandGroup): + """Manage Hyper Execute + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/hyper_execute/__init__.py b/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/hyper_execute/__init__.py new file mode 100644 index 00000000000..5a9d61963d6 --- /dev/null +++ b/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/hyper_execute/__init__.py @@ -0,0 +1,11 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * diff --git a/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/hyper_execute/organization/__cmd_group.py b/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/hyper_execute/organization/__cmd_group.py new file mode 100644 index 00000000000..62b7a1ae1e8 --- /dev/null +++ b/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/hyper_execute/organization/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "lambda-test hyper-execute organization", +) +class __CMDGroup(AAZCommandGroup): + """Manage Organization + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/hyper_execute/organization/__init__.py b/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/hyper_execute/organization/__init__.py new file mode 100644 index 00000000000..2d1a2078686 --- /dev/null +++ b/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/hyper_execute/organization/__init__.py @@ -0,0 +1,16 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._create import * +from ._delete import * +from ._list import * +from ._show import * +from ._wait import * diff --git a/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/hyper_execute/organization/_create.py b/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/hyper_execute/organization/_create.py new file mode 100644 index 00000000000..343513dc668 --- /dev/null +++ b/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/hyper_execute/organization/_create.py @@ -0,0 +1,592 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "lambda-test hyper-execute organization create", +) +class Create(AAZCommand): + """Create a OrganizationResource + + :example: Organizations_CreateOrUpdate_MaximumSet_Gen - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule + az lambda-test hyper-execute organization create --resource-group abdul-test --organizationname test-cli-instance-4 --marketplace "{subscription-id:fc35d936-3b89-41f8-8110-a24b56826c37,offer-details:{publisher-id:lambdatestinc1584019832435,offer-id:lambdatest_liftr_testing,plan-id:testing,plan-name:testing_liftr,term-unit:P1Y,term-id:o73usof6rkyy}}" --user "{first-name:Joe,last-name:Aggarwal,email-address:aggarwalsw@microsoft.com,upn:aggarwalsw@microsoft.com}" --partner-properties "{licenses-subscribed:1}" --single-sign-on-properties "{type:Saml,enterprise-app-id:0b9873df-1629-4036-9360-5f2f65c0a0d3,aad-domains:[MicrosoftCustomerLed.onmicrosoft.com]}" --location Central US EUAP + """ + + _aaz_info = { + "version": "2024-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/lambdatest.hyperexecute/organizations/{}", "2024-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.organizationname = AAZStrArg( + options=["-n", "--name", "--organizationname"], + help="Name of the Organization resource", + required=True, + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", + max_length=50, + min_length=1, + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + + # define Arg Group "Identity" + + _args_schema = cls._args_schema + _args_schema.mi_system_assigned = AAZStrArg( + options=["--system-assigned", "--mi-system-assigned"], + arg_group="Identity", + help="Set the system managed identity.", + blank="True", + ) + _args_schema.mi_user_assigned = AAZListArg( + options=["--user-assigned", "--mi-user-assigned"], + arg_group="Identity", + help="Set the user managed identities.", + blank=[], + ) + + mi_user_assigned = cls._args_schema.mi_user_assigned + mi_user_assigned.Element = AAZStrArg() + + # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.marketplace = AAZObjectArg( + options=["--marketplace"], + arg_group="Properties", + help="Marketplace details of the resource.", + ) + _args_schema.partner_properties = AAZObjectArg( + options=["--partner-properties"], + arg_group="Properties", + help="partner properties", + ) + _args_schema.single_sign_on_properties = AAZObjectArg( + options=["--sso-properties", "--single-sign-on-properties"], + arg_group="Properties", + help="Single sign-on properties", + ) + _args_schema.user = AAZObjectArg( + options=["--user"], + arg_group="Properties", + help="Details of the user.", + ) + + marketplace = cls._args_schema.marketplace + marketplace.offer_details = AAZObjectArg( + options=["offer-details"], + help="Offer details for the marketplace that is selected by the user", + required=True, + ) + marketplace.subscription_id = AAZStrArg( + options=["subscription-id"], + help="Azure subscription id for the the marketplace offer is purchased from", + ) + + offer_details = cls._args_schema.marketplace.offer_details + offer_details.offer_id = AAZStrArg( + options=["offer-id"], + help="Offer Id for the marketplace offer", + required=True, + ) + offer_details.plan_id = AAZStrArg( + options=["plan-id"], + help="Plan Id for the marketplace offer", + required=True, + ) + offer_details.plan_name = AAZStrArg( + options=["plan-name"], + help="Plan Name for the marketplace offer", + ) + offer_details.publisher_id = AAZStrArg( + options=["publisher-id"], + help="Publisher Id for the marketplace offer", + required=True, + ) + offer_details.term_id = AAZStrArg( + options=["term-id"], + help="Plan Display Name for the marketplace offer", + ) + offer_details.term_unit = AAZStrArg( + options=["term-unit"], + help="Plan Display Name for the marketplace offer", + ) + + partner_properties = cls._args_schema.partner_properties + partner_properties.licenses_subscribed = AAZIntArg( + options=["licenses-subscribed"], + help="The number of licenses subscribed", + required=True, + fmt=AAZIntArgFormat( + maximum=1000, + minimum=1, + ), + ) + + single_sign_on_properties = cls._args_schema.single_sign_on_properties + single_sign_on_properties.aad_domains = AAZListArg( + options=["aad-domains"], + help="List of AAD domains fetched from Microsoft Graph for user.", + ) + single_sign_on_properties.enterprise_app_id = AAZStrArg( + options=["enterprise-app-id"], + help="AAD enterprise application Id used to setup SSO", + ) + single_sign_on_properties.state = AAZStrArg( + options=["state"], + help="State of the Single Sign On for the resource", + enum={"Disable": "Disable", "Enable": "Enable", "Initial": "Initial"}, + ) + single_sign_on_properties.type = AAZStrArg( + options=["type"], + help="Type of Single Sign-On mechanism being used", + required=True, + enum={"OpenId": "OpenId", "Saml": "Saml"}, + ) + single_sign_on_properties.url = AAZStrArg( + options=["url"], + help="URL for SSO to be used by the partner to redirect the user to their system", + ) + + aad_domains = cls._args_schema.single_sign_on_properties.aad_domains + aad_domains.Element = AAZStrArg() + + user = cls._args_schema.user + user.email_address = AAZStrArg( + options=["email-address"], + help="Email address of the user", + fmt=AAZStrArgFormat( + pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$", + ), + ) + user.first_name = AAZStrArg( + options=["first-name"], + help="First name of the user", + ) + user.last_name = AAZStrArg( + options=["last-name"], + help="Last name of the user", + ) + user.phone_number = AAZStrArg( + options=["phone-number"], + help="User's phone number", + ) + user.upn = AAZStrArg( + options=["upn"], + help="User's principal name", + ) + + # define Arg Group "Resource" + + _args_schema = cls._args_schema + _args_schema.location = AAZResourceLocationArg( + arg_group="Resource", + help="The geo-location where the resource lives", + required=True, + fmt=AAZResourceLocationArgFormat( + resource_group_arg="resource_group", + ), + ) + _args_schema.tags = AAZDictArg( + options=["--tags"], + arg_group="Resource", + help="Resource tags.", + ) + + tags = cls._args_schema.tags + tags.Element = AAZStrArg() + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.OrganizationsCreateOrUpdate(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class OrganizationsCreateOrUpdate(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200, 201]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/LambdaTest.HyperExecute/organizations/{organizationname}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "organizationname", self.ctx.args.organizationname, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2024-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + typ=AAZObjectType, + typ_kwargs={"flags": {"required": True, "client_flatten": True}} + ) + _builder.set_prop("identity", AAZIdentityObjectType) + _builder.set_prop("location", AAZStrType, ".location", typ_kwargs={"flags": {"required": True}}) + _builder.set_prop("properties", AAZObjectType) + _builder.set_prop("tags", AAZDictType, ".tags") + + identity = _builder.get(".identity") + if identity is not None: + identity.set_prop("userAssigned", AAZListType, ".mi_user_assigned", typ_kwargs={"flags": {"action": "create"}}) + identity.set_prop("systemAssigned", AAZStrType, ".mi_system_assigned", typ_kwargs={"flags": {"action": "create"}}) + + user_assigned = _builder.get(".identity.userAssigned") + if user_assigned is not None: + user_assigned.set_elements(AAZStrType, ".") + + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("marketplace", AAZObjectType, ".marketplace", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("partnerProperties", AAZObjectType, ".partner_properties", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("singleSignOnProperties", AAZObjectType, ".single_sign_on_properties") + properties.set_prop("user", AAZObjectType, ".user", typ_kwargs={"flags": {"required": True}}) + + marketplace = _builder.get(".properties.marketplace") + if marketplace is not None: + marketplace.set_prop("offerDetails", AAZObjectType, ".offer_details", typ_kwargs={"flags": {"required": True}}) + marketplace.set_prop("subscriptionId", AAZStrType, ".subscription_id") + + offer_details = _builder.get(".properties.marketplace.offerDetails") + if offer_details is not None: + offer_details.set_prop("offerId", AAZStrType, ".offer_id", typ_kwargs={"flags": {"required": True}}) + offer_details.set_prop("planId", AAZStrType, ".plan_id", typ_kwargs={"flags": {"required": True}}) + offer_details.set_prop("planName", AAZStrType, ".plan_name") + offer_details.set_prop("publisherId", AAZStrType, ".publisher_id", typ_kwargs={"flags": {"required": True}}) + offer_details.set_prop("termId", AAZStrType, ".term_id") + offer_details.set_prop("termUnit", AAZStrType, ".term_unit") + + partner_properties = _builder.get(".properties.partnerProperties") + if partner_properties is not None: + partner_properties.set_prop("licensesSubscribed", AAZIntType, ".licenses_subscribed", typ_kwargs={"flags": {"required": True}}) + + single_sign_on_properties = _builder.get(".properties.singleSignOnProperties") + if single_sign_on_properties is not None: + single_sign_on_properties.set_prop("aadDomains", AAZListType, ".aad_domains") + single_sign_on_properties.set_prop("enterpriseAppId", AAZStrType, ".enterprise_app_id") + single_sign_on_properties.set_prop("state", AAZStrType, ".state") + single_sign_on_properties.set_prop("type", AAZStrType, ".type", typ_kwargs={"flags": {"required": True}}) + single_sign_on_properties.set_prop("url", AAZStrType, ".url") + + aad_domains = _builder.get(".properties.singleSignOnProperties.aadDomains") + if aad_domains is not None: + aad_domains.set_elements(AAZStrType, ".") + + user = _builder.get(".properties.user") + if user is not None: + user.set_prop("emailAddress", AAZStrType, ".email_address") + user.set_prop("firstName", AAZStrType, ".first_name") + user.set_prop("lastName", AAZStrType, ".last_name") + user.set_prop("phoneNumber", AAZStrType, ".phone_number") + user.set_prop("upn", AAZStrType, ".upn") + + tags = _builder.get(".tags") + if tags is not None: + tags.set_elements(AAZStrType, ".") + + return self.serialize_content(_content_value) + + def on_200_201(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200_201 + ) + + _schema_on_200_201 = None + + @classmethod + def _build_schema_on_200_201(cls): + if cls._schema_on_200_201 is not None: + return cls._schema_on_200_201 + + cls._schema_on_200_201 = AAZObjectType() + + _schema_on_200_201 = cls._schema_on_200_201 + _schema_on_200_201.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.identity = AAZIdentityObjectType() + _schema_on_200_201.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200_201.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.properties = AAZObjectType() + _schema_on_200_201.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200_201.tags = AAZDictType() + _schema_on_200_201.type = AAZStrType( + flags={"read_only": True}, + ) + + identity = cls._schema_on_200_201.identity + identity.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + identity.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + identity.type = AAZStrType( + flags={"required": True}, + ) + identity.user_assigned_identities = AAZDictType( + serialized_name="userAssignedIdentities", + ) + + user_assigned_identities = cls._schema_on_200_201.identity.user_assigned_identities + user_assigned_identities.Element = AAZObjectType( + nullable=True, + ) + + _element = cls._schema_on_200_201.identity.user_assigned_identities.Element + _element.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + _element.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + + properties = cls._schema_on_200_201.properties + properties.marketplace = AAZObjectType( + flags={"required": True}, + ) + properties.partner_properties = AAZObjectType( + serialized_name="partnerProperties", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.single_sign_on_properties = AAZObjectType( + serialized_name="singleSignOnProperties", + ) + properties.user = AAZObjectType( + flags={"required": True}, + ) + + marketplace = cls._schema_on_200_201.properties.marketplace + marketplace.offer_details = AAZObjectType( + serialized_name="offerDetails", + flags={"required": True}, + ) + marketplace.subscription_id = AAZStrType( + serialized_name="subscriptionId", + ) + marketplace.subscription_status = AAZStrType( + serialized_name="subscriptionStatus", + flags={"read_only": True}, + ) + + offer_details = cls._schema_on_200_201.properties.marketplace.offer_details + offer_details.offer_id = AAZStrType( + serialized_name="offerId", + flags={"required": True}, + ) + offer_details.plan_id = AAZStrType( + serialized_name="planId", + flags={"required": True}, + ) + offer_details.plan_name = AAZStrType( + serialized_name="planName", + ) + offer_details.publisher_id = AAZStrType( + serialized_name="publisherId", + flags={"required": True}, + ) + offer_details.term_id = AAZStrType( + serialized_name="termId", + ) + offer_details.term_unit = AAZStrType( + serialized_name="termUnit", + ) + + partner_properties = cls._schema_on_200_201.properties.partner_properties + partner_properties.licenses_subscribed = AAZIntType( + serialized_name="licensesSubscribed", + flags={"required": True}, + ) + + single_sign_on_properties = cls._schema_on_200_201.properties.single_sign_on_properties + single_sign_on_properties.aad_domains = AAZListType( + serialized_name="aadDomains", + ) + single_sign_on_properties.enterprise_app_id = AAZStrType( + serialized_name="enterpriseAppId", + ) + single_sign_on_properties.state = AAZStrType() + single_sign_on_properties.type = AAZStrType( + flags={"required": True}, + ) + single_sign_on_properties.url = AAZStrType() + + aad_domains = cls._schema_on_200_201.properties.single_sign_on_properties.aad_domains + aad_domains.Element = AAZStrType() + + user = cls._schema_on_200_201.properties.user + user.email_address = AAZStrType( + serialized_name="emailAddress", + ) + user.first_name = AAZStrType( + serialized_name="firstName", + ) + user.last_name = AAZStrType( + serialized_name="lastName", + ) + user.phone_number = AAZStrType( + serialized_name="phoneNumber", + ) + user.upn = AAZStrType() + + system_data = cls._schema_on_200_201.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200_201.tags + tags.Element = AAZStrType() + + return cls._schema_on_200_201 + + +class _CreateHelper: + """Helper class for Create""" + + +__all__ = ["Create"] diff --git a/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/hyper_execute/organization/_delete.py b/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/hyper_execute/organization/_delete.py new file mode 100644 index 00000000000..2091be77762 --- /dev/null +++ b/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/hyper_execute/organization/_delete.py @@ -0,0 +1,168 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "lambda-test hyper-execute organization delete", + confirmation="Are you sure you want to perform this operation?", +) +class Delete(AAZCommand): + """Delete a OrganizationResource + + :example: Organizations_Delete_MaximumSet_Gen - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule + az lambda-test hyper-execute organization delete --resource-group abdul-test --organizationname test-cli-instance-4 + """ + + _aaz_info = { + "version": "2024-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/lambdatest.hyperexecute/organizations/{}", "2024-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.organizationname = AAZStrArg( + options=["-n", "--name", "--organizationname"], + help="Name of the Organization resource", + required=True, + id_part="name", + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", + max_length=50, + min_length=1, + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.OrganizationsDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class OrganizationsDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [204]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200, 201]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/LambdaTest.HyperExecute/organizations/{organizationname}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "organizationname", self.ctx.args.organizationname, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2024-02-01-preview", + required=True, + ), + } + return parameters + + def on_204(self, session): + pass + + def on_200_201(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/hyper_execute/organization/_list.py b/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/hyper_execute/organization/_list.py new file mode 100644 index 00000000000..ac98570237a --- /dev/null +++ b/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/hyper_execute/organization/_list.py @@ -0,0 +1,588 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "lambda-test hyper-execute organization list", +) +class List(AAZCommand): + """List OrganizationResource resources by subscription ID + + :example: Organizations_ListBySubscription_MaximumSet_Gen - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule + az lambda-test hyper-execute organization list --resource-group abdul-test + """ + + _aaz_info = { + "version": "2024-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/lambdatest.hyperexecute/organizations", "2024-02-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/lambdatest.hyperexecute/organizations", "2024-02-01-preview"], + ] + } + + AZ_SUPPORT_PAGINATION = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_group = AAZResourceGroupNameArg() + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + condition_0 = has_value(self.ctx.subscription_id) and has_value(self.ctx.args.resource_group) is not True + condition_1 = has_value(self.ctx.args.resource_group) and has_value(self.ctx.subscription_id) + if condition_0: + self.OrganizationsListBySubscription(ctx=self.ctx)() + if condition_1: + self.OrganizationsListByResourceGroup(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class OrganizationsListBySubscription(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/providers/LambdaTest.HyperExecute/organizations", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2024-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.identity = AAZIdentityObjectType() + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType() + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + identity = cls._schema_on_200.value.Element.identity + identity.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + identity.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + identity.type = AAZStrType( + flags={"required": True}, + ) + identity.user_assigned_identities = AAZDictType( + serialized_name="userAssignedIdentities", + ) + + user_assigned_identities = cls._schema_on_200.value.Element.identity.user_assigned_identities + user_assigned_identities.Element = AAZObjectType( + nullable=True, + ) + + _element = cls._schema_on_200.value.Element.identity.user_assigned_identities.Element + _element.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + _element.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.marketplace = AAZObjectType( + flags={"required": True}, + ) + properties.partner_properties = AAZObjectType( + serialized_name="partnerProperties", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.single_sign_on_properties = AAZObjectType( + serialized_name="singleSignOnProperties", + ) + properties.user = AAZObjectType( + flags={"required": True}, + ) + + marketplace = cls._schema_on_200.value.Element.properties.marketplace + marketplace.offer_details = AAZObjectType( + serialized_name="offerDetails", + flags={"required": True}, + ) + marketplace.subscription_id = AAZStrType( + serialized_name="subscriptionId", + ) + marketplace.subscription_status = AAZStrType( + serialized_name="subscriptionStatus", + flags={"read_only": True}, + ) + + offer_details = cls._schema_on_200.value.Element.properties.marketplace.offer_details + offer_details.offer_id = AAZStrType( + serialized_name="offerId", + flags={"required": True}, + ) + offer_details.plan_id = AAZStrType( + serialized_name="planId", + flags={"required": True}, + ) + offer_details.plan_name = AAZStrType( + serialized_name="planName", + ) + offer_details.publisher_id = AAZStrType( + serialized_name="publisherId", + flags={"required": True}, + ) + offer_details.term_id = AAZStrType( + serialized_name="termId", + ) + offer_details.term_unit = AAZStrType( + serialized_name="termUnit", + ) + + partner_properties = cls._schema_on_200.value.Element.properties.partner_properties + partner_properties.licenses_subscribed = AAZIntType( + serialized_name="licensesSubscribed", + flags={"required": True}, + ) + + single_sign_on_properties = cls._schema_on_200.value.Element.properties.single_sign_on_properties + single_sign_on_properties.aad_domains = AAZListType( + serialized_name="aadDomains", + ) + single_sign_on_properties.enterprise_app_id = AAZStrType( + serialized_name="enterpriseAppId", + ) + single_sign_on_properties.state = AAZStrType() + single_sign_on_properties.type = AAZStrType( + flags={"required": True}, + ) + single_sign_on_properties.url = AAZStrType() + + aad_domains = cls._schema_on_200.value.Element.properties.single_sign_on_properties.aad_domains + aad_domains.Element = AAZStrType() + + user = cls._schema_on_200.value.Element.properties.user + user.email_address = AAZStrType( + serialized_name="emailAddress", + ) + user.first_name = AAZStrType( + serialized_name="firstName", + ) + user.last_name = AAZStrType( + serialized_name="lastName", + ) + user.phone_number = AAZStrType( + serialized_name="phoneNumber", + ) + user.upn = AAZStrType() + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + class OrganizationsListByResourceGroup(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/LambdaTest.HyperExecute/organizations", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2024-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.identity = AAZIdentityObjectType() + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType() + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + identity = cls._schema_on_200.value.Element.identity + identity.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + identity.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + identity.type = AAZStrType( + flags={"required": True}, + ) + identity.user_assigned_identities = AAZDictType( + serialized_name="userAssignedIdentities", + ) + + user_assigned_identities = cls._schema_on_200.value.Element.identity.user_assigned_identities + user_assigned_identities.Element = AAZObjectType( + nullable=True, + ) + + _element = cls._schema_on_200.value.Element.identity.user_assigned_identities.Element + _element.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + _element.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.marketplace = AAZObjectType( + flags={"required": True}, + ) + properties.partner_properties = AAZObjectType( + serialized_name="partnerProperties", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.single_sign_on_properties = AAZObjectType( + serialized_name="singleSignOnProperties", + ) + properties.user = AAZObjectType( + flags={"required": True}, + ) + + marketplace = cls._schema_on_200.value.Element.properties.marketplace + marketplace.offer_details = AAZObjectType( + serialized_name="offerDetails", + flags={"required": True}, + ) + marketplace.subscription_id = AAZStrType( + serialized_name="subscriptionId", + ) + marketplace.subscription_status = AAZStrType( + serialized_name="subscriptionStatus", + flags={"read_only": True}, + ) + + offer_details = cls._schema_on_200.value.Element.properties.marketplace.offer_details + offer_details.offer_id = AAZStrType( + serialized_name="offerId", + flags={"required": True}, + ) + offer_details.plan_id = AAZStrType( + serialized_name="planId", + flags={"required": True}, + ) + offer_details.plan_name = AAZStrType( + serialized_name="planName", + ) + offer_details.publisher_id = AAZStrType( + serialized_name="publisherId", + flags={"required": True}, + ) + offer_details.term_id = AAZStrType( + serialized_name="termId", + ) + offer_details.term_unit = AAZStrType( + serialized_name="termUnit", + ) + + partner_properties = cls._schema_on_200.value.Element.properties.partner_properties + partner_properties.licenses_subscribed = AAZIntType( + serialized_name="licensesSubscribed", + flags={"required": True}, + ) + + single_sign_on_properties = cls._schema_on_200.value.Element.properties.single_sign_on_properties + single_sign_on_properties.aad_domains = AAZListType( + serialized_name="aadDomains", + ) + single_sign_on_properties.enterprise_app_id = AAZStrType( + serialized_name="enterpriseAppId", + ) + single_sign_on_properties.state = AAZStrType() + single_sign_on_properties.type = AAZStrType( + flags={"required": True}, + ) + single_sign_on_properties.url = AAZStrType() + + aad_domains = cls._schema_on_200.value.Element.properties.single_sign_on_properties.aad_domains + aad_domains.Element = AAZStrType() + + user = cls._schema_on_200.value.Element.properties.user + user.email_address = AAZStrType( + serialized_name="emailAddress", + ) + user.first_name = AAZStrType( + serialized_name="firstName", + ) + user.last_name = AAZStrType( + serialized_name="lastName", + ) + user.phone_number = AAZStrType( + serialized_name="phoneNumber", + ) + user.upn = AAZStrType() + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + +__all__ = ["List"] diff --git a/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/hyper_execute/organization/_show.py b/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/hyper_execute/organization/_show.py new file mode 100644 index 00000000000..00e6dd46b6e --- /dev/null +++ b/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/hyper_execute/organization/_show.py @@ -0,0 +1,334 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "lambda-test hyper-execute organization show", +) +class Show(AAZCommand): + """Get a OrganizationResource + + :example: Organizations_Get_MaximumSet_Gen - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule + az lambda-test hyper-execute organization show --resource-group abdul-test --organizationname test-cli-instance-3 + """ + + _aaz_info = { + "version": "2024-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/lambdatest.hyperexecute/organizations/{}", "2024-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.organizationname = AAZStrArg( + options=["-n", "--name", "--organizationname"], + help="Name of the Organization resource", + required=True, + id_part="name", + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", + max_length=50, + min_length=1, + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.OrganizationsGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class OrganizationsGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/LambdaTest.HyperExecute/organizations/{organizationname}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "organizationname", self.ctx.args.organizationname, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2024-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.identity = AAZIdentityObjectType() + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType() + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + identity = cls._schema_on_200.identity + identity.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + identity.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + identity.type = AAZStrType( + flags={"required": True}, + ) + identity.user_assigned_identities = AAZDictType( + serialized_name="userAssignedIdentities", + ) + + user_assigned_identities = cls._schema_on_200.identity.user_assigned_identities + user_assigned_identities.Element = AAZObjectType( + nullable=True, + ) + + _element = cls._schema_on_200.identity.user_assigned_identities.Element + _element.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + _element.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.marketplace = AAZObjectType( + flags={"required": True}, + ) + properties.partner_properties = AAZObjectType( + serialized_name="partnerProperties", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.single_sign_on_properties = AAZObjectType( + serialized_name="singleSignOnProperties", + ) + properties.user = AAZObjectType( + flags={"required": True}, + ) + + marketplace = cls._schema_on_200.properties.marketplace + marketplace.offer_details = AAZObjectType( + serialized_name="offerDetails", + flags={"required": True}, + ) + marketplace.subscription_id = AAZStrType( + serialized_name="subscriptionId", + ) + marketplace.subscription_status = AAZStrType( + serialized_name="subscriptionStatus", + flags={"read_only": True}, + ) + + offer_details = cls._schema_on_200.properties.marketplace.offer_details + offer_details.offer_id = AAZStrType( + serialized_name="offerId", + flags={"required": True}, + ) + offer_details.plan_id = AAZStrType( + serialized_name="planId", + flags={"required": True}, + ) + offer_details.plan_name = AAZStrType( + serialized_name="planName", + ) + offer_details.publisher_id = AAZStrType( + serialized_name="publisherId", + flags={"required": True}, + ) + offer_details.term_id = AAZStrType( + serialized_name="termId", + ) + offer_details.term_unit = AAZStrType( + serialized_name="termUnit", + ) + + partner_properties = cls._schema_on_200.properties.partner_properties + partner_properties.licenses_subscribed = AAZIntType( + serialized_name="licensesSubscribed", + flags={"required": True}, + ) + + single_sign_on_properties = cls._schema_on_200.properties.single_sign_on_properties + single_sign_on_properties.aad_domains = AAZListType( + serialized_name="aadDomains", + ) + single_sign_on_properties.enterprise_app_id = AAZStrType( + serialized_name="enterpriseAppId", + ) + single_sign_on_properties.state = AAZStrType() + single_sign_on_properties.type = AAZStrType( + flags={"required": True}, + ) + single_sign_on_properties.url = AAZStrType() + + aad_domains = cls._schema_on_200.properties.single_sign_on_properties.aad_domains + aad_domains.Element = AAZStrType() + + user = cls._schema_on_200.properties.user + user.email_address = AAZStrType( + serialized_name="emailAddress", + ) + user.first_name = AAZStrType( + serialized_name="firstName", + ) + user.last_name = AAZStrType( + serialized_name="lastName", + ) + user.phone_number = AAZStrType( + serialized_name="phoneNumber", + ) + user.upn = AAZStrType() + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + +__all__ = ["Show"] diff --git a/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/hyper_execute/organization/_wait.py b/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/hyper_execute/organization/_wait.py new file mode 100644 index 00000000000..2f042c7cd89 --- /dev/null +++ b/src/lambda-test/azext_lambda_test/aaz/latest/lambda_test/hyper_execute/organization/_wait.py @@ -0,0 +1,330 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "lambda-test hyper-execute organization wait", +) +class Wait(AAZWaitCommand): + """Place the CLI in a waiting state until a condition is met. + """ + + _aaz_info = { + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/lambdatest.hyperexecute/organizations/{}", "2024-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.organizationname = AAZStrArg( + options=["-n", "--name", "--organizationname"], + help="Name of the Organization resource", + required=True, + id_part="name", + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", + max_length=50, + min_length=1, + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.OrganizationsGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + return result + + class OrganizationsGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/LambdaTest.HyperExecute/organizations/{organizationname}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "organizationname", self.ctx.args.organizationname, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2024-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.identity = AAZIdentityObjectType() + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType() + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + identity = cls._schema_on_200.identity + identity.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + identity.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + identity.type = AAZStrType( + flags={"required": True}, + ) + identity.user_assigned_identities = AAZDictType( + serialized_name="userAssignedIdentities", + ) + + user_assigned_identities = cls._schema_on_200.identity.user_assigned_identities + user_assigned_identities.Element = AAZObjectType( + nullable=True, + ) + + _element = cls._schema_on_200.identity.user_assigned_identities.Element + _element.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + _element.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.marketplace = AAZObjectType( + flags={"required": True}, + ) + properties.partner_properties = AAZObjectType( + serialized_name="partnerProperties", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.single_sign_on_properties = AAZObjectType( + serialized_name="singleSignOnProperties", + ) + properties.user = AAZObjectType( + flags={"required": True}, + ) + + marketplace = cls._schema_on_200.properties.marketplace + marketplace.offer_details = AAZObjectType( + serialized_name="offerDetails", + flags={"required": True}, + ) + marketplace.subscription_id = AAZStrType( + serialized_name="subscriptionId", + ) + marketplace.subscription_status = AAZStrType( + serialized_name="subscriptionStatus", + flags={"read_only": True}, + ) + + offer_details = cls._schema_on_200.properties.marketplace.offer_details + offer_details.offer_id = AAZStrType( + serialized_name="offerId", + flags={"required": True}, + ) + offer_details.plan_id = AAZStrType( + serialized_name="planId", + flags={"required": True}, + ) + offer_details.plan_name = AAZStrType( + serialized_name="planName", + ) + offer_details.publisher_id = AAZStrType( + serialized_name="publisherId", + flags={"required": True}, + ) + offer_details.term_id = AAZStrType( + serialized_name="termId", + ) + offer_details.term_unit = AAZStrType( + serialized_name="termUnit", + ) + + partner_properties = cls._schema_on_200.properties.partner_properties + partner_properties.licenses_subscribed = AAZIntType( + serialized_name="licensesSubscribed", + flags={"required": True}, + ) + + single_sign_on_properties = cls._schema_on_200.properties.single_sign_on_properties + single_sign_on_properties.aad_domains = AAZListType( + serialized_name="aadDomains", + ) + single_sign_on_properties.enterprise_app_id = AAZStrType( + serialized_name="enterpriseAppId", + ) + single_sign_on_properties.state = AAZStrType() + single_sign_on_properties.type = AAZStrType( + flags={"required": True}, + ) + single_sign_on_properties.url = AAZStrType() + + aad_domains = cls._schema_on_200.properties.single_sign_on_properties.aad_domains + aad_domains.Element = AAZStrType() + + user = cls._schema_on_200.properties.user + user.email_address = AAZStrType( + serialized_name="emailAddress", + ) + user.first_name = AAZStrType( + serialized_name="firstName", + ) + user.last_name = AAZStrType( + serialized_name="lastName", + ) + user.phone_number = AAZStrType( + serialized_name="phoneNumber", + ) + user.upn = AAZStrType() + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _WaitHelper: + """Helper class for Wait""" + + +__all__ = ["Wait"] diff --git a/src/lambda-test/azext_lambda_test/azext_metadata.json b/src/lambda-test/azext_lambda_test/azext_metadata.json new file mode 100644 index 00000000000..e506328978c --- /dev/null +++ b/src/lambda-test/azext_lambda_test/azext_metadata.json @@ -0,0 +1,4 @@ +{ + "azext.isPreview": true, + "azext.minCliCoreVersion": "2.70.0" +} \ No newline at end of file diff --git a/src/lambda-test/azext_lambda_test/commands.py b/src/lambda-test/azext_lambda_test/commands.py new file mode 100644 index 00000000000..b0d842e4993 --- /dev/null +++ b/src/lambda-test/azext_lambda_test/commands.py @@ -0,0 +1,15 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements + +# from azure.cli.core.commands import CliCommandType + + +def load_command_table(self, _): # pylint: disable=unused-argument + pass diff --git a/src/lambda-test/azext_lambda_test/custom.py b/src/lambda-test/azext_lambda_test/custom.py new file mode 100644 index 00000000000..86df1e48ef5 --- /dev/null +++ b/src/lambda-test/azext_lambda_test/custom.py @@ -0,0 +1,14 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements + +from knack.log import get_logger + + +logger = get_logger(__name__) diff --git a/src/lambda-test/azext_lambda_test/tests/__init__.py b/src/lambda-test/azext_lambda_test/tests/__init__.py new file mode 100644 index 00000000000..5757aea3175 --- /dev/null +++ b/src/lambda-test/azext_lambda_test/tests/__init__.py @@ -0,0 +1,6 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- diff --git a/src/lambda-test/azext_lambda_test/tests/latest/__init__.py b/src/lambda-test/azext_lambda_test/tests/latest/__init__.py new file mode 100644 index 00000000000..5757aea3175 --- /dev/null +++ b/src/lambda-test/azext_lambda_test/tests/latest/__init__.py @@ -0,0 +1,6 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- diff --git a/src/lambda-test/azext_lambda_test/tests/latest/recordings/test_lambda_test.yaml b/src/lambda-test/azext_lambda_test/tests/latest/recordings/test_lambda_test.yaml new file mode 100644 index 00000000000..ea82d8e87f7 --- /dev/null +++ b/src/lambda-test/azext_lambda_test/tests/latest/recordings/test_lambda_test.yaml @@ -0,0 +1,568 @@ +interactions: +- request: + body: '{"location": "centraluseuap", "properties": {"marketplace": {"offerDetails": + {"offerId": "lambdatest_liftr_testing", "planId": "testing", "planName": "testing_liftr", + "publisherId": "lambdatestinc1584019832435", "termId": "o73usof6rkyy", "termUnit": + "P1Y"}, "subscriptionId": "fc35d936-3b89-41f8-8110-a24b56826c37"}, "partnerProperties": + {"licensesSubscribed": 1}, "user": {"emailAddress": "aggarwalsw@microsoft.com", + "firstName": "Swati", "lastName": "Aggarwal", "upn": "aggarwalsw@microsoft.com"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - lambda-test hyper-execute organization create + Connection: + - keep-alive + Content-Length: + - '500' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --organizationname --location --marketplace --user --partner-properties + User-Agent: + - AZURECLI/2.71.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abdul-test/providers/LambdaTest.HyperExecute/organizations/lambda-test-cli-instance-6?api-version=2024-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abdul-test/providers/LambdaTest.HyperExecute/organizations/lambda-test-cli-instance-6","name":"lambda-test-cli-instance-6","type":"lambdatest.hyperexecute/organizations","location":"centraluseuap","systemData":{"createdBy":"aggarwalsw@microsoft.com","createdByType":"User","createdAt":"2025-04-14T23:04:50.6544099Z","lastModifiedBy":"aggarwalsw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-04-14T23:04:50.6544099Z"},"properties":{"marketplace":{"subscriptionId":"fc35d936-3b89-41f8-8110-a24b56826c37","subscriptionStatus":"PendingFulfillmentStart","offerDetails":{"publisherId":"lambdatestinc1584019832435","offerId":"lambdatest_liftr_testing","planId":"testing","planName":"testing_liftr","termUnit":"P1Y","termId":"o73usof6rkyy"}},"provisioningState":"Accepted","user":{"firstName":"Swati","lastName":"Aggarwal","emailAddress":"aggarwalsw@microsoft.com","upn":"aggarwalsw@microsoft.com"},"partnerProperties":{"licensesSubscribed":1}}}' + headers: + azure-asyncoperation: + - https://management.azure.com/providers/LambdaTest.HyperExecute/locations/CENTRALUSEUAP/operationStatuses/a51e9f5b-fbbd-4a90-b395-e71a1bb18aa9*925B76057FDBE5B95D2BBC09AE497297B9D758EAB6576036A54554A3FBF48EFF?api-version=2024-02-01-preview&t=638802687042168872&c=MIIHhzCCBm-gAwIBAgITfAaTsfGh4O3I6hzdiwAABpOx8TANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjM1MTA0WhcNMjUwNzIwMjM1MTA0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmmNHNWFSsNqv7hYXt5jnZhiWu70W-4oqnLQoNqpREh9ILwf_vWrKEFwHln2pZ0QL0Vzy6iBL7CjMAu06leKSRiY0PTaudFXcPZKg28HxLbC13I3XGnANo8baTVS1tjjh4tMTcEW4gJFU3FkYBnnd4vDuWu9cFNecMYtxyNXqXZQNKsExYG5-z1LKsCG-VZFtDXtdO7NCF-883QzW9AH9ky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Fn_OgAhQKJTC_w_wMcSVShXY0ndhsUCt2IyGyIga4Im6UG5R46GX5A5w3QLLk2GfHpVMRw-HqsQAUatTd6HlsdYfkolmzD9rMD4XDEzaqaeJTsyNtpJi0RLUErmoO6okPBraw7eWXBm01EhZODByVqyGzC-y4fFsGQoA6kq0zMxq_Pp5fPNDZh8pmn61y3IudSRs_4GBx0PGcbdfIBkxTrdw&h=smP_zgP-05W_wALj8mmzotyW_eeLy1yxKA7lCEQENBg + cache-control: + - no-cache + content-length: + - '1031' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 14 Apr 2025 23:05:03 GMT + etag: + - '"01004914-0000-3300-0000-67fd949f0000"' + expires: + - '-1' + location: + - https://centraluseuap.management.azure.com/providers/LambdaTest.HyperExecute/locations/CENTRALUSEUAP/operationStatuses/a51e9f5b-fbbd-4a90-b395-e71a1bb18aa9*925B76057FDBE5B95D2BBC09AE497297B9D758EAB6576036A54554A3FBF48EFF?api-version=2024-02-01-preview&t=638802687042168872&c=MIIHhzCCBm-gAwIBAgITfAaTsfGh4O3I6hzdiwAABpOx8TANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjM1MTA0WhcNMjUwNzIwMjM1MTA0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmmNHNWFSsNqv7hYXt5jnZhiWu70W-4oqnLQoNqpREh9ILwf_vWrKEFwHln2pZ0QL0Vzy6iBL7CjMAu06leKSRiY0PTaudFXcPZKg28HxLbC13I3XGnANo8baTVS1tjjh4tMTcEW4gJFU3FkYBnnd4vDuWu9cFNecMYtxyNXqXZQNKsExYG5-z1LKsCG-VZFtDXtd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kpAxdE3f-jZOVvtbFn_OgAhQKJTC_w_wMcSVShXY0ndhsUCt2IyGyIga4Im6UG5R46GX5A5w3QLLk2GfHpVMRw-HqsQAUatTd6HlsdYfkolmzD9rMD4XDEzaqaeJTsyNtpJi0RLUErmoO6okPBraw7eWXBm01EhZODByVqyGzC-y4fFsGQoA6kq0zMxq_Pp5fPNDZh8pmn61y3IudSRs_4GBx0PGcbdfIBkxTrdw&h=smP_zgP-05W_wALj8mmzotyW_eeLy1yxKA7lCEQENBg + mise-correlation-id: + - 0a3f0f1f-0615-4405-8f29-16bd880cd1e9 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-operation-identifier: + - tenantId=888d76fa-54b2-4ced-8ee5-aac1585adee7,objectId=464b73e3-c6d1-4d03-a374-32a6c6b6135f/centralindia/6e7b2ca5-3b0e-4330-bbdf-d9e7696bf356 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '19999' + x-msedge-ref: + - 'Ref A: 2E20D9E5DDE741EFAE4FB6957978DCFB Ref B: MAA201060513031 Ref C: 2025-04-14T23:04:47Z' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - lambda-test hyper-execute organization create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --organizationname --location --marketplace --user --partner-properties + User-Agent: + - AZURECLI/2.71.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/providers/LambdaTest.HyperExecute/locations/CENTRALUSEUAP/operationStatuses/a51e9f5b-fbbd-4a90-b395-e71a1bb18aa9*925B76057FDBE5B95D2BBC09AE497297B9D758EAB6576036A54554A3FBF48EFF?api-version=2024-02-01-preview&t=638802687042168872&c=MIIHhzCCBm-gA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jzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAISUbL4a-8x720Kq4kpvroZpGEG-7hA5QoY2g0mHaS7y5AbNsL93L6qnsXTjiW02I693A-UMSGrwRm7SMGJI9BSLl2mqV_L55Ks-NNghmV_58seSGsmgoDxbw1rvDjSjEslmSDXo1PLj6C9LKWc5gSplpYdTIjaahdzCArjQdPQOyacyglOlzcDDY2e83Q7Xcad3Py_xyh7Yld330DgYBpSZx6h1wPPSFsot18EGQ-0UoJBq9x2NrLQS3aUXzumEcft64ZQUCFzEOSRdVkf0DHsGGf2qH06ndu1dy7Olz9P0bmZ8LClRXa1vXj-Z2xWM71YT-rxrMSlzddBKBYy34uE&s=aDiajQup2hNx-UQdYC3pC4g8CX6S6GwOrYoMQDjKHblBx1441dOH-jIbxDIDEVvV9fEow7yibGHw5hqVL58UxayQNI_4z0_tBKxdzRl2Y__7_3kpAxdE3f-jZOVvtbFn_OgAhQKJTC_w_wMcSVShXY0ndhsUCt2IyGyIga4Im6UG5R46GX5A5w3QLLk2GfHpVMRw-HqsQAUatTd6HlsdYfkolmzD9rMD4XDEzaqaeJTsyNtpJi0RLUErmoO6okPBraw7eWXBm01EhZODByVqyGzC-y4fFsGQoA6kq0zMxq_Pp5fPNDZh8pmn61y3IudSRs_4GBx0PGcbdfIBkxTrdw&h=smP_zgP-05W_wALj8mmzotyW_eeLy1yxKA7lCEQENBg + response: + body: + string: '{"id":"/providers/LambdaTest.HyperExecute/locations/CENTRALUSEUAP/operationStatuses/a51e9f5b-fbbd-4a90-b395-e71a1bb18aa9*925B76057FDBE5B95D2BBC09AE497297B9D758EAB6576036A54554A3FBF48EFF","name":"a51e9f5b-fbbd-4a90-b395-e71a1bb18aa9*925B76057FDBE5B95D2BBC09AE497297B9D758EAB6576036A54554A3FBF48EFF","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abdul-test/providers/LambdaTest.HyperExecute/organizations/lambda-test-cli-instance-6","status":"Accepted","startTime":"2025-04-14T23:04:56.4076814Z"}' + headers: + cache-control: + - no-cache + content-length: + - '529' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 14 Apr 2025 23:05:04 GMT + etag: + - '"00003d00-0000-3300-0000-67fd94980000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-operation-identifier: + - '' + x-msedge-ref: + - 'Ref A: 63571C1AB658416FBF8EA7AB8EE2F08B Ref B: MAA201060513031 Ref C: 2025-04-14T23:05:04Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - lambda-test hyper-execute organization create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --organizationname --location --marketplace --user --partner-properties + User-Agent: + - AZURECLI/2.71.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/providers/LambdaTest.HyperExecute/locations/CENTRALUSEUAP/operationStatuses/a51e9f5b-fbbd-4a90-b395-e71a1bb18aa9*925B76057FDBE5B95D2BBC09AE497297B9D758EAB6576036A54554A3FBF48EFF?api-version=2024-02-01-preview&t=638802687042168872&c=MIIHhzCCBm-gAwIBAgITfAaTsfGh4O3I6hzdiwAABpOx8TANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjM1MTA0WhcNMjUwNzIwMjM1MTA0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmmNHNW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CFzEOSRdVkf0DHsGGf2qH06ndu1dy7Olz9P0bmZ8LClRXa1vXj-Z2xWM71YT-rxrMSlzddBKBYy34uE&s=aDiajQup2hNx-UQdYC3pC4g8CX6S6GwOrYoMQDjKHblBx1441dOH-jIbxDIDEVvV9fEow7yibGHw5hqVL58UxayQNI_4z0_tBKxdzRl2Y__7_3kpAxdE3f-jZOVvtbFn_OgAhQKJTC_w_wMcSVShXY0ndhsUCt2IyGyIga4Im6UG5R46GX5A5w3QLLk2GfHpVMRw-HqsQAUatTd6HlsdYfkolmzD9rMD4XDEzaqaeJTsyNtpJi0RLUErmoO6okPBraw7eWXBm01EhZODByVqyGzC-y4fFsGQoA6kq0zMxq_Pp5fPNDZh8pmn61y3IudSRs_4GBx0PGcbdfIBkxTrdw&h=smP_zgP-05W_wALj8mmzotyW_eeLy1yxKA7lCEQENBg + response: + body: + string: '{"id":"/providers/LambdaTest.HyperExecute/locations/CENTRALUSEUAP/operationStatuses/a51e9f5b-fbbd-4a90-b395-e71a1bb18aa9*925B76057FDBE5B95D2BBC09AE497297B9D758EAB6576036A54554A3FBF48EFF","name":"a51e9f5b-fbbd-4a90-b395-e71a1bb18aa9*925B76057FDBE5B95D2BBC09AE497297B9D758EAB6576036A54554A3FBF48EFF","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abdul-test/providers/LambdaTest.HyperExecute/organizations/lambda-test-cli-instance-6","status":"Accepted","startTime":"2025-04-14T23:04:56.4076814Z"}' + headers: + cache-control: + - no-cache + content-length: + - '529' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 14 Apr 2025 23:05:35 GMT + etag: + - '"00003d00-0000-3300-0000-67fd94980000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-operation-identifier: + - '' + x-msedge-ref: + - 'Ref A: D7ED3437EBB84B52838A149B7B8361EF Ref B: MAA201060513031 Ref C: 2025-04-14T23:05:35Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - lambda-test hyper-execute organization create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --organizationname --location --marketplace --user --partner-properties + User-Agent: + - AZURECLI/2.71.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/providers/LambdaTest.HyperExecute/locations/CENTRALUSEUAP/operationStatuses/a51e9f5b-fbbd-4a90-b395-e71a1bb18aa9*925B76057FDBE5B95D2BBC09AE497297B9D758EAB6576036A54554A3FBF48EFF?api-version=2024-02-01-preview&t=638802687042168872&c=MIIHhzCCBm-gAwIBAgITfAaTsfGh4O3I6hzdiwAABpOx8TANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjM1MTA0WhcNMjUwNzIwMjM1MTA0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmmNHNWFSsNqv7hYXt5jnZhiWu70W-4oqnLQoNqpREh9ILwf_vWrKEFwHln2pZ0QL0Vzy6iBL7CjMAu06leKSRiY0PTaudFXcPZKg28HxLbC13I3XGnANo8baTVS1tjjh4tMTcEW4gJFU3FkYBnnd4vDuWu9cFNecMYtxyNXqXZQNKsExYG5-z1LKsCG-VZFtDXtdO7NCF-883QzW9AH9kyG24yulLRWXed6gk78SiLKeQwZHq3HawlcKJbtYEh01VpjYJTMLBh5ffUnp4p0ur5_1qquFhqISg5SNMXR0wUecBNg60HNXgUgDI9p7gEknaT2t54Cqw4bTMEnn_ojsECAwEAAaO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raw7eWXBm01EhZODByVqyGzC-y4fFsGQoA6kq0zMxq_Pp5fPNDZh8pmn61y3IudSRs_4GBx0PGcbdfIBkxTrdw&h=smP_zgP-05W_wALj8mmzotyW_eeLy1yxKA7lCEQENBg + response: + body: + string: '{"id":"/providers/LambdaTest.HyperExecute/locations/CENTRALUSEUAP/operationStatuses/a51e9f5b-fbbd-4a90-b395-e71a1bb18aa9*925B76057FDBE5B95D2BBC09AE497297B9D758EAB6576036A54554A3FBF48EFF","name":"a51e9f5b-fbbd-4a90-b395-e71a1bb18aa9*925B76057FDBE5B95D2BBC09AE497297B9D758EAB6576036A54554A3FBF48EFF","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abdul-test/providers/LambdaTest.HyperExecute/organizations/lambda-test-cli-instance-6","status":"Accepted","startTime":"2025-04-14T23:04:56.4076814Z"}' + headers: + cache-control: + - no-cache + content-length: + - '529' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 14 Apr 2025 23:06:06 GMT + etag: + - '"00003d00-0000-3300-0000-67fd94980000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-operation-identifier: + - '' + x-msedge-ref: + - 'Ref A: 767A9313BFE2449D81BA16F2CA5A762F Ref B: MAA201060513031 Ref C: 2025-04-14T23:06:06Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - lambda-test hyper-execute organization create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --organizationname --location --marketplace --user --partner-properties + User-Agent: + - AZURECLI/2.71.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/providers/LambdaTest.HyperExecute/locations/CENTRALUSEUAP/operationStatuses/a51e9f5b-fbbd-4a90-b395-e71a1bb18aa9*925B76057FDBE5B95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MwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAISUbL4a-8x720Kq4kpvroZpGEG-7hA5QoY2g0mHaS7y5AbNsL93L6qnsXTjiW02I693A-UMSGrwRm7SMGJI9BSLl2mqV_L55Ks-NNghmV_58seSGsmgoDxbw1rvDjSjEslmSDXo1PLj6C9LKWc5gSplpYdTIjaahdzCArjQdPQOyacyglOlzcDDY2e83Q7Xcad3Py_xyh7Yld330DgYBpSZx6h1wPPSFsot18EGQ-0UoJBq9x2NrLQS3aUXzumEcft64ZQUCFzEOSRdVkf0DHsGGf2qH06ndu1dy7Olz9P0bmZ8LClRXa1vXj-Z2xWM71YT-rxrMSlzddBKBYy34uE&s=aDiajQup2hNx-UQdYC3pC4g8CX6S6GwOrYoMQDjKHblBx1441dOH-jIbxDIDEVvV9fEow7yibGHw5hqVL58UxayQNI_4z0_tBKxdzRl2Y__7_3kpAxdE3f-jZOVvtbFn_OgAhQKJTC_w_wMcSVShXY0ndhsUCt2IyGyIga4Im6UG5R46GX5A5w3QLLk2GfHpVMRw-HqsQAUatTd6HlsdYfkolmzD9rMD4XDEzaqaeJTsyNtpJi0RLUErmoO6okPBraw7eWXBm01EhZODByVqyGzC-y4fFsGQoA6kq0zMxq_Pp5fPNDZh8pmn61y3IudSRs_4GBx0PGcbdfIBkxTrdw&h=smP_zgP-05W_wALj8mmzotyW_eeLy1yxKA7lCEQENBg + response: + body: + string: '{"id":"/providers/LambdaTest.HyperExecute/locations/CENTRALUSEUAP/operationStatuses/a51e9f5b-fbbd-4a90-b395-e71a1bb18aa9*925B76057FDBE5B95D2BBC09AE497297B9D758EAB6576036A54554A3FBF48EFF","name":"a51e9f5b-fbbd-4a90-b395-e71a1bb18aa9*925B76057FDBE5B95D2BBC09AE497297B9D758EAB6576036A54554A3FBF48EFF","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abdul-test/providers/LambdaTest.HyperExecute/organizations/lambda-test-cli-instance-6","status":"Accepted","startTime":"2025-04-14T23:04:56.4076814Z"}' + headers: + cache-control: + - no-cache + connection: + - close + content-length: + - '529' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 14 Apr 2025 23:06:37 GMT + etag: + - '"00003d00-0000-3300-0000-67fd94980000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-operation-identifier: + - '' + x-msedge-ref: + - 'Ref A: CE1E91279642494F9F79C8AB8AEF9B0F Ref B: MAA201060513031 Ref C: 2025-04-14T23:06:37Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - lambda-test hyper-execute organization create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --organizationname --location --marketplace --user --partner-properties + User-Agent: + - AZURECLI/2.71.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/providers/LambdaTest.HyperExecute/locations/CENTRALUSEUAP/operationStatuses/a51e9f5b-fbbd-4a90-b395-e71a1bb18aa9*925B76057FDBE5B95D2BBC09AE497297B9D758EAB6576036A54554A3FBF48EFF?api-version=2024-02-01-preview&t=638802687042168872&c=MIIHhzCCBm-gAwIBAgITfAaTsfGh4O3I6hzdiwAABpOx8TANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjM1MTA0WhcNMjUwNzIwMjM1MTA0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2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DDY2e83Q7Xcad3Py_xyh7Yld330DgYBpSZx6h1wPPSFsot18EGQ-0UoJBq9x2NrLQS3aUXzumEcft64ZQUCFzEOSRdVkf0DHsGGf2qH06ndu1dy7Olz9P0bmZ8LClRXa1vXj-Z2xWM71YT-rxrMSlzddBKBYy34uE&s=aDiajQup2hNx-UQdYC3pC4g8CX6S6GwOrYoMQDjKHblBx1441dOH-jIbxDIDEVvV9fEow7yibGHw5hqVL58UxayQNI_4z0_tBKxdzRl2Y__7_3kpAxdE3f-jZOVvtbFn_OgAhQKJTC_w_wMcSVShXY0ndhsUCt2IyGyIga4Im6UG5R46GX5A5w3QLLk2GfHpVMRw-HqsQAUatTd6HlsdYfkolmzD9rMD4XDEzaqaeJTsyNtpJi0RLUErmoO6okPBraw7eWXBm01EhZODByVqyGzC-y4fFsGQoA6kq0zMxq_Pp5fPNDZh8pmn61y3IudSRs_4GBx0PGcbdfIBkxTrdw&h=smP_zgP-05W_wALj8mmzotyW_eeLy1yxKA7lCEQENBg + response: + body: + string: '{"id":"/providers/LambdaTest.HyperExecute/locations/CENTRALUSEUAP/operationStatuses/a51e9f5b-fbbd-4a90-b395-e71a1bb18aa9*925B76057FDBE5B95D2BBC09AE497297B9D758EAB6576036A54554A3FBF48EFF","name":"a51e9f5b-fbbd-4a90-b395-e71a1bb18aa9*925B76057FDBE5B95D2BBC09AE497297B9D758EAB6576036A54554A3FBF48EFF","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abdul-test/providers/LambdaTest.HyperExecute/organizations/lambda-test-cli-instance-6","status":"Accepted","startTime":"2025-04-14T23:04:56.4076814Z"}' + headers: + cache-control: + - no-cache + content-length: + - '529' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 14 Apr 2025 23:07:09 GMT + etag: + - '"00003d00-0000-3300-0000-67fd94980000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-operation-identifier: + - '' + x-msedge-ref: + - 'Ref A: D32227B8F59740ACAA801E3B3124343C Ref B: MAA201060516009 Ref C: 2025-04-14T23:07:08Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - lambda-test hyper-execute organization create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --organizationname --location --marketplace --user --partner-properties + User-Agent: + - AZURECLI/2.71.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/providers/LambdaTest.HyperExecute/locations/CENTRALUSEUAP/operationStatuses/a51e9f5b-fbbd-4a90-b395-e71a1bb18aa9*925B76057FDBE5B95D2BBC09AE497297B9D758EAB6576036A54554A3FBF48EFF?api-version=2024-02-01-preview&t=638802687042168872&c=MIIHhzCCBm-gAwIBAgITfAaTsfGh4O3I6hzdiwAABpOx8TANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjM1MTA0WhcNMjUwNzIwMjM1MTA0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmmNHNWFSsNqv7hYXt5jnZhiWu70W-4oqnLQoNqpREh9ILwf_vWrKEFwHln2pZ0QL0Vzy6iBL7CjMAu06leKSRiY0PTaudFXcPZKg28HxLbC13I3XGnANo8baTVS1tjjh4tMTcEW4gJFU3FkYBnnd4vDuWu9cFNecMYtxyNXqXZQNKsExYG5-z1LKsCG-VZFtDXtdO7NCF-883QzW9AH9kyG24yulLRWXed6gk78SiLKeQwZHq3HawlcKJbtYEh01VpjYJTMLBh5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X5A5w3QLLk2GfHpVMRw-HqsQAUatTd6HlsdYfkolmzD9rMD4XDEzaqaeJTsyNtpJi0RLUErmoO6okPBraw7eWXBm01EhZODByVqyGzC-y4fFsGQoA6kq0zMxq_Pp5fPNDZh8pmn61y3IudSRs_4GBx0PGcbdfIBkxTrdw&h=smP_zgP-05W_wALj8mmzotyW_eeLy1yxKA7lCEQENBg + response: + body: + string: '{"id":"/providers/LambdaTest.HyperExecute/locations/CENTRALUSEUAP/operationStatuses/a51e9f5b-fbbd-4a90-b395-e71a1bb18aa9*925B76057FDBE5B95D2BBC09AE497297B9D758EAB6576036A54554A3FBF48EFF","name":"a51e9f5b-fbbd-4a90-b395-e71a1bb18aa9*925B76057FDBE5B95D2BBC09AE497297B9D758EAB6576036A54554A3FBF48EFF","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abdul-test/providers/LambdaTest.HyperExecute/organizations/lambda-test-cli-instance-6","status":"Accepted","startTime":"2025-04-14T23:04:56.4076814Z"}' + headers: + cache-control: + - no-cache + content-length: + - '529' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 14 Apr 2025 23:07:40 GMT + etag: + - '"00003d00-0000-3300-0000-67fd94980000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-operation-identifier: + - '' + x-msedge-ref: + - 'Ref A: BB433AFC635F437DBBD44BBD511EEEAB Ref B: MAA201060516009 Ref C: 2025-04-14T23:07:39Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - lambda-test hyper-execute organization create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --organizationname --location --marketplace --user --partner-properties + User-Agent: + - AZURECLI/2.71.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/providers/LambdaTest.HyperExecute/locations/CENTRALUSEUAP/operationStatuses/a51e9f5b-fbbd-4a90-b395-e71a1bb18aa9*925B76057FDBE5B95D2BBC09AE497297B9D758EAB6576036A54554A3FBF48EFF?api-version=2024-02-01-preview&t=638802687042168872&c=MIIHhzCCBm-gAwIBAgITfAaTsfGh4O3I6hzdiwAABpOx8TANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjM1MTA0WhcNMjUwNzIwMjM1MTA0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmmNHNWFSsNqv7hYXt5jnZhiWu70W-4oqnLQoNqpREh9ILwf_vWrKEFwHln2pZ0QL0Vzy6iBL7CjMAu06leKSRiY0PTaudFXcPZKg28HxLbC13I3XGnANo8baTVS1tjjh4tMTcEW4gJFU3FkYBnnd4vDuWu9cFNecMYtxyNXqXZQNKsExYG5-z1LKsCG-VZFtDXtdO7NCF-883QzW9AH9kyG24yulLRWXed6gk78SiLKeQwZHq3HawlcKJbtYEh01VpjYJTMLBh5ffUnp4p0ur5_1qquFhqISg5SNMXR0wUecBNg60HNXgUgDI9p7gEknaT2t54Cqw4bTMEnn_ojsECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ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ADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAISUbL4a-8x720Kq4kpvroZpGEG-7hA5QoY2g0mHaS7y5AbNsL93L6qnsXTjiW02I693A-UMSGrwRm7SMGJI9BSLl2mqV_L55Ks-NNghmV_58seSGsmgoDxbw1rvDjSjEslmSDXo1PLj6C9LKWc5gSplpYdTIjaahdzCArjQdPQOyacyglOlzcDDY2e83Q7Xcad3Py_xyh7Yld330DgYBpSZx6h1wPPSFsot18EGQ-0UoJBq9x2NrLQS3aUXzumEcft64ZQUCFzEOSRdVkf0DHsGGf2qH06ndu1dy7Olz9P0bmZ8LClRXa1vXj-Z2xWM71YT-rxrMSlzddBKBYy34uE&s=aDiajQup2hNx-UQdYC3pC4g8CX6S6GwOrYoMQDjKHblBx1441dOH-jIbxDIDEVvV9fEow7yibGHw5hqVL58UxayQNI_4z0_tBKxdzRl2Y__7_3kpAxdE3f-jZOVvtbFn_OgAhQKJTC_w_wMcSVShXY0ndhsUCt2IyGyIga4Im6UG5R46GX5A5w3QLLk2GfHpVMRw-HqsQAUatTd6HlsdYfkolmzD9rMD4XDEzaqaeJTsyNtpJi0RLUErmoO6okPBraw7eWXBm01EhZODByVqyGzC-y4fFsGQoA6kq0zMxq_Pp5fPNDZh8pmn61y3IudSRs_4GBx0PGcbdfIBkxTrdw&h=smP_zgP-05W_wALj8mmzotyW_eeLy1yxKA7lCEQENBg + response: + body: + string: '{"id":"/providers/LambdaTest.HyperExecute/locations/CENTRALUSEUAP/operationStatuses/a51e9f5b-fbbd-4a90-b395-e71a1bb18aa9*925B76057FDBE5B95D2BBC09AE497297B9D758EAB6576036A54554A3FBF48EFF","name":"a51e9f5b-fbbd-4a90-b395-e71a1bb18aa9*925B76057FDBE5B95D2BBC09AE497297B9D758EAB6576036A54554A3FBF48EFF","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abdul-test/providers/LambdaTest.HyperExecute/organizations/lambda-test-cli-instance-6","status":"Succeeded","startTime":"2025-04-14T23:04:56.4076814Z","endTime":"2025-04-14T23:07:44.3198141Z","error":{"code":"","message":""},"properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '622' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 14 Apr 2025 23:08:11 GMT + etag: + - '"00003e00-0000-3300-0000-67fd95400000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-operation-identifier: + - '' + x-msedge-ref: + - 'Ref A: 01A0A04907614AE6B83FE8A4C70EC8B4 Ref B: MAA201060516009 Ref C: 2025-04-14T23:08:10Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - lambda-test hyper-execute organization create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --organizationname --location --marketplace --user --partner-properties + User-Agent: + - AZURECLI/2.71.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abdul-test/providers/LambdaTest.HyperExecute/organizations/lambda-test-cli-instance-6?api-version=2024-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abdul-test/providers/LambdaTest.HyperExecute/organizations/lambda-test-cli-instance-6","name":"lambda-test-cli-instance-6","type":"lambdatest.hyperexecute/organizations","location":"centraluseuap","systemData":{"createdBy":"aggarwalsw@microsoft.com","createdByType":"User","createdAt":"2025-04-14T23:04:50.6544099Z","lastModifiedBy":"aggarwalsw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-04-14T23:04:50.6544099Z"},"properties":{"marketplace":{"subscriptionId":"860b4e2a-2e5c-43f9-da00-4ab5c6ee0f0a","subscriptionStatus":"Subscribed","offerDetails":{"publisherId":"lambdatestinc1584019832435","offerId":"lambdatest_liftr_testing","planId":"testing","planName":"testing_liftr","termUnit":"P1Y","termId":"o73usof6rkyy"}},"provisioningState":"Succeeded","user":{"firstName":"Swati","lastName":"Aggarwal","emailAddress":"aggarwalsw@microsoft.com","upn":"aggarwalsw@microsoft.com"},"partnerProperties":{"licensesSubscribed":1}}}' + headers: + cache-control: + - no-cache + content-length: + - '1019' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 14 Apr 2025 23:08:11 GMT + etag: + - '"0100c414-0000-3300-0000-67fd95400000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 9655A51355FC4334839293607EE1D936 Ref B: MAA201060516009 Ref C: 2025-04-14T23:08:11Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - lambda-test hyper-execute organization list + Connection: + - keep-alive + ParameterSetName: + - --resource-group + User-Agent: + - AZURECLI/2.71.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jawt-rg/providers/LambdaTest.HyperExecute/organizations?api-version=2024-02-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jawt-rg/providers/lambdatest.hyperexecute/organizations/liftr-lamda-org-1","name":"liftr-lamda-org-1","type":"lambdatest.hyperexecute/organizations","location":"East + US","tags":{},"systemData":{"createdBy":"jawt@microsoft.com","createdByType":"User","createdAt":"2024-12-17T11:00:11.8405266Z","lastModifiedBy":"jawt@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-12-17T11:00:11.8405266Z"},"properties":{"marketplace":{"subscriptionId":"7f0e6b73-6e01-47dc-c79b-30ab306ee343","subscriptionStatus":"Subscribed","offerDetails":{"publisherId":"lambdatestinc1584019832435","offerId":"lambdatest_liftr_testing","planId":"testing","planName":"testing_liftr","termUnit":"P1Y","termId":"o73usof6rkyy"}},"provisioningState":"Succeeded","user":{"firstName":"","lastName":"","emailAddress":"jawt@microsoft.com","upn":"jawt@microsoft.com","phoneNumber":""},"partnerProperties":{"licensesSubscribed":1}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jawt-rg/providers/lambdatest.hyperexecute/organizations/liftr-lambdatest-org2","name":"liftr-lambdatest-org2","type":"lambdatest.hyperexecute/organizations","location":"East + US","tags":{},"systemData":{"createdBy":"jawt@microsoft.com","createdByType":"User","createdAt":"2025-01-30T09:57:25.0339272Z","lastModifiedBy":"jawt@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-01-30T14:59:47.1518696Z"},"properties":{"marketplace":{"subscriptionId":"7eb9debf-097c-4c49-d737-65a3c97f5654","subscriptionStatus":"Subscribed","offerDetails":{"publisherId":"lambdatestinc1584019832435","offerId":"lambdatest_liftr_testing","planId":"testing","planName":"testing_liftr","termUnit":"P1Y","termId":"o73usof6rkyy"}},"provisioningState":"Deleting","user":{"firstName":"","lastName":"","emailAddress":"jawt@microsoft.com","upn":"jawt@microsoft.com","phoneNumber":""},"partnerProperties":{"licensesSubscribed":2}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jawt-rg/providers/lambdatest.hyperexecute/organizations/liftr-lambdatest-org3","name":"liftr-lambdatest-org3","type":"lambdatest.hyperexecute/organizations","location":"East + US","tags":{},"systemData":{"createdBy":"jawt@microsoft.com","createdByType":"User","createdAt":"2025-01-30T15:25:38.2032463Z","lastModifiedBy":"jawt@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-01-30T15:25:38.2032463Z"},"properties":{"marketplace":{"subscriptionId":"3ed86d3e-dedd-4305-dec5-76b6411fd163","subscriptionStatus":"Subscribed","offerDetails":{"publisherId":"lambdatestinc1584019832435","offerId":"lambdatest_liftr_testing","planId":"testing","planName":"testing_liftr","termUnit":"P1Y","termId":"o73usof6rkyy"}},"provisioningState":"Succeeded","user":{"firstName":"","lastName":"","emailAddress":"jawt@microsoft.com","upn":"jawt@microsoft.com","phoneNumber":""},"partnerProperties":{"licensesSubscribed":1}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jawt-rg/providers/lambdatest.hyperexecute/organizations/liftr-lambdatest-org4","name":"liftr-lambdatest-org4","type":"lambdatest.hyperexecute/organizations","location":"East + US","tags":{},"systemData":{"createdBy":"jawt@microsoft.com","createdByType":"User","createdAt":"2025-02-04T11:00:01.9742389Z","lastModifiedBy":"jawt@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-02-04T11:00:01.9742389Z"},"properties":{"marketplace":{"subscriptionId":"d1815e67-86e7-4ce4-ca3a-b6e7af098dc0","subscriptionStatus":"Subscribed","offerDetails":{"publisherId":"lambdatestinc1584019832435","offerId":"lambdatest_liftr_testing","planId":"testing","planName":"testing_liftr","termUnit":"P1Y","termId":"o73usof6rkyy"}},"provisioningState":"Succeeded","user":{"firstName":"","lastName":"","emailAddress":"jawt@microsoft.com","upn":"jawt@microsoft.com","phoneNumber":""},"partnerProperties":{"licensesSubscribed":2}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jawt-rg/providers/lambdatest.hyperexecute/organizations/liftr-lambdatest-org6","name":"liftr-lambdatest-org6","type":"lambdatest.hyperexecute/organizations","location":"East + US","tags":{},"systemData":{"createdBy":"jawt@microsoft.com","createdByType":"User","createdAt":"2025-02-28T08:58:29.4879882Z","lastModifiedBy":"jawt@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-02-28T08:58:29.4879882Z"},"properties":{"marketplace":{"subscriptionId":"65169ecd-0a03-4186-df3b-2d5d6a4bf58b","subscriptionStatus":"Subscribed","offerDetails":{"publisherId":"lambdatestinc1584019832435","offerId":"lambdatest_liftr_testing","planId":"testing","planName":"testing_liftr","termUnit":"P1Y","termId":"o73usof6rkyy"}},"provisioningState":"Succeeded","user":{"firstName":"","lastName":"","emailAddress":"jawt@microsoft.com","upn":"jawt@microsoft.com","phoneNumber":""},"partnerProperties":{"licensesSubscribed":1}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jawt-rg/providers/lambdatest.hyperexecute/organizations/liftr-lambdatest-org5","name":"liftr-lambdatest-org5","type":"lambdatest.hyperexecute/organizations","location":"East + US 2 EUAP","tags":{},"systemData":{"createdBy":"jawt@microsoft.com","createdByType":"User","createdAt":"2025-02-21T05:01:40.3653906Z","lastModifiedBy":"jawt@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-02-21T05:01:40.3653906Z"},"properties":{"marketplace":{"subscriptionId":"1aecfec7-4e82-492e-d8d7-e73fd65dc3cd","subscriptionStatus":"Subscribed","offerDetails":{"publisherId":"lambdatestinc1584019832435","offerId":"lambdatest_liftr_testing","planId":"testing","planName":"testing_liftr","termUnit":"P1Y","termId":"o73usof6rkyy"}},"provisioningState":"Succeeded","user":{"firstName":"","lastName":"","emailAddress":"jawt@microsoft.com","upn":"jawt@microsoft.com","phoneNumber":""},"partnerProperties":{"licensesSubscribed":2}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jawt-rg/providers/lambdatest.hyperexecute/organizations/liftr-lambdatest-org7","name":"liftr-lambdatest-org7","type":"lambdatest.hyperexecute/organizations","location":"East + US 2 EUAP","tags":{},"systemData":{"createdBy":"jawt@microsoft.com","createdByType":"User","createdAt":"2025-03-17T08:32:45.5527015Z","lastModifiedBy":"jawt@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-17T08:32:45.5527015Z"},"properties":{"marketplace":{"subscriptionId":"76024898-a56b-473d-c509-bbd039271d31","subscriptionStatus":"Subscribed","offerDetails":{"publisherId":"lambdatestinc1584019832435","offerId":"lambdatest_liftr_testing","planId":"testing","planName":"testing_liftr","termUnit":"P1Y","termId":"o73usof6rkyy"}},"provisioningState":"Succeeded","user":{"firstName":"","lastName":"","emailAddress":"jawt@microsoft.com","upn":"jawt@microsoft.com","phoneNumber":""},"partnerProperties":{"licensesSubscribed":2}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jawt-rg/providers/lambdatest.hyperexecute/organizations/liftr-lambdatest-org8","name":"liftr-lambdatest-org8","type":"lambdatest.hyperexecute/organizations","location":"East + US 2 EUAP","tags":{},"systemData":{"createdBy":"jawt@microsoft.com","createdByType":"User","createdAt":"2025-03-17T09:16:14.2399107Z","lastModifiedBy":"jawt@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-17T09:16:14.2399107Z"},"properties":{"marketplace":{"subscriptionId":"860b1cc5-f052-4a2a-cfc1-8cdbd798cf0b","subscriptionStatus":"Subscribed","offerDetails":{"publisherId":"lambdatestinc1584019832435","offerId":"lambdatest_liftr_testing","planId":"testing","planName":"testing_liftr","termUnit":"P1Y","termId":"o73usof6rkyy"}},"provisioningState":"Succeeded","user":{"firstName":"","lastName":"","emailAddress":"jawt@microsoft.com","upn":"jawt@microsoft.com","phoneNumber":""},"partnerProperties":{"licensesSubscribed":1}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jawt-rg/providers/lambdatest.hyperexecute/organizations/liftr-lambdatest-org9","name":"liftr-lambdatest-org9","type":"lambdatest.hyperexecute/organizations","location":"East + US 2 EUAP","tags":{},"systemData":{"createdBy":"jawt@microsoft.com","createdByType":"User","createdAt":"2025-03-17T10:00:39.2945096Z","lastModifiedBy":"jawt@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-17T10:00:39.2945096Z"},"properties":{"marketplace":{"subscriptionId":"da72d807-2e53-4ef2-c246-27f3452f7ab0","subscriptionStatus":"Subscribed","offerDetails":{"publisherId":"lambdatestinc1584019832435","offerId":"lambdatest_liftr_testing","planId":"testing","planName":"testing_liftr","termUnit":"P1Y","termId":"o73usof6rkyy"}},"provisioningState":"Succeeded","user":{"firstName":"","lastName":"","emailAddress":"jawt@microsoft.com","upn":"jawt@microsoft.com","phoneNumber":""},"partnerProperties":{"licensesSubscribed":3}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jawt-rg/providers/lambdatest.hyperexecute/organizations/liftr-lambdatest-org-1","name":"liftr-lambdatest-org-1","type":"lambdatest.hyperexecute/organizations","location":"East + US 2 EUAP","tags":{},"systemData":{"lastModifiedBy":"jawt@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-04-10T14:33:10.2759783Z"},"properties":{"marketplace":{"subscriptionId":"6d536b3b-5951-402e-c029-644f2d27cafe","subscriptionStatus":"Subscribed","offerDetails":{"publisherId":"lambdatestinc1584019832435","offerId":"lambdatest_liftr_testing","planId":"testing","planName":"testing_liftr","termUnit":"P1Y","termId":"o73usof6rkyy"}},"provisioningState":"Succeeded","user":{"firstName":"","lastName":"","emailAddress":"jawt@microsoft.com","upn":"jawt@microsoft.com","phoneNumber":""},"partnerProperties":{"licensesSubscribed":1},"singleSignOnProperties":{"type":"Saml","state":"Initial","enterpriseAppId":"020e96e1-5395-41f2-bc13-352f16b506e8","aadDomains":["MicrosoftCustomerLed.onmicrosoft.com"]}}}]}' + headers: + cache-control: + - no-cache + content-length: + - '10020' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 14 Apr 2025 23:08:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - 352d5f38-e969-4f4c-b784-2948b18480ee + - 4b2f812a-2845-4835-a06b-051cb5820c89 + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 9DFCAAB578764D6AB4512FCF6C0D997C Ref B: MAA201060513019 Ref C: 2025-04-14T23:08:12Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - lambda-test hyper-execute organization show + Connection: + - keep-alive + ParameterSetName: + - --resource-group --organizationname + User-Agent: + - AZURECLI/2.71.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abdul-test/providers/LambdaTest.HyperExecute/organizations/lambda-test-cli-instance-6?api-version=2024-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abdul-test/providers/LambdaTest.HyperExecute/organizations/lambda-test-cli-instance-6","name":"lambda-test-cli-instance-6","type":"lambdatest.hyperexecute/organizations","location":"centraluseuap","systemData":{"createdBy":"aggarwalsw@microsoft.com","createdByType":"User","createdAt":"2025-04-14T23:04:50.6544099Z","lastModifiedBy":"aggarwalsw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-04-14T23:04:50.6544099Z"},"properties":{"marketplace":{"subscriptionId":"860b4e2a-2e5c-43f9-da00-4ab5c6ee0f0a","subscriptionStatus":"Subscribed","offerDetails":{"publisherId":"lambdatestinc1584019832435","offerId":"lambdatest_liftr_testing","planId":"testing","planName":"testing_liftr","termUnit":"P1Y","termId":"o73usof6rkyy"}},"provisioningState":"Succeeded","user":{"firstName":"Swati","lastName":"Aggarwal","emailAddress":"aggarwalsw@microsoft.com","upn":"aggarwalsw@microsoft.com"},"partnerProperties":{"licensesSubscribed":1}}}' + headers: + cache-control: + - no-cache + content-length: + - '1019' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 14 Apr 2025 23:08:14 GMT + etag: + - '"0100c414-0000-3300-0000-67fd95400000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 9C55C97F60C74A98A0737331C80A597E Ref B: MAA201060516049 Ref C: 2025-04-14T23:08:13Z' + status: + code: 200 + message: OK +version: 1 diff --git a/src/lambda-test/azext_lambda_test/tests/latest/test_lambda_test.py b/src/lambda-test/azext_lambda_test/tests/latest/test_lambda_test.py new file mode 100644 index 00000000000..5bd1140068f --- /dev/null +++ b/src/lambda-test/azext_lambda_test/tests/latest/test_lambda_test.py @@ -0,0 +1,53 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +from azure.cli.testsdk import * + + +class LambdaTestScenario(ScenarioTest): + @ResourceGroupPreparer(name_prefix='test_lambda_test', location="centraluseuap") + def test_lambda_test(self, resource_group): + self.kwargs.update({ + 'name': 'lambda-test-cli-instance-6', + 'location': 'centraluseuap', + 'marketplace_subscription_id': 'fc35d936-3b89-41f8-8110-a24b56826c37', + 'publisher_id': 'lambdatestinc1584019832435', + 'offer_id': 'lambdatest_liftr_testing', + 'plan_id': 'testing', + 'plan_name': 'testing_liftr', + 'term_unit': 'P1Y', + 'term_id': 'o73usof6rkyy', + 'user_first_name': 'Swati', + 'user_last_name': 'Aggarwal', + 'user_email': 'aggarwalsw@microsoft.com', + 'user_upn': 'aggarwalsw@microsoft.com', + 'resource_group': 'abdul-test', + 'description': 'Test-Description', + 'licenses-subscribed': 1, + 'list-resource-group': 'jawt-rg', + + }) + + # Create LambdaTest Organization + self.cmd('az lambda-test hyper-execute organization create --resource-group {resource_group} --organizationname {name} --location {location} ' + '--marketplace \'{{"subscription-id": "{marketplace_subscription_id}", ' + '"offer-details": {{"publisher-id": "{publisher_id}", "offer-id": "{offer_id}", "plan-id": "{plan_id}", "plan-name": "{plan_name}", "term-unit": "{term_unit}", "term-id": "{term_id}"}}}}\' ' + '--user \'{{"first-name": "{user_first_name}", "last-name": "{user_last_name}", "email-address": "{user_email}", "upn": "{user_upn}"}}\' ' + '--partner-properties \'{{"licenses-subscribed": {licenses-subscribed}}}\' ', + checks=[ + self.check('name', '{name}'), + ]) + + # List LambdaTest Organizations + self.cmd('az lambda-test hyper-execute organization list --resource-group {list-resource-group}', + checks=[]) + + # Show LambdaTest Organization + self.cmd('az lambda-test hyper-execute organization show --resource-group {resource_group} --organizationname {name}', + checks=[ + self.check('name', '{name}'), + ]) diff --git a/src/lambda-test/setup.cfg b/src/lambda-test/setup.cfg new file mode 100644 index 00000000000..2fdd96e5d39 --- /dev/null +++ b/src/lambda-test/setup.cfg @@ -0,0 +1 @@ +#setup.cfg \ No newline at end of file diff --git a/src/lambda-test/setup.py b/src/lambda-test/setup.py new file mode 100644 index 00000000000..bded0780f0f --- /dev/null +++ b/src/lambda-test/setup.py @@ -0,0 +1,49 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +from codecs import open +from setuptools import setup, find_packages + + +# HISTORY.rst entry. +VERSION = '1.0.0b1' + +# The full list of classifiers is available at +# https://pypi.python.org/pypi?%3Aaction=list_classifiers +CLASSIFIERS = [ + 'Development Status :: 4 - Beta', + 'Intended Audience :: Developers', + 'Intended Audience :: System Administrators', + 'Programming Language :: Python', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'License :: OSI Approved :: MIT License', +] + +DEPENDENCIES = [] + +with open('README.md', 'r', encoding='utf-8') as f: + README = f.read() +with open('HISTORY.rst', 'r', encoding='utf-8') as f: + HISTORY = f.read() + +setup( + name='lambda-test', + version=VERSION, + description='Microsoft Azure Command-Line Tools LambdaTest Extension.', + long_description=README + '\n\n' + HISTORY, + license='MIT', + author='Microsoft Corporation', + author_email='azpycli@microsoft.com', + url='https://github.com/Azure/azure-cli-extensions/tree/main/src/lambda-test', + classifiers=CLASSIFIERS, + packages=find_packages(exclude=["tests"]), + package_data={'azext_lambda_test': ['azext_metadata.json']}, + install_requires=DEPENDENCIES +) diff --git a/src/service_name.json b/src/service_name.json index 4904fb10d97..637512e7e88 100644 --- a/src/service_name.json +++ b/src/service_name.json @@ -938,5 +938,10 @@ "Command": "az weights-and-biases", "AzureServiceName": "WeightsAndBiases", "URL": "https://learn.microsoft.com/en-us/azure/partner-solutions" + }, + { + "Command": "az lambda-test", + "AzureServiceName": "LambdaTest", + "URL": "https://learn.microsoft.com/en-us/azure/partner-solutions" } ]