diff --git a/src/arize-ai/HISTORY.rst b/src/arize-ai/HISTORY.rst new file mode 100644 index 00000000000..abbff5a61a7 --- /dev/null +++ b/src/arize-ai/HISTORY.rst @@ -0,0 +1,8 @@ +.. :changelog: + +Release History +=============== + +1.0.0b1 +++++++ +* Initial release. \ No newline at end of file diff --git a/src/arize-ai/README.md b/src/arize-ai/README.md new file mode 100644 index 00000000000..7461c9bd9f9 --- /dev/null +++ b/src/arize-ai/README.md @@ -0,0 +1,40 @@ +# Azure CLI ArizeAi Extension # +This is an extension to Azure CLI to manage ArizeAi resources. + +## How to use ## +#### Install the extension #### +Install this extension using the below CLI command +``` +az extension add --name arize-ai +``` +#### Check the version #### +``` +az extension show --name arize-ai --query version +``` +#### Connect to Azure subscription #### +``` +az login +az account set -s {subs_id} +``` +#### Create a resource group (or use an existing one) #### +``` +az group create -n testrg -l eastus +``` +#### Create an arize-ai organization resource #### +``` +az arize-ai observability-eval organization create --resource-group QM_clitest_qumulo2_eastus --organizationname test-cli-instance-4 --marketplace "{subscription-id: fc35d936-3b89-41f8-8110-a24b56826c37,offer-details:{publisher-id:arizeai1657829589668,offer-id:arize-liftr-0,plan-id:liftr-test-0,plan-name:Liftr Test 0}}" --user "{first-name:"",last-name:"",email-address:aggarwalsw@microsoft.com,upn:aggarwalsw@microsoft.com}" --partner-properties "{description:'Test Description'}" --location "East US" +``` +#### List an arize-ai organization resource #### +``` +az arize-ai observability-eval organization show --resource-group QM_clitest_qumulo2_eastus +``` +#### Get an arize-ai organization resource #### +``` +az arize-ai observability-eval organization show --resource-group QM_clitest_qumulo2_eastus --organizationname test-cli-instance-5 +``` +#### Delete an arize-ai organization resource #### +``` +az arize-ai observability-eval organization delete --resource-group QM_clitest_qumulo2_eastus --organizationname test-cli-instance-5 +``` + +If you have issues, please give feedback by opening an issue at https://github.com/Azure/azure-cli-extensions/issues. diff --git a/src/arize-ai/azext_arize_ai/__init__.py b/src/arize-ai/azext_arize_ai/__init__.py new file mode 100644 index 00000000000..f4ad8baaeb2 --- /dev/null +++ b/src/arize-ai/azext_arize_ai/__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_arize_ai._help import helps # pylint: disable=unused-import + + +class ArizeAiCommandsLoader(AzCommandsLoader): + + def __init__(self, cli_ctx=None): + from azure.cli.core.commands import CliCommandType + custom_command_type = CliCommandType( + operations_tmpl='azext_arize_ai.custom#{}') + super().__init__(cli_ctx=cli_ctx, + custom_command_type=custom_command_type) + + def load_command_table(self, args): + from azext_arize_ai.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_arize_ai._params import load_arguments + load_arguments(self, command) + + +COMMAND_LOADER_CLS = ArizeAiCommandsLoader diff --git a/src/arize-ai/azext_arize_ai/_help.py b/src/arize-ai/azext_arize_ai/_help.py new file mode 100644 index 00000000000..126d5d00714 --- /dev/null +++ b/src/arize-ai/azext_arize_ai/_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/arize-ai/azext_arize_ai/_params.py b/src/arize-ai/azext_arize_ai/_params.py new file mode 100644 index 00000000000..cfcec717c9c --- /dev/null +++ b/src/arize-ai/azext_arize_ai/_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/arize-ai/azext_arize_ai/aaz/__init__.py b/src/arize-ai/azext_arize_ai/aaz/__init__.py new file mode 100644 index 00000000000..5757aea3175 --- /dev/null +++ b/src/arize-ai/azext_arize_ai/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/arize-ai/azext_arize_ai/aaz/latest/__init__.py b/src/arize-ai/azext_arize_ai/aaz/latest/__init__.py new file mode 100644 index 00000000000..f6acc11aa4e --- /dev/null +++ b/src/arize-ai/azext_arize_ai/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/arize-ai/azext_arize_ai/aaz/latest/arize_ai/__cmd_group.py b/src/arize-ai/azext_arize_ai/aaz/latest/arize_ai/__cmd_group.py new file mode 100644 index 00000000000..d29ab2774f5 --- /dev/null +++ b/src/arize-ai/azext_arize_ai/aaz/latest/arize_ai/__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( + "arize-ai", +) +class __CMDGroup(AAZCommandGroup): + """Manage Arize Ai + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/arize-ai/azext_arize_ai/aaz/latest/arize_ai/__init__.py b/src/arize-ai/azext_arize_ai/aaz/latest/arize_ai/__init__.py new file mode 100644 index 00000000000..5a9d61963d6 --- /dev/null +++ b/src/arize-ai/azext_arize_ai/aaz/latest/arize_ai/__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/arize-ai/azext_arize_ai/aaz/latest/arize_ai/observability_eval/__cmd_group.py b/src/arize-ai/azext_arize_ai/aaz/latest/arize_ai/observability_eval/__cmd_group.py new file mode 100644 index 00000000000..df97cbbe4a7 --- /dev/null +++ b/src/arize-ai/azext_arize_ai/aaz/latest/arize_ai/observability_eval/__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( + "arize-ai observability-eval", +) +class __CMDGroup(AAZCommandGroup): + """Manage Observability Eval + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/arize-ai/azext_arize_ai/aaz/latest/arize_ai/observability_eval/__init__.py b/src/arize-ai/azext_arize_ai/aaz/latest/arize_ai/observability_eval/__init__.py new file mode 100644 index 00000000000..5a9d61963d6 --- /dev/null +++ b/src/arize-ai/azext_arize_ai/aaz/latest/arize_ai/observability_eval/__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/arize-ai/azext_arize_ai/aaz/latest/arize_ai/observability_eval/organization/__cmd_group.py b/src/arize-ai/azext_arize_ai/aaz/latest/arize_ai/observability_eval/organization/__cmd_group.py new file mode 100644 index 00000000000..c403021e18a --- /dev/null +++ b/src/arize-ai/azext_arize_ai/aaz/latest/arize_ai/observability_eval/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( + "arize-ai observability-eval organization", +) +class __CMDGroup(AAZCommandGroup): + """Manage Organization + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/arize-ai/azext_arize_ai/aaz/latest/arize_ai/observability_eval/organization/__init__.py b/src/arize-ai/azext_arize_ai/aaz/latest/arize_ai/observability_eval/organization/__init__.py new file mode 100644 index 00000000000..2d1a2078686 --- /dev/null +++ b/src/arize-ai/azext_arize_ai/aaz/latest/arize_ai/observability_eval/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/arize-ai/azext_arize_ai/aaz/latest/arize_ai/observability_eval/organization/_create.py b/src/arize-ai/azext_arize_ai/aaz/latest/arize_ai/observability_eval/organization/_create.py new file mode 100644 index 00000000000..d682c59fce6 --- /dev/null +++ b/src/arize-ai/azext_arize_ai/aaz/latest/arize_ai/observability_eval/organization/_create.py @@ -0,0 +1,590 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "arize-ai observability-eval organization create", +) +class Create(AAZCommand): + """Create a OrganizationResource + + :example: Organizations_CreateOrUpdate - generated by [MaximumSet] rule + az arize-ai observability-eval organization create --resource-group QM_clitest_qumulo2_eastus --organizationname test-cli-instance-4 --marketplace "{subscription-id: fc35d936-3b89-41f8-8110-a24b56826c37,offer-details:{publisher-id:arizeai1657829589668,offer-id:arize-liftr-0,plan-id:liftr-test-0,plan-name:Liftr Test 0}}" --user "{first-name:"",last-name:"",email-address:aggarwalsw@microsoft.com,upn:aggarwalsw@microsoft.com}" --partner-properties "{description:'Test Description'}" --location "East US" + """ + + _aaz_info = { + "version": "2024-10-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/arizeai.observabilityeval/organizations/{}", "2024-10-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.description = AAZStrArg( + options=["description"], + help="Description of the Organization's purpose", + required=True, + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z0-9_\\-.:\\/ ]*$", + max_length=200, + ), + ) + + 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=False) + 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/ArizeAi.ObservabilityEval/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-10-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") + 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("description", AAZStrType, ".description", 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", + ) + 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.description = AAZStrType( + 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/arize-ai/azext_arize_ai/aaz/latest/arize_ai/observability_eval/organization/_delete.py b/src/arize-ai/azext_arize_ai/aaz/latest/arize_ai/observability_eval/organization/_delete.py new file mode 100644 index 00000000000..b454702e0f9 --- /dev/null +++ b/src/arize-ai/azext_arize_ai/aaz/latest/arize_ai/observability_eval/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( + "arize-ai observability-eval organization delete", + confirmation="Are you sure you want to perform this operation?", +) +class Delete(AAZCommand): + """Delete a OrganizationResource + + :example: Organizations_Delete - generated by [MaximumSet] rule + az arize-ai observability-eval organization delete --resource-group QM_clitest_qumulo2_eastus --organizationname test-cli-instance-5 + """ + + _aaz_info = { + "version": "2024-10-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/arizeai.observabilityeval/organizations/{}", "2024-10-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/ArizeAi.ObservabilityEval/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-10-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/arize-ai/azext_arize_ai/aaz/latest/arize_ai/observability_eval/organization/_list.py b/src/arize-ai/azext_arize_ai/aaz/latest/arize_ai/observability_eval/organization/_list.py new file mode 100644 index 00000000000..756a8c968a5 --- /dev/null +++ b/src/arize-ai/azext_arize_ai/aaz/latest/arize_ai/observability_eval/organization/_list.py @@ -0,0 +1,584 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "arize-ai observability-eval organization list", +) +class List(AAZCommand): + """List OrganizationResource resources by resource group + + :example: Organizations_ListBySubscription - generated by [MaximumSet] rule + az arize-ai observability-eval organization list --resource-group QM_clitest_qumulo2_eastus + """ + + _aaz_info = { + "version": "2024-10-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/arizeai.observabilityeval/organizations", "2024-10-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/arizeai.observabilityeval/organizations", "2024-10-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.args.resource_group) and has_value(self.ctx.subscription_id) + condition_1 = has_value(self.ctx.subscription_id) and has_value(self.ctx.args.resource_group) is not True + if condition_0: + self.OrganizationsListByResourceGroup(ctx=self.ctx)() + if condition_1: + self.OrganizationsListBySubscription(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 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/ArizeAi.ObservabilityEval/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-10-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", + ) + 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.description = AAZStrType( + 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 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/ArizeAi.ObservabilityEval/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-10-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", + ) + 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.description = AAZStrType( + 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/arize-ai/azext_arize_ai/aaz/latest/arize_ai/observability_eval/organization/_show.py b/src/arize-ai/azext_arize_ai/aaz/latest/arize_ai/observability_eval/organization/_show.py new file mode 100644 index 00000000000..8f059888d47 --- /dev/null +++ b/src/arize-ai/azext_arize_ai/aaz/latest/arize_ai/observability_eval/organization/_show.py @@ -0,0 +1,332 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "arize-ai observability-eval organization show", +) +class Show(AAZCommand): + """Get a OrganizationResource + + :example: Organizations_Get - generated by [MaximumSet] rule + az arize-ai observability-eval organization show --resource-group QM_clitest_qumulo2_eastus --organizationname test-cli-instance-5 + """ + + _aaz_info = { + "version": "2024-10-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/arizeai.observabilityeval/organizations/{}", "2024-10-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/ArizeAi.ObservabilityEval/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-10-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", + ) + 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.description = AAZStrType( + 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/arize-ai/azext_arize_ai/aaz/latest/arize_ai/observability_eval/organization/_wait.py b/src/arize-ai/azext_arize_ai/aaz/latest/arize_ai/observability_eval/organization/_wait.py new file mode 100644 index 00000000000..affb712b622 --- /dev/null +++ b/src/arize-ai/azext_arize_ai/aaz/latest/arize_ai/observability_eval/organization/_wait.py @@ -0,0 +1,328 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "arize-ai observability-eval 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/arizeai.observabilityeval/organizations/{}", "2024-10-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/ArizeAi.ObservabilityEval/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-10-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", + ) + 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.description = AAZStrType( + 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/arize-ai/azext_arize_ai/azext_metadata.json b/src/arize-ai/azext_arize_ai/azext_metadata.json new file mode 100644 index 00000000000..e506328978c --- /dev/null +++ b/src/arize-ai/azext_arize_ai/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/arize-ai/azext_arize_ai/commands.py b/src/arize-ai/azext_arize_ai/commands.py new file mode 100644 index 00000000000..b0d842e4993 --- /dev/null +++ b/src/arize-ai/azext_arize_ai/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/arize-ai/azext_arize_ai/custom.py b/src/arize-ai/azext_arize_ai/custom.py new file mode 100644 index 00000000000..86df1e48ef5 --- /dev/null +++ b/src/arize-ai/azext_arize_ai/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/arize-ai/azext_arize_ai/tests/__init__.py b/src/arize-ai/azext_arize_ai/tests/__init__.py new file mode 100644 index 00000000000..5757aea3175 --- /dev/null +++ b/src/arize-ai/azext_arize_ai/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/arize-ai/azext_arize_ai/tests/latest/__init__.py b/src/arize-ai/azext_arize_ai/tests/latest/__init__.py new file mode 100644 index 00000000000..5757aea3175 --- /dev/null +++ b/src/arize-ai/azext_arize_ai/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/arize-ai/azext_arize_ai/tests/latest/recordings/test_arize_ai.yaml b/src/arize-ai/azext_arize_ai/tests/latest/recordings/test_arize_ai.yaml new file mode 100644 index 00000000000..560d9138dde --- /dev/null +++ b/src/arize-ai/azext_arize_ai/tests/latest/recordings/test_arize_ai.yaml @@ -0,0 +1,472 @@ +interactions: +- request: + body: '{"location": "eastus", "properties": {"marketplace": {"offerDetails": {"offerId": + "arize-liftr-0", "planId": "liftr-test-0", "planName": "Liftr Test 0", "publisherId": + "arizeai1657829589668", "termId": "gmz7xq9ge3py", "termUnit": "P1M"}, "subscriptionId": + "fc35d936-3b89-41f8-8110-a24b56826c37"}, "partnerProperties": {"description": + "Test-Description"}, "user": {"emailAddress": "aggarwalsw@microsoft.com", "firstName": + "Swati", "lastName": "Aggarwal", "upn": "aggarwalsw@microsoft.com"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - arize-ai observability-eval organization create + Connection: + - keep-alive + Content-Length: + - '490' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --organizationname --location --marketplace --user --partner-properties + User-Agent: + - AZURECLI/2.70.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/QM_clitest_qumulo2_eastus/providers/ArizeAi.ObservabilityEval/organizations/Arize-test-cli-instance-1?api-version=2024-10-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/QM_clitest_qumulo2_eastus/providers/ArizeAi.ObservabilityEval/organizations/Arize-test-cli-instance-1","name":"Arize-test-cli-instance-1","type":"arizeai.observabilityeval/organizations","location":"eastus","systemData":{"createdBy":"aggarwalsw@microsoft.com","createdByType":"User","createdAt":"2025-03-20T01:12:27.5564296Z","lastModifiedBy":"aggarwalsw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-20T01:12:27.5564296Z"},"properties":{"marketplace":{"subscriptionId":"fc35d936-3b89-41f8-8110-a24b56826c37","subscriptionStatus":"PendingFulfillmentStart","offerDetails":{"publisherId":"arizeai1657829589668","offerId":"arize-liftr-0","planId":"liftr-test-0","planName":"Liftr + Test 0","termUnit":"P1M","termId":"gmz7xq9ge3py"}},"provisioningState":"Accepted","user":{"firstName":"Swati","lastName":"Aggarwal","emailAddress":"aggarwalsw@microsoft.com","upn":"aggarwalsw@microsoft.com"},"partnerProperties":{"description":"Test-Description"}}}' + headers: + azure-asyncoperation: + - https://management.azure.com/providers/ArizeAi.ObservabilityEval/locations/EASTUS/operationStatuses/a5ceb939-151b-4684-9777-a02271da8580*8DDF0B304509855FA082AD6DB6109EB264DCBF6E9A840ED257E73E11240949FB?api-version=2024-10-01-preview&t=638780299561190406&c=MIIHhzCCBm-gAwIBAgITfAaTsfGh4O3I6hzdiwAABpOx8TANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjM1MTA0WhcNMjUwNzIwMjM1MTA0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmmNHNWFSsNqv7hYXt5jnZhiWu70W-4oqnLQoNqpREh9ILwf_vWrKEFwHln2pZ0QL0Vzy6iBL7CjMAu06leKSRiY0PTaudFXcPZKg28HxLbC13I3XGnANo8baTVS1tjjh4tMTcEW4gJFU3FkYBnnd4vDuWu9cFNecMYtxyNXqXZQNKsExYG5-z1LKsCG-VZFtDXtdO7NCF-883QzW9AH9kyG24yulLRWXed6gk78SiLKeQwZHq3HawlcKJbtYEh01V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U3NqKLpzDkPtKizzWQNMTnbIr5SiNq1gTKhfHhrBBlGJBX57xwlnAFFdxti20rcgzGjhSX8VN7-7jLs2tRAQcRFJzbCd0Oe30ZOcP--hTJyO20Zp3-yN47jhySzPXDO3QblcBhgkT90-8Gv-yFBam7f-xLmV2kYd44YmB3-5uz666pYn7YVwQ&h=dD9Edp7uPbyjRtQgQMrTa1mFIBNQ0O6BWDglAqYu_UY + cache-control: + - no-cache + content-length: + - '1038' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Mar 2025 01:12:35 GMT + etag: + - '"0500ece0-0000-0300-0000-67db6b830000"' + expires: + - '-1' + location: + - https://management.azure.com/providers/ArizeAi.ObservabilityEval/locations/EASTUS/operationStatuses/a5ceb939-151b-4684-9777-a02271da8580*8DDF0B304509855FA082AD6DB6109EB264DCBF6E9A840ED257E73E11240949FB?api-version=2024-10-01-preview&t=638780299561190406&c=MIIHhzCCBm-gAwIBAgITfAaTsfGh4O3I6hzdiwAABpOx8TANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjM1MTA0WhcNMjUwNzIwMjM1MTA0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmmNHNWFSsNqv7hYXt5jnZhiWu70W-4oqnLQoNqpREh9ILwf_vWrKEFwHln2pZ0QL0Vzy6iBL7CjMAu06leKSRiY0PTaudFXcPZKg28HxLbC13I3XGnANo8baTVS1tjjh4tMTcEW4gJFU3FkYBnnd4vDuWu9cFNecMYtxyNXqXZQNKsExYG5-z1LKsCG-VZFtDXtdO7NCF-883QzW9AH9kyG24yulLRWXed6gk78SiLKeQwZHq3HawlcKJb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jjNiiqU3NqKLpzDkPtKizzWQNMTnbIr5SiNq1gTKhfHhrBBlGJBX57xwlnAFFdxti20rcgzGjhSX8VN7-7jLs2tRAQcRFJzbCd0Oe30ZOcP--hTJyO20Zp3-yN47jhySzPXDO3QblcBhgkT90-8Gv-yFBam7f-xLmV2kYd44YmB3-5uz666pYn7YVwQ&h=dD9Edp7uPbyjRtQgQMrTa1mFIBNQ0O6BWDglAqYu_UY + mise-correlation-id: + - 72692476-873d-43c1-8f80-f60eb7df11aa + 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/45e12a8d-5538-45e0-bd6e-5f4e330a15ba + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-msedge-ref: + - 'Ref A: 73734F176546429E9EB85131BE7022C2 Ref B: MAA201060515045 Ref C: 2025-03-20T01:12:25Z' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - arize-ai observability-eval organization create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --organizationname --location --marketplace --user --partner-properties + User-Agent: + - AZURECLI/2.70.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/ArizeAi.ObservabilityEval/locations/EASTUS/operationStatuses/a5ceb939-151b-4684-9777-a02271da8580*8DDF0B304509855FA082AD6DB6109EB264DCBF6E9A840ED257E73E11240949FB?api-version=2024-10-01-preview&t=638780299561190406&c=MIIHhzCCBm-gAwIBAgITfAaTsfGh4O3I6hzdiwAABpOx8TANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyL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BQADggEBAISUbL4a-8x720Kq4kpvroZpGEG-7hA5QoY2g0mHaS7y5AbNsL93L6qnsXTjiW02I693A-UMSGrwRm7SMGJI9BSLl2mqV_L55Ks-NNghmV_58seSGsmgoDxbw1rvDjSjEslmSDXo1PLj6C9LKWc5gSplpYdTIjaahdzCArjQdPQOyacyglOlzcDDY2e83Q7Xcad3Py_xyh7Yld330DgYBpSZx6h1wPPSFsot18EGQ-0UoJBq9x2NrLQS3aUXzumEcft64ZQUCFzEOSRdVkf0DHsGGf2qH06ndu1dy7Olz9P0bmZ8LClRXa1vXj-Z2xWM71YT-rxrMSlzddBKBYy34uE&s=beJ2eMraCn-1Z10mJA5cAfAAg4B70PbVe3hGqSSi9BoJyilgK7iXEOPUyxlPSZ6on0oE383DZQpaKGbfJsR8GBHbKIpbAcIAL2Z7qQf9ULWo1hVcT6eNNFkKm6HzssqBlb4L6x8V4qS_x5plGAhypsG9GvNjjNiiqU3NqKLpzDkPtKizzWQNMTnbIr5SiNq1gTKhfHhrBBlGJBX57xwlnAFFdxti20rcgzGjhSX8VN7-7jLs2tRAQcRFJzbCd0Oe30ZOcP--hTJyO20Zp3-yN47jhySzPXDO3QblcBhgkT90-8Gv-yFBam7f-xLmV2kYd44YmB3-5uz666pYn7YVwQ&h=dD9Edp7uPbyjRtQgQMrTa1mFIBNQ0O6BWDglAqYu_UY + response: + body: + string: '{"id":"/providers/ArizeAi.ObservabilityEval/locations/EASTUS/operationStatuses/a5ceb939-151b-4684-9777-a02271da8580*8DDF0B304509855FA082AD6DB6109EB264DCBF6E9A840ED257E73E11240949FB","name":"a5ceb939-151b-4684-9777-a02271da8580*8DDF0B304509855FA082AD6DB6109EB264DCBF6E9A840ED257E73E11240949FB","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/QM_clitest_qumulo2_eastus/providers/ArizeAi.ObservabilityEval/organizations/Arize-test-cli-instance-1","status":"Accepted","startTime":"2025-03-20T01:12:33.2336364Z"}' + headers: + cache-control: + - no-cache + content-length: + - '540' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Mar 2025 01:12:35 GMT + etag: + - '"0000ff32-0000-0300-0000-67db6b810000"' + 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: C1FBCF8160F64402B10BD56E543288D8 Ref B: MAA201060515045 Ref C: 2025-03-20T01:12:36Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - arize-ai observability-eval organization create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --organizationname --location --marketplace --user --partner-properties + User-Agent: + - AZURECLI/2.70.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/ArizeAi.ObservabilityEval/locations/EASTUS/operationStatuses/a5ceb939-151b-4684-9777-a02271da8580*8DDF0B304509855FA082AD6DB6109EB264DCBF6E9A840ED257E73E11240949FB?api-version=2024-10-01-preview&t=638780299561190406&c=MIIHhzCCBm-gAwIBAgITfAaTsfGh4O3I6hzdiwAABpOx8TANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjM1MTA0WhcNMjUwNzIwMjM1MTA0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmmNHNWFSsNqv7hYXt5jnZhiWu70W-4oqnLQoNqpREh9ILwf_vWrKEFwHln2pZ0QL0Vzy6iBL7CjMAu06leKSRiY0PTaud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eMraCn-1Z10mJA5cAfAAg4B70PbVe3hGqSSi9BoJyilgK7iXEOPUyxlPSZ6on0oE383DZQpaKGbfJsR8GBHbKIpbAcIAL2Z7qQf9ULWo1hVcT6eNNFkKm6HzssqBlb4L6x8V4qS_x5plGAhypsG9GvNjjNiiqU3NqKLpzDkPtKizzWQNMTnbIr5SiNq1gTKhfHhrBBlGJBX57xwlnAFFdxti20rcgzGjhSX8VN7-7jLs2tRAQcRFJzbCd0Oe30ZOcP--hTJyO20Zp3-yN47jhySzPXDO3QblcBhgkT90-8Gv-yFBam7f-xLmV2kYd44YmB3-5uz666pYn7YVwQ&h=dD9Edp7uPbyjRtQgQMrTa1mFIBNQ0O6BWDglAqYu_UY + response: + body: + string: '{"id":"/providers/ArizeAi.ObservabilityEval/locations/EASTUS/operationStatuses/a5ceb939-151b-4684-9777-a02271da8580*8DDF0B304509855FA082AD6DB6109EB264DCBF6E9A840ED257E73E11240949FB","name":"a5ceb939-151b-4684-9777-a02271da8580*8DDF0B304509855FA082AD6DB6109EB264DCBF6E9A840ED257E73E11240949FB","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/QM_clitest_qumulo2_eastus/providers/ArizeAi.ObservabilityEval/organizations/Arize-test-cli-instance-1","status":"Accepted","startTime":"2025-03-20T01:12:33.2336364Z"}' + headers: + cache-control: + - no-cache + content-length: + - '540' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Mar 2025 01:13:05 GMT + etag: + - '"0000ff32-0000-0300-0000-67db6b810000"' + 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: 7D80F84EA77F469FB178E058902C5BD3 Ref B: MAA201060515045 Ref C: 2025-03-20T01:13:06Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - arize-ai observability-eval organization create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --organizationname --location --marketplace --user --partner-properties + User-Agent: + - AZURECLI/2.70.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/ArizeAi.ObservabilityEval/locations/EASTUS/operationStatuses/a5ceb939-151b-4684-9777-a02271da8580*8DDF0B304509855FA082AD6DB6109EB264DCBF6E9A840ED257E73E11240949FB?api-version=2024-10-01-preview&t=638780299561190406&c=MIIHhzCCBm-gAwIBAgITfAaTsfGh4O3I6hzdiwAABpOx8TANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjM1MTA0WhcNMjUwNzIwMjM1MTA0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmmNHNWFSsNqv7hYXt5jnZhiWu70W-4oqnLQoNqpREh9ILwf_vWrKEFwHln2pZ0QL0Vzy6iBL7CjMAu06leKSRiY0PTaudFXcPZKg28HxLbC13I3XGnANo8baTVS1tjjh4tMTcEW4gJFU3FkYBnnd4vDuWu9cFNecMYtxyNXqXZQNKsExYG5-z1LKsCG-VZFtDXtdO7NCF-883QzW9AH9kyG24yulLRWXed6gk78SiLKeQwZHq3HawlcKJbtYEh01VpjYJTMLBh5ffUnp4p0ur5_1qquFhqISg5SNMXR0wUecBNg60HNXgUgDI9p7gEknaT2t54Cqw4bTMEnn_ojsECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAG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uPbyjRtQgQMrTa1mFIBNQ0O6BWDglAqYu_UY + response: + body: + string: '{"id":"/providers/ArizeAi.ObservabilityEval/locations/EASTUS/operationStatuses/a5ceb939-151b-4684-9777-a02271da8580*8DDF0B304509855FA082AD6DB6109EB264DCBF6E9A840ED257E73E11240949FB","name":"a5ceb939-151b-4684-9777-a02271da8580*8DDF0B304509855FA082AD6DB6109EB264DCBF6E9A840ED257E73E11240949FB","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/QM_clitest_qumulo2_eastus/providers/ArizeAi.ObservabilityEval/organizations/Arize-test-cli-instance-1","status":"Accepted","startTime":"2025-03-20T01:12:33.2336364Z"}' + headers: + cache-control: + - no-cache + content-length: + - '540' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Mar 2025 01:13:36 GMT + etag: + - '"0000ff32-0000-0300-0000-67db6b810000"' + 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: B947084BC1A4490CA0317333C1AB015E Ref B: MAA201060515045 Ref C: 2025-03-20T01:13:36Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - arize-ai observability-eval organization create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --organizationname --location --marketplace --user --partner-properties + User-Agent: + - AZURECLI/2.70.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/ArizeAi.ObservabilityEval/locations/EASTUS/operationStatuses/a5ceb939-151b-4684-9777-a02271da8580*8DDF0B304509855FA082AD6DB6109EB264DCBF6E9A840ED257E73E11240949FB?api-version=2024-10-01-preview&t=638780299561190406&c=MIIHhzCCBm-gAwIBAgITfAaTsfGh4O3I6hzdiwAABpOx8TANBgkqhkiG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KwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAISUbL4a-8x720Kq4kpvroZpGEG-7hA5QoY2g0mHaS7y5AbNsL93L6qnsXTjiW02I693A-UMSGrwRm7SMGJI9BSLl2mqV_L55Ks-NNghmV_58seSGsmgoDxbw1rvDjSjEslmSDXo1PLj6C9LKWc5gSplpYdTIjaahdzCArjQdPQOyacyglOlzcDDY2e83Q7Xcad3Py_xyh7Yld330DgYBpSZx6h1wPPSFsot18EGQ-0UoJBq9x2NrLQS3aUXzumEcft64ZQUCFzEOSRdVkf0DHsGGf2qH06ndu1dy7Olz9P0bmZ8LClRXa1vXj-Z2xWM71YT-rxrMSlzddBKBYy34uE&s=beJ2eMraCn-1Z10mJA5cAfAAg4B70PbVe3hGqSSi9BoJyilgK7iXEOPUyxlPSZ6on0oE383DZQpaKGbfJsR8GBHbKIpbAcIAL2Z7qQf9ULWo1hVcT6eNNFkKm6HzssqBlb4L6x8V4qS_x5plGAhypsG9GvNjjNiiqU3NqKLpzDkPtKizzWQNMTnbIr5SiNq1gTKhfHhrBBlGJBX57xwlnAFFdxti20rcgzGjhSX8VN7-7jLs2tRAQcRFJzbCd0Oe30ZOcP--hTJyO20Zp3-yN47jhySzPXDO3QblcBhgkT90-8Gv-yFBam7f-xLmV2kYd44YmB3-5uz666pYn7YVwQ&h=dD9Edp7uPbyjRtQgQMrTa1mFIBNQ0O6BWDglAqYu_UY + response: + body: + string: '{"id":"/providers/ArizeAi.ObservabilityEval/locations/EASTUS/operationStatuses/a5ceb939-151b-4684-9777-a02271da8580*8DDF0B304509855FA082AD6DB6109EB264DCBF6E9A840ED257E73E11240949FB","name":"a5ceb939-151b-4684-9777-a02271da8580*8DDF0B304509855FA082AD6DB6109EB264DCBF6E9A840ED257E73E11240949FB","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/QM_clitest_qumulo2_eastus/providers/ArizeAi.ObservabilityEval/organizations/Arize-test-cli-instance-1","status":"Accepted","startTime":"2025-03-20T01:12:33.2336364Z"}' + headers: + cache-control: + - no-cache + content-length: + - '540' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Mar 2025 01:14:06 GMT + etag: + - '"0000ff32-0000-0300-0000-67db6b810000"' + 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: 1978A702D6AC42E88AEAD11E81A7953C Ref B: MAA201060515045 Ref C: 2025-03-20T01:14:07Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - arize-ai observability-eval organization create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --organizationname --location --marketplace --user --partner-properties + User-Agent: + - AZURECLI/2.70.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/ArizeAi.ObservabilityEval/locations/EASTUS/operationStatuses/a5ceb939-151b-4684-9777-a02271da8580*8DDF0B304509855FA082AD6DB6109EB264DCBF6E9A840ED257E73E11240949FB?api-version=2024-10-01-preview&t=638780299561190406&c=MIIHhzCCBm-gAwIBAgITfAaTsfGh4O3I6hzdiwAABpOx8TANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjM1MTA0WhcNMjUwNzIwMjM1MTA0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmmNHNWFSsNqv7hYXt5jnZhiWu70W-4oqnLQoNqpREh9ILwf_vWrKEFwHln2pZ0Q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M71YT-rxrMSlzddBKBYy34uE&s=beJ2eMraCn-1Z10mJA5cAfAAg4B70PbVe3hGqSSi9BoJyilgK7iXEOPUyxlPSZ6on0oE383DZQpaKGbfJsR8GBHbKIpbAcIAL2Z7qQf9ULWo1hVcT6eNNFkKm6HzssqBlb4L6x8V4qS_x5plGAhypsG9GvNjjNiiqU3NqKLpzDkPtKizzWQNMTnbIr5SiNq1gTKhfHhrBBlGJBX57xwlnAFFdxti20rcgzGjhSX8VN7-7jLs2tRAQcRFJzbCd0Oe30ZOcP--hTJyO20Zp3-yN47jhySzPXDO3QblcBhgkT90-8Gv-yFBam7f-xLmV2kYd44YmB3-5uz666pYn7YVwQ&h=dD9Edp7uPbyjRtQgQMrTa1mFIBNQ0O6BWDglAqYu_UY + response: + body: + string: '{"id":"/providers/ArizeAi.ObservabilityEval/locations/EASTUS/operationStatuses/a5ceb939-151b-4684-9777-a02271da8580*8DDF0B304509855FA082AD6DB6109EB264DCBF6E9A840ED257E73E11240949FB","name":"a5ceb939-151b-4684-9777-a02271da8580*8DDF0B304509855FA082AD6DB6109EB264DCBF6E9A840ED257E73E11240949FB","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/QM_clitest_qumulo2_eastus/providers/ArizeAi.ObservabilityEval/organizations/Arize-test-cli-instance-1","status":"Succeeded","startTime":"2025-03-20T01:12:33.2336364Z","endTime":"2025-03-20T01:14:34.7245294Z","error":{"code":"","message":""},"properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '633' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Mar 2025 01:14:36 GMT + etag: + - '"0000db33-0000-0300-0000-67db6bfb0000"' + 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: 3D6E9CA1073E4CC5B3CBF30F02B34CB6 Ref B: MAA201060515045 Ref C: 2025-03-20T01:14:37Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - arize-ai observability-eval organization create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --organizationname --location --marketplace --user --partner-properties + User-Agent: + - AZURECLI/2.70.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/QM_clitest_qumulo2_eastus/providers/ArizeAi.ObservabilityEval/organizations/Arize-test-cli-instance-1?api-version=2024-10-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/QM_clitest_qumulo2_eastus/providers/ArizeAi.ObservabilityEval/organizations/Arize-test-cli-instance-1","name":"Arize-test-cli-instance-1","type":"arizeai.observabilityeval/organizations","location":"eastus","systemData":{"createdBy":"aggarwalsw@microsoft.com","createdByType":"User","createdAt":"2025-03-20T01:12:27.5564296Z","lastModifiedBy":"aggarwalsw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-20T01:12:27.5564296Z"},"properties":{"marketplace":{"subscriptionId":"266f0e52-4e31-4285-ccdf-952eaddd7b33","subscriptionStatus":"Subscribed","offerDetails":{"publisherId":"arizeai1657829589668","offerId":"arize-liftr-0","planId":"liftr-test-0","planName":"Liftr + Test 0","termUnit":"P1M","termId":"gmz7xq9ge3py"}},"provisioningState":"Succeeded","user":{"firstName":"Swati","lastName":"Aggarwal","emailAddress":"aggarwalsw@microsoft.com","upn":"aggarwalsw@microsoft.com"},"partnerProperties":{"description":"Test-Description"}}}' + headers: + cache-control: + - no-cache + content-length: + - '1026' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Mar 2025 01:14:38 GMT + etag: + - '"06003971-0000-0300-0000-67db6bfa0000"' + 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: A817DF3F45F24441B11B4B4C43B1B075 Ref B: MAA201060515045 Ref C: 2025-03-20T01:14:37Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - arize-ai observability-eval organization list + Connection: + - keep-alive + ParameterSetName: + - --resource-group + User-Agent: + - AZURECLI/2.70.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/QM_clitest_qumulo2_eastus/providers/ArizeAi.ObservabilityEval/organizations?api-version=2024-10-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/QM_clitest_qumulo2_eastus/providers/ArizeAi.ObservabilityEval/organizations/test-cli-instance-5","name":"test-cli-instance-5","type":"arizeai.observabilityeval/organizations","location":"East + US","tags":{"testName":"TestValue"},"systemData":{"createdBy":"aggarwalsw@microsoft.com","createdByType":"User","createdAt":"2025-03-02T15:08:40.258814Z","lastModifiedBy":"aggarwalsw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-02T15:08:40.258814Z"},"properties":{"marketplace":{"subscriptionId":"4ae301a9-d510-40c6-d914-d4508c85c460","subscriptionStatus":"Subscribed","offerDetails":{"publisherId":"arizeai1657829589668","offerId":"arize-liftr-0","planId":"liftr-test-0","planName":"Liftr + Test 0","termUnit":"P1M","termId":"gmz7xq9ge3py"}},"provisioningState":"Succeeded","user":{"firstName":"","lastName":"","emailAddress":"aggarwalsw@microsoft.com","upn":"aggarwalsw@microsoft.com"}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/QM_clitest_qumulo2_eastus/providers/ArizeAi.ObservabilityEval/organizations/test-arize-instance-test-1","name":"test-arize-instance-test-1","type":"arizeai.observabilityeval/organizations","location":"East + US","systemData":{"createdBy":"aggarwalsw@microsoft.com","createdByType":"User","createdAt":"2025-03-19T11:50:02.1121414Z","lastModifiedBy":"aggarwalsw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T11:50:02.1121414Z"},"properties":{"marketplace":{"subscriptionId":"eebf46e9-8783-4346-d318-34b7aabd6b68","subscriptionStatus":"Subscribed","offerDetails":{"publisherId":"arizeai1657829589668","offerId":"arize-liftr-0","planId":"liftr-test-0","planName":"Liftr + Test 0","termUnit":"P1M","termId":"gmz7xq9ge3py"}},"provisioningState":"Succeeded","user":{"firstName":"","lastName":"","emailAddress":"aggarwalsw@microsoft.com","upn":"aggarwalsw@microsoft.com"}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/QM_clitest_qumulo2_eastus/providers/ArizeAi.ObservabilityEval/organizations/Arize-test-cli-instance-1","name":"Arize-test-cli-instance-1","type":"arizeai.observabilityeval/organizations","location":"eastus","systemData":{"createdBy":"aggarwalsw@microsoft.com","createdByType":"User","createdAt":"2025-03-20T01:12:27.5564296Z","lastModifiedBy":"aggarwalsw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-20T01:12:27.5564296Z"},"properties":{"marketplace":{"subscriptionId":"266f0e52-4e31-4285-ccdf-952eaddd7b33","subscriptionStatus":"Subscribed","offerDetails":{"publisherId":"arizeai1657829589668","offerId":"arize-liftr-0","planId":"liftr-test-0","planName":"Liftr + Test 0","termUnit":"P1M","termId":"gmz7xq9ge3py"}},"provisioningState":"Succeeded","user":{"firstName":"Swati","lastName":"Aggarwal","emailAddress":"aggarwalsw@microsoft.com","upn":"aggarwalsw@microsoft.com"},"partnerProperties":{"description":"Test-Description"}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/QM_clitest_qumulo2_eastus/providers/arizeai.observabilityeval/organizations/test-cli-instance-123","name":"test-cli-instance-123","type":"arizeai.observabilityeval/organizations","location":"Central + US EUAP","tags":{},"systemData":{"createdBy":"aggarwalsw@microsoft.com","createdByType":"User","createdAt":"2025-03-18T04:50:38.6863764Z","lastModifiedBy":"aggarwalsw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T04:50:38.6863764Z"},"properties":{"marketplace":{"subscriptionId":"db05fc49-1595-4d40-d6e6-b80ec0b20970","subscriptionStatus":"PendingFulfillmentStart","offerDetails":{"publisherId":"arizeai1657829589668","offerId":"arize-liftr-0","planId":"liftr-test-0","planName":"Liftr + Test 0","termUnit":"P1M","termId":"gmz7xq9ge3py"}},"provisioningState":"Failed","user":{"firstName":"","lastName":"","emailAddress":"aggarwalsw@microsoft.com","upn":"aggarwalsw@microsoft.com","phoneNumber":""},"partnerProperties":{"description":"Test + description"},"singleSignOnProperties":{"type":"Saml","state":"Initial","enterpriseAppId":"0b9873df-1629-4036-9360-5f2f65c0a0d3","aadDomains":["MicrosoftCustomerLed.onmicrosoft.com"]}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/QM_clitest_qumulo2_eastus/providers/ArizeAi.ObservabilityEval/organizations/test-arize-cli-instance-test-1","name":"test-arize-cli-instance-test-1","type":"arizeai.observabilityeval/organizations","location":"centraluseuap","systemData":{"lastModifiedBy":"aggarwalsw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T11:17:54.8864763Z"},"properties":{"marketplace":{"subscriptionId":"ffc8a0e5-1bcb-4bff-ca39-46dff8ebb51d","subscriptionStatus":"PendingFulfillmentStart","offerDetails":{"publisherId":"arizeai1657829589668","offerId":"arize-liftr-0","planId":"liftr-test-0","planName":"Liftr + Test 0","termUnit":"P1M","termId":"gmz7xq9ge3py"}},"provisioningState":"Failed","user":{"firstName":"","lastName":"","emailAddress":"aggarwalsw@microsoft.com","upn":"aggarwalsw@microsoft.com"}}}]}' + headers: + cache-control: + - no-cache + content-length: + - '5081' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Mar 2025 01:14:41 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: + - 138ffb4a-5818-4ce3-8a45-0503704db659 + - d1a55e0d-38ea-476a-9499-96d519c1df77 + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: E5167B52214D4713830E3E972E8315EE Ref B: MAA201060513049 Ref C: 2025-03-20T01:14:39Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - arize-ai observability-eval organization show + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name + User-Agent: + - AZURECLI/2.70.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/QM_clitest_qumulo2_eastus/providers/ArizeAi.ObservabilityEval/organizations/Arize-test-cli-instance-1?api-version=2024-10-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/QM_clitest_qumulo2_eastus/providers/ArizeAi.ObservabilityEval/organizations/Arize-test-cli-instance-1","name":"Arize-test-cli-instance-1","type":"arizeai.observabilityeval/organizations","location":"eastus","systemData":{"createdBy":"aggarwalsw@microsoft.com","createdByType":"User","createdAt":"2025-03-20T01:12:27.5564296Z","lastModifiedBy":"aggarwalsw@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-20T01:12:27.5564296Z"},"properties":{"marketplace":{"subscriptionId":"266f0e52-4e31-4285-ccdf-952eaddd7b33","subscriptionStatus":"Subscribed","offerDetails":{"publisherId":"arizeai1657829589668","offerId":"arize-liftr-0","planId":"liftr-test-0","planName":"Liftr + Test 0","termUnit":"P1M","termId":"gmz7xq9ge3py"}},"provisioningState":"Succeeded","user":{"firstName":"Swati","lastName":"Aggarwal","emailAddress":"aggarwalsw@microsoft.com","upn":"aggarwalsw@microsoft.com"},"partnerProperties":{"description":"Test-Description"}}}' + headers: + cache-control: + - no-cache + content-length: + - '1026' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Mar 2025 01:14:42 GMT + etag: + - '"06003971-0000-0300-0000-67db6bfa0000"' + 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: 0BB3591160784F36B9CCA06DA13E2796 Ref B: MAA201060516009 Ref C: 2025-03-20T01:14:41Z' + status: + code: 200 + message: OK +version: 1 diff --git a/src/arize-ai/azext_arize_ai/tests/latest/test_arize_ai.py b/src/arize-ai/azext_arize_ai/tests/latest/test_arize_ai.py new file mode 100644 index 00000000000..ce45eeec62b --- /dev/null +++ b/src/arize-ai/azext_arize_ai/tests/latest/test_arize_ai.py @@ -0,0 +1,54 @@ +# -------------------------------------------------------------------------------------------- +# 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 ArizeAiScenario(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_arize_ai', location="eastus") + def test_arize_ai(self, resource_group): + self.kwargs.update({ + 'name': 'Arize-test-cli-instance-1', + 'location': 'eastus', + 'marketplace_subscription_id': 'fc35d936-3b89-41f8-8110-a24b56826c37', + 'publisher_id': 'arizeai1657829589668', + 'offer_id': 'arize-liftr-0', + 'plan_id': 'liftr-test-0', + 'plan_name': 'Liftr Test 0', + 'term_unit': 'P1M', + 'term_id': 'gmz7xq9ge3py', + 'user_first_name': 'Swati', + 'user_last_name': 'Aggarwal', + 'user_email': 'aggarwalsw@microsoft.com', + 'user_upn': 'aggarwalsw@microsoft.com', + 'resource_group': 'QM_clitest_qumulo2_eastus', + 'description': 'Test-Description' + }) + + # Create ArizeAi Organization + self.cmd('az arize-ai observability-eval 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 \'{{"description": "{description}"}}\' ', + checks=[ + self.check('name', '{name}'), + ]) + + # List ArizeAi Organizations + self.cmd('az arize-ai observability-eval organization list --resource-group {resource_group}', + checks=[]) + + # Show ArizeAi Organization + self.cmd('az arize-ai observability-eval organization show --resource-group {resource_group} --organizationname {name}', + checks=[ + self.check('name', '{name}'), + ]) + + self.cmd('az arize-ai observability-eval organization delete --resource-group {resource_group} --organizationname {name} -y', + checks=[]) + diff --git a/src/arize-ai/setup.cfg b/src/arize-ai/setup.cfg new file mode 100644 index 00000000000..2fdd96e5d39 --- /dev/null +++ b/src/arize-ai/setup.cfg @@ -0,0 +1 @@ +#setup.cfg \ No newline at end of file diff --git a/src/arize-ai/setup.py b/src/arize-ai/setup.py new file mode 100644 index 00000000000..5da19fae508 --- /dev/null +++ b/src/arize-ai/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='arize-ai', + version=VERSION, + description='Microsoft Azure Command-Line Tools ArizeAi 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/arize-ai', + classifiers=CLASSIFIERS, + packages=find_packages(exclude=["tests"]), + package_data={'azext_arize_ai': ['azext_metadata.json']}, + install_requires=DEPENDENCIES +) diff --git a/src/service_name.json b/src/service_name.json index 4250025c661..065d737ddac 100644 --- a/src/service_name.json +++ b/src/service_name.json @@ -925,6 +925,10 @@ "URL": "https://learn.microsoft.com/en-us/azure/playwright-testing/" }, { + "Command": "az arize-ai", + "AzureServiceName": "Arize-AI", + "URL": "https://learn.microsoft.com/en-us/azure/partner-solutions" + }, "Command": "az computeschedule", "AzureServiceName": "Computeschedule", "URL": "https://learn.microsoft.com/en-us/rest/api/computeschedule/"