diff --git a/src/billing/azext_billing/aaz/latest/billing/policy/_create_by_billing_profile.py b/src/billing/azext_billing/aaz/latest/billing/policy/_create_by_billing_profile.py deleted file mode 100644 index b339f7856a4..00000000000 --- a/src/billing/azext_billing/aaz/latest/billing/policy/_create_by_billing_profile.py +++ /dev/null @@ -1,410 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# 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( - "billing policy create-by-billing-profile", -) -class CreateByBillingProfile(AAZCommand): - """Create the policies for a billing profile. This operation is supported only for billing accounts with agreement type Microsoft Customer Agreement. - - :example: PoliciesPutByBillingProfile - az billing policy create-by-billing-profile --billing-account-name 00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31 --billing-profile-name xxxx-xxxx-xxx-xxx --invoice-section-label-management Allowed --marketplace-purchases AllAllowed --reservation-purchases Allowed --savings-plan-purchases Allowed - """ - - _aaz_info = { - "version": "2024-04-01", - "resources": [ - ["mgmt-plane", "/providers/microsoft.billing/billingaccounts/{}/billingprofiles/{}/policies/default", "2024-04-01"], - ] - } - - 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.billing_account_name = AAZStrArg( - options=["--billing-account-name"], - help="The ID that uniquely identifies a billing account.", - required=True, - fmt=AAZStrArgFormat( - pattern="^([0-9]+|([Pp][Cc][Nn]\\.[A-Za-z0-9]+)|[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}(:[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}_[0-9]{4}(-[0-9]{2}){2})?)$", - ), - ) - _args_schema.billing_profile_name = AAZStrArg( - options=["--billing-profile-name"], - help="The ID that uniquely identifies a billing profile.", - required=True, - fmt=AAZStrArgFormat( - pattern="^[a-zA-Z0-9-_]{1,128}$", - ), - ) - - # define Arg Group "Parameters" - - _args_schema = cls._args_schema - _args_schema.tags = AAZDictArg( - options=["--tags"], - arg_group="Parameters", - help="Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \\ ? /", - ) - - tags = cls._args_schema.tags - tags.Element = AAZStrArg() - - # define Arg Group "Properties" - - _args_schema = cls._args_schema - _args_schema.enterprise_agreement_policies = AAZObjectArg( - options=["--enterprise-agreement-policies"], - arg_group="Properties", - help="The policies for Enterprise Agreement enrollments.", - ) - _args_schema.invoice_section_label_management = AAZStrArg( - options=["--invoice-section-label-management"], - arg_group="Properties", - help="The policy that controls invoice section label management at invoice section scope. This is allowed by default.", - enum={"Allowed": "Allowed", "NotAllowed": "NotAllowed", "Other": "Other"}, - ) - _args_schema.marketplace_purchases = AAZStrArg( - options=["--marketplace-purchases"], - arg_group="Properties", - help="The policy that controls whether Azure marketplace purchases are allowed.", - enum={"AllAllowed": "AllAllowed", "Disabled": "Disabled", "NotAllowed": "NotAllowed", "OnlyFreeAllowed": "OnlyFreeAllowed", "Other": "Other"}, - ) - _args_schema.policies = AAZListArg( - options=["--policies"], - arg_group="Properties", - help="List of all policies defined at the billing scope.", - ) - _args_schema.reservation_purchases = AAZStrArg( - options=["--reservation-purchases"], - arg_group="Properties", - help="The policy that controls whether Azure reservation purchases are allowed.", - enum={"Allowed": "Allowed", "Disabled": "Disabled", "NotAllowed": "NotAllowed", "Other": "Other"}, - ) - _args_schema.savings_plan_purchases = AAZStrArg( - options=["--savings-plan-purchases"], - arg_group="Properties", - help="The policy that controls whether users with Azure savings plan purchase are allowed.", - enum={"Allowed": "Allowed", "Disabled": "Disabled", "NotAllowed": "NotAllowed", "Other": "Other"}, - ) - _args_schema.view_charges = AAZStrArg( - options=["--view-charges"], - arg_group="Properties", - help="The policy that controls whether the users in customer's organization can view charges at pay-as-you-go prices.", - enum={"Allowed": "Allowed", "NotAllowed": "NotAllowed", "Other": "Other"}, - ) - - enterprise_agreement_policies = cls._args_schema.enterprise_agreement_policies - enterprise_agreement_policies.account_owner_view_charges = AAZStrArg( - options=["account-owner-view-charges"], - help="The policy that controls whether account owner can view charges.", - enum={"Allowed": "Allowed", "Disabled": "Disabled", "NotAllowed": "NotAllowed", "Other": "Other"}, - ) - enterprise_agreement_policies.authentication_type = AAZStrArg( - options=["authentication-type"], - help="The state showing the enrollment auth level.", - enum={"MicrosoftAccountOnly": "MicrosoftAccountOnly", "MixedAccount": "MixedAccount", "OrganizationalAccountCrossTenant": "OrganizationalAccountCrossTenant", "OrganizationalAccountOnly": "OrganizationalAccountOnly", "Other": "Other"}, - ) - enterprise_agreement_policies.department_admin_view_charges = AAZStrArg( - options=["department-admin-view-charges"], - help="The policy that controls whether department admin can view charges.", - enum={"Allowed": "Allowed", "Disabled": "Disabled", "NotAllowed": "NotAllowed", "Other": "Other"}, - ) - - policies = cls._args_schema.policies - policies.Element = AAZObjectArg() - - _element = cls._args_schema.policies.Element - _element.name = AAZStrArg( - options=["name"], - help="The name of the policy.", - ) - _element.policy_type = AAZStrArg( - options=["policy-type"], - help="The type of the policy.", - enum={"Other": "Other", "SystemControlled": "SystemControlled", "UserControlled": "UserControlled"}, - ) - _element.scope = AAZStrArg( - options=["scope"], - help="The scope at which the policy is defined.", - ) - _element.value = AAZStrArg( - options=["value"], - help="The value of the policy.", - ) - return cls._args_schema - - def _execute_operations(self): - self.pre_operations() - yield self.PoliciesCreateOrUpdateByBillingProfile(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 PoliciesCreateOrUpdateByBillingProfile(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( - "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/policies/default", - **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( - "billingAccountName", self.ctx.args.billing_account_name, - required=True, - ), - **self.serialize_url_param( - "billingProfileName", self.ctx.args.billing_profile_name, - required=True, - ), - } - return parameters - - @property - def query_parameters(self): - parameters = { - **self.serialize_query_param( - "api-version", "2024-04-01", - 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("properties", AAZObjectType) - _builder.set_prop("tags", AAZDictType, ".tags") - - properties = _builder.get(".properties") - if properties is not None: - properties.set_prop("enterpriseAgreementPolicies", AAZObjectType, ".enterprise_agreement_policies") - properties.set_prop("invoiceSectionLabelManagement", AAZStrType, ".invoice_section_label_management") - properties.set_prop("marketplacePurchases", AAZStrType, ".marketplace_purchases") - properties.set_prop("policies", AAZListType, ".policies") - properties.set_prop("reservationPurchases", AAZStrType, ".reservation_purchases") - properties.set_prop("savingsPlanPurchases", AAZStrType, ".savings_plan_purchases") - properties.set_prop("viewCharges", AAZStrType, ".view_charges") - - enterprise_agreement_policies = _builder.get(".properties.enterpriseAgreementPolicies") - if enterprise_agreement_policies is not None: - enterprise_agreement_policies.set_prop("accountOwnerViewCharges", AAZStrType, ".account_owner_view_charges") - enterprise_agreement_policies.set_prop("authenticationType", AAZStrType, ".authentication_type") - enterprise_agreement_policies.set_prop("departmentAdminViewCharges", AAZStrType, ".department_admin_view_charges") - - policies = _builder.get(".properties.policies") - if policies is not None: - policies.set_elements(AAZObjectType, ".") - - _elements = _builder.get(".properties.policies[]") - if _elements is not None: - _elements.set_prop("name", AAZStrType, ".name") - _elements.set_prop("policyType", AAZStrType, ".policy_type") - _elements.set_prop("scope", AAZStrType, ".scope") - _elements.set_prop("value", AAZStrType, ".value") - - 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.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}, - ) - - properties = cls._schema_on_200_201.properties - properties.enterprise_agreement_policies = AAZObjectType( - serialized_name="enterpriseAgreementPolicies", - ) - properties.invoice_section_label_management = AAZStrType( - serialized_name="invoiceSectionLabelManagement", - ) - properties.marketplace_purchases = AAZStrType( - serialized_name="marketplacePurchases", - ) - properties.policies = AAZListType() - properties.provisioning_state = AAZStrType( - serialized_name="provisioningState", - flags={"read_only": True}, - ) - properties.reservation_purchases = AAZStrType( - serialized_name="reservationPurchases", - ) - properties.savings_plan_purchases = AAZStrType( - serialized_name="savingsPlanPurchases", - ) - properties.view_charges = AAZStrType( - serialized_name="viewCharges", - ) - - enterprise_agreement_policies = cls._schema_on_200_201.properties.enterprise_agreement_policies - enterprise_agreement_policies.account_owner_view_charges = AAZStrType( - serialized_name="accountOwnerViewCharges", - ) - enterprise_agreement_policies.authentication_type = AAZStrType( - serialized_name="authenticationType", - ) - enterprise_agreement_policies.department_admin_view_charges = AAZStrType( - serialized_name="departmentAdminViewCharges", - ) - - policies = cls._schema_on_200_201.properties.policies - policies.Element = AAZObjectType() - - _element = cls._schema_on_200_201.properties.policies.Element - _element.name = AAZStrType() - _element.policy_type = AAZStrType( - serialized_name="policyType", - ) - _element.scope = AAZStrType() - _element.value = 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 _CreateByBillingProfileHelper: - """Helper class for CreateByBillingProfile""" - - -__all__ = ["CreateByBillingProfile"] diff --git a/src/billing/azext_billing/aaz/latest/billing/policy/_create_by_customer.py b/src/billing/azext_billing/aaz/latest/billing/policy/_create_by_customer.py deleted file mode 100644 index b470e23f2d8..00000000000 --- a/src/billing/azext_billing/aaz/latest/billing/policy/_create_by_customer.py +++ /dev/null @@ -1,340 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# 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( - "billing policy create-by-customer", -) -class CreateByCustomer(AAZCommand): - """Create the policies for a customer. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement. - - :example: PoliciesPutByCustomer - az billing policy create-by-customer --billing-account-name 00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31 --billing-profile-name xxxx-xxxx-xxx-xxx --customer-name 11111111-1111-1111-1111-111111111111 --view-charges Allowed - """ - - _aaz_info = { - "version": "2024-04-01", - "resources": [ - ["mgmt-plane", "/providers/microsoft.billing/billingaccounts/{}/billingprofiles/{}/customers/{}/policies/default", "2024-04-01"], - ] - } - - 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.billing_account_name = AAZStrArg( - options=["--billing-account-name"], - help="The ID that uniquely identifies a billing account.", - required=True, - fmt=AAZStrArgFormat( - pattern="^([0-9]+|([Pp][Cc][Nn]\\.[A-Za-z0-9]+)|[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}(:[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}_[0-9]{4}(-[0-9]{2}){2})?)$", - ), - ) - _args_schema.billing_profile_name = AAZStrArg( - options=["--billing-profile-name"], - help="The ID that uniquely identifies a billing profile.", - required=True, - fmt=AAZStrArgFormat( - pattern="^[a-zA-Z0-9-_]{1,128}$", - ), - ) - _args_schema.customer_name = AAZStrArg( - options=["--customer-name"], - help="The ID that uniquely identifies a customer.", - required=True, - fmt=AAZStrArgFormat( - pattern="^[a-zA-Z0-9-_]{1,128}$", - ), - ) - - # define Arg Group "Parameters" - - _args_schema = cls._args_schema - _args_schema.tags = AAZDictArg( - options=["--tags"], - arg_group="Parameters", - help="Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \\ ? /", - ) - - tags = cls._args_schema.tags - tags.Element = AAZStrArg() - - # define Arg Group "Properties" - - _args_schema = cls._args_schema - _args_schema.policies = AAZListArg( - options=["--policies"], - arg_group="Properties", - help="List of all policies defined at the billing scope.", - ) - _args_schema.view_charges = AAZStrArg( - options=["--view-charges"], - arg_group="Properties", - help="The policy that controls whether the users in customer's organization can view charges at pay-as-you-go prices.", - enum={"Allowed": "Allowed", "NotAllowed": "NotAllowed", "Other": "Other"}, - ) - - policies = cls._args_schema.policies - policies.Element = AAZObjectArg() - - _element = cls._args_schema.policies.Element - _element.name = AAZStrArg( - options=["name"], - help="The name of the policy.", - ) - _element.policy_type = AAZStrArg( - options=["policy-type"], - help="The type of the policy.", - enum={"Other": "Other", "SystemControlled": "SystemControlled", "UserControlled": "UserControlled"}, - ) - _element.scope = AAZStrArg( - options=["scope"], - help="The scope at which the policy is defined.", - ) - _element.value = AAZStrArg( - options=["value"], - help="The value of the policy.", - ) - return cls._args_schema - - def _execute_operations(self): - self.pre_operations() - yield self.PoliciesCreateOrUpdateByCustomer(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 PoliciesCreateOrUpdateByCustomer(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( - "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/policies/default", - **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( - "billingAccountName", self.ctx.args.billing_account_name, - required=True, - ), - **self.serialize_url_param( - "billingProfileName", self.ctx.args.billing_profile_name, - required=True, - ), - **self.serialize_url_param( - "customerName", self.ctx.args.customer_name, - required=True, - ), - } - return parameters - - @property - def query_parameters(self): - parameters = { - **self.serialize_query_param( - "api-version", "2024-04-01", - 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("properties", AAZObjectType) - _builder.set_prop("tags", AAZDictType, ".tags") - - properties = _builder.get(".properties") - if properties is not None: - properties.set_prop("policies", AAZListType, ".policies") - properties.set_prop("viewCharges", AAZStrType, ".view_charges", typ_kwargs={"flags": {"required": True}}) - - policies = _builder.get(".properties.policies") - if policies is not None: - policies.set_elements(AAZObjectType, ".") - - _elements = _builder.get(".properties.policies[]") - if _elements is not None: - _elements.set_prop("name", AAZStrType, ".name") - _elements.set_prop("policyType", AAZStrType, ".policy_type") - _elements.set_prop("scope", AAZStrType, ".scope") - _elements.set_prop("value", AAZStrType, ".value") - - 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.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}, - ) - - properties = cls._schema_on_200_201.properties - properties.policies = AAZListType() - properties.provisioning_state = AAZStrType( - serialized_name="provisioningState", - flags={"read_only": True}, - ) - properties.view_charges = AAZStrType( - serialized_name="viewCharges", - flags={"required": True}, - ) - - policies = cls._schema_on_200_201.properties.policies - policies.Element = AAZObjectType() - - _element = cls._schema_on_200_201.properties.policies.Element - _element.name = AAZStrType() - _element.policy_type = AAZStrType( - serialized_name="policyType", - ) - _element.scope = AAZStrType() - _element.value = 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 _CreateByCustomerHelper: - """Helper class for CreateByCustomer""" - - -__all__ = ["CreateByCustomer"] diff --git a/src/billing/azext_billing/aaz/latest/billing/policy/_create_by_customer_at_billing_account.py b/src/billing/azext_billing/aaz/latest/billing/policy/_create_by_customer_at_billing_account.py deleted file mode 100644 index 314f3e54834..00000000000 --- a/src/billing/azext_billing/aaz/latest/billing/policy/_create_by_customer_at_billing_account.py +++ /dev/null @@ -1,328 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# 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( - "billing policy create-by-customer-at-billing-account", -) -class CreateByCustomerAtBillingAccount(AAZCommand): - """Create the policies for a customer at billing account scope. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement. - - :example: PoliciesPutByCustomerAtBillingAccount - az billing policy create-by-customer-at-billing-account --billing-account-name 00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31 --customer-name 11111111-1111-1111-1111-111111111111 --view-charges Allowed - """ - - _aaz_info = { - "version": "2024-04-01", - "resources": [ - ["mgmt-plane", "/providers/microsoft.billing/billingaccounts/{}/customers/{}/policies/default", "2024-04-01"], - ] - } - - 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.billing_account_name = AAZStrArg( - options=["--billing-account-name"], - help="The ID that uniquely identifies a billing account.", - required=True, - fmt=AAZStrArgFormat( - pattern="^([0-9]+|([Pp][Cc][Nn]\\.[A-Za-z0-9]+)|[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}(:[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}_[0-9]{4}(-[0-9]{2}){2})?)$", - ), - ) - _args_schema.customer_name = AAZStrArg( - options=["--customer-name"], - help="The ID that uniquely identifies a customer.", - required=True, - fmt=AAZStrArgFormat( - pattern="^[a-zA-Z0-9-_]{1,128}$", - ), - ) - - # define Arg Group "Parameters" - - _args_schema = cls._args_schema - _args_schema.tags = AAZDictArg( - options=["--tags"], - arg_group="Parameters", - help="Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \\ ? /", - ) - - tags = cls._args_schema.tags - tags.Element = AAZStrArg() - - # define Arg Group "Properties" - - _args_schema = cls._args_schema - _args_schema.policies = AAZListArg( - options=["--policies"], - arg_group="Properties", - help="List of all policies defined at the billing scope.", - ) - _args_schema.view_charges = AAZStrArg( - options=["--view-charges"], - arg_group="Properties", - help="The policy that controls whether the users in customer's organization can view charges at pay-as-you-go prices.", - enum={"Allowed": "Allowed", "NotAllowed": "NotAllowed", "Other": "Other"}, - ) - - policies = cls._args_schema.policies - policies.Element = AAZObjectArg() - - _element = cls._args_schema.policies.Element - _element.name = AAZStrArg( - options=["name"], - help="The name of the policy.", - ) - _element.policy_type = AAZStrArg( - options=["policy-type"], - help="The type of the policy.", - enum={"Other": "Other", "SystemControlled": "SystemControlled", "UserControlled": "UserControlled"}, - ) - _element.scope = AAZStrArg( - options=["scope"], - help="The scope at which the policy is defined.", - ) - _element.value = AAZStrArg( - options=["value"], - help="The value of the policy.", - ) - return cls._args_schema - - def _execute_operations(self): - self.pre_operations() - yield self.PoliciesCreateOrUpdateByCustomerAtBillingAccount(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 PoliciesCreateOrUpdateByCustomerAtBillingAccount(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( - "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers/{customerName}/policies/default", - **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( - "billingAccountName", self.ctx.args.billing_account_name, - required=True, - ), - **self.serialize_url_param( - "customerName", self.ctx.args.customer_name, - required=True, - ), - } - return parameters - - @property - def query_parameters(self): - parameters = { - **self.serialize_query_param( - "api-version", "2024-04-01", - 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("properties", AAZObjectType) - _builder.set_prop("tags", AAZDictType, ".tags") - - properties = _builder.get(".properties") - if properties is not None: - properties.set_prop("policies", AAZListType, ".policies") - properties.set_prop("viewCharges", AAZStrType, ".view_charges", typ_kwargs={"flags": {"required": True}}) - - policies = _builder.get(".properties.policies") - if policies is not None: - policies.set_elements(AAZObjectType, ".") - - _elements = _builder.get(".properties.policies[]") - if _elements is not None: - _elements.set_prop("name", AAZStrType, ".name") - _elements.set_prop("policyType", AAZStrType, ".policy_type") - _elements.set_prop("scope", AAZStrType, ".scope") - _elements.set_prop("value", AAZStrType, ".value") - - 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.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}, - ) - - properties = cls._schema_on_200_201.properties - properties.policies = AAZListType() - properties.provisioning_state = AAZStrType( - serialized_name="provisioningState", - flags={"read_only": True}, - ) - properties.view_charges = AAZStrType( - serialized_name="viewCharges", - flags={"required": True}, - ) - - policies = cls._schema_on_200_201.properties.policies - policies.Element = AAZObjectType() - - _element = cls._schema_on_200_201.properties.policies.Element - _element.name = AAZStrType() - _element.policy_type = AAZStrType( - serialized_name="policyType", - ) - _element.scope = AAZStrType() - _element.value = 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 _CreateByCustomerAtBillingAccountHelper: - """Helper class for CreateByCustomerAtBillingAccount""" - - -__all__ = ["CreateByCustomerAtBillingAccount"] diff --git a/src/billing/azext_billing/aaz/latest/billing/policy/_create_or_update_by_billing_account.py b/src/billing/azext_billing/aaz/latest/billing/policy/_create_or_update_by_billing_account.py deleted file mode 100644 index b3f8fd9ee82..00000000000 --- a/src/billing/azext_billing/aaz/latest/billing/policy/_create_or_update_by_billing_account.py +++ /dev/null @@ -1,378 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# 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( - "billing policy create-or-update-by-billing-account", -) -class CreateOrUpdateByBillingAccount(AAZCommand): - """Create the policies for a billing account of Enterprise Agreement type. - - :example: PoliciesPutByBillingAccount - az billing policy create-or-update-by-billing-account --billing-account-name 1234567 --enterprise-agreement-policies "{authentication-type:OrganizationalAccountOnly}" --marketplace-purchases AllAllowed --reservation-purchases Allowed --savings-plan-purchases NotAllowed - """ - - _aaz_info = { - "version": "2024-04-01", - "resources": [ - ["mgmt-plane", "/providers/microsoft.billing/billingaccounts/{}/policies/default", "2024-04-01"], - ] - } - - 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.billing_account_name = AAZStrArg( - options=["--billing-account-name"], - help="The ID that uniquely identifies a billing account.", - required=True, - fmt=AAZStrArgFormat( - pattern="^([0-9]+|([Pp][Cc][Nn]\\.[A-Za-z0-9]+)|[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}(:[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}_[0-9]{4}(-[0-9]{2}){2})?)$", - ), - ) - - # define Arg Group "Parameters" - - _args_schema = cls._args_schema - _args_schema.tags = AAZDictArg( - options=["--tags"], - arg_group="Parameters", - help="Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \\ ? /", - ) - - tags = cls._args_schema.tags - tags.Element = AAZStrArg() - - # define Arg Group "Properties" - - _args_schema = cls._args_schema - _args_schema.enterprise_agreement_policies = AAZObjectArg( - options=["--enterprise-agreement-policies"], - arg_group="Properties", - help="The policies for Enterprise Agreement enrollments.", - ) - _args_schema.marketplace_purchases = AAZStrArg( - options=["--marketplace-purchases"], - arg_group="Properties", - help="The policy that controls whether Azure marketplace purchases are allowed.", - enum={"AllAllowed": "AllAllowed", "Disabled": "Disabled", "NotAllowed": "NotAllowed", "OnlyFreeAllowed": "OnlyFreeAllowed", "Other": "Other"}, - ) - _args_schema.policies = AAZListArg( - options=["--policies"], - arg_group="Properties", - help="List of all policies defined at the billing scope.", - ) - _args_schema.reservation_purchases = AAZStrArg( - options=["--reservation-purchases"], - arg_group="Properties", - help="The policy that controls whether Azure reservation purchases are allowed.", - enum={"Allowed": "Allowed", "Disabled": "Disabled", "NotAllowed": "NotAllowed", "Other": "Other"}, - ) - _args_schema.savings_plan_purchases = AAZStrArg( - options=["--savings-plan-purchases"], - arg_group="Properties", - help="The policy that controls whether users with Azure savings plan purchase are allowed.", - enum={"Allowed": "Allowed", "Disabled": "Disabled", "NotAllowed": "NotAllowed", "Other": "Other"}, - ) - - enterprise_agreement_policies = cls._args_schema.enterprise_agreement_policies - enterprise_agreement_policies.account_owner_view_charges = AAZStrArg( - options=["account-owner-view-charges"], - help="The policy that controls whether account owner can view charges.", - enum={"Allowed": "Allowed", "Disabled": "Disabled", "NotAllowed": "NotAllowed", "Other": "Other"}, - ) - enterprise_agreement_policies.authentication_type = AAZStrArg( - options=["authentication-type"], - help="The state showing the enrollment auth level.", - enum={"MicrosoftAccountOnly": "MicrosoftAccountOnly", "MixedAccount": "MixedAccount", "OrganizationalAccountCrossTenant": "OrganizationalAccountCrossTenant", "OrganizationalAccountOnly": "OrganizationalAccountOnly", "Other": "Other"}, - ) - enterprise_agreement_policies.department_admin_view_charges = AAZStrArg( - options=["department-admin-view-charges"], - help="The policy that controls whether department admin can view charges.", - enum={"Allowed": "Allowed", "Disabled": "Disabled", "NotAllowed": "NotAllowed", "Other": "Other"}, - ) - - policies = cls._args_schema.policies - policies.Element = AAZObjectArg() - - _element = cls._args_schema.policies.Element - _element.name = AAZStrArg( - options=["name"], - help="The name of the policy.", - ) - _element.policy_type = AAZStrArg( - options=["policy-type"], - help="The type of the policy.", - enum={"Other": "Other", "SystemControlled": "SystemControlled", "UserControlled": "UserControlled"}, - ) - _element.scope = AAZStrArg( - options=["scope"], - help="The scope at which the policy is defined.", - ) - _element.value = AAZStrArg( - options=["value"], - help="The value of the policy.", - ) - return cls._args_schema - - def _execute_operations(self): - self.pre_operations() - yield self.PoliciesCreateOrUpdateByBillingAccount(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 PoliciesCreateOrUpdateByBillingAccount(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( - "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/policies/default", - **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( - "billingAccountName", self.ctx.args.billing_account_name, - required=True, - ), - } - return parameters - - @property - def query_parameters(self): - parameters = { - **self.serialize_query_param( - "api-version", "2024-04-01", - 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("properties", AAZObjectType) - _builder.set_prop("tags", AAZDictType, ".tags") - - properties = _builder.get(".properties") - if properties is not None: - properties.set_prop("enterpriseAgreementPolicies", AAZObjectType, ".enterprise_agreement_policies") - properties.set_prop("marketplacePurchases", AAZStrType, ".marketplace_purchases") - properties.set_prop("policies", AAZListType, ".policies") - properties.set_prop("reservationPurchases", AAZStrType, ".reservation_purchases") - properties.set_prop("savingsPlanPurchases", AAZStrType, ".savings_plan_purchases") - - enterprise_agreement_policies = _builder.get(".properties.enterpriseAgreementPolicies") - if enterprise_agreement_policies is not None: - enterprise_agreement_policies.set_prop("accountOwnerViewCharges", AAZStrType, ".account_owner_view_charges") - enterprise_agreement_policies.set_prop("authenticationType", AAZStrType, ".authentication_type") - enterprise_agreement_policies.set_prop("departmentAdminViewCharges", AAZStrType, ".department_admin_view_charges") - - policies = _builder.get(".properties.policies") - if policies is not None: - policies.set_elements(AAZObjectType, ".") - - _elements = _builder.get(".properties.policies[]") - if _elements is not None: - _elements.set_prop("name", AAZStrType, ".name") - _elements.set_prop("policyType", AAZStrType, ".policy_type") - _elements.set_prop("scope", AAZStrType, ".scope") - _elements.set_prop("value", AAZStrType, ".value") - - 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.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}, - ) - - properties = cls._schema_on_200_201.properties - properties.enterprise_agreement_policies = AAZObjectType( - serialized_name="enterpriseAgreementPolicies", - ) - properties.marketplace_purchases = AAZStrType( - serialized_name="marketplacePurchases", - ) - properties.policies = AAZListType() - properties.provisioning_state = AAZStrType( - serialized_name="provisioningState", - flags={"read_only": True}, - ) - properties.reservation_purchases = AAZStrType( - serialized_name="reservationPurchases", - ) - properties.savings_plan_purchases = AAZStrType( - serialized_name="savingsPlanPurchases", - ) - - enterprise_agreement_policies = cls._schema_on_200_201.properties.enterprise_agreement_policies - enterprise_agreement_policies.account_owner_view_charges = AAZStrType( - serialized_name="accountOwnerViewCharges", - ) - enterprise_agreement_policies.authentication_type = AAZStrType( - serialized_name="authenticationType", - ) - enterprise_agreement_policies.department_admin_view_charges = AAZStrType( - serialized_name="departmentAdminViewCharges", - ) - - policies = cls._schema_on_200_201.properties.policies - policies.Element = AAZObjectType() - - _element = cls._schema_on_200_201.properties.policies.Element - _element.name = AAZStrType() - _element.policy_type = AAZStrType( - serialized_name="policyType", - ) - _element.scope = AAZStrType() - _element.value = 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 _CreateOrUpdateByBillingAccountHelper: - """Helper class for CreateOrUpdateByBillingAccount""" - - -__all__ = ["CreateOrUpdateByBillingAccount"] diff --git a/src/billing/azext_billing/tests/latest/recordings/test_customers_commands.yaml b/src/billing/azext_billing/tests/latest/recordings/test_customers_commands.yaml new file mode 100644 index 00000000000..ce624c3b064 --- /dev/null +++ b/src/billing/azext_billing/tests/latest/recordings/test_customers_commands.yaml @@ -0,0 +1,55 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing customer list-by-billing-account + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/edbb014c-80ca-55f8-ffe8-5b0e223f3c96%3A9e80edc1-bbbf-427e-a185-8a8f50a8a1ca_2019-05-31/customers?api-version=2024-04-01 + response: + body: + string: '{"value":[]}' + headers: + api-supported-versions: + - 2018-11-01-preview, 2019-10-01-preview, 2020-05-01, 2022-10-01-privatepreview, + 2024-04-01, 2024-08-01-preview + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Oct 2024 07:18:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: 9BC0D97EED97435391EE84BC3C3B44AC Ref B: CO6AA3150217037 Ref C: 2024-10-23T07:19:00Z' + status: + code: 200 + message: OK +version: 1 diff --git a/src/billing/azext_billing/tests/latest/recordings/test_permission_commands.yaml b/src/billing/azext_billing/tests/latest/recordings/test_permission_commands.yaml new file mode 100644 index 00000000000..98b22b77bc7 --- /dev/null +++ b/src/billing/azext_billing/tests/latest/recordings/test_permission_commands.yaml @@ -0,0 +1,338 @@ +interactions: +- request: + body: '{"actions": ["Microsoft.Billing/billingAccounts/read"]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing permission check-access-by-billing-account + Connection: + - keep-alive + Content-Length: + - '55' + Content-Type: + - application/json + ParameterSetName: + - --billing-account-name --actions + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: POST + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea%3Ad6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/checkAccess?api-version=2024-04-01 + response: + body: + string: '[{"accessDecision":"NotAllowed","action":"Microsoft.Billing/billingAccounts/read"}]' + headers: + api-supported-versions: + - 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, 2022-10-01-privatepreview, + 2024-04-01 + cache-control: + - no-cache + content-length: + - '83' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Oct 2024 08:25:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-ratelimit-remaining-tenant-writes: + - '799' + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: 305CC905D29C4093B7CDC17EFD382196 Ref B: CO6AA3150218035 Ref C: 2024-10-23T08:25:04Z' + status: + code: 200 + message: OK +- request: + body: '{"actions": ["Microsoft.Billing/billingAccounts/billingProfiles/read"]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing permission check-access-by-billing-profile + Connection: + - keep-alive + Content-Length: + - '71' + Content-Type: + - application/json + ParameterSetName: + - --billing-account-name --billing-profile-name --actions + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: POST + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea%3Ad6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/9ea04beecb25435781b6a9c112a4713b/checkAccess?api-version=2024-04-01 + response: + body: + string: '[{"accessDecision":"NotAllowed","action":"Microsoft.Billing/billingAccounts/billingProfiles/read"}]' + headers: + api-supported-versions: + - 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, 2022-10-01-privatepreview, + 2024-04-01 + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Oct 2024 08:25:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-ratelimit-remaining-tenant-writes: + - '799' + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: 9800C18616704B2EBB15C0855A179CBC Ref B: CO6AA3150217047 Ref C: 2024-10-23T08:25:05Z' + status: + code: 200 + message: OK +- request: + body: '{"actions": ["Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections/read"]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing permission check-access-by-invoice-section + Connection: + - keep-alive + Content-Length: + - '87' + Content-Type: + - application/json + ParameterSetName: + - --billing-account-name --billing-profile-name --invoice-section-name --actions + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: POST + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea%3Ad6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/9ea04beecb25435781b6a9c112a4713b/invoiceSections/YB7U-KJHC-PJA-TGB/checkAccess?api-version=2024-04-01 + response: + body: + string: '[{"accessDecision":"NotAllowed","action":"Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections/read"}]' + headers: + api-supported-versions: + - 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, 2022-10-01-privatepreview, + 2024-04-01 + cache-control: + - no-cache + content-length: + - '115' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Oct 2024 08:25:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-ratelimit-remaining-tenant-writes: + - '799' + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: A5004EB7E2544133B0E24B40D4F6CE72 Ref B: CO6AA3150219053 Ref C: 2024-10-23T08:25:06Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing permission list-by-billing-account + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea%3Ad6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingPermissions?api-version=2024-04-01 + response: + body: + string: '{"value":[{"actions":[]}]}' + headers: + api-supported-versions: + - 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, 2022-10-01-privatepreview, + 2024-04-01 + cache-control: + - no-cache + content-length: + - '26' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Oct 2024 08:25:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: 185A2ECFB3FB4166A0F4DAA7D8593E25 Ref B: CO6AA3150220031 Ref C: 2024-10-23T08:25:07Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing permission list-by-billing-profile + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name --billing-profile-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea%3Ad6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/9ea04beecb25435781b6a9c112a4713b/billingPermissions?api-version=2024-04-01 + response: + body: + string: '{"value":[{"actions":[]}]}' + headers: + api-supported-versions: + - 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, 2022-10-01-privatepreview, + 2024-04-01 + cache-control: + - no-cache + content-length: + - '26' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Oct 2024 08:25:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: CBAA4807F0D9462DB07AC9A41BB8CB53 Ref B: CO6AA3150217011 Ref C: 2024-10-23T08:25:08Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing permission list-by-invoice-section + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name --billing-profile-name --invoice-section-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea%3Ad6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/9ea04beecb25435781b6a9c112a4713b/invoiceSections/YB7U-KJHC-PJA-TGB/billingPermissions?api-version=2024-04-01 + response: + body: + string: '{"value":[{"actions":[]}]}' + headers: + api-supported-versions: + - 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, 2022-10-01-privatepreview, + 2024-04-01 + cache-control: + - no-cache + content-length: + - '26' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Oct 2024 08:25:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: C52DE79131D249958D535F99796B4427 Ref B: CO6AA3150220051 Ref C: 2024-10-23T08:25:08Z' + status: + code: 200 + message: OK +version: 1 diff --git a/src/billing/azext_billing/tests/latest/recordings/test_policy_commands.yaml b/src/billing/azext_billing/tests/latest/recordings/test_policy_commands.yaml new file mode 100644 index 00000000000..ac7d2c68752 --- /dev/null +++ b/src/billing/azext_billing/tests/latest/recordings/test_policy_commands.yaml @@ -0,0 +1,167 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing policy get-by-customer-at-billing-account + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name --customer-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/edbb014c-80ca-55f8-ffe8-5b0e223f3c96%3A9e80edc1-bbbf-427e-a185-8a8f50a8a1ca_2019-05-31/customers/da904b39-8d5f-420f-9d2c-c3b3923d78fe/policies/default?api-version=2024-04-01 + response: + body: + string: '{"id":"/providers/Microsoft.Billing/billingAccounts/edbb014c-80ca-55f8-ffe8-5b0e223f3c96:9e80edc1-bbbf-427e-a185-8a8f50a8a1ca_2019-05-31/billingProfiles/SXJ7-5ZRB-BG7-TGB/customers/da904b39-8d5f-420f-9d2c-c3b3923d78fe/policies/default","name":"default","properties":{"viewCharges":"Allowed"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/customers/policies"}' + headers: + api-supported-versions: + - 2018-11-01-preview, 2019-10-01-preview, 2020-05-01, 2020-11-01-privatepreview, + 2022-10-01-privatepreview, 2024-04-01 + cache-control: + - no-cache + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Oct 2024 23:09:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: E042785530724EDEBBCBFEC1160E4C41 Ref B: CO6AA3150220035 Ref C: 2024-10-23T23:09:08Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing policy update-by-customer-at-billing-account + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name --customer-name --view-charges + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/edbb014c-80ca-55f8-ffe8-5b0e223f3c96%3A9e80edc1-bbbf-427e-a185-8a8f50a8a1ca_2019-05-31/customers/da904b39-8d5f-420f-9d2c-c3b3923d78fe/policies/default?api-version=2024-04-01 + response: + body: + string: '{"id":"/providers/Microsoft.Billing/billingAccounts/edbb014c-80ca-55f8-ffe8-5b0e223f3c96:9e80edc1-bbbf-427e-a185-8a8f50a8a1ca_2019-05-31/billingProfiles/SXJ7-5ZRB-BG7-TGB/customers/da904b39-8d5f-420f-9d2c-c3b3923d78fe/policies/default","name":"default","properties":{"viewCharges":"Allowed"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/customers/policies"}' + headers: + api-supported-versions: + - 2018-11-01-preview, 2019-10-01-preview, 2020-05-01, 2020-11-01-privatepreview, + 2022-10-01-privatepreview, 2024-04-01 + cache-control: + - no-cache + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Oct 2024 23:09:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: 57CD583A1F1A404CB7B48CE7F479E9E6 Ref B: CO6AA3150220053 Ref C: 2024-10-23T23:09:09Z' + status: + code: 200 + message: OK +- request: + body: '{"properties": {"viewCharges": "Allowed"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing policy update-by-customer-at-billing-account + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + ParameterSetName: + - --billing-account-name --customer-name --view-charges + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: PUT + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/edbb014c-80ca-55f8-ffe8-5b0e223f3c96%3A9e80edc1-bbbf-427e-a185-8a8f50a8a1ca_2019-05-31/customers/da904b39-8d5f-420f-9d2c-c3b3923d78fe/policies/default?api-version=2024-04-01 + response: + body: + string: '{"id":"/providers/Microsoft.Billing/billingAccounts/edbb014c-80ca-55f8-ffe8-5b0e223f3c96:9e80edc1-bbbf-427e-a185-8a8f50a8a1ca_2019-05-31/billingProfiles/SXJ7-5ZRB-BG7-TGB/customers/da904b39-8d5f-420f-9d2c-c3b3923d78fe/policies/default","name":"default","properties":{"viewCharges":"Allowed"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/customers/policies"}' + headers: + api-supported-versions: + - 2018-11-01-preview, 2019-10-01-preview, 2020-05-01, 2020-11-01-privatepreview, + 2022-10-01-privatepreview, 2024-04-01 + cache-control: + - no-cache + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Oct 2024 23:09:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-ratelimit-remaining-tenant-writes: + - '199' + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: 036F04A824464E76BA72AE2F7E499EDC Ref B: CO6AA3150220053 Ref C: 2024-10-23T23:09:09Z' + status: + code: 200 + message: OK +version: 1 diff --git a/src/billing/azext_billing/tests/latest/recordings/test_products_commands.yaml b/src/billing/azext_billing/tests/latest/recordings/test_products_commands.yaml new file mode 100644 index 00000000000..307c81c0bc7 --- /dev/null +++ b/src/billing/azext_billing/tests/latest/recordings/test_products_commands.yaml @@ -0,0 +1,397 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing product list-by-billing-account + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea%3Ad6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/products?api-version=2024-04-01 + response: + body: + string: '{"totalCount":19,"value":[{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/30d76dc4-93c6-4638-dbcd-8b64f0882e9b","name":"30d76dc4-93c6-4638-dbcd-8b64f0882e9b","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0JJQN","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","endDate":"01/25/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","purchaseDate":"01/26/2024","quantity":3,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/f8ac451d-d74f-4061-d6e4-6423529a9834","name":"f8ac451d-d74f-4061-d6e4-6423529a9834","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0JWXX","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","endDate":"01/29/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","purchaseDate":"01/30/2024","quantity":6,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/f9fb7c28-d948-479f-c7e7-c5beb90f78d9","name":"f9fb7c28-d948-479f-c7e7-c5beb90f78d9","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0JWXX","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","displayName":"monthy + to daily with bill freq","endDate":"02/01/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","purchaseDate":"02/02/2024","quantity":2,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/b86b7abf-8931-44e6-c398-6ae34277d48a","name":"b86b7abf-8931-44e6-c398-6ae34277d48a","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0J9SN","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","displayName":"split + daily to daily","endDate":"11/05/2024","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + Dyn365Financials Advanced User","productTypeId":"CFQ7TTC0LH37","skuId":"0001","skuDescription":"Test + Dyn365Financials Advanced User","purchaseDate":"02/06/2024","quantity":3,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/107339b1-4986-452c-c55e-52df0b1c8e26","name":"107339b1-4986-452c-c55e-52df0b1c8e26","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0J7MR","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","displayName":"Daily + to Daily 1","endDate":"02/07/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Communication + Credits","productTypeId":"CFQ7TTC0J1VP","skuId":"000B","skuDescription":"TEST + - Communications Credits","purchaseDate":"02/08/2024","quantity":7,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/355f11ab-835e-412d-d3c7-f8d4780c0a34","name":"355f11ab-835e-412d-d3c7-f8d4780c0a34","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0JWXX","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","displayName":"Monthly + to daily","endDate":"02/07/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","purchaseDate":"02/08/2024","quantity":3,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/025af6a5-ce26-43be-d1c7-b48b61ad65b3","name":"025af6a5-ce26-43be-d1c7-b48b61ad65b3","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0K6MK","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","displayName":"split + monthly to daily","endDate":"02/07/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5 Conversions","productTypeId":"CFQ7TTC0P7FB","skuId":"0001","skuDescription":"Test + - M365 E5 Conversions","purchaseDate":"02/08/2024","quantity":1,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/9d584daf-a9c8-4a99-c5e6-5ae35f30b556","name":"9d584daf-a9c8-4a99-c5e6-5ae35f30b556","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0JWXX","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","displayName":"monthly + to daily add seats","endDate":"02/07/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","purchaseDate":"02/08/2024","quantity":4,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/fe03f085-6116-40f7-d1b6-1fc84a4fcac5","name":"fe03f085-6116-40f7-d1b6-1fc84a4fcac5","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0K6MK","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","displayName":"daily + to monthly","endDate":"02/07/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5 Conversions","productTypeId":"CFQ7TTC0P7FB","skuId":"0001","skuDescription":"Test + - M365 E5 Conversions","purchaseDate":"02/08/2024","quantity":10,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/f3395769-1607-4f7b-d53e-0bf05807d8ff","name":"f3395769-1607-4f7b-d53e-0bf05807d8ff","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0J7MR","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","displayName":"daily + to daily add seats","endDate":"02/08/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Communication + Credits","productTypeId":"CFQ7TTC0J1VP","skuId":"000B","skuDescription":"TEST + - Communications Credits","purchaseDate":"02/09/2024","quantity":6,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/6BRO-F3NA-BG7-TGB/products/c0a31de2-aac7-4fa2-c606-917f034cbcbf","name":"c0a31de2-aac7-4fa2-c606-917f034cbcbf","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0JWXX","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/9ea04beecb25435781b6a9c112a4713b","billingProfileDisplayName":"BillingProfile2","endDate":"02/08/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/9ea04beecb25435781b6a9c112a4713b/invoiceSections/YB7U-KJHC-PJA-TGB","invoiceSectionDisplayName":"BillingProfile2","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","purchaseDate":"02/09/2024","quantity":2,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/bd724d81-3717-4e0c-c5e7-3378da5996a9","name":"bd724d81-3717-4e0c-c5e7-3378da5996a9","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0J7MR","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","endDate":"02/08/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Communication + Credits","productTypeId":"CFQ7TTC0J1VP","skuId":"000B","skuDescription":"TEST + - Communications Credits","purchaseDate":"02/09/2024","quantity":1,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/96cf6462-a3a7-491b-d9a3-a2e2569ded0d","name":"96cf6462-a3a7-491b-d9a3-a2e2569ded0d","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0JWXX","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","endDate":"02/07/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","purchaseDate":"02/09/2024","quantity":1,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/73a83ad5-0371-4d83-cd5f-ace2484327ce","name":"73a83ad5-0371-4d83-cd5f-ace2484327ce","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0JWXX","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","endDate":"02/08/2027","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","purchaseDate":"02/09/2024","quantity":2,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/RVTW-BBMQ-BG7-TGB/products/b0c1f834-ca02-4f8f-d52a-a985df87bddb","name":"b0c1f834-ca02-4f8f-d52a-a985df87bddb","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0R1FG","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/RVTW-BBMQ-BG7-TGB","billingProfileDisplayName":"TestTestDanGreco","endDate":"06/13/2024","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/RVTW-BBMQ-BG7-TGB/invoiceSections/OWFM-UEAA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Azure + Active Directory Premium P1","productTypeId":"CFQ7TTC0LHPX","skuId":"0001","skuDescription":"Azure + Active Directory Premium P1","purchaseDate":"02/14/2024","quantity":2,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/c19f56c2-6e3d-4526-d8b7-c648526e147d","name":"c19f56c2-6e3d-4526-d8b7-c648526e147d","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0HVNZ","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","endDate":"03/20/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + Dyn365Financials Advanced User","productTypeId":"CFQ7TTC0LH37","skuId":"0001","skuDescription":"Test + Dyn365Financials Advanced User","purchaseDate":"03/21/2024","quantity":3,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/01ca24c3-83a7-49ce-d10e-d5d82abeae15","name":"01ca24c3-83a7-49ce-d10e-d5d82abeae15","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0HVVF","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","endDate":"03/20/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + Dyn365Financials Limited User","productTypeId":"CFQ7TTC0LH3K","skuId":"0001","skuDescription":"Test + Dyn365Financials Limited User","purchaseDate":"03/21/2024","quantity":2,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/70d9a267-5828-410d-de9b-8c5995bc647a","name":"70d9a267-5828-410d-de9b-8c5995bc647a","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0HVLM","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","endDate":"03/22/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + Dyn365Financials Limited User","productTypeId":"CFQ7TTC0LH3K","skuId":"0001","skuDescription":"Test + Dyn365Financials Limited User","purchaseDate":"03/23/2024","quantity":3,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/6BRO-F3NA-BG7-TGB/products/06be7523-3571-4d2d-d43c-9090ab3bfbca","name":"06be7523-3571-4d2d-d43c-9090ab3bfbca","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0P184","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/9ea04beecb25435781b6a9c112a4713b","billingProfileDisplayName":"BillingProfile2","endDate":"09/08/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/9ea04beecb25435781b6a9c112a4713b/invoiceSections/JQQD-DDYS-PJA-TGB","invoiceSectionDisplayName":"bailing4","productType":"Microsoft + 365 Business Basic","productTypeId":"CFQ7TTC0LH18","skuId":"0001","skuDescription":"Microsoft + 365 Business Basic","purchaseDate":"08/23/2024","quantity":2,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"}]}' + headers: + api-supported-versions: + - 2018-11-01-preview, 2019-10-01-preview, 2020-05-01, 2024-04-01 + cache-control: + - no-cache + content-length: + - '21261' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 24 Oct 2024 06:51:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: D0DD396BD20F40ECAB278A5B22CE41F3 Ref B: CO6AA3150219049 Ref C: 2024-10-24T06:51:33Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing product list-by-billing-profile + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name --billing-profile-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea%3Ad6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/products?api-version=2024-04-01 + response: + body: + string: '{"totalCount":16,"value":[{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/30d76dc4-93c6-4638-dbcd-8b64f0882e9b","name":"30d76dc4-93c6-4638-dbcd-8b64f0882e9b","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0JJQN","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","endDate":"01/25/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","purchaseDate":"01/26/2024","quantity":3,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/f8ac451d-d74f-4061-d6e4-6423529a9834","name":"f8ac451d-d74f-4061-d6e4-6423529a9834","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0JWXX","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","endDate":"01/29/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","purchaseDate":"01/30/2024","quantity":6,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/f9fb7c28-d948-479f-c7e7-c5beb90f78d9","name":"f9fb7c28-d948-479f-c7e7-c5beb90f78d9","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0JWXX","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","displayName":"monthy + to daily with bill freq","endDate":"02/01/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","purchaseDate":"02/02/2024","quantity":2,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/b86b7abf-8931-44e6-c398-6ae34277d48a","name":"b86b7abf-8931-44e6-c398-6ae34277d48a","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0J9SN","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","displayName":"split + daily to daily","endDate":"11/05/2024","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + Dyn365Financials Advanced User","productTypeId":"CFQ7TTC0LH37","skuId":"0001","skuDescription":"Test + Dyn365Financials Advanced User","purchaseDate":"02/06/2024","quantity":3,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/107339b1-4986-452c-c55e-52df0b1c8e26","name":"107339b1-4986-452c-c55e-52df0b1c8e26","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0J7MR","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","displayName":"Daily + to Daily 1","endDate":"02/07/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Communication + Credits","productTypeId":"CFQ7TTC0J1VP","skuId":"000B","skuDescription":"TEST + - Communications Credits","purchaseDate":"02/08/2024","quantity":7,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/355f11ab-835e-412d-d3c7-f8d4780c0a34","name":"355f11ab-835e-412d-d3c7-f8d4780c0a34","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0JWXX","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","displayName":"Monthly + to daily","endDate":"02/07/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","purchaseDate":"02/08/2024","quantity":3,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/025af6a5-ce26-43be-d1c7-b48b61ad65b3","name":"025af6a5-ce26-43be-d1c7-b48b61ad65b3","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0K6MK","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","displayName":"split + monthly to daily","endDate":"02/07/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5 Conversions","productTypeId":"CFQ7TTC0P7FB","skuId":"0001","skuDescription":"Test + - M365 E5 Conversions","purchaseDate":"02/08/2024","quantity":1,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/9d584daf-a9c8-4a99-c5e6-5ae35f30b556","name":"9d584daf-a9c8-4a99-c5e6-5ae35f30b556","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0JWXX","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","displayName":"monthly + to daily add seats","endDate":"02/07/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","purchaseDate":"02/08/2024","quantity":4,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/fe03f085-6116-40f7-d1b6-1fc84a4fcac5","name":"fe03f085-6116-40f7-d1b6-1fc84a4fcac5","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0K6MK","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","displayName":"daily + to monthly","endDate":"02/07/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5 Conversions","productTypeId":"CFQ7TTC0P7FB","skuId":"0001","skuDescription":"Test + - M365 E5 Conversions","purchaseDate":"02/08/2024","quantity":10,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/f3395769-1607-4f7b-d53e-0bf05807d8ff","name":"f3395769-1607-4f7b-d53e-0bf05807d8ff","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0J7MR","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","displayName":"daily + to daily add seats","endDate":"02/08/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Communication + Credits","productTypeId":"CFQ7TTC0J1VP","skuId":"000B","skuDescription":"TEST + - Communications Credits","purchaseDate":"02/09/2024","quantity":6,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/bd724d81-3717-4e0c-c5e7-3378da5996a9","name":"bd724d81-3717-4e0c-c5e7-3378da5996a9","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0J7MR","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","endDate":"02/08/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Communication + Credits","productTypeId":"CFQ7TTC0J1VP","skuId":"000B","skuDescription":"TEST + - Communications Credits","purchaseDate":"02/09/2024","quantity":1,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/96cf6462-a3a7-491b-d9a3-a2e2569ded0d","name":"96cf6462-a3a7-491b-d9a3-a2e2569ded0d","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0JWXX","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","endDate":"02/07/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","purchaseDate":"02/09/2024","quantity":1,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/73a83ad5-0371-4d83-cd5f-ace2484327ce","name":"73a83ad5-0371-4d83-cd5f-ace2484327ce","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0JWXX","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","endDate":"02/08/2027","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","purchaseDate":"02/09/2024","quantity":2,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/c19f56c2-6e3d-4526-d8b7-c648526e147d","name":"c19f56c2-6e3d-4526-d8b7-c648526e147d","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0HVNZ","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","endDate":"03/20/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + Dyn365Financials Advanced User","productTypeId":"CFQ7TTC0LH37","skuId":"0001","skuDescription":"Test + Dyn365Financials Advanced User","purchaseDate":"03/21/2024","quantity":3,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/01ca24c3-83a7-49ce-d10e-d5d82abeae15","name":"01ca24c3-83a7-49ce-d10e-d5d82abeae15","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0HVVF","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","endDate":"03/20/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + Dyn365Financials Limited User","productTypeId":"CFQ7TTC0LH3K","skuId":"0001","skuDescription":"Test + Dyn365Financials Limited User","purchaseDate":"03/21/2024","quantity":2,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/70d9a267-5828-410d-de9b-8c5995bc647a","name":"70d9a267-5828-410d-de9b-8c5995bc647a","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0HVLM","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","endDate":"03/22/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + Dyn365Financials Limited User","productTypeId":"CFQ7TTC0LH3K","skuId":"0001","skuDescription":"Test + Dyn365Financials Limited User","purchaseDate":"03/23/2024","quantity":3,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"}]}' + headers: + api-supported-versions: + - 2018-11-01-preview, 2019-10-01-preview, 2020-05-01, 2024-04-01 + cache-control: + - no-cache + content-length: + - '18013' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 24 Oct 2024 06:51:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: 3998966E16894DA894B103C31F551B4C Ref B: CO6AA3150218019 Ref C: 2024-10-24T06:51:34Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing product list-by-invoice-section + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name --billing-profile-name --invoice-section-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea%3Ad6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB/products?api-version=2024-04-01 + response: + body: + string: '{"totalCount":16,"value":[{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/30d76dc4-93c6-4638-dbcd-8b64f0882e9b","name":"30d76dc4-93c6-4638-dbcd-8b64f0882e9b","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0JJQN","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","endDate":"01/25/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","purchaseDate":"01/26/2024","quantity":3,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/f8ac451d-d74f-4061-d6e4-6423529a9834","name":"f8ac451d-d74f-4061-d6e4-6423529a9834","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0JWXX","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","endDate":"01/29/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","purchaseDate":"01/30/2024","quantity":6,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/f9fb7c28-d948-479f-c7e7-c5beb90f78d9","name":"f9fb7c28-d948-479f-c7e7-c5beb90f78d9","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0JWXX","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","displayName":"monthy + to daily with bill freq","endDate":"02/01/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","purchaseDate":"02/02/2024","quantity":2,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/b86b7abf-8931-44e6-c398-6ae34277d48a","name":"b86b7abf-8931-44e6-c398-6ae34277d48a","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0J9SN","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","displayName":"split + daily to daily","endDate":"11/05/2024","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + Dyn365Financials Advanced User","productTypeId":"CFQ7TTC0LH37","skuId":"0001","skuDescription":"Test + Dyn365Financials Advanced User","purchaseDate":"02/06/2024","quantity":3,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/107339b1-4986-452c-c55e-52df0b1c8e26","name":"107339b1-4986-452c-c55e-52df0b1c8e26","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0J7MR","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","displayName":"Daily + to Daily 1","endDate":"02/07/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Communication + Credits","productTypeId":"CFQ7TTC0J1VP","skuId":"000B","skuDescription":"TEST + - Communications Credits","purchaseDate":"02/08/2024","quantity":7,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/355f11ab-835e-412d-d3c7-f8d4780c0a34","name":"355f11ab-835e-412d-d3c7-f8d4780c0a34","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0JWXX","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","displayName":"Monthly + to daily","endDate":"02/07/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","purchaseDate":"02/08/2024","quantity":3,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/025af6a5-ce26-43be-d1c7-b48b61ad65b3","name":"025af6a5-ce26-43be-d1c7-b48b61ad65b3","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0K6MK","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","displayName":"split + monthly to daily","endDate":"02/07/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5 Conversions","productTypeId":"CFQ7TTC0P7FB","skuId":"0001","skuDescription":"Test + - M365 E5 Conversions","purchaseDate":"02/08/2024","quantity":1,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/9d584daf-a9c8-4a99-c5e6-5ae35f30b556","name":"9d584daf-a9c8-4a99-c5e6-5ae35f30b556","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0JWXX","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","displayName":"monthly + to daily add seats","endDate":"02/07/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","purchaseDate":"02/08/2024","quantity":4,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/fe03f085-6116-40f7-d1b6-1fc84a4fcac5","name":"fe03f085-6116-40f7-d1b6-1fc84a4fcac5","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0K6MK","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","displayName":"daily + to monthly","endDate":"02/07/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5 Conversions","productTypeId":"CFQ7TTC0P7FB","skuId":"0001","skuDescription":"Test + - M365 E5 Conversions","purchaseDate":"02/08/2024","quantity":10,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/f3395769-1607-4f7b-d53e-0bf05807d8ff","name":"f3395769-1607-4f7b-d53e-0bf05807d8ff","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0J7MR","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","displayName":"daily + to daily add seats","endDate":"02/08/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Communication + Credits","productTypeId":"CFQ7TTC0J1VP","skuId":"000B","skuDescription":"TEST + - Communications Credits","purchaseDate":"02/09/2024","quantity":6,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/bd724d81-3717-4e0c-c5e7-3378da5996a9","name":"bd724d81-3717-4e0c-c5e7-3378da5996a9","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0J7MR","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","endDate":"02/08/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Communication + Credits","productTypeId":"CFQ7TTC0J1VP","skuId":"000B","skuDescription":"TEST + - Communications Credits","purchaseDate":"02/09/2024","quantity":1,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/96cf6462-a3a7-491b-d9a3-a2e2569ded0d","name":"96cf6462-a3a7-491b-d9a3-a2e2569ded0d","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0JWXX","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","endDate":"02/07/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","purchaseDate":"02/09/2024","quantity":1,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/73a83ad5-0371-4d83-cd5f-ace2484327ce","name":"73a83ad5-0371-4d83-cd5f-ace2484327ce","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0JWXX","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","endDate":"02/08/2027","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","purchaseDate":"02/09/2024","quantity":2,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/c19f56c2-6e3d-4526-d8b7-c648526e147d","name":"c19f56c2-6e3d-4526-d8b7-c648526e147d","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0HVNZ","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","endDate":"03/20/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + Dyn365Financials Advanced User","productTypeId":"CFQ7TTC0LH37","skuId":"0001","skuDescription":"Test + Dyn365Financials Advanced User","purchaseDate":"03/21/2024","quantity":3,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/01ca24c3-83a7-49ce-d10e-d5d82abeae15","name":"01ca24c3-83a7-49ce-d10e-d5d82abeae15","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0HVVF","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","endDate":"03/20/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + Dyn365Financials Limited User","productTypeId":"CFQ7TTC0LH3K","skuId":"0001","skuDescription":"Test + Dyn365Financials Limited User","purchaseDate":"03/21/2024","quantity":2,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"},{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/70d9a267-5828-410d-de9b-8c5995bc647a","name":"70d9a267-5828-410d-de9b-8c5995bc647a","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0HVLM","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","endDate":"03/22/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + Dyn365Financials Limited User","productTypeId":"CFQ7TTC0LH3K","skuId":"0001","skuDescription":"Test + Dyn365Financials Limited User","purchaseDate":"03/23/2024","quantity":3,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"}]}' + headers: + api-supported-versions: + - 2018-11-01-preview, 2019-10-01-preview, 2020-05-01, 2024-04-01 + cache-control: + - no-cache + content-length: + - '18013' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 24 Oct 2024 06:51:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: CE7615B10DF341C99D94938D94C495AC Ref B: CO6AA3150218011 Ref C: 2024-10-24T06:51:34Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing product get + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name --product-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea%3Ad6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/products/30d76dc4-93c6-4638-dbcd-8b64f0882e9b?api-version=2024-04-01 + response: + body: + string: '{"id":"/providers/Microsoft.Billing/billingAccounts/HWEG-Q6HX-BG7-TGB/products/30d76dc4-93c6-4638-dbcd-8b64f0882e9b","name":"30d76dc4-93c6-4638-dbcd-8b64f0882e9b","properties":{"autoRenew":"On","availabilityId":"CFQ7TTC0JJQN","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","endDate":"01/25/2025","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","purchaseDate":"01/26/2024","quantity":3,"status":"AutoRenew","tenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c"},"type":"Microsoft.Billing/billingAccounts/products"}' + headers: + api-supported-versions: + - 2018-11-01-preview, 2019-10-01-preview, 2020-05-01, 2024-04-01 + cache-control: + - no-cache + content-length: + - '1103' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 24 Oct 2024 06:51:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: E0B33ACED8A84F98B5B4CB3EBCCD4030 Ref B: CO6AA3150219031 Ref C: 2024-10-24T06:51:35Z' + status: + code: 200 + message: OK +- request: + body: '{"destinationInvoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/9ea04beecb25435781b6a9c112a4713b/invoiceSections/YB7U-KJHC-PJA-TGB"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing product validate-move-eligibility + Connection: + - keep-alive + Content-Length: + - '247' + Content-Type: + - application/json + ParameterSetName: + - --billing-account-name --product-name --destination-invoice-section-id + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: POST + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea%3Ad6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/products/30d76dc4-93c6-4638-dbcd-8b64f0882e9b/validateMoveEligibility?api-version=2024-04-01 + response: + body: + string: '{"isMoveEligible":false,"errorDetails":{"code":"InsufficientPermissionOnSource","message":"User + does not have permission to change the billing profile for this product."}}' + headers: + api-supported-versions: + - 2018-11-01-preview, 2019-10-01-preview, 2020-05-01, 2024-04-01 + cache-control: + - no-cache + content-length: + - '171' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 24 Oct 2024 06:51:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-ratelimit-remaining-tenant-writes: + - '199' + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: 54B68CD654894EB5938979F82EA9D511 Ref B: CO6AA3150217039 Ref C: 2024-10-24T06:51:35Z' + status: + code: 200 + message: OK +version: 1 diff --git a/src/billing/azext_billing/tests/latest/recordings/test_read_roleassignments.yaml b/src/billing/azext_billing/tests/latest/recordings/test_read_roleassignments.yaml new file mode 100644 index 00000000000..3ad3bcb9e23 --- /dev/null +++ b/src/billing/azext_billing/tests/latest/recordings/test_read_roleassignments.yaml @@ -0,0 +1,760 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing role-assignment list-by-billing-account + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea%3Ad6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments?api-version=2024-04-01 + response: + body: + string: '{"value":[{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_9bf312df-5cb8-41b0-b448-1e2fc2d0f03b","name":"50000000-aaaa-bbbb-cccc-100000000000_9bf312df-5cb8-41b0-b448-1e2fc2d0f03b","properties":{"createdOn":"2024-08-30T15:34:59.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"9bf312df-5cb8-41b0-b448-1e2fc2d0f03b","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000002_3da15671-96f6-48d5-a1b4-e4b45d1583ba","name":"50000000-aaaa-bbbb-cccc-100000000002_3da15671-96f6-48d5-a1b4-e4b45d1583ba","properties":{"createdOn":"2024-09-10T18:19:33.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"3da15671-96f6-48d5-a1b4-e4b45d1583ba","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000002","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_3ae0b55d-e1c8-412f-9a0c-aee39690f67e","name":"50000000-aaaa-bbbb-cccc-100000000000_3ae0b55d-e1c8-412f-9a0c-aee39690f67e","properties":{"createdOn":"2024-09-19T21:14:19.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"3ae0b55d-e1c8-412f-9a0c-aee39690f67e","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_b866b094-9442-4c60-b2ad-b54e828ddf5a","name":"50000000-aaaa-bbbb-cccc-100000000000_b866b094-9442-4c60-b2ad-b54e828ddf5a","properties":{"createdOn":"2024-09-30T19:23:46.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_d9b44322-f58e-4b29-81c0-fe34998b711a","name":"50000000-aaaa-bbbb-cccc-100000000000_d9b44322-f58e-4b29-81c0-fe34998b711a","properties":{"createdOn":"2024-01-17T14:06:35.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"d9b44322-f58e-4b29-81c0-fe34998b711a","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_89f4b8a1-7aff-4b04-8e53-49103705466d","name":"50000000-aaaa-bbbb-cccc-100000000000_89f4b8a1-7aff-4b04-8e53-49103705466d","properties":{"createdOn":"2024-01-19T05:17:10.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"89f4b8a1-7aff-4b04-8e53-49103705466d","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_139b12a5-e999-49c8-bc5a-c3874d540959","name":"50000000-aaaa-bbbb-cccc-100000000000_139b12a5-e999-49c8-bc5a-c3874d540959","properties":{"createdOn":"2024-02-07T21:11:27.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"139b12a5-e999-49c8-bc5a-c3874d540959","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_fa8c45d8-0def-46b3-b019-1eb609e6f064","name":"50000000-aaaa-bbbb-cccc-100000000000_fa8c45d8-0def-46b3-b019-1eb609e6f064","properties":{"createdOn":"2024-04-18T17:34:09.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"fa8c45d8-0def-46b3-b019-1eb609e6f064","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_95dc7da5-db08-4613-baf1-b30da7a77ed5","name":"50000000-aaaa-bbbb-cccc-100000000000_95dc7da5-db08-4613-baf1-b30da7a77ed5","properties":{"createdOn":"2024-04-18T18:34:56.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"95dc7da5-db08-4613-baf1-b30da7a77ed5","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_8b9de486-07f0-494e-9e9a-7800f4ebeb77","name":"50000000-aaaa-bbbb-cccc-100000000000_8b9de486-07f0-494e-9e9a-7800f4ebeb77","properties":{"createdOn":"2024-05-28T18:28:48.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"8b9de486-07f0-494e-9e9a-7800f4ebeb77","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_20df8cc2-b28e-4c60-bcca-cdff915c79bc","name":"50000000-aaaa-bbbb-cccc-100000000000_20df8cc2-b28e-4c60-bcca-cdff915c79bc","properties":{"createdOn":"2024-06-04T18:42:50.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"20df8cc2-b28e-4c60-bcca-cdff915c79bc","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_5031215f-6024-414c-b787-4c02bd11b43c","name":"50000000-aaaa-bbbb-cccc-100000000000_5031215f-6024-414c-b787-4c02bd11b43c","properties":{"createdOn":"2024-06-07T20:32:04.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"5031215f-6024-414c-b787-4c02bd11b43c","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000002_0fe89332-d1d9-4aa7-8979-2bcb2602848d","name":"50000000-aaaa-bbbb-cccc-100000000002_0fe89332-d1d9-4aa7-8979-2bcb2602848d","properties":{"createdOn":"2024-06-27T22:39:23.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"0fe89332-d1d9-4aa7-8979-2bcb2602848d","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000002","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_944c0b2a-293d-4f8e-8421-61e5c5bfa18f","name":"50000000-aaaa-bbbb-cccc-100000000000_944c0b2a-293d-4f8e-8421-61e5c5bfa18f","properties":{"createdOn":"2024-07-10T18:55:55.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"944c0b2a-293d-4f8e-8421-61e5c5bfa18f","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_b139b2d4-4c52-4705-a451-c85656a830b8","name":"50000000-aaaa-bbbb-cccc-100000000000_b139b2d4-4c52-4705-a451-c85656a830b8","properties":{"createdOn":"2024-07-25T20:01:52.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"b139b2d4-4c52-4705-a451-c85656a830b8","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_f15d15f3-57b1-4a1f-99f1-a6d2802378df","name":"50000000-aaaa-bbbb-cccc-100000000000_f15d15f3-57b1-4a1f-99f1-a6d2802378df","properties":{"createdOn":"2024-08-09T15:21:52.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b139b2d4-4c52-4705-a451-c85656a830b8","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"f15d15f3-57b1-4a1f-99f1-a6d2802378df","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_3bde09fb-03f5-4634-874d-b62759ac1ce9","name":"50000000-aaaa-bbbb-cccc-100000000000_3bde09fb-03f5-4634-874d-b62759ac1ce9","properties":{"createdOn":"2024-08-14T22:45:13.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000001_20df8cc2-b28e-4c60-bcca-cdff915c79bc","name":"50000000-aaaa-bbbb-cccc-100000000001_20df8cc2-b28e-4c60-bcca-cdff915c79bc","properties":{"createdOn":"2024-08-15T21:23:33.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"20df8cc2-b28e-4c60-bcca-cdff915c79bc","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000001","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000002_8045a556-d505-4807-ad8e-8033d0ac68dd","name":"50000000-aaaa-bbbb-cccc-100000000002_8045a556-d505-4807-ad8e-8033d0ac68dd","properties":{"createdOn":"2024-08-16T23:32:51.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"8045a556-d505-4807-ad8e-8033d0ac68dd","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000002","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"}]}' + headers: + api-supported-versions: + - 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, 2022-10-01-privatepreview, + 2024-04-01 + cache-control: + - no-cache + content-length: + - '20968' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 24 Oct 2024 07:36:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: 6DD8C99E2286465287A8A020F6E7CE71 Ref B: CO6AA3150217039 Ref C: 2024-10-24T07:36:12Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing role-assignment list-by-billing-profile + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name --billing-profile-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea%3Ad6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleAssignments?api-version=2024-04-01 + response: + body: + string: '{"value":[{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleAssignments/40000000-aaaa-bbbb-cccc-100000000000_b139b2d4-4c52-4705-a451-c85656a830b8","name":"40000000-aaaa-bbbb-cccc-100000000000_b139b2d4-4c52-4705-a451-c85656a830b8","properties":{"createdOn":"2024-09-11T19:24:58.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b139b2d4-4c52-4705-a451-c85656a830b8","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"b139b2d4-4c52-4705-a451-c85656a830b8","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions/40000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleAssignments/40000000-aaaa-bbbb-cccc-100000000004_8045a556-d505-4807-ad8e-8033d0ac68dd","name":"40000000-aaaa-bbbb-cccc-100000000004_8045a556-d505-4807-ad8e-8033d0ac68dd","properties":{"createdOn":"2024-03-15T22:13:08.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"8045a556-d505-4807-ad8e-8033d0ac68dd","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions/40000000-aaaa-bbbb-cccc-100000000004","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleAssignments/40000000-aaaa-bbbb-cccc-100000000004_785fe15c-d90c-4450-b247-d5861eda4eb4","name":"40000000-aaaa-bbbb-cccc-100000000004_785fe15c-d90c-4450-b247-d5861eda4eb4","properties":{"createdOn":"2024-03-15T22:37:20.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"785fe15c-d90c-4450-b247-d5861eda4eb4","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions/40000000-aaaa-bbbb-cccc-100000000004","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleAssignments/40000000-aaaa-bbbb-cccc-100000000000_8b9de486-07f0-494e-9e9a-7800f4ebeb77","name":"40000000-aaaa-bbbb-cccc-100000000000_8b9de486-07f0-494e-9e9a-7800f4ebeb77","properties":{"createdOn":"2024-05-28T18:29:24.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"8b9de486-07f0-494e-9e9a-7800f4ebeb77","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions/40000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleAssignments/40000000-aaaa-bbbb-cccc-100000000000_3bde09fb-03f5-4634-874d-b62759ac1ce9","name":"40000000-aaaa-bbbb-cccc-100000000000_3bde09fb-03f5-4634-874d-b62759ac1ce9","properties":{"createdOn":"2024-06-04T23:16:25.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions/40000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/billingRoleAssignments"}]}' + headers: + api-supported-versions: + - 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, 2022-10-01-privatepreview, + 2024-04-01 + cache-control: + - no-cache + content-length: + - '6116' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 24 Oct 2024 07:36:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: 626983F4250B425AAC58A4D8209332E0 Ref B: CO6AA3150219009 Ref C: 2024-10-24T07:36:12Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing role-assignment list-by-invoice-section + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name --billing-profile-name --invoice-section-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea%3Ad6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB/billingRoleAssignments?api-version=2024-04-01 + response: + body: + string: '{"value":[{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB/billingRoleAssignments/30000000-aaaa-bbbb-cccc-100000000000_b866b094-9442-4c60-b2ad-b54e828ddf5a","name":"30000000-aaaa-bbbb-cccc-100000000000_b866b094-9442-4c60-b2ad-b54e828ddf5a","properties":{"createdOn":"2024-01-12T19:18:00.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB/billingRoleDefinitions/30000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections/billingRoleAssignments"}]}' + headers: + api-supported-versions: + - 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, 2022-10-01-privatepreview, + 2024-04-01 + cache-control: + - no-cache + content-length: + - '1350' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 24 Oct 2024 07:36:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: B446D1B6A6884B189FA3421B3DD48BE8 Ref B: CO6AA3150218031 Ref C: 2024-10-24T07:36:13Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing role-assignment resolve-by-billing-account + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --billing-account-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: POST + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea%3Ad6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/resolveBillingRoleAssignments?resolveScopeDisplayNames=false&api-version=2024-04-01 + response: + body: + string: '{"value":[{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_9bf312df-5cb8-41b0-b448-1e2fc2d0f03b","name":"50000000-aaaa-bbbb-cccc-100000000000_9bf312df-5cb8-41b0-b448-1e2fc2d0f03b","properties":{"createdOn":"2024-08-30T15:34:59.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"9bf312df-5cb8-41b0-b448-1e2fc2d0f03b","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000002_3da15671-96f6-48d5-a1b4-e4b45d1583ba","name":"50000000-aaaa-bbbb-cccc-100000000002_3da15671-96f6-48d5-a1b4-e4b45d1583ba","properties":{"createdOn":"2024-09-10T18:19:33.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"3da15671-96f6-48d5-a1b4-e4b45d1583ba","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000002","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_3ae0b55d-e1c8-412f-9a0c-aee39690f67e","name":"50000000-aaaa-bbbb-cccc-100000000000_3ae0b55d-e1c8-412f-9a0c-aee39690f67e","properties":{"createdOn":"2024-09-19T21:14:19.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"3ae0b55d-e1c8-412f-9a0c-aee39690f67e","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_b866b094-9442-4c60-b2ad-b54e828ddf5a","name":"50000000-aaaa-bbbb-cccc-100000000000_b866b094-9442-4c60-b2ad-b54e828ddf5a","properties":{"createdOn":"2024-09-30T19:23:46.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_d9b44322-f58e-4b29-81c0-fe34998b711a","name":"50000000-aaaa-bbbb-cccc-100000000000_d9b44322-f58e-4b29-81c0-fe34998b711a","properties":{"createdOn":"2024-01-17T14:06:35.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"d9b44322-f58e-4b29-81c0-fe34998b711a","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_89f4b8a1-7aff-4b04-8e53-49103705466d","name":"50000000-aaaa-bbbb-cccc-100000000000_89f4b8a1-7aff-4b04-8e53-49103705466d","properties":{"createdOn":"2024-01-19T05:17:10.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"89f4b8a1-7aff-4b04-8e53-49103705466d","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_139b12a5-e999-49c8-bc5a-c3874d540959","name":"50000000-aaaa-bbbb-cccc-100000000000_139b12a5-e999-49c8-bc5a-c3874d540959","properties":{"createdOn":"2024-02-07T21:11:27.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"139b12a5-e999-49c8-bc5a-c3874d540959","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_fa8c45d8-0def-46b3-b019-1eb609e6f064","name":"50000000-aaaa-bbbb-cccc-100000000000_fa8c45d8-0def-46b3-b019-1eb609e6f064","properties":{"createdOn":"2024-04-18T17:34:09.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"fa8c45d8-0def-46b3-b019-1eb609e6f064","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_95dc7da5-db08-4613-baf1-b30da7a77ed5","name":"50000000-aaaa-bbbb-cccc-100000000000_95dc7da5-db08-4613-baf1-b30da7a77ed5","properties":{"createdOn":"2024-04-18T18:34:56.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"95dc7da5-db08-4613-baf1-b30da7a77ed5","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_8b9de486-07f0-494e-9e9a-7800f4ebeb77","name":"50000000-aaaa-bbbb-cccc-100000000000_8b9de486-07f0-494e-9e9a-7800f4ebeb77","properties":{"createdOn":"2024-05-28T18:28:48.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"8b9de486-07f0-494e-9e9a-7800f4ebeb77","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_20df8cc2-b28e-4c60-bcca-cdff915c79bc","name":"50000000-aaaa-bbbb-cccc-100000000000_20df8cc2-b28e-4c60-bcca-cdff915c79bc","properties":{"createdOn":"2024-06-04T18:42:50.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"20df8cc2-b28e-4c60-bcca-cdff915c79bc","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_5031215f-6024-414c-b787-4c02bd11b43c","name":"50000000-aaaa-bbbb-cccc-100000000000_5031215f-6024-414c-b787-4c02bd11b43c","properties":{"createdOn":"2024-06-07T20:32:04.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"5031215f-6024-414c-b787-4c02bd11b43c","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000002_0fe89332-d1d9-4aa7-8979-2bcb2602848d","name":"50000000-aaaa-bbbb-cccc-100000000002_0fe89332-d1d9-4aa7-8979-2bcb2602848d","properties":{"createdOn":"2024-06-27T22:39:23.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"0fe89332-d1d9-4aa7-8979-2bcb2602848d","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000002","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_944c0b2a-293d-4f8e-8421-61e5c5bfa18f","name":"50000000-aaaa-bbbb-cccc-100000000000_944c0b2a-293d-4f8e-8421-61e5c5bfa18f","properties":{"createdOn":"2024-07-10T18:55:55.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"944c0b2a-293d-4f8e-8421-61e5c5bfa18f","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_b139b2d4-4c52-4705-a451-c85656a830b8","name":"50000000-aaaa-bbbb-cccc-100000000000_b139b2d4-4c52-4705-a451-c85656a830b8","properties":{"createdOn":"2024-07-25T20:01:52.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"b139b2d4-4c52-4705-a451-c85656a830b8","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_f15d15f3-57b1-4a1f-99f1-a6d2802378df","name":"50000000-aaaa-bbbb-cccc-100000000000_f15d15f3-57b1-4a1f-99f1-a6d2802378df","properties":{"createdOn":"2024-08-09T15:21:52.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b139b2d4-4c52-4705-a451-c85656a830b8","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"f15d15f3-57b1-4a1f-99f1-a6d2802378df","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_3bde09fb-03f5-4634-874d-b62759ac1ce9","name":"50000000-aaaa-bbbb-cccc-100000000000_3bde09fb-03f5-4634-874d-b62759ac1ce9","properties":{"createdOn":"2024-08-14T22:45:13.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000001_20df8cc2-b28e-4c60-bcca-cdff915c79bc","name":"50000000-aaaa-bbbb-cccc-100000000001_20df8cc2-b28e-4c60-bcca-cdff915c79bc","properties":{"createdOn":"2024-08-15T21:23:33.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"20df8cc2-b28e-4c60-bcca-cdff915c79bc","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000001","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000002_8045a556-d505-4807-ad8e-8033d0ac68dd","name":"50000000-aaaa-bbbb-cccc-100000000002_8045a556-d505-4807-ad8e-8033d0ac68dd","properties":{"createdOn":"2024-08-16T23:32:51.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"8045a556-d505-4807-ad8e-8033d0ac68dd","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000002","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"}]}' + headers: + api-supported-versions: + - 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, 2022-10-01-privatepreview, + 2024-04-01 + cache-control: + - no-cache + content-length: + - '20968' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 24 Oct 2024 07:36:13 GMT + expires: + - '-1' + location: + - https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/operationResults/resolveBillingRoleAssignments_2b7616b8-ab40-4480-ab62-19c3d0039b8a?api-version=2024-04-01&t=638653521741889729&c=MIIHpTCCBo2gAwIBAgITOgM6dTLGpzYZpvPtgQAEAzp1MjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNjI2MDEzMjIxWhcNMjUwNjIxMDEzMjIxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAPPPKY5bDN03KptFFhiyLIyn86BlrXYFIZWYXA-hY7_WbLyWN0IxcLIUBW_I-9u-YsXOHk9WPMlUYHIFPgHW7A3FsSGfl9dd6YGapKoSSw0NkTpNXM58R54BBgLp7AhiWzK15D9T-XELNSU4Wq9sEeA5T24kazcgS2MUkzELH0I9dwu7g0dwJIuIJkoJjEzg1b1Q3Ie5HKHHNbjottJn7Q5LBS-9QtQyruuwaNTgSJpCoi4PBKVIOTBYL_Nv1wecmKmfWcT0mnhQE9zjhJTbcoN9hKSvAMqsDHtxWUFZosiw3JKIY0zb59CrVGSuOhfN3qaarwN9EAlXLqc4ZyKpsTkCAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CWTJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSU5GUkElMjBDQSUyMDAxKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MB0GA1UdDgQWBBRk_38CqdKjPVylWUR4uuqhbFGeHTAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAFsx7FtYAzSo98T5ydNFa0ukjPZ6XCQc9zo7ldqy235P_zJAUkaNgCU4EGOzbZJDoMa8mAfhyukL_0GfPeApUaY2e44ZOzoYAkeEuDiwcs-9zoQ1fCyXhn0pCumGFXRilX9KjAPaYTzDvQMEllTy_ZViwTahuKaGtFVamZguBPdaeYC_0oybtTVNQCs8hGnffhNZOMASB-5pFs35MNxsDWTVIQksDee419jqpsbWLkh6rnanILO1O_ihwb-WpvRQByQ5NGpG1-z0MQ6nRpr9wWxUi-DsrVsD38NTMIPc2uei4Ivf6qnGRvOOj0fmsciWuTTEXMaD-5a81mGlzhZc09Q&s=3Ootq3tOf33_qxMrjZPA-SUNX0ECRKZaNL4D8LdETBQuaFMH75gEPGTmafRQ1APgYwK12QaxllYPtJKsgd-fsTtmPiCGOU3Rw0sBTyUfN82gqA_oUapbRHQU7bgffWIhhgGXktPTmI3jGA_7TP_nJ0BV-z1PBSydtbv6AAmU50poB9DzlhnTjwjKf1Br1v6Zyz66x1uEKO5PlNMGhMX8dPIcORRYMQkMaJjEvjX8OZBD-ej4RIxfdYG0VfiPMJX5apYwAfO2wycPmqBhofY8DEES-BQji7mMqSg81mqHbC0h8Nf8Wn38jEd6k3DGiBHoVDfEnASICFEWpV-8frfJGA&h=UaxFxcqc0QbQAD2Rfdlfalk9TTJQfY3-ScH9Xsf3eWI + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-ratelimit-remaining-tenant-writes: + - '199' + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: 43BCE21373CD4D11B00837DD1A2FA84F Ref B: CO6AA3150219045 Ref C: 2024-10-24T07:36:13Z' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - billing role-assignment resolve-by-billing-account + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/operationResults/resolveBillingRoleAssignments_2b7616b8-ab40-4480-ab62-19c3d0039b8a?api-version=2024-04-01&t=638653521741889729&c=MIIHpTCCBo2gAwIBAgITOgM6dTLGpzYZpvPtgQAEAzp1MjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNjI2MDEzMjIxWhcNMjUwNjIxMDEzMjIxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAPPPKY5bDN03KptFFhiyLIyn86BlrXYFIZWYXA-hY7_WbLyWN0IxcLIUBW_I-9u-YsXOHk9WPMlUYHIFPgHW7A3FsSGfl9dd6YGapKoSSw0NkTpNXM58R54BBgLp7AhiWzK15D9T-XELNSU4Wq9sEeA5T24kazcgS2MUkzELH0I9dwu7g0dwJIuIJkoJjEzg1b1Q3Ie5HKHHNbjottJn7Q5LBS-9QtQyruuwaNTgSJpCoi4PBKVIOTBYL_Nv1wecmKmfWcT0mnhQE9zjhJTbcoN9hKSvAMqsDHtxWUFZosiw3JKIY0zb59CrVGSuOhfN3qaarwN9EAlXLqc4ZyKpsTkCAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CWTJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSU5GUkElMjBDQSUyMDAxKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MB0GA1UdDgQWBBRk_38CqdKjPVylWUR4uuqhbFGeHTAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAFsx7FtYAzSo98T5ydNFa0ukjPZ6XCQc9zo7ldqy235P_zJAUkaNgCU4EGOzbZJDoMa8mAfhyukL_0GfPeApUaY2e44ZOzoYAkeEuDiwcs-9zoQ1fCyXhn0pCumGFXRilX9KjAPaYTzDvQMEllTy_ZViwTahuKaGtFVamZguBPdaeYC_0oybtTVNQCs8hGnffhNZOMASB-5pFs35MNxsDWTVIQksDee419jqpsbWLkh6rnanILO1O_ihwb-WpvRQByQ5NGpG1-z0MQ6nRpr9wWxUi-DsrVsD38NTMIPc2uei4Ivf6qnGRvOOj0fmsciWuTTEXMaD-5a81mGlzhZc09Q&s=3Ootq3tOf33_qxMrjZPA-SUNX0ECRKZaNL4D8LdETBQuaFMH75gEPGTmafRQ1APgYwK12QaxllYPtJKsgd-fsTtmPiCGOU3Rw0sBTyUfN82gqA_oUapbRHQU7bgffWIhhgGXktPTmI3jGA_7TP_nJ0BV-z1PBSydtbv6AAmU50poB9DzlhnTjwjKf1Br1v6Zyz66x1uEKO5PlNMGhMX8dPIcORRYMQkMaJjEvjX8OZBD-ej4RIxfdYG0VfiPMJX5apYwAfO2wycPmqBhofY8DEES-BQji7mMqSg81mqHbC0h8Nf8Wn38jEd6k3DGiBHoVDfEnASICFEWpV-8frfJGA&h=UaxFxcqc0QbQAD2Rfdlfalk9TTJQfY3-ScH9Xsf3eWI + response: + body: + string: '{"value":[{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_9bf312df-5cb8-41b0-b448-1e2fc2d0f03b","name":"50000000-aaaa-bbbb-cccc-100000000000_9bf312df-5cb8-41b0-b448-1e2fc2d0f03b","properties":{"createdOn":"2024-08-30T15:34:59.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"9bf312df-5cb8-41b0-b448-1e2fc2d0f03b","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000002_3da15671-96f6-48d5-a1b4-e4b45d1583ba","name":"50000000-aaaa-bbbb-cccc-100000000002_3da15671-96f6-48d5-a1b4-e4b45d1583ba","properties":{"createdOn":"2024-09-10T18:19:33.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"3da15671-96f6-48d5-a1b4-e4b45d1583ba","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000002","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_3ae0b55d-e1c8-412f-9a0c-aee39690f67e","name":"50000000-aaaa-bbbb-cccc-100000000000_3ae0b55d-e1c8-412f-9a0c-aee39690f67e","properties":{"createdOn":"2024-09-19T21:14:19.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"3ae0b55d-e1c8-412f-9a0c-aee39690f67e","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_b866b094-9442-4c60-b2ad-b54e828ddf5a","name":"50000000-aaaa-bbbb-cccc-100000000000_b866b094-9442-4c60-b2ad-b54e828ddf5a","properties":{"createdOn":"2024-09-30T19:23:46.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_d9b44322-f58e-4b29-81c0-fe34998b711a","name":"50000000-aaaa-bbbb-cccc-100000000000_d9b44322-f58e-4b29-81c0-fe34998b711a","properties":{"createdOn":"2024-01-17T14:06:35.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"d9b44322-f58e-4b29-81c0-fe34998b711a","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_89f4b8a1-7aff-4b04-8e53-49103705466d","name":"50000000-aaaa-bbbb-cccc-100000000000_89f4b8a1-7aff-4b04-8e53-49103705466d","properties":{"createdOn":"2024-01-19T05:17:10.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"89f4b8a1-7aff-4b04-8e53-49103705466d","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_139b12a5-e999-49c8-bc5a-c3874d540959","name":"50000000-aaaa-bbbb-cccc-100000000000_139b12a5-e999-49c8-bc5a-c3874d540959","properties":{"createdOn":"2024-02-07T21:11:27.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"139b12a5-e999-49c8-bc5a-c3874d540959","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_fa8c45d8-0def-46b3-b019-1eb609e6f064","name":"50000000-aaaa-bbbb-cccc-100000000000_fa8c45d8-0def-46b3-b019-1eb609e6f064","properties":{"createdOn":"2024-04-18T17:34:09.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"fa8c45d8-0def-46b3-b019-1eb609e6f064","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_95dc7da5-db08-4613-baf1-b30da7a77ed5","name":"50000000-aaaa-bbbb-cccc-100000000000_95dc7da5-db08-4613-baf1-b30da7a77ed5","properties":{"createdOn":"2024-04-18T18:34:56.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"95dc7da5-db08-4613-baf1-b30da7a77ed5","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_8b9de486-07f0-494e-9e9a-7800f4ebeb77","name":"50000000-aaaa-bbbb-cccc-100000000000_8b9de486-07f0-494e-9e9a-7800f4ebeb77","properties":{"createdOn":"2024-05-28T18:28:48.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"8b9de486-07f0-494e-9e9a-7800f4ebeb77","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_20df8cc2-b28e-4c60-bcca-cdff915c79bc","name":"50000000-aaaa-bbbb-cccc-100000000000_20df8cc2-b28e-4c60-bcca-cdff915c79bc","properties":{"createdOn":"2024-06-04T18:42:50.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"20df8cc2-b28e-4c60-bcca-cdff915c79bc","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_5031215f-6024-414c-b787-4c02bd11b43c","name":"50000000-aaaa-bbbb-cccc-100000000000_5031215f-6024-414c-b787-4c02bd11b43c","properties":{"createdOn":"2024-06-07T20:32:04.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"5031215f-6024-414c-b787-4c02bd11b43c","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000002_0fe89332-d1d9-4aa7-8979-2bcb2602848d","name":"50000000-aaaa-bbbb-cccc-100000000002_0fe89332-d1d9-4aa7-8979-2bcb2602848d","properties":{"createdOn":"2024-06-27T22:39:23.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"0fe89332-d1d9-4aa7-8979-2bcb2602848d","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000002","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_944c0b2a-293d-4f8e-8421-61e5c5bfa18f","name":"50000000-aaaa-bbbb-cccc-100000000000_944c0b2a-293d-4f8e-8421-61e5c5bfa18f","properties":{"createdOn":"2024-07-10T18:55:55.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"944c0b2a-293d-4f8e-8421-61e5c5bfa18f","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_b139b2d4-4c52-4705-a451-c85656a830b8","name":"50000000-aaaa-bbbb-cccc-100000000000_b139b2d4-4c52-4705-a451-c85656a830b8","properties":{"createdOn":"2024-07-25T20:01:52.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"b139b2d4-4c52-4705-a451-c85656a830b8","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_f15d15f3-57b1-4a1f-99f1-a6d2802378df","name":"50000000-aaaa-bbbb-cccc-100000000000_f15d15f3-57b1-4a1f-99f1-a6d2802378df","properties":{"createdOn":"2024-08-09T15:21:52.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b139b2d4-4c52-4705-a451-c85656a830b8","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"f15d15f3-57b1-4a1f-99f1-a6d2802378df","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_3bde09fb-03f5-4634-874d-b62759ac1ce9","name":"50000000-aaaa-bbbb-cccc-100000000000_3bde09fb-03f5-4634-874d-b62759ac1ce9","properties":{"createdOn":"2024-08-14T22:45:13.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000001_20df8cc2-b28e-4c60-bcca-cdff915c79bc","name":"50000000-aaaa-bbbb-cccc-100000000001_20df8cc2-b28e-4c60-bcca-cdff915c79bc","properties":{"createdOn":"2024-08-15T21:23:33.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"20df8cc2-b28e-4c60-bcca-cdff915c79bc","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000001","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000002_8045a556-d505-4807-ad8e-8033d0ac68dd","name":"50000000-aaaa-bbbb-cccc-100000000002_8045a556-d505-4807-ad8e-8033d0ac68dd","properties":{"createdOn":"2024-08-16T23:32:51.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"8045a556-d505-4807-ad8e-8033d0ac68dd","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000002","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"}]}' + headers: + api-supported-versions: + - 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, 2022-10-01-privatepreview, + 2024-04-01 + cache-control: + - no-cache + content-length: + - '20968' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 24 Oct 2024 07:36:14 GMT + expires: + - '-1' + location: + - https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/operationResults/resolveBillingRoleAssignments_2b7616b8-ab40-4480-ab62-19c3d0039b8a?api-version=2024-04-01&t=638653521743367653&c=MIIHhzCCBm-gAwIBAgITHgVxvH65_BmPrKxDIgAABXG8fjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTI1MTkzNzA4WhcNMjUwMzI0MTkzNzA4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKlHcl7gn1b6aLS1hLftgvWE8n-Z9liLRsNGgjYfyY_1N6TVDEHJTtctREIaCRDPEC-hePKBe7OS45JIAD6cl5AGU_dQlGd-3bBZeVfAPJFUnC910pwhDca2OXlf4LyB1KSofXaA4xDB6G7cHXRld_URCnol2LHQEGox0vBzaPz30AUB0ZhAatZgqhXy5qnroV3zbEZC3m4qLDSnG8QNEnw8Wv5GpYH_MxK9mgDPwoIObeDBnjtQonKzvItZ8jXwF-wEmcVAnhr6Dvq3rWdBY9616kXvQ7E3eEvGqMn9W_NZTAqlaanfaACfITkIJZkgsSoJGw5USCMC-vzAb1Ms0j0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBTELag1gS_F07Xj1us9l4ySYrHYYjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABJx3Gb3LtjBZ4x70SioNIk8ap3qwt2DMEu9dXEhi28jFB87BBsTCkNeuhGlLzHm7Ykx6xpUjJp4F2_qmJKrQjDH4U0VYT_yc8Ow5mxrFJcewgTXzwmwqXOodok5WWOUVP4Mmdp_O_3je1dVgw4TrdrypIZImBn2jVDrXQ79fFXTR-Td0XMOtWPDwreoMRagD769QW4hlGtVaZCqOAzyomfSc8PhDzKhllbZQrmP-UgiLU14SDsxwq6AHG413ClcJIDGfEsEKwlUyIIAKHDwSdbO41Zs7ZQG5k_eBlGTkr-5Zye8vT7OeGf1_mGZSme6otyTUL_3-6gJ282qCPXoflc&s=fH3NdniYLKiUYd5noSqDao8V55qbTG12ufBH4YSyo971y9ZKIYKBs9saNYonVfwt2oMwMpJ0StCu33vPAvxhgqXeq8xgpnowMUbhDZi_cKd9t7Fyfsbwg6NTsNWckw5tdXaVdb5l_TGNIgpIAoIdq88FEnzsivUvrUk6wQqCEOt4GLX0JtUCawg5GV6yFM6SOOQqY3aG48npZ0Ttkv982UUrcp8kNr__yGwtaXLkOUG-vEd4Y0BGPGF9lyEBs8N1JhXr9Kkv0UkEsPJv6v6ojvuNRQlmbENEJF8TFATr-7yPDYiy3HRgabpYv9iOzVbROdcFZBhy6254k3Rze2tv9g&h=McjI4J6pNL89wiQvVtej-2i-FvFJnM4_LqfORFPHQsA + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: 8F23C662FC404E6BA2427577C9189D03 Ref B: CO6AA3150219045 Ref C: 2024-10-24T07:36:14Z' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - billing role-assignment resolve-by-billing-account + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/operationResults/resolveBillingRoleAssignments_2b7616b8-ab40-4480-ab62-19c3d0039b8a?api-version=2024-04-01&t=638653521743367653&c=MIIHhzCCBm-gAwIBAgITHgVxvH65_BmPrKxDIgAABXG8fjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTI1MTkzNzA4WhcNMjUwMzI0MTkzNzA4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKlHcl7gn1b6aLS1hLftgvWE8n-Z9liLRsNGgjYfyY_1N6TVDEHJTtctREIaCRDPEC-hePKBe7OS45JIAD6cl5AGU_dQlGd-3bBZeVfAPJFUnC910pwhDca2OXlf4LyB1KSofXaA4xDB6G7cHXRld_URCnol2LHQEGox0vBzaPz30AUB0ZhAatZgqhXy5qnroV3zbEZC3m4qLDSnG8QNEnw8Wv5GpYH_MxK9mgDPwoIObeDBnjtQonKzvItZ8jXwF-wEmcVAnhr6Dvq3rWdBY9616kXvQ7E3eEvGqMn9W_NZTAqlaanfaACfITkIJZkgsSoJGw5USCMC-vzAb1Ms0j0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBTELag1gS_F07Xj1us9l4ySYrHYYjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABJx3Gb3LtjBZ4x70SioNIk8ap3qwt2DMEu9dXEhi28jFB87BBsTCkNeuhGlLzHm7Ykx6xpUjJp4F2_qmJKrQjDH4U0VYT_yc8Ow5mxrFJcewgTXzwmwqXOodok5WWOUVP4Mmdp_O_3je1dVgw4TrdrypIZImBn2jVDrXQ79fFXTR-Td0XMOtWPDwreoMRagD769QW4hlGtVaZCqOAzyomfSc8PhDzKhllbZQrmP-UgiLU14SDsxwq6AHG413ClcJIDGfEsEKwlUyIIAKHDwSdbO41Zs7ZQG5k_eBlGTkr-5Zye8vT7OeGf1_mGZSme6otyTUL_3-6gJ282qCPXoflc&s=fH3NdniYLKiUYd5noSqDao8V55qbTG12ufBH4YSyo971y9ZKIYKBs9saNYonVfwt2oMwMpJ0StCu33vPAvxhgqXeq8xgpnowMUbhDZi_cKd9t7Fyfsbwg6NTsNWckw5tdXaVdb5l_TGNIgpIAoIdq88FEnzsivUvrUk6wQqCEOt4GLX0JtUCawg5GV6yFM6SOOQqY3aG48npZ0Ttkv982UUrcp8kNr__yGwtaXLkOUG-vEd4Y0BGPGF9lyEBs8N1JhXr9Kkv0UkEsPJv6v6ojvuNRQlmbENEJF8TFATr-7yPDYiy3HRgabpYv9iOzVbROdcFZBhy6254k3Rze2tv9g&h=McjI4J6pNL89wiQvVtej-2i-FvFJnM4_LqfORFPHQsA + response: + body: + string: '{"value":[{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_9bf312df-5cb8-41b0-b448-1e2fc2d0f03b","name":"50000000-aaaa-bbbb-cccc-100000000000_9bf312df-5cb8-41b0-b448-1e2fc2d0f03b","properties":{"createdOn":"2024-08-30T15:34:59.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"9bf312df-5cb8-41b0-b448-1e2fc2d0f03b","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","userEmailAddress":"sam@TestTestDailyinvoicing.onmicrosoft.com","principalDisplayName":"sam","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000002_3da15671-96f6-48d5-a1b4-e4b45d1583ba","name":"50000000-aaaa-bbbb-cccc-100000000002_3da15671-96f6-48d5-a1b4-e4b45d1583ba","properties":{"createdOn":"2024-09-10T18:19:33.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"3da15671-96f6-48d5-a1b4-e4b45d1583ba","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000002","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","userEmailAddress":"dennisreader@TestTestDailyinvoicing.onmicrosoft.com","principalDisplayName":"dennisreader","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_3ae0b55d-e1c8-412f-9a0c-aee39690f67e","name":"50000000-aaaa-bbbb-cccc-100000000000_3ae0b55d-e1c8-412f-9a0c-aee39690f67e","properties":{"createdOn":"2024-09-19T21:14:19.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"3ae0b55d-e1c8-412f-9a0c-aee39690f67e","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","userEmailAddress":"dennis@TestTestDailyinvoicing.onmicrosoft.com","principalDisplayName":"dennis","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_b866b094-9442-4c60-b2ad-b54e828ddf5a","name":"50000000-aaaa-bbbb-cccc-100000000000_b866b094-9442-4c60-b2ad-b54e828ddf5a","properties":{"createdOn":"2024-09-30T19:23:46.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","userEmailAddress":"admin@TestTestDailyinvoicing.onmicrosoft.com","principalDisplayName":"Justin + Kinman","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_d9b44322-f58e-4b29-81c0-fe34998b711a","name":"50000000-aaaa-bbbb-cccc-100000000000_d9b44322-f58e-4b29-81c0-fe34998b711a","properties":{"createdOn":"2024-01-17T14:06:35.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"d9b44322-f58e-4b29-81c0-fe34998b711a","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","userEmailAddress":"dangreco@TestTestDailyinvoicing.onmicrosoft.com","principalDisplayName":"Dan + Greco","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_89f4b8a1-7aff-4b04-8e53-49103705466d","name":"50000000-aaaa-bbbb-cccc-100000000000_89f4b8a1-7aff-4b04-8e53-49103705466d","properties":{"createdOn":"2024-01-19T05:17:10.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"89f4b8a1-7aff-4b04-8e53-49103705466d","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_139b12a5-e999-49c8-bc5a-c3874d540959","name":"50000000-aaaa-bbbb-cccc-100000000000_139b12a5-e999-49c8-bc5a-c3874d540959","properties":{"createdOn":"2024-02-07T21:11:27.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"139b12a5-e999-49c8-bc5a-c3874d540959","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","userEmailAddress":"shrshett@Microsoft.com","principalDisplayName":"shrshett","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_fa8c45d8-0def-46b3-b019-1eb609e6f064","name":"50000000-aaaa-bbbb-cccc-100000000000_fa8c45d8-0def-46b3-b019-1eb609e6f064","properties":{"createdOn":"2024-04-18T17:34:09.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"fa8c45d8-0def-46b3-b019-1eb609e6f064","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","userEmailAddress":"Vinod@TestTestDailyinvoicing.onmicrosoft.com","principalDisplayName":"Vinod","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_95dc7da5-db08-4613-baf1-b30da7a77ed5","name":"50000000-aaaa-bbbb-cccc-100000000000_95dc7da5-db08-4613-baf1-b30da7a77ed5","properties":{"createdOn":"2024-04-18T18:34:56.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"95dc7da5-db08-4613-baf1-b30da7a77ed5","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","userEmailAddress":"vpallampati@microsoft.com","principalDisplayName":"Vinod + Pallampati","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_8b9de486-07f0-494e-9e9a-7800f4ebeb77","name":"50000000-aaaa-bbbb-cccc-100000000000_8b9de486-07f0-494e-9e9a-7800f4ebeb77","properties":{"createdOn":"2024-05-28T18:28:48.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"8b9de486-07f0-494e-9e9a-7800f4ebeb77","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","userEmailAddress":"Chris@TestTestDailyinvoicing.onmicrosoft.com","principalDisplayName":"Chris","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_20df8cc2-b28e-4c60-bcca-cdff915c79bc","name":"50000000-aaaa-bbbb-cccc-100000000000_20df8cc2-b28e-4c60-bcca-cdff915c79bc","properties":{"createdOn":"2024-06-04T18:42:50.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"20df8cc2-b28e-4c60-bcca-cdff915c79bc","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","userEmailAddress":"anand@TestTestDailyinvoicing.onmicrosoft.com","principalDisplayName":"anand","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_5031215f-6024-414c-b787-4c02bd11b43c","name":"50000000-aaaa-bbbb-cccc-100000000000_5031215f-6024-414c-b787-4c02bd11b43c","properties":{"createdOn":"2024-06-07T20:32:04.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"5031215f-6024-414c-b787-4c02bd11b43c","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","userEmailAddress":"Yulan@TestTestDailyinvoicing.onmicrosoft.com","principalDisplayName":"Yulan","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000002_0fe89332-d1d9-4aa7-8979-2bcb2602848d","name":"50000000-aaaa-bbbb-cccc-100000000002_0fe89332-d1d9-4aa7-8979-2bcb2602848d","properties":{"createdOn":"2024-06-27T22:39:23.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"0fe89332-d1d9-4aa7-8979-2bcb2602848d","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000002","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","userEmailAddress":"nonadmin@TestTestDailyinvoicing.onmicrosoft.com","principalDisplayName":"nonadmin","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_944c0b2a-293d-4f8e-8421-61e5c5bfa18f","name":"50000000-aaaa-bbbb-cccc-100000000000_944c0b2a-293d-4f8e-8421-61e5c5bfa18f","properties":{"createdOn":"2024-07-10T18:55:55.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"944c0b2a-293d-4f8e-8421-61e5c5bfa18f","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","userEmailAddress":"Murali@TestTestDailyinvoicing.onmicrosoft.com","principalDisplayName":"Murali","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_b139b2d4-4c52-4705-a451-c85656a830b8","name":"50000000-aaaa-bbbb-cccc-100000000000_b139b2d4-4c52-4705-a451-c85656a830b8","properties":{"createdOn":"2024-07-25T20:01:52.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"b139b2d4-4c52-4705-a451-c85656a830b8","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","userEmailAddress":"shaila@TestTestDailyinvoicing.onmicrosoft.com","principalDisplayName":"shaila","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_f15d15f3-57b1-4a1f-99f1-a6d2802378df","name":"50000000-aaaa-bbbb-cccc-100000000000_f15d15f3-57b1-4a1f-99f1-a6d2802378df","properties":{"createdOn":"2024-08-09T15:21:52.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b139b2d4-4c52-4705-a451-c85656a830b8","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"f15d15f3-57b1-4a1f-99f1-a6d2802378df","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","userEmailAddress":"Cern@TestTestDailyinvoicing.onmicrosoft.com","principalDisplayName":"Cern","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_3bde09fb-03f5-4634-874d-b62759ac1ce9","name":"50000000-aaaa-bbbb-cccc-100000000000_3bde09fb-03f5-4634-874d-b62759ac1ce9","properties":{"createdOn":"2024-08-14T22:45:13.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","userEmailAddress":"kristin2@testtestdailyinvoicing.onmicrosoft.com","principalDisplayName":"Kristin","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000001_20df8cc2-b28e-4c60-bcca-cdff915c79bc","name":"50000000-aaaa-bbbb-cccc-100000000001_20df8cc2-b28e-4c60-bcca-cdff915c79bc","properties":{"createdOn":"2024-08-15T21:23:33.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"20df8cc2-b28e-4c60-bcca-cdff915c79bc","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000001","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","userEmailAddress":"anand@TestTestDailyinvoicing.onmicrosoft.com","principalDisplayName":"anand","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000002_8045a556-d505-4807-ad8e-8033d0ac68dd","name":"50000000-aaaa-bbbb-cccc-100000000002_8045a556-d505-4807-ad8e-8033d0ac68dd","properties":{"createdOn":"2024-08-16T23:32:51.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"8045a556-d505-4807-ad8e-8033d0ac68dd","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000002","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","userEmailAddress":"billingadmin@TestTestDailyinvoicing.onmicrosoft.com","principalDisplayName":"billingadmin","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"}]}' + headers: + api-supported-versions: + - 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, 2022-10-01-privatepreview, + 2024-04-01 + cache-control: + - no-cache + content-length: + - '22741' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 24 Oct 2024 07:36:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: 199442F3F9FC41EC894F19084BE93AB8 Ref B: CO6AA3150219045 Ref C: 2024-10-24T07:36:19Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing role-assignment resolve-by-billing-profile + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --billing-account-name --billing-profile-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: POST + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea%3Ad6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/resolveBillingRoleAssignments?resolveScopeDisplayNames=false&api-version=2024-04-01 + response: + body: + string: '{"value":[{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleAssignments/40000000-aaaa-bbbb-cccc-100000000000_b139b2d4-4c52-4705-a451-c85656a830b8","name":"40000000-aaaa-bbbb-cccc-100000000000_b139b2d4-4c52-4705-a451-c85656a830b8","properties":{"createdOn":"2024-09-11T19:24:58.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b139b2d4-4c52-4705-a451-c85656a830b8","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"b139b2d4-4c52-4705-a451-c85656a830b8","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions/40000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleAssignments/40000000-aaaa-bbbb-cccc-100000000004_8045a556-d505-4807-ad8e-8033d0ac68dd","name":"40000000-aaaa-bbbb-cccc-100000000004_8045a556-d505-4807-ad8e-8033d0ac68dd","properties":{"createdOn":"2024-03-15T22:13:08.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"8045a556-d505-4807-ad8e-8033d0ac68dd","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions/40000000-aaaa-bbbb-cccc-100000000004","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleAssignments/40000000-aaaa-bbbb-cccc-100000000004_785fe15c-d90c-4450-b247-d5861eda4eb4","name":"40000000-aaaa-bbbb-cccc-100000000004_785fe15c-d90c-4450-b247-d5861eda4eb4","properties":{"createdOn":"2024-03-15T22:37:20.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"785fe15c-d90c-4450-b247-d5861eda4eb4","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions/40000000-aaaa-bbbb-cccc-100000000004","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleAssignments/40000000-aaaa-bbbb-cccc-100000000000_8b9de486-07f0-494e-9e9a-7800f4ebeb77","name":"40000000-aaaa-bbbb-cccc-100000000000_8b9de486-07f0-494e-9e9a-7800f4ebeb77","properties":{"createdOn":"2024-05-28T18:29:24.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"8b9de486-07f0-494e-9e9a-7800f4ebeb77","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions/40000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleAssignments/40000000-aaaa-bbbb-cccc-100000000000_3bde09fb-03f5-4634-874d-b62759ac1ce9","name":"40000000-aaaa-bbbb-cccc-100000000000_3bde09fb-03f5-4634-874d-b62759ac1ce9","properties":{"createdOn":"2024-06-04T23:16:25.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions/40000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/billingRoleAssignments"}]}' + headers: + api-supported-versions: + - 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, 2022-10-01-privatepreview, + 2024-04-01 + cache-control: + - no-cache + content-length: + - '6116' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 24 Oct 2024 07:36:19 GMT + expires: + - '-1' + location: + - https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/operationResults/resolveBillingRoleAssignments_86665f8c-7335-4e94-9aae-e80081199595?api-version=2024-04-01&t=638653521805869922&c=MIIHpTCCBo2gAwIBAgITOgM6dTLGpzYZpvPtgQAEAzp1MjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNjI2MDEzMjIxWhcNMjUwNjIxMDEzMjIxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAPPPKY5bDN03KptFFhiyLIyn86BlrXYFIZWYXA-hY7_WbLyWN0IxcLIUBW_I-9u-YsXOHk9WPMlUYHIFPgHW7A3FsSGfl9dd6YGapKoSSw0NkTpNXM58R54BBgLp7AhiWzK15D9T-XELNSU4Wq9sEeA5T24kazcgS2MUkzELH0I9dwu7g0dwJIuIJkoJjEzg1b1Q3Ie5HKHHNbjottJn7Q5LBS-9QtQyruuwaNTgSJpCoi4PBKVIOTBYL_Nv1wecmKmfWcT0mnhQE9zjhJTbcoN9hKSvAMqsDHtxWUFZosiw3JKIY0zb59CrVGSuOhfN3qaarwN9EAlXLqc4ZyKpsTkCAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CWTJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSU5GUkElMjBDQSUyMDAxKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MB0GA1UdDgQWBBRk_38CqdKjPVylWUR4uuqhbFGeHTAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAFsx7FtYAzSo98T5ydNFa0ukjPZ6XCQc9zo7ldqy235P_zJAUkaNgCU4EGOzbZJDoMa8mAfhyukL_0GfPeApUaY2e44ZOzoYAkeEuDiwcs-9zoQ1fCyXhn0pCumGFXRilX9KjAPaYTzDvQMEllTy_ZViwTahuKaGtFVamZguBPdaeYC_0oybtTVNQCs8hGnffhNZOMASB-5pFs35MNxsDWTVIQksDee419jqpsbWLkh6rnanILO1O_ihwb-WpvRQByQ5NGpG1-z0MQ6nRpr9wWxUi-DsrVsD38NTMIPc2uei4Ivf6qnGRvOOj0fmsciWuTTEXMaD-5a81mGlzhZc09Q&s=KdYGZH-JKwOAL9UX7ulVbFZbzedGykUi4XQzZmjlG2UDpiuH7AKeHSY4Foh-eVPrHZ1gQpU5rAJmpx2rQxtIDNoXNvSWKu0WmXzU0qG0m616Ej_kIrAm8YfdYKMLiimJtvLKaFyyWW1mgkknHId3q4Hn1M1vfsOLomRr47mXm_JPsL6cgnSEn08iyCbqDq-WoeX9r2qM8FFZiYeEzmmYcHPMC8Qz7kCc4h9zMCTzPXM7DhdvzeiASp4fTltJHVplWyBaWIr-qI001PBGgSiMUseTqZOuakJFTWuCw1E4M5pgnu4id-_VKwr6XQFHz2rh6gEjcqdG_0PxJf6mbb1_Sw&h=y2sH_6zQuwuSomJuRZ-bFK_67bpOBOwLFyXGdepNtIY + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-ratelimit-remaining-tenant-writes: + - '199' + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: 6709C991594F4664B7791DB0FCCFFF01 Ref B: CO6AA3150218019 Ref C: 2024-10-24T07:36:20Z' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - billing role-assignment resolve-by-billing-profile + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name --billing-profile-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/operationResults/resolveBillingRoleAssignments_86665f8c-7335-4e94-9aae-e80081199595?api-version=2024-04-01&t=638653521805869922&c=MIIHpTCCBo2gAwIBAgITOgM6dTLGpzYZpvPtgQAEAzp1MjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNjI2MDEzMjIxWhcNMjUwNjIxMDEzMjIxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAPPPKY5bDN03KptFFhiyLIyn86BlrXYFIZWYXA-hY7_WbLyWN0IxcLIUBW_I-9u-YsXOHk9WPMlUYHIFPgHW7A3FsSGfl9dd6YGapKoSSw0NkTpNXM58R54BBgLp7AhiWzK15D9T-XELNSU4Wq9sEeA5T24kazcgS2MUkzELH0I9dwu7g0dwJIuIJkoJjEzg1b1Q3Ie5HKHHNbjottJn7Q5LBS-9QtQyruuwaNTgSJpCoi4PBKVIOTBYL_Nv1wecmKmfWcT0mnhQE9zjhJTbcoN9hKSvAMqsDHtxWUFZosiw3JKIY0zb59CrVGSuOhfN3qaarwN9EAlXLqc4ZyKpsTkCAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CWTJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSU5GUkElMjBDQSUyMDAxKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MB0GA1UdDgQWBBRk_38CqdKjPVylWUR4uuqhbFGeHTAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAFsx7FtYAzSo98T5ydNFa0ukjPZ6XCQc9zo7ldqy235P_zJAUkaNgCU4EGOzbZJDoMa8mAfhyukL_0GfPeApUaY2e44ZOzoYAkeEuDiwcs-9zoQ1fCyXhn0pCumGFXRilX9KjAPaYTzDvQMEllTy_ZViwTahuKaGtFVamZguBPdaeYC_0oybtTVNQCs8hGnffhNZOMASB-5pFs35MNxsDWTVIQksDee419jqpsbWLkh6rnanILO1O_ihwb-WpvRQByQ5NGpG1-z0MQ6nRpr9wWxUi-DsrVsD38NTMIPc2uei4Ivf6qnGRvOOj0fmsciWuTTEXMaD-5a81mGlzhZc09Q&s=KdYGZH-JKwOAL9UX7ulVbFZbzedGykUi4XQzZmjlG2UDpiuH7AKeHSY4Foh-eVPrHZ1gQpU5rAJmpx2rQxtIDNoXNvSWKu0WmXzU0qG0m616Ej_kIrAm8YfdYKMLiimJtvLKaFyyWW1mgkknHId3q4Hn1M1vfsOLomRr47mXm_JPsL6cgnSEn08iyCbqDq-WoeX9r2qM8FFZiYeEzmmYcHPMC8Qz7kCc4h9zMCTzPXM7DhdvzeiASp4fTltJHVplWyBaWIr-qI001PBGgSiMUseTqZOuakJFTWuCw1E4M5pgnu4id-_VKwr6XQFHz2rh6gEjcqdG_0PxJf6mbb1_Sw&h=y2sH_6zQuwuSomJuRZ-bFK_67bpOBOwLFyXGdepNtIY + response: + body: + string: '{"value":[{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleAssignments/40000000-aaaa-bbbb-cccc-100000000000_b139b2d4-4c52-4705-a451-c85656a830b8","name":"40000000-aaaa-bbbb-cccc-100000000000_b139b2d4-4c52-4705-a451-c85656a830b8","properties":{"createdOn":"2024-09-11T19:24:58.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b139b2d4-4c52-4705-a451-c85656a830b8","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"b139b2d4-4c52-4705-a451-c85656a830b8","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions/40000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleAssignments/40000000-aaaa-bbbb-cccc-100000000004_8045a556-d505-4807-ad8e-8033d0ac68dd","name":"40000000-aaaa-bbbb-cccc-100000000004_8045a556-d505-4807-ad8e-8033d0ac68dd","properties":{"createdOn":"2024-03-15T22:13:08.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"8045a556-d505-4807-ad8e-8033d0ac68dd","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions/40000000-aaaa-bbbb-cccc-100000000004","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleAssignments/40000000-aaaa-bbbb-cccc-100000000004_785fe15c-d90c-4450-b247-d5861eda4eb4","name":"40000000-aaaa-bbbb-cccc-100000000004_785fe15c-d90c-4450-b247-d5861eda4eb4","properties":{"createdOn":"2024-03-15T22:37:20.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"785fe15c-d90c-4450-b247-d5861eda4eb4","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions/40000000-aaaa-bbbb-cccc-100000000004","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleAssignments/40000000-aaaa-bbbb-cccc-100000000000_8b9de486-07f0-494e-9e9a-7800f4ebeb77","name":"40000000-aaaa-bbbb-cccc-100000000000_8b9de486-07f0-494e-9e9a-7800f4ebeb77","properties":{"createdOn":"2024-05-28T18:29:24.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"8b9de486-07f0-494e-9e9a-7800f4ebeb77","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions/40000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleAssignments/40000000-aaaa-bbbb-cccc-100000000000_3bde09fb-03f5-4634-874d-b62759ac1ce9","name":"40000000-aaaa-bbbb-cccc-100000000000_3bde09fb-03f5-4634-874d-b62759ac1ce9","properties":{"createdOn":"2024-06-04T23:16:25.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions/40000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/billingRoleAssignments"}]}' + headers: + api-supported-versions: + - 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, 2022-10-01-privatepreview, + 2024-04-01 + cache-control: + - no-cache + content-length: + - '6116' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 24 Oct 2024 07:36:20 GMT + expires: + - '-1' + location: + - https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/operationResults/resolveBillingRoleAssignments_86665f8c-7335-4e94-9aae-e80081199595?api-version=2024-04-01&t=638653521808236328&c=MIIHhzCCBm-gAwIBAgITHgVxvH65_BmPrKxDIgAABXG8fjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTI1MTkzNzA4WhcNMjUwMzI0MTkzNzA4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKlHcl7gn1b6aLS1hLftgvWE8n-Z9liLRsNGgjYfyY_1N6TVDEHJTtctREIaCRDPEC-hePKBe7OS45JIAD6cl5AGU_dQlGd-3bBZeVfAPJFUnC910pwhDca2OXlf4LyB1KSofXaA4xDB6G7cHXRld_URCnol2LHQEGox0vBzaPz30AUB0ZhAatZgqhXy5qnroV3zbEZC3m4qLDSnG8QNEnw8Wv5GpYH_MxK9mgDPwoIObeDBnjtQonKzvItZ8jXwF-wEmcVAnhr6Dvq3rWdBY9616kXvQ7E3eEvGqMn9W_NZTAqlaanfaACfITkIJZkgsSoJGw5USCMC-vzAb1Ms0j0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBTELag1gS_F07Xj1us9l4ySYrHYYjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABJx3Gb3LtjBZ4x70SioNIk8ap3qwt2DMEu9dXEhi28jFB87BBsTCkNeuhGlLzHm7Ykx6xpUjJp4F2_qmJKrQjDH4U0VYT_yc8Ow5mxrFJcewgTXzwmwqXOodok5WWOUVP4Mmdp_O_3je1dVgw4TrdrypIZImBn2jVDrXQ79fFXTR-Td0XMOtWPDwreoMRagD769QW4hlGtVaZCqOAzyomfSc8PhDzKhllbZQrmP-UgiLU14SDsxwq6AHG413ClcJIDGfEsEKwlUyIIAKHDwSdbO41Zs7ZQG5k_eBlGTkr-5Zye8vT7OeGf1_mGZSme6otyTUL_3-6gJ282qCPXoflc&s=e18yxVIqsBodYkSfvGXTMD6KppznaBG4rquF19VHVmdmHkX0TkL-oQPfRDY06Ae4YY4UUT_WWp_iSm8_sv8EYpMyl5WaQQnBJpKeD_JDGBBXv-6bZgisxpdbDvy4iuV_cVXPDBN1ISsd1TLEcTHWxIDLZOu_iyn9UtWIGWpXl_m5bbBQA9k9mRq5O-_7lJPGEi79K31wGUOqQ4IAXx3RxkEaEp5ZAWoTx9gwuHdi99fteEJW5qtYjp1K6ZoUk4mnKnhgBu2Ihg3a1L3Tuw7l0t0tj87klm5VQIsqTctXO07ql4i2wipW759mmXMVVcfnyCGFibYbMUIkpM90fSEiag&h=Q1h5UeHaRgULE8DloxrsejUTqjAZpotjPwAIxkh03JU + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: C9496C721B1A4033A00056576B3C1F99 Ref B: CO6AA3150218019 Ref C: 2024-10-24T07:36:20Z' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - billing role-assignment resolve-by-billing-profile + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name --billing-profile-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/operationResults/resolveBillingRoleAssignments_86665f8c-7335-4e94-9aae-e80081199595?api-version=2024-04-01&t=638653521808236328&c=MIIHhzCCBm-gAwIBAgITHgVxvH65_BmPrKxDIgAABXG8fjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTI1MTkzNzA4WhcNMjUwMzI0MTkzNzA4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKlHcl7gn1b6aLS1hLftgvWE8n-Z9liLRsNGgjYfyY_1N6TVDEHJTtctREIaCRDPEC-hePKBe7OS45JIAD6cl5AGU_dQlGd-3bBZeVfAPJFUnC910pwhDca2OXlf4LyB1KSofXaA4xDB6G7cHXRld_URCnol2LHQEGox0vBzaPz30AUB0ZhAatZgqhXy5qnroV3zbEZC3m4qLDSnG8QNEnw8Wv5GpYH_MxK9mgDPwoIObeDBnjtQonKzvItZ8jXwF-wEmcVAnhr6Dvq3rWdBY9616kXvQ7E3eEvGqMn9W_NZTAqlaanfaACfITkIJZkgsSoJGw5USCMC-vzAb1Ms0j0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBTELag1gS_F07Xj1us9l4ySYrHYYjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABJx3Gb3LtjBZ4x70SioNIk8ap3qwt2DMEu9dXEhi28jFB87BBsTCkNeuhGlLzHm7Ykx6xpUjJp4F2_qmJKrQjDH4U0VYT_yc8Ow5mxrFJcewgTXzwmwqXOodok5WWOUVP4Mmdp_O_3je1dVgw4TrdrypIZImBn2jVDrXQ79fFXTR-Td0XMOtWPDwreoMRagD769QW4hlGtVaZCqOAzyomfSc8PhDzKhllbZQrmP-UgiLU14SDsxwq6AHG413ClcJIDGfEsEKwlUyIIAKHDwSdbO41Zs7ZQG5k_eBlGTkr-5Zye8vT7OeGf1_mGZSme6otyTUL_3-6gJ282qCPXoflc&s=e18yxVIqsBodYkSfvGXTMD6KppznaBG4rquF19VHVmdmHkX0TkL-oQPfRDY06Ae4YY4UUT_WWp_iSm8_sv8EYpMyl5WaQQnBJpKeD_JDGBBXv-6bZgisxpdbDvy4iuV_cVXPDBN1ISsd1TLEcTHWxIDLZOu_iyn9UtWIGWpXl_m5bbBQA9k9mRq5O-_7lJPGEi79K31wGUOqQ4IAXx3RxkEaEp5ZAWoTx9gwuHdi99fteEJW5qtYjp1K6ZoUk4mnKnhgBu2Ihg3a1L3Tuw7l0t0tj87klm5VQIsqTctXO07ql4i2wipW759mmXMVVcfnyCGFibYbMUIkpM90fSEiag&h=Q1h5UeHaRgULE8DloxrsejUTqjAZpotjPwAIxkh03JU + response: + body: + string: '{"value":[{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleAssignments/40000000-aaaa-bbbb-cccc-100000000000_b139b2d4-4c52-4705-a451-c85656a830b8","name":"40000000-aaaa-bbbb-cccc-100000000000_b139b2d4-4c52-4705-a451-c85656a830b8","properties":{"createdOn":"2024-09-11T19:24:58.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b139b2d4-4c52-4705-a451-c85656a830b8","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"b139b2d4-4c52-4705-a451-c85656a830b8","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions/40000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","userEmailAddress":"shaila@TestTestDailyinvoicing.onmicrosoft.com","principalDisplayName":"shaila","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleAssignments/40000000-aaaa-bbbb-cccc-100000000004_8045a556-d505-4807-ad8e-8033d0ac68dd","name":"40000000-aaaa-bbbb-cccc-100000000004_8045a556-d505-4807-ad8e-8033d0ac68dd","properties":{"createdOn":"2024-03-15T22:13:08.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"8045a556-d505-4807-ad8e-8033d0ac68dd","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions/40000000-aaaa-bbbb-cccc-100000000004","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","userEmailAddress":"billingadmin@TestTestDailyinvoicing.onmicrosoft.com","principalDisplayName":"billingadmin","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleAssignments/40000000-aaaa-bbbb-cccc-100000000004_785fe15c-d90c-4450-b247-d5861eda4eb4","name":"40000000-aaaa-bbbb-cccc-100000000004_785fe15c-d90c-4450-b247-d5861eda4eb4","properties":{"createdOn":"2024-03-15T22:37:20.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"785fe15c-d90c-4450-b247-d5861eda4eb4","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions/40000000-aaaa-bbbb-cccc-100000000004","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","userEmailAddress":"billingadmin2@TestTestDailyinvoicing.onmicrosoft.com","principalDisplayName":"billingadmin2","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleAssignments/40000000-aaaa-bbbb-cccc-100000000000_8b9de486-07f0-494e-9e9a-7800f4ebeb77","name":"40000000-aaaa-bbbb-cccc-100000000000_8b9de486-07f0-494e-9e9a-7800f4ebeb77","properties":{"createdOn":"2024-05-28T18:29:24.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"8b9de486-07f0-494e-9e9a-7800f4ebeb77","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions/40000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","userEmailAddress":"Chris@TestTestDailyinvoicing.onmicrosoft.com","principalDisplayName":"Chris","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/billingRoleAssignments"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleAssignments/40000000-aaaa-bbbb-cccc-100000000000_3bde09fb-03f5-4634-874d-b62759ac1ce9","name":"40000000-aaaa-bbbb-cccc-100000000000_3bde09fb-03f5-4634-874d-b62759ac1ce9","properties":{"createdOn":"2024-06-04T23:16:25.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions/40000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","userEmailAddress":"kristin2@testtestdailyinvoicing.onmicrosoft.com","principalDisplayName":"Kristin","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/billingRoleAssignments"}]}' + headers: + api-supported-versions: + - 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, 2022-10-01-privatepreview, + 2024-04-01 + cache-control: + - no-cache + content-length: + - '6638' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 24 Oct 2024 07:36:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: 9C20906DFF474714871B0B06A08ECC70 Ref B: CO6AA3150218019 Ref C: 2024-10-24T07:36:25Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing role-assignment resolve-by-invoice-section + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --billing-account-name --billing-profile-name --invoice-section-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: POST + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea%3Ad6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB/resolveBillingRoleAssignments?resolveScopeDisplayNames=false&api-version=2024-04-01 + response: + body: + string: '{"value":[{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB/billingRoleAssignments/30000000-aaaa-bbbb-cccc-100000000000_b866b094-9442-4c60-b2ad-b54e828ddf5a","name":"30000000-aaaa-bbbb-cccc-100000000000_b866b094-9442-4c60-b2ad-b54e828ddf5a","properties":{"createdOn":"2024-01-12T19:18:00.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB/billingRoleDefinitions/30000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections/billingRoleAssignments"}]}' + headers: + api-supported-versions: + - 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, 2022-10-01-privatepreview, + 2024-04-01 + cache-control: + - no-cache + content-length: + - '1350' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 24 Oct 2024 07:36:26 GMT + expires: + - '-1' + location: + - https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/operationResults/resolveBillingRoleAssignments_be9c4f10-3702-4ebd-a8be-fa6f8828dfab?api-version=2024-04-01&t=638653521873263411&c=MIIHpTCCBo2gAwIBAgITOgM6dTLGpzYZpvPtgQAEAzp1MjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNjI2MDEzMjIxWhcNMjUwNjIxMDEzMjIxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAPPPKY5bDN03KptFFhiyLIyn86BlrXYFIZWYXA-hY7_WbLyWN0IxcLIUBW_I-9u-YsXOHk9WPMlUYHIFPgHW7A3FsSGfl9dd6YGapKoSSw0NkTpNXM58R54BBgLp7AhiWzK15D9T-XELNSU4Wq9sEeA5T24kazcgS2MUkzELH0I9dwu7g0dwJIuIJkoJjEzg1b1Q3Ie5HKHHNbjottJn7Q5LBS-9QtQyruuwaNTgSJpCoi4PBKVIOTBYL_Nv1wecmKmfWcT0mnhQE9zjhJTbcoN9hKSvAMqsDHtxWUFZosiw3JKIY0zb59CrVGSuOhfN3qaarwN9EAlXLqc4ZyKpsTkCAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CWTJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSU5GUkElMjBDQSUyMDAxKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MB0GA1UdDgQWBBRk_38CqdKjPVylWUR4uuqhbFGeHTAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAFsx7FtYAzSo98T5ydNFa0ukjPZ6XCQc9zo7ldqy235P_zJAUkaNgCU4EGOzbZJDoMa8mAfhyukL_0GfPeApUaY2e44ZOzoYAkeEuDiwcs-9zoQ1fCyXhn0pCumGFXRilX9KjAPaYTzDvQMEllTy_ZViwTahuKaGtFVamZguBPdaeYC_0oybtTVNQCs8hGnffhNZOMASB-5pFs35MNxsDWTVIQksDee419jqpsbWLkh6rnanILO1O_ihwb-WpvRQByQ5NGpG1-z0MQ6nRpr9wWxUi-DsrVsD38NTMIPc2uei4Ivf6qnGRvOOj0fmsciWuTTEXMaD-5a81mGlzhZc09Q&s=wgq3Gwqduem0JaUpIPpZbbhd7gQD5oGuOy-01YcsgEpSXAU8tXaqmmDISBXWLnoC_X_jlfIo0LVRv_ZpaXAHf_qTIXQuhVFuLwsp5NQhAi_DHsRwoOJK7G7apsMoKWJIWKrF_1H3ntHf-EXi0TGHzjTaCymytmJBPW6DILUeY23RTMo-sClQiRPTasNrTlG__pf-g2S5iTmnyMI8lEafmc-9qD6hU5gBhLeweV4q-D2mmvmw323BolywYP-67ymK_RTF1lUZ-JCDXJIEKL5mTdpTLf7cbxeZg2ZlMUiBkYoomBxadJFZsvUCQ76CMk0MrfUCAB7eo5CiHxpSaTyy-Q&h=aIFMTh4qBV5MzXHGdAvisnqQzFAT1DKCNVnYlyG7woo + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-ratelimit-remaining-tenant-writes: + - '199' + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: 175601B0394D40D49B385B7FE7073C7F Ref B: CO6AA3150217021 Ref C: 2024-10-24T07:36:26Z' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - billing role-assignment resolve-by-invoice-section + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name --billing-profile-name --invoice-section-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/operationResults/resolveBillingRoleAssignments_be9c4f10-3702-4ebd-a8be-fa6f8828dfab?api-version=2024-04-01&t=638653521873263411&c=MIIHpTCCBo2gAwIBAgITOgM6dTLGpzYZpvPtgQAEAzp1MjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNjI2MDEzMjIxWhcNMjUwNjIxMDEzMjIxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAPPPKY5bDN03KptFFhiyLIyn86BlrXYFIZWYXA-hY7_WbLyWN0IxcLIUBW_I-9u-YsXOHk9WPMlUYHIFPgHW7A3FsSGfl9dd6YGapKoSSw0NkTpNXM58R54BBgLp7AhiWzK15D9T-XELNSU4Wq9sEeA5T24kazcgS2MUkzELH0I9dwu7g0dwJIuIJkoJjEzg1b1Q3Ie5HKHHNbjottJn7Q5LBS-9QtQyruuwaNTgSJpCoi4PBKVIOTBYL_Nv1wecmKmfWcT0mnhQE9zjhJTbcoN9hKSvAMqsDHtxWUFZosiw3JKIY0zb59CrVGSuOhfN3qaarwN9EAlXLqc4ZyKpsTkCAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CWTJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSU5GUkElMjBDQSUyMDAxKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MB0GA1UdDgQWBBRk_38CqdKjPVylWUR4uuqhbFGeHTAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAFsx7FtYAzSo98T5ydNFa0ukjPZ6XCQc9zo7ldqy235P_zJAUkaNgCU4EGOzbZJDoMa8mAfhyukL_0GfPeApUaY2e44ZOzoYAkeEuDiwcs-9zoQ1fCyXhn0pCumGFXRilX9KjAPaYTzDvQMEllTy_ZViwTahuKaGtFVamZguBPdaeYC_0oybtTVNQCs8hGnffhNZOMASB-5pFs35MNxsDWTVIQksDee419jqpsbWLkh6rnanILO1O_ihwb-WpvRQByQ5NGpG1-z0MQ6nRpr9wWxUi-DsrVsD38NTMIPc2uei4Ivf6qnGRvOOj0fmsciWuTTEXMaD-5a81mGlzhZc09Q&s=wgq3Gwqduem0JaUpIPpZbbhd7gQD5oGuOy-01YcsgEpSXAU8tXaqmmDISBXWLnoC_X_jlfIo0LVRv_ZpaXAHf_qTIXQuhVFuLwsp5NQhAi_DHsRwoOJK7G7apsMoKWJIWKrF_1H3ntHf-EXi0TGHzjTaCymytmJBPW6DILUeY23RTMo-sClQiRPTasNrTlG__pf-g2S5iTmnyMI8lEafmc-9qD6hU5gBhLeweV4q-D2mmvmw323BolywYP-67ymK_RTF1lUZ-JCDXJIEKL5mTdpTLf7cbxeZg2ZlMUiBkYoomBxadJFZsvUCQ76CMk0MrfUCAB7eo5CiHxpSaTyy-Q&h=aIFMTh4qBV5MzXHGdAvisnqQzFAT1DKCNVnYlyG7woo + response: + body: + string: '{"value":[{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB/billingRoleAssignments/30000000-aaaa-bbbb-cccc-100000000000_b866b094-9442-4c60-b2ad-b54e828ddf5a","name":"30000000-aaaa-bbbb-cccc-100000000000_b866b094-9442-4c60-b2ad-b54e828ddf5a","properties":{"createdOn":"2024-01-12T19:18:00.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB/billingRoleDefinitions/30000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections/billingRoleAssignments"}]}' + headers: + api-supported-versions: + - 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, 2022-10-01-privatepreview, + 2024-04-01 + cache-control: + - no-cache + content-length: + - '1350' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 24 Oct 2024 07:36:26 GMT + expires: + - '-1' + location: + - https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/operationResults/resolveBillingRoleAssignments_be9c4f10-3702-4ebd-a8be-fa6f8828dfab?api-version=2024-04-01&t=638653521874557578&c=MIIHhzCCBm-gAwIBAgITHgVxvH65_BmPrKxDIgAABXG8fjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTI1MTkzNzA4WhcNMjUwMzI0MTkzNzA4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKlHcl7gn1b6aLS1hLftgvWE8n-Z9liLRsNGgjYfyY_1N6TVDEHJTtctREIaCRDPEC-hePKBe7OS45JIAD6cl5AGU_dQlGd-3bBZeVfAPJFUnC910pwhDca2OXlf4LyB1KSofXaA4xDB6G7cHXRld_URCnol2LHQEGox0vBzaPz30AUB0ZhAatZgqhXy5qnroV3zbEZC3m4qLDSnG8QNEnw8Wv5GpYH_MxK9mgDPwoIObeDBnjtQonKzvItZ8jXwF-wEmcVAnhr6Dvq3rWdBY9616kXvQ7E3eEvGqMn9W_NZTAqlaanfaACfITkIJZkgsSoJGw5USCMC-vzAb1Ms0j0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBTELag1gS_F07Xj1us9l4ySYrHYYjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABJx3Gb3LtjBZ4x70SioNIk8ap3qwt2DMEu9dXEhi28jFB87BBsTCkNeuhGlLzHm7Ykx6xpUjJp4F2_qmJKrQjDH4U0VYT_yc8Ow5mxrFJcewgTXzwmwqXOodok5WWOUVP4Mmdp_O_3je1dVgw4TrdrypIZImBn2jVDrXQ79fFXTR-Td0XMOtWPDwreoMRagD769QW4hlGtVaZCqOAzyomfSc8PhDzKhllbZQrmP-UgiLU14SDsxwq6AHG413ClcJIDGfEsEKwlUyIIAKHDwSdbO41Zs7ZQG5k_eBlGTkr-5Zye8vT7OeGf1_mGZSme6otyTUL_3-6gJ282qCPXoflc&s=OCJjq1e-WDzxw4L9ykvpu1Us_2YkTpqW1hLmX9AKtbhZRRlzSfsD8tx_pbWXHifPzfcmqM7pVQlvw86EZsxO12ffZ6OTD0fMX3DhR3wkW1Xn3ryPP7piBqk03imGBJpcsUgUJx_RnZiAlXFaMyUSHsJ8t_abGdQnyifzGp7mQeagkKXM6zIqdSTCw2AS8qEp_PcpsGEdApJrKpBtNGlBbX28Z1_vLE9bT6ZPLvOxK4y8YsEu3rosUP5YV0n_6Y_HrL2xKVqvDLV481hstJKCrgDfz89vtXOO_lfSbXCXunNpO9mzOwLk7mTuV6Pz9YB9ZxZOsVu--qoLw60nQjCsAQ&h=Fek1bITAP26QGgTLwjsLY4ZiBwaEUUMxxFnoGmIlyJ0 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: 588AF8CD005B4290A551CA824661B6EB Ref B: CO6AA3150217021 Ref C: 2024-10-24T07:36:27Z' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - billing role-assignment resolve-by-invoice-section + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name --billing-profile-name --invoice-section-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/operationResults/resolveBillingRoleAssignments_be9c4f10-3702-4ebd-a8be-fa6f8828dfab?api-version=2024-04-01&t=638653521874557578&c=MIIHhzCCBm-gAwIBAgITHgVxvH65_BmPrKxDIgAABXG8fjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTI1MTkzNzA4WhcNMjUwMzI0MTkzNzA4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKlHcl7gn1b6aLS1hLftgvWE8n-Z9liLRsNGgjYfyY_1N6TVDEHJTtctREIaCRDPEC-hePKBe7OS45JIAD6cl5AGU_dQlGd-3bBZeVfAPJFUnC910pwhDca2OXlf4LyB1KSofXaA4xDB6G7cHXRld_URCnol2LHQEGox0vBzaPz30AUB0ZhAatZgqhXy5qnroV3zbEZC3m4qLDSnG8QNEnw8Wv5GpYH_MxK9mgDPwoIObeDBnjtQonKzvItZ8jXwF-wEmcVAnhr6Dvq3rWdBY9616kXvQ7E3eEvGqMn9W_NZTAqlaanfaACfITkIJZkgsSoJGw5USCMC-vzAb1Ms0j0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBTELag1gS_F07Xj1us9l4ySYrHYYjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABJx3Gb3LtjBZ4x70SioNIk8ap3qwt2DMEu9dXEhi28jFB87BBsTCkNeuhGlLzHm7Ykx6xpUjJp4F2_qmJKrQjDH4U0VYT_yc8Ow5mxrFJcewgTXzwmwqXOodok5WWOUVP4Mmdp_O_3je1dVgw4TrdrypIZImBn2jVDrXQ79fFXTR-Td0XMOtWPDwreoMRagD769QW4hlGtVaZCqOAzyomfSc8PhDzKhllbZQrmP-UgiLU14SDsxwq6AHG413ClcJIDGfEsEKwlUyIIAKHDwSdbO41Zs7ZQG5k_eBlGTkr-5Zye8vT7OeGf1_mGZSme6otyTUL_3-6gJ282qCPXoflc&s=OCJjq1e-WDzxw4L9ykvpu1Us_2YkTpqW1hLmX9AKtbhZRRlzSfsD8tx_pbWXHifPzfcmqM7pVQlvw86EZsxO12ffZ6OTD0fMX3DhR3wkW1Xn3ryPP7piBqk03imGBJpcsUgUJx_RnZiAlXFaMyUSHsJ8t_abGdQnyifzGp7mQeagkKXM6zIqdSTCw2AS8qEp_PcpsGEdApJrKpBtNGlBbX28Z1_vLE9bT6ZPLvOxK4y8YsEu3rosUP5YV0n_6Y_HrL2xKVqvDLV481hstJKCrgDfz89vtXOO_lfSbXCXunNpO9mzOwLk7mTuV6Pz9YB9ZxZOsVu--qoLw60nQjCsAQ&h=Fek1bITAP26QGgTLwjsLY4ZiBwaEUUMxxFnoGmIlyJ0 + response: + body: + string: '{"value":[{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB/billingRoleAssignments/30000000-aaaa-bbbb-cccc-100000000000_b866b094-9442-4c60-b2ad-b54e828ddf5a","name":"30000000-aaaa-bbbb-cccc-100000000000_b866b094-9442-4c60-b2ad-b54e828ddf5a","properties":{"createdOn":"2024-01-12T19:18:00.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"b866b094-9442-4c60-b2ad-b54e828ddf5a","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB/billingRoleDefinitions/30000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","userEmailAddress":"admin@TestTestDailyinvoicing.onmicrosoft.com","principalDisplayName":"Justin + Kinman","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections/billingRoleAssignments"}]}' + headers: + api-supported-versions: + - 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, 2022-10-01-privatepreview, + 2024-04-01 + cache-control: + - no-cache + content-length: + - '1455' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 24 Oct 2024 07:36:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: 7B23A02F4C4742A08A848240D40A2419 Ref B: CO6AA3150217021 Ref C: 2024-10-24T07:36:32Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing role-assignment get-by-billing-account + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name --billing-role-assignment-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea%3Ad6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_9bf312df-5cb8-41b0-b448-1e2fc2d0f03b?api-version=2024-04-01 + response: + body: + string: '{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleAssignments/50000000-aaaa-bbbb-cccc-100000000000_9bf312df-5cb8-41b0-b448-1e2fc2d0f03b","name":"50000000-aaaa-bbbb-cccc-100000000000_9bf312df-5cb8-41b0-b448-1e2fc2d0f03b","properties":{"createdOn":"2024-08-30T15:34:59.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"3bde09fb-03f5-4634-874d-b62759ac1ce9","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"9bf312df-5cb8-41b0-b448-1e2fc2d0f03b","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingRoleAssignments"}' + headers: + api-supported-versions: + - 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, 2022-10-01-privatepreview, + 2024-04-01 + cache-control: + - no-cache + content-length: + - '1102' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 24 Oct 2024 07:36:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: D6AC0AB20E324A93BF1BFE343AF2C360 Ref B: CO6AA3150217049 Ref C: 2024-10-24T07:36:32Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing role-assignment get-by-billing-profile + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name --billing-profile-name --billing-role-assignment-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea%3Ad6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleAssignments/40000000-aaaa-bbbb-cccc-100000000000_b139b2d4-4c52-4705-a451-c85656a830b8?api-version=2024-04-01 + response: + body: + string: '{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleAssignments/40000000-aaaa-bbbb-cccc-100000000000_b139b2d4-4c52-4705-a451-c85656a830b8","name":"40000000-aaaa-bbbb-cccc-100000000000_b139b2d4-4c52-4705-a451-c85656a830b8","properties":{"createdOn":"2024-09-11T19:24:58.0000000Z","createdByPrincipalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","createdByPrincipalId":"b139b2d4-4c52-4705-a451-c85656a830b8","modifiedOn":"0001-01-01T00:00:00.0000000Z","principalId":"b139b2d4-4c52-4705-a451-c85656a830b8","principalTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","roleDefinitionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions/40000000-aaaa-bbbb-cccc-100000000000","scope":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","principalType":"User"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/billingRoleAssignments"}' + headers: + api-supported-versions: + - 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, 2022-10-01-privatepreview, + 2024-04-01 + cache-control: + - no-cache + content-length: + - '1220' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 24 Oct 2024 07:36:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-service-version: + - 10.6.2839.777 + x-msedge-ref: + - 'Ref A: 1CA3BCFC1AAA4AE7842562D44071FAD9 Ref B: CO6AA3150219051 Ref C: 2024-10-24T07:36:33Z' + status: + code: 200 + message: OK +version: 1 diff --git a/src/billing/azext_billing/tests/latest/recordings/test_read_roledefinitions.yaml b/src/billing/azext_billing/tests/latest/recordings/test_read_roledefinitions.yaml new file mode 100644 index 00000000000..80d44720c8e --- /dev/null +++ b/src/billing/azext_billing/tests/latest/recordings/test_read_roledefinitions.yaml @@ -0,0 +1,357 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing role-definition list-by-billing-account + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea%3Ad6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions?api-version=2024-04-01 + response: + body: + string: '{"value":[{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","name":"50000000-aaaa-bbbb-cccc-100000000000","properties":{"description":"The + Owner role gives the user all permissions including access management on the + Organization.","permissions":[{"actions":["50000000-aaaa-bbbb-cccc-200000000000","50000000-aaaa-bbbb-cccc-200000000001","50000000-aaaa-bbbb-cccc-200000000002","50000000-aaaa-bbbb-cccc-200000000003","50000000-aaaa-bbbb-cccc-200000000004","50000000-aaaa-bbbb-cccc-200000000006","50000000-aaaa-bbbb-cccc-200000000007","50000000-aaaa-bbbb-cccc-200000000008","10000000-aaaa-bbbb-cccc-200000000001","10000000-aaaa-bbbb-cccc-200000000002","10000000-aaaa-bbbb-cccc-200000000003","10000000-aaaa-bbbb-cccc-200000000006","10000000-aaaa-bbbb-cccc-200000000007","50000000-aaaa-bbbb-cccc-200000000005","30000000-aaaa-bbbb-cccc-200000000000","30000000-aaaa-bbbb-cccc-200000000001","30000000-aaaa-bbbb-cccc-200000000004","30000000-aaaa-bbbb-cccc-200000000007","30000000-aaaa-bbbb-cccc-200000000009","30000000-aaaa-bbbb-cccc-200000000010","30000000-aaaa-bbbb-cccc-200000000015","30000000-aaaa-bbbb-cccc-200000000017","30000000-aaaa-bbbb-cccc-200000000018","40000000-aaaa-bbbb-cccc-200000000000","40000000-aaaa-bbbb-cccc-200000000006","40000000-aaaa-bbbb-cccc-200000000007","40000000-aaaa-bbbb-cccc-200000000008","40000000-aaaa-bbbb-cccc-200000000012","40000000-aaaa-bbbb-cccc-200000000013","40000000-aaaa-bbbb-cccc-200000000004","40000000-aaaa-bbbb-cccc-200000000001","40000000-aaaa-bbbb-cccc-200000000005","40000000-aaaa-bbbb-cccc-200000000002","40000000-aaaa-bbbb-cccc-200000000003","40000000-aaaa-bbbb-cccc-200000000011","30000000-aaaa-bbbb-cccc-200000000013","30000000-aaaa-bbbb-cccc-200000000011","30000000-aaaa-bbbb-cccc-200000000006","30000000-aaaa-bbbb-cccc-200000000003","30000000-aaaa-bbbb-cccc-200000000005","30000000-aaaa-bbbb-cccc-200000000012","30000000-aaaa-bbbb-cccc-200000000008","30000000-aaaa-bbbb-cccc-200000000016"]}],"roleName":"Billing + account owner"},"type":"Microsoft.Billing/billingAccounts/billingRoleDefinitions"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000001","name":"50000000-aaaa-bbbb-cccc-100000000001","properties":{"description":"The + Contributor role gives the user all permissions except access management on + the organization.","permissions":[{"actions":["50000000-aaaa-bbbb-cccc-200000000001","50000000-aaaa-bbbb-cccc-200000000002","50000000-aaaa-bbbb-cccc-200000000003","50000000-aaaa-bbbb-cccc-200000000004","50000000-aaaa-bbbb-cccc-200000000006","50000000-aaaa-bbbb-cccc-200000000007","50000000-aaaa-bbbb-cccc-200000000008","10000000-aaaa-bbbb-cccc-200000000001","10000000-aaaa-bbbb-cccc-200000000002","10000000-aaaa-bbbb-cccc-200000000003","10000000-aaaa-bbbb-cccc-200000000006","10000000-aaaa-bbbb-cccc-200000000007","50000000-aaaa-bbbb-cccc-200000000005","30000000-aaaa-bbbb-cccc-200000000001","30000000-aaaa-bbbb-cccc-200000000004","30000000-aaaa-bbbb-cccc-200000000007","30000000-aaaa-bbbb-cccc-200000000009","30000000-aaaa-bbbb-cccc-200000000010","30000000-aaaa-bbbb-cccc-200000000015","30000000-aaaa-bbbb-cccc-200000000017","30000000-aaaa-bbbb-cccc-200000000018","40000000-aaaa-bbbb-cccc-200000000006","40000000-aaaa-bbbb-cccc-200000000007","40000000-aaaa-bbbb-cccc-200000000008","40000000-aaaa-bbbb-cccc-200000000012","40000000-aaaa-bbbb-cccc-200000000013","40000000-aaaa-bbbb-cccc-200000000004","40000000-aaaa-bbbb-cccc-200000000001","40000000-aaaa-bbbb-cccc-200000000005","40000000-aaaa-bbbb-cccc-200000000002","40000000-aaaa-bbbb-cccc-200000000003","40000000-aaaa-bbbb-cccc-200000000011","30000000-aaaa-bbbb-cccc-200000000013","30000000-aaaa-bbbb-cccc-200000000011","30000000-aaaa-bbbb-cccc-200000000006","30000000-aaaa-bbbb-cccc-200000000003","30000000-aaaa-bbbb-cccc-200000000005","30000000-aaaa-bbbb-cccc-200000000012","30000000-aaaa-bbbb-cccc-200000000008","30000000-aaaa-bbbb-cccc-200000000016"]}],"roleName":"Billing + account contributor"},"type":"Microsoft.Billing/billingAccounts/billingRoleDefinitions"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000002","name":"50000000-aaaa-bbbb-cccc-100000000002","properties":{"description":"The + Reader role gives the user read permissions to an organization.","permissions":[{"actions":["50000000-aaaa-bbbb-cccc-200000000001","50000000-aaaa-bbbb-cccc-200000000006","50000000-aaaa-bbbb-cccc-200000000007","10000000-aaaa-bbbb-cccc-200000000003","50000000-aaaa-bbbb-cccc-200000000005","30000000-aaaa-bbbb-cccc-200000000001","30000000-aaaa-bbbb-cccc-200000000004","30000000-aaaa-bbbb-cccc-200000000007","30000000-aaaa-bbbb-cccc-200000000010","30000000-aaaa-bbbb-cccc-200000000015","30000000-aaaa-bbbb-cccc-200000000017","40000000-aaaa-bbbb-cccc-200000000006","40000000-aaaa-bbbb-cccc-200000000007","40000000-aaaa-bbbb-cccc-200000000008","40000000-aaaa-bbbb-cccc-200000000012"]}],"roleName":"Billing + account reader"},"type":"Microsoft.Billing/billingAccounts/billingRoleDefinitions"}]}' + headers: + api-supported-versions: + - 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, 2022-10-01-privatepreview, + 2024-04-01 + cache-control: + - no-cache + content-length: + - '5322' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 25 Oct 2024 06:03:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-service-version: + - 10.6.2851.798 + x-msedge-ref: + - 'Ref A: 94F286AF28344760A0811D6918995946 Ref B: CO6AA3150219047 Ref C: 2024-10-25T06:03:07Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing role-definition list-by-billing-profile + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name --billing-profile-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea%3Ad6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions?api-version=2024-04-01 + response: + body: + string: '{"value":[{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions/40000000-aaaa-bbbb-cccc-100000000000","name":"40000000-aaaa-bbbb-cccc-100000000000","properties":{"description":"The + Owner role gives the user all permissions including access management rights + to the Billing Group.","permissions":[{"actions":["40000000-aaaa-bbbb-cccc-200000000000","40000000-aaaa-bbbb-cccc-200000000001","40000000-aaaa-bbbb-cccc-200000000002","40000000-aaaa-bbbb-cccc-200000000003","40000000-aaaa-bbbb-cccc-200000000004","40000000-aaaa-bbbb-cccc-200000000005","40000000-aaaa-bbbb-cccc-200000000006","40000000-aaaa-bbbb-cccc-200000000007","40000000-aaaa-bbbb-cccc-200000000008","40000000-aaaa-bbbb-cccc-200000000011","40000000-aaaa-bbbb-cccc-200000000012","40000000-aaaa-bbbb-cccc-200000000013","30000000-aaaa-bbbb-cccc-200000000000","30000000-aaaa-bbbb-cccc-200000000001","30000000-aaaa-bbbb-cccc-200000000003","30000000-aaaa-bbbb-cccc-200000000004","30000000-aaaa-bbbb-cccc-200000000005","30000000-aaaa-bbbb-cccc-200000000006","30000000-aaaa-bbbb-cccc-200000000007","30000000-aaaa-bbbb-cccc-200000000008","30000000-aaaa-bbbb-cccc-200000000009","30000000-aaaa-bbbb-cccc-200000000010","30000000-aaaa-bbbb-cccc-200000000011","30000000-aaaa-bbbb-cccc-200000000012","30000000-aaaa-bbbb-cccc-200000000013","30000000-aaaa-bbbb-cccc-200000000015","30000000-aaaa-bbbb-cccc-200000000016","30000000-aaaa-bbbb-cccc-200000000017","30000000-aaaa-bbbb-cccc-200000000018"]}],"roleName":"Billing + profile owner"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/billingRoleDefinitions"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions/40000000-aaaa-bbbb-cccc-100000000001","name":"40000000-aaaa-bbbb-cccc-100000000001","properties":{"description":"The + Contributor role gives the user all permissions except access management rights + to the Billing Group.","permissions":[{"actions":["40000000-aaaa-bbbb-cccc-200000000001","40000000-aaaa-bbbb-cccc-200000000002","40000000-aaaa-bbbb-cccc-200000000003","40000000-aaaa-bbbb-cccc-200000000004","40000000-aaaa-bbbb-cccc-200000000005","40000000-aaaa-bbbb-cccc-200000000006","40000000-aaaa-bbbb-cccc-200000000007","40000000-aaaa-bbbb-cccc-200000000008","40000000-aaaa-bbbb-cccc-200000000011","40000000-aaaa-bbbb-cccc-200000000012","40000000-aaaa-bbbb-cccc-200000000013","30000000-aaaa-bbbb-cccc-200000000001","30000000-aaaa-bbbb-cccc-200000000003","30000000-aaaa-bbbb-cccc-200000000004","30000000-aaaa-bbbb-cccc-200000000005","30000000-aaaa-bbbb-cccc-200000000006","30000000-aaaa-bbbb-cccc-200000000007","30000000-aaaa-bbbb-cccc-200000000008","30000000-aaaa-bbbb-cccc-200000000009","30000000-aaaa-bbbb-cccc-200000000010","30000000-aaaa-bbbb-cccc-200000000011","30000000-aaaa-bbbb-cccc-200000000012","30000000-aaaa-bbbb-cccc-200000000013","30000000-aaaa-bbbb-cccc-200000000015","30000000-aaaa-bbbb-cccc-200000000016","30000000-aaaa-bbbb-cccc-200000000017","30000000-aaaa-bbbb-cccc-200000000018"]}],"roleName":"Billing + profile contributor"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/billingRoleDefinitions"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions/40000000-aaaa-bbbb-cccc-100000000002","name":"40000000-aaaa-bbbb-cccc-100000000002","properties":{"description":"The + Reader role gives the user read only access to the Billing Group.","permissions":[{"actions":["40000000-aaaa-bbbb-cccc-200000000006","40000000-aaaa-bbbb-cccc-200000000007","40000000-aaaa-bbbb-cccc-200000000008","40000000-aaaa-bbbb-cccc-200000000012","30000000-aaaa-bbbb-cccc-200000000001","30000000-aaaa-bbbb-cccc-200000000007","30000000-aaaa-bbbb-cccc-200000000004","30000000-aaaa-bbbb-cccc-200000000015","30000000-aaaa-bbbb-cccc-200000000017"]}],"roleName":"Billing + profile reader"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/billingRoleDefinitions"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions/40000000-aaaa-bbbb-cccc-100000000004","name":"40000000-aaaa-bbbb-cccc-100000000004","properties":{"description":"The + Invoice Manager role gives the user the ability to view and manage invoices.","permissions":[{"actions":["40000000-aaaa-bbbb-cccc-200000000007","40000000-aaaa-bbbb-cccc-200000000006","40000000-aaaa-bbbb-cccc-200000000011","40000000-aaaa-bbbb-cccc-200000000008","40000000-aaaa-bbbb-cccc-200000000012","40000000-aaaa-bbbb-cccc-200000000013","30000000-aaaa-bbbb-cccc-200000000001"]}],"roleName":"Invoice + manager"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/billingRoleDefinitions"}]}' + headers: + api-supported-versions: + - 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, 2022-10-01-privatepreview, + 2024-04-01 + cache-control: + - no-cache + content-length: + - '5008' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 25 Oct 2024 06:03:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-service-version: + - 10.6.2851.798 + x-msedge-ref: + - 'Ref A: 5CD85CFB27FD48DEAFAD4BFA80FF8BE4 Ref B: CO6AA3150217033 Ref C: 2024-10-25T06:03:07Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing role-definition list-by-invoice-section + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name --billing-profile-name --invoice-section-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea%3Ad6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB/billingRoleDefinitions?api-version=2024-04-01 + response: + body: + string: '{"value":[{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB/billingRoleDefinitions/30000000-aaaa-bbbb-cccc-100000000000","name":"30000000-aaaa-bbbb-cccc-100000000000","properties":{"description":"The + Owner role gives the user all permissions including access management rights + to the Project.","permissions":[{"actions":["30000000-aaaa-bbbb-cccc-200000000000","30000000-aaaa-bbbb-cccc-200000000001","30000000-aaaa-bbbb-cccc-200000000003","30000000-aaaa-bbbb-cccc-200000000004","30000000-aaaa-bbbb-cccc-200000000005","30000000-aaaa-bbbb-cccc-200000000006","30000000-aaaa-bbbb-cccc-200000000007","30000000-aaaa-bbbb-cccc-200000000008","30000000-aaaa-bbbb-cccc-200000000009","30000000-aaaa-bbbb-cccc-200000000010","30000000-aaaa-bbbb-cccc-200000000011","30000000-aaaa-bbbb-cccc-200000000012","30000000-aaaa-bbbb-cccc-200000000013","30000000-aaaa-bbbb-cccc-200000000015","30000000-aaaa-bbbb-cccc-200000000016","30000000-aaaa-bbbb-cccc-200000000017","30000000-aaaa-bbbb-cccc-200000000018"]}],"roleName":"Invoice + section owner"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections/billingRoleDefinitions"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB/billingRoleDefinitions/30000000-aaaa-bbbb-cccc-100000000001","name":"30000000-aaaa-bbbb-cccc-100000000001","properties":{"description":"The + Contributor role gives the user all permissions except access management rights + to the Project.","permissions":[{"actions":["30000000-aaaa-bbbb-cccc-200000000001","30000000-aaaa-bbbb-cccc-200000000003","30000000-aaaa-bbbb-cccc-200000000004","30000000-aaaa-bbbb-cccc-200000000005","30000000-aaaa-bbbb-cccc-200000000006","30000000-aaaa-bbbb-cccc-200000000007","30000000-aaaa-bbbb-cccc-200000000008","30000000-aaaa-bbbb-cccc-200000000009","30000000-aaaa-bbbb-cccc-200000000010","30000000-aaaa-bbbb-cccc-200000000011","30000000-aaaa-bbbb-cccc-200000000012","30000000-aaaa-bbbb-cccc-200000000013","30000000-aaaa-bbbb-cccc-200000000015","30000000-aaaa-bbbb-cccc-200000000016","30000000-aaaa-bbbb-cccc-200000000017","30000000-aaaa-bbbb-cccc-200000000018"]}],"roleName":"Invoice + section contributor"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections/billingRoleDefinitions"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB/billingRoleDefinitions/30000000-aaaa-bbbb-cccc-100000000002","name":"30000000-aaaa-bbbb-cccc-100000000002","properties":{"description":"The + reader role gives the user read only access to the Project.","permissions":[{"actions":["30000000-aaaa-bbbb-cccc-200000000001","30000000-aaaa-bbbb-cccc-200000000007","30000000-aaaa-bbbb-cccc-200000000004","30000000-aaaa-bbbb-cccc-200000000015","30000000-aaaa-bbbb-cccc-200000000017"]}],"roleName":"Invoice + section reader"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections/billingRoleDefinitions"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB/billingRoleDefinitions/30000000-aaaa-bbbb-cccc-100000000006","name":"30000000-aaaa-bbbb-cccc-100000000006","properties":{"description":"This + Asset Depositor gives the user the ability to deposit assets to a Project.","permissions":[{"actions":["30000000-aaaa-bbbb-cccc-200000000001","30000000-aaaa-bbbb-cccc-200000000013"]}],"roleName":"Azure + subscription creator"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections/billingRoleDefinitions"}]}' + headers: + api-supported-versions: + - 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, 2022-10-01-privatepreview, + 2024-04-01 + cache-control: + - no-cache + content-length: + - '3952' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 25 Oct 2024 06:03:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-service-version: + - 10.6.2851.798 + x-msedge-ref: + - 'Ref A: 69416A61BC614872A816325D63346547 Ref B: CO6AA3150217021 Ref C: 2024-10-25T06:03:08Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing role-definition get-by-billing-account + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name --role-definition-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea%3Ad6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000?api-version=2024-04-01 + response: + body: + string: '{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingRoleDefinitions/50000000-aaaa-bbbb-cccc-100000000000","name":"50000000-aaaa-bbbb-cccc-100000000000","properties":{"description":"The + Owner role gives the user all permissions including access management on the + Organization.","permissions":[{"actions":["50000000-aaaa-bbbb-cccc-200000000000","50000000-aaaa-bbbb-cccc-200000000001","50000000-aaaa-bbbb-cccc-200000000002","50000000-aaaa-bbbb-cccc-200000000003","50000000-aaaa-bbbb-cccc-200000000004","50000000-aaaa-bbbb-cccc-200000000006","50000000-aaaa-bbbb-cccc-200000000007","50000000-aaaa-bbbb-cccc-200000000008","10000000-aaaa-bbbb-cccc-200000000001","10000000-aaaa-bbbb-cccc-200000000002","10000000-aaaa-bbbb-cccc-200000000003","10000000-aaaa-bbbb-cccc-200000000006","10000000-aaaa-bbbb-cccc-200000000007","50000000-aaaa-bbbb-cccc-200000000005","30000000-aaaa-bbbb-cccc-200000000000","30000000-aaaa-bbbb-cccc-200000000001","30000000-aaaa-bbbb-cccc-200000000004","30000000-aaaa-bbbb-cccc-200000000007","30000000-aaaa-bbbb-cccc-200000000009","30000000-aaaa-bbbb-cccc-200000000010","30000000-aaaa-bbbb-cccc-200000000015","30000000-aaaa-bbbb-cccc-200000000017","30000000-aaaa-bbbb-cccc-200000000018","40000000-aaaa-bbbb-cccc-200000000000","40000000-aaaa-bbbb-cccc-200000000006","40000000-aaaa-bbbb-cccc-200000000007","40000000-aaaa-bbbb-cccc-200000000008","40000000-aaaa-bbbb-cccc-200000000012","40000000-aaaa-bbbb-cccc-200000000013","40000000-aaaa-bbbb-cccc-200000000004","40000000-aaaa-bbbb-cccc-200000000001","40000000-aaaa-bbbb-cccc-200000000005","40000000-aaaa-bbbb-cccc-200000000002","40000000-aaaa-bbbb-cccc-200000000003","40000000-aaaa-bbbb-cccc-200000000011","30000000-aaaa-bbbb-cccc-200000000013","30000000-aaaa-bbbb-cccc-200000000011","30000000-aaaa-bbbb-cccc-200000000006","30000000-aaaa-bbbb-cccc-200000000003","30000000-aaaa-bbbb-cccc-200000000005","30000000-aaaa-bbbb-cccc-200000000012","30000000-aaaa-bbbb-cccc-200000000008","30000000-aaaa-bbbb-cccc-200000000016"]}],"roleName":"Billing + account owner"},"type":"Microsoft.Billing/billingAccounts/billingRoleDefinitions"}' + headers: + api-supported-versions: + - 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, 2022-10-01-privatepreview, + 2024-04-01 + cache-control: + - no-cache + content-length: + - '2178' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 25 Oct 2024 06:03:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-service-version: + - 10.6.2851.798 + x-msedge-ref: + - 'Ref A: AC382A5037AB4B7AB94B5FF9CF3B6FE0 Ref B: CO6AA3150220051 Ref C: 2024-10-25T06:03:08Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing role-definition get-by-billing-profile + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name --billing-profile-name --role-definition-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea%3Ad6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions/40000000-aaaa-bbbb-cccc-100000000000?api-version=2024-04-01 + response: + body: + string: '{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingRoleDefinitions/40000000-aaaa-bbbb-cccc-100000000000","name":"40000000-aaaa-bbbb-cccc-100000000000","properties":{"description":"The + Owner role gives the user all permissions including access management rights + to the Billing Group.","permissions":[{"actions":["40000000-aaaa-bbbb-cccc-200000000000","40000000-aaaa-bbbb-cccc-200000000001","40000000-aaaa-bbbb-cccc-200000000002","40000000-aaaa-bbbb-cccc-200000000003","40000000-aaaa-bbbb-cccc-200000000004","40000000-aaaa-bbbb-cccc-200000000005","40000000-aaaa-bbbb-cccc-200000000006","40000000-aaaa-bbbb-cccc-200000000007","40000000-aaaa-bbbb-cccc-200000000008","40000000-aaaa-bbbb-cccc-200000000011","40000000-aaaa-bbbb-cccc-200000000012","40000000-aaaa-bbbb-cccc-200000000013","30000000-aaaa-bbbb-cccc-200000000000","30000000-aaaa-bbbb-cccc-200000000001","30000000-aaaa-bbbb-cccc-200000000003","30000000-aaaa-bbbb-cccc-200000000004","30000000-aaaa-bbbb-cccc-200000000005","30000000-aaaa-bbbb-cccc-200000000006","30000000-aaaa-bbbb-cccc-200000000007","30000000-aaaa-bbbb-cccc-200000000008","30000000-aaaa-bbbb-cccc-200000000009","30000000-aaaa-bbbb-cccc-200000000010","30000000-aaaa-bbbb-cccc-200000000011","30000000-aaaa-bbbb-cccc-200000000012","30000000-aaaa-bbbb-cccc-200000000013","30000000-aaaa-bbbb-cccc-200000000015","30000000-aaaa-bbbb-cccc-200000000016","30000000-aaaa-bbbb-cccc-200000000017","30000000-aaaa-bbbb-cccc-200000000018"]}],"roleName":"Billing + profile owner"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/billingRoleDefinitions"}' + headers: + api-supported-versions: + - 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, 2022-10-01-privatepreview, + 2024-04-01 + cache-control: + - no-cache + content-length: + - '1690' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 25 Oct 2024 06:03:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-service-version: + - 10.6.2851.798 + x-msedge-ref: + - 'Ref A: E9D8F6A68361411ABD18343A4BED1D1A Ref B: CO6AA3150217053 Ref C: 2024-10-25T06:03:08Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing role-definition get-by-invoice-section + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name --billing-profile-name --invoice-section-name --role-definition-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea%3Ad6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB/billingRoleDefinitions/30000000-aaaa-bbbb-cccc-100000000000?api-version=2024-04-01 + response: + body: + string: '{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB/billingRoleDefinitions/30000000-aaaa-bbbb-cccc-100000000000","name":"30000000-aaaa-bbbb-cccc-100000000000","properties":{"description":"The + Owner role gives the user all permissions including access management rights + to the Project.","permissions":[{"actions":["30000000-aaaa-bbbb-cccc-200000000000","30000000-aaaa-bbbb-cccc-200000000001","30000000-aaaa-bbbb-cccc-200000000003","30000000-aaaa-bbbb-cccc-200000000004","30000000-aaaa-bbbb-cccc-200000000005","30000000-aaaa-bbbb-cccc-200000000006","30000000-aaaa-bbbb-cccc-200000000007","30000000-aaaa-bbbb-cccc-200000000008","30000000-aaaa-bbbb-cccc-200000000009","30000000-aaaa-bbbb-cccc-200000000010","30000000-aaaa-bbbb-cccc-200000000011","30000000-aaaa-bbbb-cccc-200000000012","30000000-aaaa-bbbb-cccc-200000000013","30000000-aaaa-bbbb-cccc-200000000015","30000000-aaaa-bbbb-cccc-200000000016","30000000-aaaa-bbbb-cccc-200000000017","30000000-aaaa-bbbb-cccc-200000000018"]}],"roleName":"Invoice + section owner"},"type":"Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections/billingRoleDefinitions"}' + headers: + api-supported-versions: + - 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, 2022-10-01-privatepreview, + 2024-04-01 + cache-control: + - no-cache + content-length: + - '1266' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 25 Oct 2024 06:03:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-service-version: + - 10.6.2851.798 + x-msedge-ref: + - 'Ref A: 72C54A49A6C0478784308C58250BBFFC Ref B: CO6AA3150220017 Ref C: 2024-10-25T06:03:09Z' + status: + code: 200 + message: OK +version: 1 diff --git a/src/billing/azext_billing/tests/latest/recordings/test_read_subscriptions.yaml b/src/billing/azext_billing/tests/latest/recordings/test_read_subscriptions.yaml new file mode 100644 index 00000000000..a004d283274 --- /dev/null +++ b/src/billing/azext_billing/tests/latest/recordings/test_read_subscriptions.yaml @@ -0,0 +1,158 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing subscription list-by-billing-account + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea%3Ad6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingSubscriptions?includeDeleted=false&includeFailed=false&includeTenantSubscriptions=false&api-version=2024-04-01 + response: + body: + string: '{"totalCount":19,"value":[{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingSubscriptions/30d76dc4-93c6-4638-dbcd-8b64f0882e9b","name":"30d76dc4-93c6-4638-dbcd-8b64f0882e9b","properties":{"autoRenew":"On","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","billingProfileName":"HWEG-Q6HX-BG7-TGB","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","invoiceSectionName":"3GOG-XYPA-PJA-TGB","productCategory":"SeatBased","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","purchaseDate":"2024-01-26T20:27:37.2421107Z","quantity":3,"renewalTermDetails":{"productId":"CFQ7TTC0JG7P","skuId":"0001","termDuration":"P1Y","quantity":4},"skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","systemOverrides":{"cancellationAllowedEndDate":"2024-02-02T20:23:44.0000000Z"},"termDuration":"P1Y","termStartDate":"2024-01-26T00:00:00.0000000Z","termEndDate":"2025-01-25T00:00:00.0000000Z","provisioningTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","status":"Active","operationStatus":"None"},"type":"Microsoft.Billing/billingAccounts/billingSubscriptions"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingSubscriptions/f8ac451d-d74f-4061-d6e4-6423529a9834","name":"f8ac451d-d74f-4061-d6e4-6423529a9834","properties":{"autoRenew":"On","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","billingProfileName":"HWEG-Q6HX-BG7-TGB","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","invoiceSectionName":"3GOG-XYPA-PJA-TGB","productCategory":"SeatBased","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","purchaseDate":"2024-01-30T19:52:05.3888983Z","quantity":6,"skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","systemOverrides":{"cancellationAllowedEndDate":"2024-02-06T19:52:58.0000000Z"},"termDuration":"P1Y","termStartDate":"2024-02-07T00:00:00.0000000Z","termEndDate":"2025-01-29T00:00:00.0000000Z","provisioningTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","status":"Active","operationStatus":"None"},"type":"Microsoft.Billing/billingAccounts/billingSubscriptions"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingSubscriptions/f9fb7c28-d948-479f-c7e7-c5beb90f78d9","name":"f9fb7c28-d948-479f-c7e7-c5beb90f78d9","properties":{"autoRenew":"On","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","billingProfileName":"HWEG-Q6HX-BG7-TGB","displayName":"monthy + to daily with bill freq","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","invoiceSectionName":"3GOG-XYPA-PJA-TGB","productCategory":"SeatBased","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","purchaseDate":"2024-02-02T23:13:08.1373344Z","quantity":2,"skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","systemOverrides":{"cancellationAllowedEndDate":"2024-02-09T23:14:50.0000000Z"},"termDuration":"P1Y","termStartDate":"2024-02-09T00:00:00.0000000Z","termEndDate":"2025-02-01T00:00:00.0000000Z","provisioningTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","status":"Active","operationStatus":"None"},"type":"Microsoft.Billing/billingAccounts/billingSubscriptions"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingSubscriptions/b86b7abf-8931-44e6-c398-6ae34277d48a","name":"b86b7abf-8931-44e6-c398-6ae34277d48a","properties":{"autoRenew":"On","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","billingProfileName":"HWEG-Q6HX-BG7-TGB","displayName":"split + daily to daily","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","invoiceSectionName":"3GOG-XYPA-PJA-TGB","productCategory":"SeatBased","productType":"Test + Dyn365Financials Advanced User","productTypeId":"CFQ7TTC0LH37","purchaseDate":"2024-02-06T20:09:12.3387247Z","quantity":3,"skuId":"0001","skuDescription":"Test + Dyn365Financials Advanced User","systemOverrides":{"cancellationAllowedEndDate":"2024-10-13T15:47:54.0000000Z"},"termDuration":"P1M","termStartDate":"2024-10-06T00:00:00.0000000Z","termEndDate":"2024-11-05T00:00:00.0000000Z","provisioningTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","status":"Active","operationStatus":"None"},"type":"Microsoft.Billing/billingAccounts/billingSubscriptions"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingSubscriptions/107339b1-4986-452c-c55e-52df0b1c8e26","name":"107339b1-4986-452c-c55e-52df0b1c8e26","properties":{"autoRenew":"On","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","billingProfileName":"HWEG-Q6HX-BG7-TGB","displayName":"Daily + to Daily 1","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","invoiceSectionName":"3GOG-XYPA-PJA-TGB","productCategory":"SeatBased","productType":"Communication + Credits","productTypeId":"CFQ7TTC0J1VP","purchaseDate":"2024-02-08T21:35:14.3587290Z","quantity":7,"skuId":"000B","skuDescription":"TEST + - Communications Credits","systemOverrides":{"cancellationAllowedEndDate":"2024-02-15T21:36:36.0000000Z"},"termDuration":"P1Y","termStartDate":"2024-02-09T00:00:00.0000000Z","termEndDate":"2025-02-07T00:00:00.0000000Z","provisioningTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","status":"Active","operationStatus":"None"},"type":"Microsoft.Billing/billingAccounts/billingSubscriptions"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingSubscriptions/355f11ab-835e-412d-d3c7-f8d4780c0a34","name":"355f11ab-835e-412d-d3c7-f8d4780c0a34","properties":{"autoRenew":"On","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","billingProfileName":"HWEG-Q6HX-BG7-TGB","displayName":"Monthly + to daily","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","invoiceSectionName":"3GOG-XYPA-PJA-TGB","productCategory":"SeatBased","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","purchaseDate":"2024-02-08T21:43:08.7475511Z","quantity":3,"skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","systemOverrides":{"cancellationAllowedEndDate":"2024-02-15T21:43:53.0000000Z"},"termDuration":"P1Y","termStartDate":"2024-02-09T00:00:00.0000000Z","termEndDate":"2025-02-07T00:00:00.0000000Z","provisioningTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","status":"Active","operationStatus":"None"},"type":"Microsoft.Billing/billingAccounts/billingSubscriptions"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingSubscriptions/025af6a5-ce26-43be-d1c7-b48b61ad65b3","name":"025af6a5-ce26-43be-d1c7-b48b61ad65b3","properties":{"autoRenew":"On","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","billingProfileName":"HWEG-Q6HX-BG7-TGB","displayName":"split + monthly to daily","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","invoiceSectionName":"3GOG-XYPA-PJA-TGB","productCategory":"SeatBased","productType":"Test + - Modern M365 E5 Conversions","productTypeId":"CFQ7TTC0P7FB","purchaseDate":"2024-02-08T21:46:46.5970752Z","quantity":1,"skuId":"0001","skuDescription":"Test + - M365 E5 Conversions","systemOverrides":{"cancellationAllowedEndDate":"2024-02-15T21:47:28.0000000Z"},"termDuration":"P1Y","termStartDate":"2024-02-08T00:00:00.0000000Z","termEndDate":"2025-02-07T00:00:00.0000000Z","provisioningTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","status":"Active","operationStatus":"None"},"type":"Microsoft.Billing/billingAccounts/billingSubscriptions"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingSubscriptions/9d584daf-a9c8-4a99-c5e6-5ae35f30b556","name":"9d584daf-a9c8-4a99-c5e6-5ae35f30b556","properties":{"autoRenew":"On","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","billingProfileName":"HWEG-Q6HX-BG7-TGB","displayName":"monthly + to daily add seats","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","invoiceSectionName":"3GOG-XYPA-PJA-TGB","productCategory":"SeatBased","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","purchaseDate":"2024-02-08T21:51:31.4580101Z","quantity":4,"skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","systemOverrides":{"cancellationAllowedEndDate":"2024-02-15T21:52:14.0000000Z"},"termDuration":"P1Y","termStartDate":"2024-02-09T00:00:00.0000000Z","termEndDate":"2025-02-07T00:00:00.0000000Z","provisioningTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","status":"Active","operationStatus":"None"},"type":"Microsoft.Billing/billingAccounts/billingSubscriptions"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingSubscriptions/fe03f085-6116-40f7-d1b6-1fc84a4fcac5","name":"fe03f085-6116-40f7-d1b6-1fc84a4fcac5","properties":{"autoRenew":"On","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","billingProfileName":"HWEG-Q6HX-BG7-TGB","displayName":"daily + to monthly","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","invoiceSectionName":"3GOG-XYPA-PJA-TGB","productCategory":"SeatBased","productType":"Test + - Modern M365 E5 Conversions","productTypeId":"CFQ7TTC0P7FB","purchaseDate":"2024-02-08T21:55:45.6809088Z","quantity":10,"skuId":"0001","skuDescription":"Test + - M365 E5 Conversions","systemOverrides":{"cancellationAllowedEndDate":"2024-02-15T21:56:30.0000000Z"},"termDuration":"P1Y","termStartDate":"2024-02-09T00:00:00.0000000Z","termEndDate":"2025-02-07T00:00:00.0000000Z","provisioningTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","status":"Active","operationStatus":"None"},"type":"Microsoft.Billing/billingAccounts/billingSubscriptions"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingSubscriptions/f3395769-1607-4f7b-d53e-0bf05807d8ff","name":"f3395769-1607-4f7b-d53e-0bf05807d8ff","properties":{"autoRenew":"On","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","billingProfileName":"HWEG-Q6HX-BG7-TGB","displayName":"daily + to daily add seats","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","invoiceSectionName":"3GOG-XYPA-PJA-TGB","productCategory":"SeatBased","productType":"Communication + Credits","productTypeId":"CFQ7TTC0J1VP","purchaseDate":"2024-02-09T19:14:59.1807106Z","quantity":6,"skuId":"000B","skuDescription":"TEST + - Communications Credits","systemOverrides":{"cancellationAllowedEndDate":"2024-02-16T19:15:45.0000000Z"},"termDuration":"P1Y","termStartDate":"2024-02-09T00:00:00.0000000Z","termEndDate":"2025-02-08T00:00:00.0000000Z","provisioningTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","status":"Active","operationStatus":"None"},"type":"Microsoft.Billing/billingAccounts/billingSubscriptions"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingSubscriptions/c0a31de2-aac7-4fa2-c606-917f034cbcbf","name":"c0a31de2-aac7-4fa2-c606-917f034cbcbf","properties":{"autoRenew":"On","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/9ea04beecb25435781b6a9c112a4713b","billingProfileDisplayName":"BillingProfile2","billingProfileName":"9ea04beecb25435781b6a9c112a4713b","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/9ea04beecb25435781b6a9c112a4713b/invoiceSections/YB7U-KJHC-PJA-TGB","invoiceSectionDisplayName":"BillingProfile2","invoiceSectionName":"YB7U-KJHC-PJA-TGB","productCategory":"SeatBased","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","purchaseDate":"2024-02-09T20:27:27.0291450Z","quantity":2,"skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","systemOverrides":{"cancellationAllowedEndDate":"2024-02-16T20:28:10.0000000Z"},"termDuration":"P1Y","termStartDate":"2024-02-09T00:00:00.0000000Z","termEndDate":"2025-02-08T00:00:00.0000000Z","provisioningTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","status":"Active","operationStatus":"None"},"type":"Microsoft.Billing/billingAccounts/billingSubscriptions"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingSubscriptions/bd724d81-3717-4e0c-c5e7-3378da5996a9","name":"bd724d81-3717-4e0c-c5e7-3378da5996a9","properties":{"autoRenew":"On","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","billingProfileName":"HWEG-Q6HX-BG7-TGB","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","invoiceSectionName":"3GOG-XYPA-PJA-TGB","productCategory":"SeatBased","productType":"Communication + Credits","productTypeId":"CFQ7TTC0J1VP","purchaseDate":"2024-02-09T21:02:18.9113208Z","quantity":1,"skuId":"000B","skuDescription":"TEST + - Communications Credits","systemOverrides":{"cancellationAllowedEndDate":"2024-02-13T20:09:55.0000000Z"},"termDuration":"P1Y","termStartDate":"2024-02-09T00:00:00.0000000Z","termEndDate":"2025-02-08T00:00:00.0000000Z","provisioningTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","status":"Active","operationStatus":"None"},"type":"Microsoft.Billing/billingAccounts/billingSubscriptions"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingSubscriptions/96cf6462-a3a7-491b-d9a3-a2e2569ded0d","name":"96cf6462-a3a7-491b-d9a3-a2e2569ded0d","properties":{"autoRenew":"On","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","billingProfileName":"HWEG-Q6HX-BG7-TGB","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","invoiceSectionName":"3GOG-XYPA-PJA-TGB","productCategory":"SeatBased","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","purchaseDate":"2024-02-09T21:18:45.8971177Z","quantity":1,"skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","systemOverrides":{"cancellationAllowedEndDate":"2024-02-15T21:47:28.0000000Z"},"termDuration":"P1Y","termStartDate":"2024-02-09T00:00:00.0000000Z","termEndDate":"2025-02-07T00:00:00.0000000Z","provisioningTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","status":"Active","operationStatus":"None"},"type":"Microsoft.Billing/billingAccounts/billingSubscriptions"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingSubscriptions/73a83ad5-0371-4d83-cd5f-ace2484327ce","name":"73a83ad5-0371-4d83-cd5f-ace2484327ce","properties":{"autoRenew":"On","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","billingProfileName":"HWEG-Q6HX-BG7-TGB","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","invoiceSectionName":"3GOG-XYPA-PJA-TGB","productCategory":"SeatBased","productType":"Test + - Modern M365 E5","productTypeId":"CFQ7TTC0JG7P","purchaseDate":"2024-02-09T21:39:33.9228165Z","quantity":2,"skuId":"0001","skuDescription":"Test + - M365 E5 New Commerce Testing","systemOverrides":{"cancellationAllowedEndDate":"2024-02-16T21:40:15.0000000Z"},"termDuration":"P3Y","termStartDate":"2024-02-09T00:00:00.0000000Z","termEndDate":"2027-02-08T00:00:00.0000000Z","provisioningTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","status":"Active","operationStatus":"None"},"type":"Microsoft.Billing/billingAccounts/billingSubscriptions"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingSubscriptions/b0c1f834-ca02-4f8f-d52a-a985df87bddb","name":"b0c1f834-ca02-4f8f-d52a-a985df87bddb","properties":{"autoRenew":"On","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/RVTW-BBMQ-BG7-TGB","billingProfileDisplayName":"TestTestDanGreco","billingProfileName":"RVTW-BBMQ-BG7-TGB","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/RVTW-BBMQ-BG7-TGB/invoiceSections/OWFM-UEAA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","invoiceSectionName":"OWFM-UEAA-PJA-TGB","productCategory":"SeatBased","productType":"Azure + Active Directory Premium P1","productTypeId":"CFQ7TTC0LHPX","purchaseDate":"2024-02-14T20:22:17.1908988Z","quantity":2,"skuId":"0001","skuDescription":"Azure + Active Directory Premium P1","systemOverrides":{"cancellationAllowedEndDate":"2024-05-21T14:02:50.0000000Z"},"termDuration":"P1M","termStartDate":"2024-05-14T00:00:00.0000000Z","termEndDate":"2024-06-13T00:00:00.0000000Z","provisioningTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","status":"Active","operationStatus":"None"},"type":"Microsoft.Billing/billingAccounts/billingSubscriptions"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingSubscriptions/c19f56c2-6e3d-4526-d8b7-c648526e147d","name":"c19f56c2-6e3d-4526-d8b7-c648526e147d","properties":{"autoRenew":"On","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","billingProfileName":"HWEG-Q6HX-BG7-TGB","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","invoiceSectionName":"3GOG-XYPA-PJA-TGB","productCategory":"SeatBased","productType":"Test + Dyn365Financials Advanced User","productTypeId":"CFQ7TTC0LH37","purchaseDate":"2024-03-21T15:22:33.5265898Z","quantity":3,"skuId":"0001","skuDescription":"Test + Dyn365Financials Advanced User","systemOverrides":{"cancellationAllowedEndDate":"2024-03-28T15:23:18.0000000Z"},"termDuration":"P1Y","termStartDate":"2024-03-21T00:00:00.0000000Z","termEndDate":"2025-03-20T00:00:00.0000000Z","provisioningTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","status":"Active","operationStatus":"None"},"type":"Microsoft.Billing/billingAccounts/billingSubscriptions"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingSubscriptions/01ca24c3-83a7-49ce-d10e-d5d82abeae15","name":"01ca24c3-83a7-49ce-d10e-d5d82abeae15","properties":{"autoRenew":"On","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","billingProfileName":"HWEG-Q6HX-BG7-TGB","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","invoiceSectionName":"3GOG-XYPA-PJA-TGB","productCategory":"SeatBased","productType":"Test + Dyn365Financials Limited User","productTypeId":"CFQ7TTC0LH3K","purchaseDate":"2024-03-21T15:26:20.2128197Z","quantity":2,"skuId":"0001","skuDescription":"Test + Dyn365Financials Limited User","systemOverrides":{"cancellationAllowedEndDate":"2024-03-28T15:23:18.0000000Z"},"termDuration":"P1Y","termStartDate":"2024-03-21T00:00:00.0000000Z","termEndDate":"2025-03-20T00:00:00.0000000Z","provisioningTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","status":"Active","operationStatus":"None"},"type":"Microsoft.Billing/billingAccounts/billingSubscriptions"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingSubscriptions/70d9a267-5828-410d-de9b-8c5995bc647a","name":"70d9a267-5828-410d-de9b-8c5995bc647a","properties":{"autoRenew":"On","billingFrequency":"P1M","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB","billingProfileDisplayName":"Test_Test_Dailyinvoicing_usethisone","billingProfileName":"HWEG-Q6HX-BG7-TGB","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/invoiceSections/3GOG-XYPA-PJA-TGB","invoiceSectionDisplayName":"Test_Test_Dailyinvoicing","invoiceSectionName":"3GOG-XYPA-PJA-TGB","productCategory":"SeatBased","productType":"Test + Dyn365Financials Limited User","productTypeId":"CFQ7TTC0LH3K","purchaseDate":"2024-03-23T00:26:38.0115899Z","quantity":3,"skuId":"0001","skuDescription":"Test + Dyn365Financials Limited User","systemOverrides":{"cancellationAllowedEndDate":"2024-03-30T00:27:46.0000000Z"},"termDuration":"P1Y","termStartDate":"2024-03-23T00:00:00.0000000Z","termEndDate":"2025-03-22T00:00:00.0000000Z","provisioningTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","status":"Active","operationStatus":"None"},"type":"Microsoft.Billing/billingAccounts/billingSubscriptions"},{"id":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingSubscriptions/06be7523-3571-4d2d-d43c-9090ab3bfbca","name":"06be7523-3571-4d2d-d43c-9090ab3bfbca","properties":{"autoRenew":"On","billingProfileId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/9ea04beecb25435781b6a9c112a4713b","billingProfileDisplayName":"BillingProfile2","billingProfileName":"9ea04beecb25435781b6a9c112a4713b","invoiceSectionId":"/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/9ea04beecb25435781b6a9c112a4713b/invoiceSections/JQQD-DDYS-PJA-TGB","invoiceSectionDisplayName":"bailing4","invoiceSectionName":"JQQD-DDYS-PJA-TGB","productCategory":"SeatBased","productType":"Microsoft + 365 Business Basic","productTypeId":"CFQ7TTC0LH18","purchaseDate":"2024-08-23T18:48:28.1500236Z","quantity":2,"renewalTermDetails":{"productId":"CFQ7TTC0LH18","skuId":"0001","termDuration":"P1Y","quantity":3},"skuId":"0001","skuDescription":"Microsoft + 365 Business Basic","systemOverrides":{"cancellationAllowedEndDate":"2024-09-16T23:29:43.0000000Z"},"termDuration":"P1Y","termStartDate":"2024-09-09T00:00:00.0000000Z","termEndDate":"2025-09-08T00:00:00.0000000Z","provisioningTenantId":"473a1d36-579e-4bf9-a54c-81f682d19a7c","status":"Active","operationStatus":"None"},"type":"Microsoft.Billing/billingAccounts/billingSubscriptions"}]}' + headers: + api-supported-versions: + - 2018-11-01-preview, 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, + 2021-10-01, 2022-10-01-privatepreview, 2024-04-01, 2024-08-01-preview + cache-control: + - no-cache + content-length: + - '28956' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 25 Oct 2024 18:49:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-ratelimit-remaining-tenant-resource-requests: + - '499' + x-ms-service-version: + - 10.6.2851.798 + x-msedge-ref: + - 'Ref A: 1DD9712B1C8046C287BF0EF11515BA3F Ref B: CO1EDGE2421 Ref C: 2024-10-25T18:49:11Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - billing subscription list-by-billing-profile + Connection: + - keep-alive + ParameterSetName: + - --billing-account-name --billing-profile-name + User-Agent: + - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.12.7 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea%3Ad6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/HWEG-Q6HX-BG7-TGB/billingSubscriptions?includeDeleted=false&api-version=2024-04-01 + response: + body: + string: '{"value":[]}' + headers: + api-supported-versions: + - 2018-11-01-preview, 2019-10-01-preview, 2020-05-01, 2020-12-15-privatepreview, + 2021-10-01, 2022-10-01-privatepreview, 2024-04-01, 2024-08-01-preview + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 25 Oct 2024 18:49:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - DENY + x-ms-ratelimit-remaining-tenant-resource-requests: + - '99' + x-ms-service-version: + - 10.6.2851.798 + x-msedge-ref: + - 'Ref A: 4B1D40268C454519AD4D8519649C9715 Ref B: CO1EDGE2318 Ref C: 2024-10-25T18:49:12Z' + status: + code: 200 + message: OK +version: 1 diff --git a/src/billing/azext_billing/tests/latest/test_billingprofile_policy_commands.py b/src/billing/azext_billing/tests/latest/test_billingprofile_policy_commands.py new file mode 100644 index 00000000000..6b71aa271d1 --- /dev/null +++ b/src/billing/azext_billing/tests/latest/test_billingprofile_policy_commands.py @@ -0,0 +1,20 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from azure.cli.testsdk import ScenarioTest, record_only + +class AzureBillingProfilepolicyScenarioTest(ScenarioTest): + def test_policy_commands(self): + self.kwargs.update({ + 'modern_account_name': 'e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31', + 'profile_name': '9ea04beecb25435781b6a9c112a4713b' + }) + + get_billing_profile_policy = self.cmd('billing policy get-by-billing-profile --billing-account-name {modern_account_name} --billing-profile-name {profile_name}') + self.assertTrue(get_billing_profile_policy) + + # update by billing profile + self.cmd('billing policy update-by-billing-profile --billing-account-name {modern_account_name} --billing-profile-name {profile_name} --view-charges "NotAllowed"', + checks=[self.check("properties.viewCharges", "NotAllowed", case_sensitive=False)]) \ No newline at end of file diff --git a/src/billing/azext_billing/tests/latest/test_customer_commands.py b/src/billing/azext_billing/tests/latest/test_customer_commands.py new file mode 100644 index 00000000000..eafeea98de7 --- /dev/null +++ b/src/billing/azext_billing/tests/latest/test_customer_commands.py @@ -0,0 +1,28 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from azure.cli.testsdk import ScenarioTest, record_only + +class AzureCustomersScenarioTest(ScenarioTest): + def test_customers_commands(self): + self.kwargs.update({ + 'account_name': 'edbb014c-80ca-55f8-ffe8-5b0e223f3c96:9e80edc1-bbbf-427e-a185-8a8f50a8a1ca_2019-05-31', + 'profile_name': 'SXJ7-5ZRB-BG7-TGB' + }) + + #list customers by BA + customers_list = self.cmd('billing customer list-by-billing-account --billing-account-name {account_name}').get_output_in_json() + self.assertTrue(customers_list) + customer_name = customers_list[0]['name'] + self.kwargs.update({ + 'customer_name': customer_name + }) + + #list customers by BP + customers_list_by_bp = self.cmd('billing customer list-by-billing-profile --billing-account-name {account_name} --billing-profile-name {profile_name}').get_output_in_json() + self.assertTrue(customers_list_by_bp) + + # get customer by id + self.cmd('billing customer get --billing-account-name {account_name} --billing-profile-name {profile_name} --customer-name {customer_name}', checks=self.check('name', customer_name)) \ No newline at end of file diff --git a/src/billing/azext_billing/tests/latest/test_customer_policy_commands.py b/src/billing/azext_billing/tests/latest/test_customer_policy_commands.py new file mode 100644 index 00000000000..636aba32bab --- /dev/null +++ b/src/billing/azext_billing/tests/latest/test_customer_policy_commands.py @@ -0,0 +1,20 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from azure.cli.testsdk import ScenarioTest, record_only + +class AzureCustomerpolicyScenarioTest(ScenarioTest): + def test_policy_commands(self): + self.kwargs.update({ + 'account_name': 'edbb014c-80ca-55f8-ffe8-5b0e223f3c96:9e80edc1-bbbf-427e-a185-8a8f50a8a1ca_2019-05-31', + 'customer_name': 'da904b39-8d5f-420f-9d2c-c3b3923d78fe' + }) + + get_billing_profile_policy = self.cmd('billing policy get-by-customer-at-billing-account --billing-account-name {account_name} --customer-name {customer_name}') + self.assertTrue(get_billing_profile_policy) + + # update by customer + self.cmd('billing policy update-by-customer-at-billing-account --billing-account-name {account_name} --customer-name {customer_name} --view-charges "Allowed"', + checks=[self.check("properties.viewCharges", "Allowed", case_sensitive=False)]) \ No newline at end of file diff --git a/src/billing/azext_billing/tests/latest/test_permission_commands.py b/src/billing/azext_billing/tests/latest/test_permission_commands.py new file mode 100644 index 00000000000..c917384fa95 --- /dev/null +++ b/src/billing/azext_billing/tests/latest/test_permission_commands.py @@ -0,0 +1,38 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from azure.cli.testsdk import ScenarioTest, record_only + +class AzureBillingPermissionScenarioTest(ScenarioTest): + def test_permission_commands(self): + self.kwargs.update({ + 'account_name': 'e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31', + 'profile_name': '9ea04beecb25435781b6a9c112a4713b', + 'invoice_section_name': 'YB7U-KJHC-PJA-TGB' + }) + + #check access by billing account + check_access_by_billing_account = self.cmd('billing permission check-access-by-billing-account --billing-account-name {account_name} --actions "[Microsoft.Billing/billingAccounts/read]"').get_output_in_json() + self.assertTrue(check_access_by_billing_account) + + #check access by billing profile + check_access_by_billing_profile = self.cmd('billing permission check-access-by-billing-profile --billing-account-name {account_name} --billing-profile-name {profile_name} --actions "[Microsoft.Billing/billingAccounts/billingProfiles/read]"').get_output_in_json() + self.assertTrue(check_access_by_billing_profile) + + #check access by invoice section + check_access_by_invoice_section = self.cmd('billing permission check-access-by-invoice-section --billing-account-name {account_name} --billing-profile-name {profile_name} --invoice-section-name {invoice_section_name} --actions "[Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections/read]"').get_output_in_json() + self.assertTrue(check_access_by_invoice_section) + + #list by billing account + list_by_billing_account = self.cmd('billing permission list-by-billing-account --billing-account-name {account_name}').get_output_in_json() + self.assertTrue(list_by_billing_account) + + #list by billing profile + list_by_billing_profile = self.cmd('billing permission list-by-billing-profile --billing-account-name {account_name} --billing-profile-name {profile_name}').get_output_in_json() + self.assertTrue(list_by_billing_profile) + + #list by invoice section + list_by_invoice_section = self.cmd('billing permission list-by-invoice-section --billing-account-name {account_name} --billing-profile-name {profile_name} --invoice-section-name {invoice_section_name}').get_output_in_json() + self.assertTrue(list_by_invoice_section) \ No newline at end of file diff --git a/src/billing/azext_billing/tests/latest/test_product_commands.py b/src/billing/azext_billing/tests/latest/test_product_commands.py new file mode 100644 index 00000000000..72e49371014 --- /dev/null +++ b/src/billing/azext_billing/tests/latest/test_product_commands.py @@ -0,0 +1,38 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from azure.cli.testsdk import ScenarioTest, record_only + +class AzureBillingProductsScenarioTest(ScenarioTest): + def test_products_commands(self): + self.kwargs.update({ + 'account_name': 'e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31', + 'profile_name': 'HWEG-Q6HX-BG7-TGB', + 'invoice_section_name': '3GOG-XYPA-PJA-TGB', + 'product_name': '30d76dc4-93c6-4638-dbcd-8b64f0882e9b' + }) + + # list products by billing account_name + list_products_by_billing_account = self.cmd('billing product list-by-billing-account --billing-account-name {account_name}').get_output_in_json() + self.assertTrue(list_products_by_billing_account) + + # list products by billing profile + list_products_by_billing_profile = self.cmd('billing product list-by-billing-profile --billing-account-name {account_name} --billing-profile-name {profile_name}').get_output_in_json() + self.assertTrue(list_products_by_billing_profile) + + #list by invoice section + list_products_by_invoice_section = self.cmd('billing product list-by-invoice-section --billing-account-name {account_name} --billing-profile-name {profile_name} --invoice-section-name {invoice_section_name}').get_output_in_json() + self.assertTrue(list_products_by_invoice_section) + + #get by product_name + product = self.cmd('billing product get --billing-account-name {account_name} --product-name {product_name}').get_output_in_json() + self.assertTrue(product) + + self.kwargs.update({ + 'destination_invoice_section_id': '/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/9ea04beecb25435781b6a9c112a4713b/invoiceSections/YB7U-KJHC-PJA-TGB' + }) + #validate move eligibility + validate = self.cmd('billing product validate-move-eligibility --billing-account-name {account_name} --product-name {product_name} --destination-invoice-section-id {destination_invoice_section_id}').get_output_in_json() + self.assertTrue(validate) \ No newline at end of file diff --git a/src/billing/azext_billing/tests/latest/test_roleassignments_commands.py b/src/billing/azext_billing/tests/latest/test_roleassignments_commands.py new file mode 100644 index 00000000000..f6d68c985a1 --- /dev/null +++ b/src/billing/azext_billing/tests/latest/test_roleassignments_commands.py @@ -0,0 +1,53 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from azure.cli.testsdk import ScenarioTest, record_only + +class AzureBillingRoleAssignmentsScenarioTest(ScenarioTest): + def test_read_roleassignments(self): + self.kwargs.update({ + 'account_name': 'e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31', + 'profile_name': 'HWEG-Q6HX-BG7-TGB', + 'invoice_section_name': '3GOG-XYPA-PJA-TGB', + 'role_assignment_name': '50000000-aaaa-bbbb-cccc-100000000000_9bf312df-5cb8-41b0-b448-1e2fc2d0f03b', + 'profile_role_assignment_name': '40000000-aaaa-bbbb-cccc-100000000000_b139b2d4-4c52-4705-a451-c85656a830b8', + 'invoice_section_role_assignment_name': '3000000030000000-aaaa-bbbb-cccc-100000000000_b866b094-9442-4c60-b2ad-b54e828ddf5a' + }) + + # list role assignments by billing account_name + list_role_assignments_by_billing_account = self.cmd('billing role-assignment list-by-billing-account --billing-account-name {account_name}').get_output_in_json() + self.assertTrue(list_role_assignments_by_billing_account) + + # list role assignments by billing profile + list_role_assignments_by_billing_profile = self.cmd('billing role-assignment list-by-billing-profile --billing-account-name {account_name} --billing-profile-name {profile_name}').get_output_in_json() + self.assertTrue(list_role_assignments_by_billing_profile) + + # list role assignments by invoice section + list_role_assignments_by_invoice_section = self.cmd('billing role-assignment list-by-invoice-section --billing-account-name {account_name} --billing-profile-name {profile_name} --invoice-section-name {invoice_section_name}').get_output_in_json() + self.assertTrue(list_role_assignments_by_invoice_section) + + #resolve role assignment by billing account + resolve_role_assignment_by_billing_account = self.cmd('billing role-assignment resolve-by-billing-account --billing-account-name {account_name}').get_output_in_json() + self.assertTrue(resolve_role_assignment_by_billing_account) + + #resolve role assignment by billing profile + resolve_role_assignment_by_billing_profile = self.cmd('billing role-assignment resolve-by-billing-profile --billing-account-name {account_name} --billing-profile-name {profile_name}').get_output_in_json() + self.assertTrue(resolve_role_assignment_by_billing_profile) + + #resolve role assignment by invoice section + resolve_role_assignment_by_invoice_section = self.cmd('billing role-assignment resolve-by-invoice-section --billing-account-name {account_name} --billing-profile-name {profile_name} --invoice-section-name {invoice_section_name}').get_output_in_json() + self.assertTrue(resolve_role_assignment_by_invoice_section) + + # get role assignment by billing account + role_assignment = self.cmd('billing role-assignment get-by-billing-account --billing-account-name {account_name} --billing-role-assignment-name {role_assignment_name}').get_output_in_json() + self.assertTrue(role_assignment) + + # get role assignment by billing profile + role_assignment = self.cmd('billing role-assignment get-by-billing-profile --billing-account-name {account_name} --billing-profile-name {profile_name} --billing-role-assignment-name {profile_role_assignment_name}').get_output_in_json() + self.assertTrue(role_assignment) + + # get role assignment by invoice section + # role_assignment = self.cmd('billing role-assignment get-by-invoice-section --billing-account-name {account_name} --billing-profile-name {profile_name} --invoice-section-name {invoice_section_name} --billing-role-assignment-name {invoice_section_role_assignment_name}').get_output_in_json() + # self.assertTrue(role_assignment) \ No newline at end of file diff --git a/src/billing/azext_billing/tests/latest/test_roledefinition_commands.py b/src/billing/azext_billing/tests/latest/test_roledefinition_commands.py new file mode 100644 index 00000000000..c2cf6dd449c --- /dev/null +++ b/src/billing/azext_billing/tests/latest/test_roledefinition_commands.py @@ -0,0 +1,41 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from azure.cli.testsdk import ScenarioTest, record_only + +class AzureBillingRoleDefinitionScenarioTest(ScenarioTest): + def test_read_roledefinitions(self): + self.kwargs.update({ + 'account_name': 'e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31', + 'profile_name': 'HWEG-Q6HX-BG7-TGB', + 'invoice_section_name': '3GOG-XYPA-PJA-TGB', + 'role_definition_name': '50000000-aaaa-bbbb-cccc-100000000000', + 'profile_role_definition_name': '40000000-aaaa-bbbb-cccc-100000000000', + 'invoice_section_role_definition_name': '30000000-aaaa-bbbb-cccc-100000000000' + }) + + #list by billing account + list_by_billing_account = self.cmd('billing role-definition list-by-billing-account --billing-account-name {account_name}').get_output_in_json() + self.assertTrue(list_by_billing_account) + + #list by billing profile + list_by_billing_profile = self.cmd('billing role-definition list-by-billing-profile --billing-account-name {account_name} --billing-profile-name {profile_name}').get_output_in_json() + self.assertTrue(list_by_billing_profile) + + #list by invoice section + list_by_invoice_section = self.cmd('billing role-definition list-by-invoice-section --billing-account-name {account_name} --billing-profile-name {profile_name} --invoice-section-name {invoice_section_name}').get_output_in_json() + self.assertTrue(list_by_invoice_section) + + #get by billing account + get_by_billing_account = self.cmd('billing role-definition get-by-billing-account --billing-account-name {account_name} --role-definition-name {role_definition_name}').get_output_in_json() + self.assertTrue(get_by_billing_account) + + #get by billing profile + get_by_billing_profile = self.cmd('billing role-definition get-by-billing-profile --billing-account-name {account_name} --billing-profile-name {profile_name} --role-definition-name {profile_role_definition_name}').get_output_in_json() + self.assertTrue(get_by_billing_profile) + + #get by invoice section + get_by_invoice_section = self.cmd('billing role-definition get-by-invoice-section --billing-account-name {account_name} --billing-profile-name {profile_name} --invoice-section-name {invoice_section_name} --role-definition-name {invoice_section_role_definition_name}').get_output_in_json() + self.assertTrue(get_by_invoice_section) \ No newline at end of file diff --git a/src/billing/azext_billing/tests/latest/test_subscription_commands.py b/src/billing/azext_billing/tests/latest/test_subscription_commands.py new file mode 100644 index 00000000000..b64b9123766 --- /dev/null +++ b/src/billing/azext_billing/tests/latest/test_subscription_commands.py @@ -0,0 +1,36 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from azure.cli.testsdk import ScenarioTest, record_only + +class AzureBillingSubscriptionsScenarioTest(ScenarioTest): + def test_read_subscriptions(self): + self.kwargs.update({ + 'account_name': 'e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31', + 'profile_name': 'HWEG-Q6HX-BG7-TGB', + 'invoice_section_name': '3GOG-XYPA-PJA-TGB', + 'subscriptionId': '30d76dc4-93c6-4638-dbcd-8b64f0882e9b', + 'destination_invoice_section': '/providers/Microsoft.Billing/billingAccounts/e00f22a3-bacf-5b74-3aaa-d503043532ea:d6b82951-c3bf-485c-82a2-52da136cb99d_2019-05-31/billingProfiles/9ea04beecb25435781b6a9c112a4713b/invoiceSections/YB7U-KJHC-PJA-TGB' + }) + + # list subscriptions by billing account_name + list_subscriptions_by_billing_account = self.cmd('billing subscription list-by-billing-account --billing-account-name {account_name}').get_output_in_json() + self.assertTrue(list_subscriptions_by_billing_account) + + # list subscriptions by billing profile + list_subscriptions_by_billing_profile = self.cmd('billing subscription list-by-billing-profile --billing-account-name {account_name} --billing-profile-name {profile_name}').get_output_in_json() + self.assertTrue(list_subscriptions_by_billing_profile) + + # list subscriptions by invoice section + list_subscriptions_by_invoice_section = self.cmd('billing subscription list-by-invoice-section --billing-account-name {account_name} --billing-profile-name {profile_name} --invoice-section-name {invoice_section_name}').get_output_in_json() + self.assertTrue(list_subscriptions_by_invoice_section) + + #get by id + subscription = self.cmd('billing subscription get --billing-account-name {account_name} --billing-subscription-name {subscriptionId}').get_output_in_json() + self.assertTrue(subscription) + + #validate move eligibility + validate_move_eligibility = self.cmd('billing subscription validate-move-eligibility --billing-account-name {account_name} --billing-subscription-name {subscriptionId} --destination-invoice-section-id {destination_invoice_section}').get_output_in_json() + self.assertTrue(validate_move_eligibility) \ No newline at end of file diff --git a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bookworm_buildpack_net8/obj/Debug/net8.0/NetCore8PreviewMvcApp.AssemblyInfo.cs b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bookworm_buildpack_net8/obj/Debug/net8.0/NetCore8PreviewMvcApp.AssemblyInfo.cs index 6bcaa57b85d..2984963471f 100644 --- a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bookworm_buildpack_net8/obj/Debug/net8.0/NetCore8PreviewMvcApp.AssemblyInfo.cs +++ b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bookworm_buildpack_net8/obj/Debug/net8.0/NetCore8PreviewMvcApp.AssemblyInfo.cs @@ -14,7 +14,7 @@ [assembly: System.Reflection.AssemblyCompanyAttribute("NetCore8PreviewMvcApp")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+1bd71980f86f46398deb31cd46ed188e4d5976dd")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+1b5a083e36a5b19be37b0d77815a0fb8867950b3")] [assembly: System.Reflection.AssemblyProductAttribute("NetCore8PreviewMvcApp")] [assembly: System.Reflection.AssemblyTitleAttribute("NetCore8PreviewMvcApp")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bookworm_buildpack_net8/obj/Debug/net8.0/NetCore8PreviewMvcApp.AssemblyInfoInputs.cache b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bookworm_buildpack_net8/obj/Debug/net8.0/NetCore8PreviewMvcApp.AssemblyInfoInputs.cache index 8a0828ecec5..960161502af 100644 --- a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bookworm_buildpack_net8/obj/Debug/net8.0/NetCore8PreviewMvcApp.AssemblyInfoInputs.cache +++ b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bookworm_buildpack_net8/obj/Debug/net8.0/NetCore8PreviewMvcApp.AssemblyInfoInputs.cache @@ -1 +1 @@ -a10e1f880db14741f10cd9a293d76917f0270bcc986bc5f032337e4e0b55815c +7992f41a516201c061d404076ed928408cc99c7456aa9cd10c6617c517fdbe1c diff --git a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bookworm_buildpack_net8/obj/Release/net8.0/NetCore8PreviewMvcApp.AssemblyInfo.cs b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bookworm_buildpack_net8/obj/Release/net8.0/NetCore8PreviewMvcApp.AssemblyInfo.cs index 282bd40be46..47fb6618d46 100644 --- a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bookworm_buildpack_net8/obj/Release/net8.0/NetCore8PreviewMvcApp.AssemblyInfo.cs +++ b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bookworm_buildpack_net8/obj/Release/net8.0/NetCore8PreviewMvcApp.AssemblyInfo.cs @@ -14,7 +14,7 @@ [assembly: System.Reflection.AssemblyCompanyAttribute("NetCore8PreviewMvcApp")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Release")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+1bd71980f86f46398deb31cd46ed188e4d5976dd")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+1b5a083e36a5b19be37b0d77815a0fb8867950b3")] [assembly: System.Reflection.AssemblyProductAttribute("NetCore8PreviewMvcApp")] [assembly: System.Reflection.AssemblyTitleAttribute("NetCore8PreviewMvcApp")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bookworm_buildpack_net8/obj/Release/net8.0/NetCore8PreviewMvcApp.AssemblyInfoInputs.cache b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bookworm_buildpack_net8/obj/Release/net8.0/NetCore8PreviewMvcApp.AssemblyInfoInputs.cache index 9b4fd1349dc..f6a7c70ed89 100644 --- a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bookworm_buildpack_net8/obj/Release/net8.0/NetCore8PreviewMvcApp.AssemblyInfoInputs.cache +++ b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bookworm_buildpack_net8/obj/Release/net8.0/NetCore8PreviewMvcApp.AssemblyInfoInputs.cache @@ -1 +1 @@ -0f50eed0440f0b52d8f256029600d3ff8c951b6002bf9da8b32d777f091c0ef2 +1ec935aabe155a8a9b1a63c2dcc461f82cf17fc50b6ba3df82679d1801875a22 diff --git a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bullseye_buildpack_net7/obj/Debug/net7.0/HelloWorldApp.AssemblyInfo.cs b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bullseye_buildpack_net7/obj/Debug/net7.0/HelloWorldApp.AssemblyInfo.cs index bbb1d31c57b..88e79b4653f 100644 --- a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bullseye_buildpack_net7/obj/Debug/net7.0/HelloWorldApp.AssemblyInfo.cs +++ b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bullseye_buildpack_net7/obj/Debug/net7.0/HelloWorldApp.AssemblyInfo.cs @@ -14,7 +14,7 @@ [assembly: System.Reflection.AssemblyCompanyAttribute("HelloWorldApp")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+1bd71980f86f46398deb31cd46ed188e4d5976dd")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+1b5a083e36a5b19be37b0d77815a0fb8867950b3")] [assembly: System.Reflection.AssemblyProductAttribute("HelloWorldApp")] [assembly: System.Reflection.AssemblyTitleAttribute("HelloWorldApp")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bullseye_buildpack_net7/obj/Debug/net7.0/HelloWorldApp.AssemblyInfoInputs.cache b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bullseye_buildpack_net7/obj/Debug/net7.0/HelloWorldApp.AssemblyInfoInputs.cache index d7a639ceb0e..7e14c92f076 100644 --- a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bullseye_buildpack_net7/obj/Debug/net7.0/HelloWorldApp.AssemblyInfoInputs.cache +++ b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bullseye_buildpack_net7/obj/Debug/net7.0/HelloWorldApp.AssemblyInfoInputs.cache @@ -1 +1 @@ -d207206a328add8d7596fa6fc0aecb8ad59a1b621509bcb073b16aa8a26e2b8a +0704bd7e8dde58bb7427a1cb6e01b36aca95fb21dc1054605616c584a2a11709 diff --git a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bullseye_buildpack_net7/obj/Release/net7.0/HelloWorldApp.AssemblyInfo.cs b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bullseye_buildpack_net7/obj/Release/net7.0/HelloWorldApp.AssemblyInfo.cs index d0de960c920..0bd7da6ec27 100644 --- a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bullseye_buildpack_net7/obj/Release/net7.0/HelloWorldApp.AssemblyInfo.cs +++ b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bullseye_buildpack_net7/obj/Release/net7.0/HelloWorldApp.AssemblyInfo.cs @@ -14,7 +14,7 @@ [assembly: System.Reflection.AssemblyCompanyAttribute("HelloWorldApp")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Release")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+1bd71980f86f46398deb31cd46ed188e4d5976dd")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+1b5a083e36a5b19be37b0d77815a0fb8867950b3")] [assembly: System.Reflection.AssemblyProductAttribute("HelloWorldApp")] [assembly: System.Reflection.AssemblyTitleAttribute("HelloWorldApp")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bullseye_buildpack_net7/obj/Release/net7.0/HelloWorldApp.AssemblyInfoInputs.cache b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bullseye_buildpack_net7/obj/Release/net7.0/HelloWorldApp.AssemblyInfoInputs.cache index 471e6647fe1..1f1e5351795 100644 --- a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bullseye_buildpack_net7/obj/Release/net7.0/HelloWorldApp.AssemblyInfoInputs.cache +++ b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_bullseye_buildpack_net7/obj/Release/net7.0/HelloWorldApp.AssemblyInfoInputs.cache @@ -1 +1 @@ -deef4eccade5a1ffaef6b70e1e34ac52c3bb98bdd927f991a714ddd597ca3e06 +e1534ac9d2db8116eb1e8b9012bc28700c9c3e6b2cda0c372157dc880008ea9c diff --git a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_dockerfile/obj/Debug/net6.0/TestWebApp202305.AssemblyInfo.cs b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_dockerfile/obj/Debug/net6.0/TestWebApp202305.AssemblyInfo.cs index 9833036f639..d83edc72d6d 100644 --- a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_dockerfile/obj/Debug/net6.0/TestWebApp202305.AssemblyInfo.cs +++ b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_dockerfile/obj/Debug/net6.0/TestWebApp202305.AssemblyInfo.cs @@ -15,7 +15,7 @@ [assembly: System.Reflection.AssemblyCompanyAttribute("TestWebApp202305")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+1bd71980f86f46398deb31cd46ed188e4d5976dd")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+1b5a083e36a5b19be37b0d77815a0fb8867950b3")] [assembly: System.Reflection.AssemblyProductAttribute("TestWebApp202305")] [assembly: System.Reflection.AssemblyTitleAttribute("TestWebApp202305")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_dockerfile/obj/Debug/net6.0/TestWebApp202305.AssemblyInfoInputs.cache b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_dockerfile/obj/Debug/net6.0/TestWebApp202305.AssemblyInfoInputs.cache index 39ac5a8de6e..4926c629138 100644 --- a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_dockerfile/obj/Debug/net6.0/TestWebApp202305.AssemblyInfoInputs.cache +++ b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_dockerfile/obj/Debug/net6.0/TestWebApp202305.AssemblyInfoInputs.cache @@ -1 +1 @@ -1a206cd89baef9e95556baccd7e3f0eca37c1c9fa6f5e3e4749375c46aae43f7 +a38a9797dbd4fc3ebd0b561a9be259435d7bb31095e07f7c6ce11ff4f611c95c diff --git a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_dockerfile/obj/Release/net6.0/TestWebApp202305.AssemblyInfo.cs b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_dockerfile/obj/Release/net6.0/TestWebApp202305.AssemblyInfo.cs index 01f3c5531f3..8d8e29200f3 100644 --- a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_dockerfile/obj/Release/net6.0/TestWebApp202305.AssemblyInfo.cs +++ b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_dockerfile/obj/Release/net6.0/TestWebApp202305.AssemblyInfo.cs @@ -15,7 +15,7 @@ [assembly: System.Reflection.AssemblyCompanyAttribute("TestWebApp202305")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Release")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+1bd71980f86f46398deb31cd46ed188e4d5976dd")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+1b5a083e36a5b19be37b0d77815a0fb8867950b3")] [assembly: System.Reflection.AssemblyProductAttribute("TestWebApp202305")] [assembly: System.Reflection.AssemblyTitleAttribute("TestWebApp202305")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_dockerfile/obj/Release/net6.0/TestWebApp202305.AssemblyInfoInputs.cache b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_dockerfile/obj/Release/net6.0/TestWebApp202305.AssemblyInfoInputs.cache index b5e591a010f..f32ceb1cfd3 100644 --- a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_dockerfile/obj/Release/net6.0/TestWebApp202305.AssemblyInfoInputs.cache +++ b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_dockerfile/obj/Release/net6.0/TestWebApp202305.AssemblyInfoInputs.cache @@ -1 +1 @@ -43781e5968f998d40673584736db24db5662d7922721335dc6ce4668325f7ecc +1a11783a01f5c3ad8b138473e7bbbd18e168f5f1b8e92162091f100844817f25 diff --git a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_source_to_cloud_dotnet/obj/Debug/net7.0/HelloWorldApp.AssemblyInfo.cs b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_source_to_cloud_dotnet/obj/Debug/net7.0/HelloWorldApp.AssemblyInfo.cs index bbb1d31c57b..88e79b4653f 100644 --- a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_source_to_cloud_dotnet/obj/Debug/net7.0/HelloWorldApp.AssemblyInfo.cs +++ b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_source_to_cloud_dotnet/obj/Debug/net7.0/HelloWorldApp.AssemblyInfo.cs @@ -14,7 +14,7 @@ [assembly: System.Reflection.AssemblyCompanyAttribute("HelloWorldApp")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+1bd71980f86f46398deb31cd46ed188e4d5976dd")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+1b5a083e36a5b19be37b0d77815a0fb8867950b3")] [assembly: System.Reflection.AssemblyProductAttribute("HelloWorldApp")] [assembly: System.Reflection.AssemblyTitleAttribute("HelloWorldApp")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_source_to_cloud_dotnet/obj/Debug/net7.0/HelloWorldApp.AssemblyInfoInputs.cache b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_source_to_cloud_dotnet/obj/Debug/net7.0/HelloWorldApp.AssemblyInfoInputs.cache index d7a639ceb0e..7e14c92f076 100644 --- a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_source_to_cloud_dotnet/obj/Debug/net7.0/HelloWorldApp.AssemblyInfoInputs.cache +++ b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_source_to_cloud_dotnet/obj/Debug/net7.0/HelloWorldApp.AssemblyInfoInputs.cache @@ -1 +1 @@ -d207206a328add8d7596fa6fc0aecb8ad59a1b621509bcb073b16aa8a26e2b8a +0704bd7e8dde58bb7427a1cb6e01b36aca95fb21dc1054605616c584a2a11709 diff --git a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_source_to_cloud_dotnet/obj/Release/net7.0/HelloWorldApp.AssemblyInfo.cs b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_source_to_cloud_dotnet/obj/Release/net7.0/HelloWorldApp.AssemblyInfo.cs index d0de960c920..0bd7da6ec27 100644 --- a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_source_to_cloud_dotnet/obj/Release/net7.0/HelloWorldApp.AssemblyInfo.cs +++ b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_source_to_cloud_dotnet/obj/Release/net7.0/HelloWorldApp.AssemblyInfo.cs @@ -14,7 +14,7 @@ [assembly: System.Reflection.AssemblyCompanyAttribute("HelloWorldApp")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Release")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+1bd71980f86f46398deb31cd46ed188e4d5976dd")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+1b5a083e36a5b19be37b0d77815a0fb8867950b3")] [assembly: System.Reflection.AssemblyProductAttribute("HelloWorldApp")] [assembly: System.Reflection.AssemblyTitleAttribute("HelloWorldApp")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_source_to_cloud_dotnet/obj/Release/net7.0/HelloWorldApp.AssemblyInfoInputs.cache b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_source_to_cloud_dotnet/obj/Release/net7.0/HelloWorldApp.AssemblyInfoInputs.cache index 471e6647fe1..1f1e5351795 100644 --- a/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_source_to_cloud_dotnet/obj/Release/net7.0/HelloWorldApp.AssemblyInfoInputs.cache +++ b/src/containerapp/azext_containerapp/tests/latest/data/source_built_using_source_to_cloud_dotnet/obj/Release/net7.0/HelloWorldApp.AssemblyInfoInputs.cache @@ -1 +1 @@ -deef4eccade5a1ffaef6b70e1e34ac52c3bb98bdd927f991a714ddd597ca3e06 +e1534ac9d2db8116eb1e8b9012bc28700c9c3e6b2cda0c372157dc880008ea9c