From df8dee3a9bab6c059d71b3083e73e784c62e4e16 Mon Sep 17 00:00:00 2001 From: Vikas Choudhary Date: Fri, 13 Sep 2024 20:35:07 +0530 Subject: [PATCH] [Astronomer][New Version] Added optional renewalMode and endDate(readonly) fields in OfferDetails (#30334) * [Astronomer][New Version] Added optional field autoRenew in LiftrBase.OfferDetails * Added new version in readme file * Fixing TypeSpec validation issue * Fixing TypeSpec validation issue * Fixed TypeSpec Validation issue * [Fix]: "id" is required to return in response of GET/PUT resource calls * [Fix]: "id" is required to return in response of GET/PUT resource calls * Added "endDate" field in OfferDetails [Updates] ---------------- - Added "endDate" field in OfferDetails - Defined AutoRenewStatus enum for autoRenew field - Defined versioning for stable version "2024-08-27" * Updated AutoRenewStatus enum values type to "string" * Updated the ordering of AutoRenewStatus enum values [Update] ---------------- "Enable" is the default value of auto-renew, so placed at first position. * Replaced AutoRenewStatus enum by RenewalMode --- .../LiftrBase.Data/main.tsp | 10 + .../LiftrBase/main.tsp | 32 + .../Operations_List_MaximumSet_Gen.json | 28 + .../Operations_List_MinimumSet_Gen.json | 12 + ...zations_CreateOrUpdate_MaximumSet_Gen.json | 185 ++++ .../Organizations_Delete_MaximumSet_Gen.json | 18 + .../Organizations_Get_MaximumSet_Gen.json | 74 ++ ...ns_ListByResourceGroup_MaximumSet_Gen.json | 78 ++ ...ns_ListByResourceGroup_MinimumSet_Gen.json | 21 + ...ons_ListBySubscription_MaximumSet_Gen.json | 77 ++ ...ons_ListBySubscription_MinimumSet_Gen.json | 20 + .../Organizations_Update_MaximumSet_Gen.json | 110 +++ .../Operations_List_MaximumSet_Gen.json | 28 + .../Operations_List_MinimumSet_Gen.json | 12 + ...zations_CreateOrUpdate_MaximumSet_Gen.json | 185 ++++ .../Organizations_Delete_MaximumSet_Gen.json | 18 + .../Organizations_Get_MaximumSet_Gen.json | 74 ++ ...ns_ListByResourceGroup_MaximumSet_Gen.json | 78 ++ ...ns_ListByResourceGroup_MinimumSet_Gen.json | 21 + ...ons_ListBySubscription_MaximumSet_Gen.json | 77 ++ ...ons_ListBySubscription_MinimumSet_Gen.json | 20 + .../Organizations_Update_MaximumSet_Gen.json | 110 +++ .../Astronomer.Astro.Management/main.tsp | 12 + .../2024-08-27-preview/astronomer.json | 894 ++++++++++++++++++ .../Operations_List_MaximumSet_Gen.json | 28 + .../Operations_List_MinimumSet_Gen.json | 12 + ...zations_CreateOrUpdate_MaximumSet_Gen.json | 185 ++++ .../Organizations_Delete_MaximumSet_Gen.json | 18 + .../Organizations_Get_MaximumSet_Gen.json | 74 ++ ...ns_ListByResourceGroup_MaximumSet_Gen.json | 78 ++ ...ns_ListByResourceGroup_MinimumSet_Gen.json | 21 + ...ons_ListBySubscription_MaximumSet_Gen.json | 77 ++ ...ons_ListBySubscription_MinimumSet_Gen.json | 20 + .../Organizations_Update_MaximumSet_Gen.json | 110 +++ .../stable/2024-08-27/astronomer.json | 894 ++++++++++++++++++ .../Operations_List_MaximumSet_Gen.json | 28 + .../Operations_List_MinimumSet_Gen.json | 12 + ...zations_CreateOrUpdate_MaximumSet_Gen.json | 185 ++++ .../Organizations_Delete_MaximumSet_Gen.json | 18 + .../Organizations_Get_MaximumSet_Gen.json | 74 ++ ...ns_ListByResourceGroup_MaximumSet_Gen.json | 78 ++ ...ns_ListByResourceGroup_MinimumSet_Gen.json | 21 + ...ons_ListBySubscription_MaximumSet_Gen.json | 77 ++ ...ons_ListBySubscription_MinimumSet_Gen.json | 20 + .../Organizations_Update_MaximumSet_Gen.json | 110 +++ .../resource-manager/readme.md | 20 +- 46 files changed, 4353 insertions(+), 1 deletion(-) create mode 100644 specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Operations_List_MaximumSet_Gen.json create mode 100644 specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Operations_List_MinimumSet_Gen.json create mode 100644 specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_Delete_MaximumSet_Gen.json create mode 100644 specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_Get_MaximumSet_Gen.json create mode 100644 specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_ListByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_ListBySubscription_MinimumSet_Gen.json create mode 100644 specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_Update_MaximumSet_Gen.json create mode 100644 specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Operations_List_MaximumSet_Gen.json create mode 100644 specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Operations_List_MinimumSet_Gen.json create mode 100644 specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_Delete_MaximumSet_Gen.json create mode 100644 specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_Get_MaximumSet_Gen.json create mode 100644 specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_ListByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_ListBySubscription_MinimumSet_Gen.json create mode 100644 specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_Update_MaximumSet_Gen.json create mode 100644 specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/astronomer.json create mode 100644 specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Operations_List_MaximumSet_Gen.json create mode 100644 specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Operations_List_MinimumSet_Gen.json create mode 100644 specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_Delete_MaximumSet_Gen.json create mode 100644 specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_Get_MaximumSet_Gen.json create mode 100644 specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_ListByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_ListBySubscription_MinimumSet_Gen.json create mode 100644 specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_Update_MaximumSet_Gen.json create mode 100644 specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/astronomer.json create mode 100644 specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Operations_List_MaximumSet_Gen.json create mode 100644 specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Operations_List_MinimumSet_Gen.json create mode 100644 specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_Delete_MaximumSet_Gen.json create mode 100644 specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_Get_MaximumSet_Gen.json create mode 100644 specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_ListByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_ListBySubscription_MinimumSet_Gen.json create mode 100644 specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_Update_MaximumSet_Gen.json diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/LiftrBase.Data/main.tsp b/specification/liftrastronomer/Astronomer.Astro.Management/LiftrBase.Data/main.tsp index f1baeaa43cb5..c8cd8e9d1a3f 100644 --- a/specification/liftrastronomer/Astronomer.Astro.Management/LiftrBase.Data/main.tsp +++ b/specification/liftrastronomer/Astronomer.Astro.Management/LiftrBase.Data/main.tsp @@ -16,6 +16,16 @@ enum Versions { @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) @useDependency(LiftrBase.Versions.v1_preview) v1_preview: "2023-06-01-preview", + + @doc("Dependent on Azure.ResourceManager.Versions.v1_0_Preview_1 and LiftrBase.Versions.v2024_08_27_preview") + @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @useDependency(LiftrBase.Versions.v2024_08_27_preview) + v2024_08_27_preview: "2024-08-27-preview", + + @doc("Dependent on Azure.ResourceManager.Versions.v1_0_Preview_1 and LiftrBase.Versions.v2024_08_27") + @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @useDependency(LiftrBase.Versions.v2024_08_27) + v2024_08_27: "2024-08-27", } @doc("Properties specific to Data Organization resource") diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/LiftrBase/main.tsp b/specification/liftrastronomer/Astronomer.Astro.Management/LiftrBase/main.tsp index fe620391ece8..01d6f4beeda1 100644 --- a/specification/liftrastronomer/Astronomer.Astro.Management/LiftrBase/main.tsp +++ b/specification/liftrastronomer/Astronomer.Astro.Management/LiftrBase/main.tsp @@ -12,6 +12,14 @@ enum Versions { @doc("Dependent on Azure.ResourceManager.Versions.v1_0_Preview_1") @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) v1_preview: "2023-06-01-preview", + + @doc("Dependent on Azure.ResourceManager.Versions.v1_0_Preview_1") + @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + v2024_08_27_preview: "2024-08-27-preview", + + @doc("Dependent on Azure.ResourceManager.Versions.v1_0_Preview_1") + @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + v2024_08_27: "2024-08-27", } @doc("Marketplace subscription status of a resource.") @@ -31,6 +39,19 @@ union MarketplaceSubscriptionStatus { Unsubscribed: "Unsubscribed", } +@added(Versions.v2024_08_27_preview) +@added(Versions.v2024_08_27) +@doc("Subscription renewal mode") +union RenewalMode { + string, + + @doc("Automatic renewal") + Auto: "Auto", + + @doc("Manual renewal") + Manual: "Manual", +} + @doc("A string that represents a URI.") scalar Uri extends string; @@ -65,6 +86,17 @@ model OfferDetails { @doc("Plan Display Name for the marketplace offer") termId?: string; + + @added(Versions.v2024_08_27_preview) + @added(Versions.v2024_08_27) + @doc("Subscription renewal mode") + renewalMode?: RenewalMode; + + @added(Versions.v2024_08_27_preview) + @added(Versions.v2024_08_27) + @doc("Current subscription end date and time") + @visibility("read") + endDate?: utcDateTime; } @doc("Reusable representation of an email address.") diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Operations_List_MaximumSet_Gen.json b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..84610075a9bd --- /dev/null +++ b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List - generated by [MaximumSet] rule", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-08-27-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "unrvqmdvyxlrqgprmwere", + "isDataAction": true, + "display": { + "provider": "bcexjgghgfuudhphysqyvqd", + "resource": "gwrdke", + "operation": "apgxpmzwwphtcj", + "description": "lwsooxrhbrcisbahenmvmkbqpkksuq" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "hupwycy" + } + } + } +} diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Operations_List_MinimumSet_Gen.json b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Operations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..42d5fc1ac3a3 --- /dev/null +++ b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Operations_List_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "title": "Operations_List - generated by [MinimumSet] rule", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-08-27-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_CreateOrUpdate_MaximumSet_Gen.json b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..15397870a96a --- /dev/null +++ b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,185 @@ +{ + "title": "Organizations_CreateOrUpdate - generated by [MaximumSet] rule", + "operationId": "Organizations_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-27-preview", + "subscriptionId": "F7135278-5976-4A8C-826F-B0253284766A", + "resourceGroupName": "rgastronomer", + "organizationName": "U.1-:7", + "resource": { + "properties": { + "marketplace": { + "subscriptionId": "bgvtjtkpxtceyc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "ckrwwvgcfnuzejhmnywtxgtemd", + "offerId": "o", + "planId": "iirdyveiuvufxgnzbggfbnr", + "planName": "lmzofmdkochgzgqzxsuvipuagqizz", + "termUnit": "pzatfjfycsonpuagfzqsz", + "termId": "nrmbsljsrbwsafuwvpa", + "renewalMode": "Auto" + } + }, + "user": { + "firstName": "bvewbyylzjfclpwmozucvjkypq", + "lastName": "nsfq", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "ajnhivnhlxebbvbynsoqp", + "phoneNumber": "wincnkeigouajdwhsra" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "suracctmi", + "workspaceId": "yiuanhdcukroyytunueqldcuwtfiwg", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "uv", + "singleSignOnUrl": "zyrtiwivlbtptrszloo", + "aadDomains": [ + "rvyrbq" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "location": "vyrzuaajyirwimtahombrbsaejcqs" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "marketplace": { + "subscriptionId": "bgvtjtkpxtceyc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "ckrwwvgcfnuzejhmnywtxgtemd", + "offerId": "o", + "planId": "iirdyveiuvufxgnzbggfbnr", + "planName": "lmzofmdkochgzgqzxsuvipuagqizz", + "termUnit": "pzatfjfycsonpuagfzqsz", + "termId": "nrmbsljsrbwsafuwvpa", + "renewalMode": "Auto", + "endDate": "2024-09-09T11:32:38.546Z" + } + }, + "user": { + "firstName": "bvewbyylzjfclpwmozucvjkypq", + "lastName": "nsfq", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "ajnhivnhlxebbvbynsoqp", + "phoneNumber": "wincnkeigouajdwhsra" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "suracctmi", + "workspaceId": "yiuanhdcukroyytunueqldcuwtfiwg", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "uv", + "singleSignOnUrl": "zyrtiwivlbtptrszloo", + "aadDomains": [ + "rvyrbq" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "tenantId": "b5684bd7-7958-4c0e-9795-d686c31746d2" + }, + "tags": {}, + "location": "vyrzuaajyirwimtahombrbsaejcqs", + "id": "mialkreryfu", + "name": "lmdyn", + "type": "tzpcxamgfdfxervw", + "systemData": { + "createdBy": "yeyzuhlzka", + "createdByType": "User", + "createdAt": "2024-08-27T06:00:59.057Z", + "lastModifiedBy": "k", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-27T06:00:59.057Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "marketplace": { + "subscriptionId": "bgvtjtkpxtceyc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "ckrwwvgcfnuzejhmnywtxgtemd", + "offerId": "o", + "planId": "iirdyveiuvufxgnzbggfbnr", + "planName": "lmzofmdkochgzgqzxsuvipuagqizz", + "termUnit": "pzatfjfycsonpuagfzqsz", + "termId": "nrmbsljsrbwsafuwvpa", + "renewalMode": "Auto", + "endDate": "2024-09-09T11:32:38.546Z" + } + }, + "user": { + "firstName": "bvewbyylzjfclpwmozucvjkypq", + "lastName": "nsfq", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "ajnhivnhlxebbvbynsoqp", + "phoneNumber": "wincnkeigouajdwhsra" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "suracctmi", + "workspaceId": "yiuanhdcukroyytunueqldcuwtfiwg", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "uv", + "singleSignOnUrl": "zyrtiwivlbtptrszloo", + "aadDomains": [ + "rvyrbq" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "tenantId": "b5684bd7-7958-4c0e-9795-d686c31746d2" + }, + "tags": {}, + "location": "vyrzuaajyirwimtahombrbsaejcqs", + "id": "mialkreryfu", + "name": "lmdyn", + "type": "tzpcxamgfdfxervw", + "systemData": { + "createdBy": "yeyzuhlzka", + "createdByType": "User", + "createdAt": "2024-08-27T06:00:59.057Z", + "lastModifiedBy": "k", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-27T06:00:59.057Z" + } + } + } + } +} diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_Delete_MaximumSet_Gen.json b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..98b713fa267c --- /dev/null +++ b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_Delete_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "Organizations_Delete - generated by [MaximumSet] rule", + "operationId": "Organizations_Delete", + "parameters": { + "api-version": "2024-08-27-preview", + "subscriptionId": "F7135278-5976-4A8C-826F-B0253284766A", + "resourceGroupName": "rgastronomer", + "organizationName": "U.1-:7" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_Get_MaximumSet_Gen.json b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..bf3ca784351e --- /dev/null +++ b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_Get_MaximumSet_Gen.json @@ -0,0 +1,74 @@ +{ + "title": "Organizations_Get - generated by [MaximumSet] rule", + "operationId": "Organizations_Get", + "parameters": { + "api-version": "2024-08-27-preview", + "subscriptionId": "F7135278-5976-4A8C-826F-B0253284766A", + "resourceGroupName": "rgastronomer", + "organizationName": "U.1-:7" + }, + "responses": { + "200": { + "body": { + "properties": { + "marketplace": { + "subscriptionId": "bgvtjtkpxtceyc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "ckrwwvgcfnuzejhmnywtxgtemd", + "offerId": "o", + "planId": "iirdyveiuvufxgnzbggfbnr", + "planName": "lmzofmdkochgzgqzxsuvipuagqizz", + "termUnit": "pzatfjfycsonpuagfzqsz", + "termId": "nrmbsljsrbwsafuwvpa", + "renewalMode": "Auto", + "endDate": "2024-09-09T11:32:38.546Z" + } + }, + "user": { + "firstName": "bvewbyylzjfclpwmozucvjkypq", + "lastName": "nsfq", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "ajnhivnhlxebbvbynsoqp", + "phoneNumber": "wincnkeigouajdwhsra" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "suracctmi", + "workspaceId": "yiuanhdcukroyytunueqldcuwtfiwg", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "uv", + "singleSignOnUrl": "zyrtiwivlbtptrszloo", + "aadDomains": [ + "rvyrbq" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "tenantId": "b5684bd7-7958-4c0e-9795-d686c31746d2" + }, + "tags": {}, + "location": "vyrzuaajyirwimtahombrbsaejcqs", + "id": "mialkreryfu", + "name": "lmdyn", + "type": "tzpcxamgfdfxervw", + "systemData": { + "createdBy": "yeyzuhlzka", + "createdByType": "User", + "createdAt": "2024-08-27T06:00:59.057Z", + "lastModifiedBy": "k", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-27T06:00:59.057Z" + } + } + } + } +} diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_ListByResourceGroup_MaximumSet_Gen.json b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..002d7ed8e06d --- /dev/null +++ b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,78 @@ +{ + "title": "Organizations_ListByResourceGroup - generated by [MaximumSet] rule", + "operationId": "Organizations_ListByResourceGroup", + "parameters": { + "api-version": "2024-08-27-preview", + "subscriptionId": "F7135278-5976-4A8C-826F-B0253284766A", + "resourceGroupName": "rgastronomer" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "marketplace": { + "subscriptionId": "bgvtjtkpxtceyc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "ckrwwvgcfnuzejhmnywtxgtemd", + "offerId": "o", + "planId": "iirdyveiuvufxgnzbggfbnr", + "planName": "lmzofmdkochgzgqzxsuvipuagqizz", + "termUnit": "pzatfjfycsonpuagfzqsz", + "termId": "nrmbsljsrbwsafuwvpa", + "renewalMode": "Auto", + "endDate": "2024-09-09T11:32:38.545Z" + } + }, + "user": { + "firstName": "bvewbyylzjfclpwmozucvjkypq", + "lastName": "nsfq", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "ajnhivnhlxebbvbynsoqp", + "phoneNumber": "wincnkeigouajdwhsra" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "suracctmi", + "workspaceId": "yiuanhdcukroyytunueqldcuwtfiwg", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "uv", + "singleSignOnUrl": "zyrtiwivlbtptrszloo", + "aadDomains": [ + "rvyrbq" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "principalId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "tenantId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "location": "vyrzuaajyirwimtahombrbsaejcqs", + "id": "mialkreryfu", + "name": "lmdyn", + "type": "tzpcxamgfdfxervw", + "systemData": { + "createdBy": "yeyzuhlzka", + "createdByType": "User", + "createdAt": "2024-08-27T06:00:59.057Z", + "lastModifiedBy": "k", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-27T06:00:59.057Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_ListByResourceGroup_MinimumSet_Gen.json b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..104e36569303 --- /dev/null +++ b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "Organizations_ListByResourceGroup - generated by [MinimumSet] rule", + "operationId": "Organizations_ListByResourceGroup", + "parameters": { + "api-version": "2024-08-27-preview", + "subscriptionId": "F7135278-5976-4A8C-826F-B0253284766A", + "resourceGroupName": "rgastronomer" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "vyrzuaajyirwimtahombrbsaejcqs", + "id": "bhslekyvgkfomahtvjiin" + } + ] + } + } + } +} diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_ListBySubscription_MaximumSet_Gen.json b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..76be83eebd39 --- /dev/null +++ b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,77 @@ +{ + "title": "Organizations_ListBySubscription - generated by [MaximumSet] rule", + "operationId": "Organizations_ListBySubscription", + "parameters": { + "api-version": "2024-08-27-preview", + "subscriptionId": "F7135278-5976-4A8C-826F-B0253284766A" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "marketplace": { + "subscriptionId": "bgvtjtkpxtceyc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "ckrwwvgcfnuzejhmnywtxgtemd", + "offerId": "o", + "planId": "iirdyveiuvufxgnzbggfbnr", + "planName": "lmzofmdkochgzgqzxsuvipuagqizz", + "termUnit": "pzatfjfycsonpuagfzqsz", + "termId": "nrmbsljsrbwsafuwvpa", + "renewalMode": "Auto", + "endDate": "2024-09-09T11:32:38.545Z" + } + }, + "user": { + "firstName": "bvewbyylzjfclpwmozucvjkypq", + "lastName": "nsfq", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "ajnhivnhlxebbvbynsoqp", + "phoneNumber": "wincnkeigouajdwhsra" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "suracctmi", + "workspaceId": "yiuanhdcukroyytunueqldcuwtfiwg", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "uv", + "singleSignOnUrl": "zyrtiwivlbtptrszloo", + "aadDomains": [ + "rvyrbq" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "principalId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "tenantId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "location": "vyrzuaajyirwimtahombrbsaejcqs", + "id": "mialkreryfu", + "name": "lmdyn", + "type": "tzpcxamgfdfxervw", + "systemData": { + "createdBy": "yeyzuhlzka", + "createdByType": "User", + "createdAt": "2024-08-27T06:00:59.057Z", + "lastModifiedBy": "k", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-27T06:00:59.057Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_ListBySubscription_MinimumSet_Gen.json b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..57ddd6d32760 --- /dev/null +++ b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "Organizations_ListBySubscription - generated by [MinimumSet] rule", + "operationId": "Organizations_ListBySubscription", + "parameters": { + "api-version": "2024-08-27-preview", + "subscriptionId": "F7135278-5976-4A8C-826F-B0253284766A" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "vyrzuaajyirwimtahombrbsaejcqs", + "id": "bhslekyvgkfomahtvjiin" + } + ] + } + } + } +} diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_Update_MaximumSet_Gen.json b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..c9a1adb0d56f --- /dev/null +++ b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27-preview/Organizations_Update_MaximumSet_Gen.json @@ -0,0 +1,110 @@ +{ + "title": "Organizations_Update - generated by [MaximumSet] rule", + "operationId": "Organizations_Update", + "parameters": { + "api-version": "2024-08-27-preview", + "subscriptionId": "F7135278-5976-4A8C-826F-B0253284766A", + "resourceGroupName": "rgastronomer", + "organizationName": "U.1-:7", + "properties": { + "identity": { + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "properties": { + "user": { + "firstName": "xcmtuuaibinwxpalnwdt", + "lastName": "iarmpsjunul", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "yrjsazdcfiyftpagvlfugjcku", + "phoneNumber": "decxxjtkpyjhuahrkbmxlpib" + }, + "partnerOrganizationProperties": { + "organizationId": "rcvoemps", + "workspaceId": "xnmfrhmzzcuutcs", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "uv", + "singleSignOnUrl": "zyrtiwivlbtptrszloo", + "aadDomains": [ + "rvyrbq" + ], + "provisioningState": "Succeeded" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "marketplace": { + "subscriptionId": "bgvtjtkpxtceyc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "ckrwwvgcfnuzejhmnywtxgtemd", + "offerId": "o", + "planId": "iirdyveiuvufxgnzbggfbnr", + "planName": "lmzofmdkochgzgqzxsuvipuagqizz", + "termUnit": "pzatfjfycsonpuagfzqsz", + "termId": "nrmbsljsrbwsafuwvpa", + "renewalMode": "Auto", + "endDate": "2024-09-09T11:32:38.546Z" + } + }, + "user": { + "firstName": "xcmtuuaibinwxpalnwdt", + "lastName": "iarmpsjunul", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "yrjsazdcfiyftpagvlfugjcku", + "phoneNumber": "decxxjtkpyjhuahrkbmxlpib" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "rcvoemps", + "workspaceId": "xnmfrhmzzcuutcs", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "uv", + "singleSignOnUrl": "zyrtiwivlbtptrszloo", + "aadDomains": [ + "rvyrbq" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "tenantId": "b5684bd7-7958-4c0e-9795-d686c31746d2" + }, + "tags": {}, + "location": "vyrzuaajyirwimtahombrbsaejcqs", + "id": "mialkreryfu", + "name": "lmdyn", + "type": "tzpcxamgfdfxervw", + "systemData": { + "createdBy": "yeyzuhlzka", + "createdByType": "User", + "createdAt": "2024-08-27T06:00:59.057Z", + "lastModifiedBy": "k", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-27T06:00:59.057Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Operations_List_MaximumSet_Gen.json b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..9c63654be1e3 --- /dev/null +++ b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List - generated by [MaximumSet] rule", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-08-27" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "hdagjmhxfewppfmsvhsrdilddtzxrz", + "isDataAction": true, + "display": { + "provider": "klqocuairzcrwxktqfguleptevh", + "resource": "uwlyaybmdmybhyemqwsjcgydg", + "operation": "up", + "description": "ryxgvqwei" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "vm" + } + } + } +} diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Operations_List_MinimumSet_Gen.json b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Operations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..2124d145eb89 --- /dev/null +++ b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Operations_List_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "title": "Operations_List - generated by [MinimumSet] rule", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-08-27" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_CreateOrUpdate_MaximumSet_Gen.json b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..f593b66948cc --- /dev/null +++ b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,185 @@ +{ + "title": "Organizations_CreateOrUpdate - generated by [MaximumSet] rule", + "operationId": "Organizations_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-27", + "subscriptionId": "A4679760-5C37-44EA-A4B8-8A7628B13824", + "resourceGroupName": "rgastronomer", + "organizationName": "U.1-:7", + "resource": { + "properties": { + "marketplace": { + "subscriptionId": "emasc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "kt", + "offerId": "tvidibzbxevtvnrdp", + "planId": "lwcvzdqecwkeracahmixnh", + "planName": "d", + "termUnit": "rs", + "termId": "kopnnjsp", + "renewalMode": "Auto" + } + }, + "user": { + "firstName": "ucowvrccqpqpkdg", + "lastName": "fwwtnwggrtibghoijfzajrhgyo", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "zbdgbbqg", + "phoneNumber": "brnngpezmqecvflklbhsibq" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "juomtfzwkjwnhhpodfnrqdv", + "workspaceId": "nnryjcmiohmkbvhngfgxigpodvhl", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "srkwxktx", + "singleSignOnUrl": "l", + "aadDomains": [ + "fcnqoizqxcdclmy" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "location": "pgfkugslgnsxeqpjs" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "marketplace": { + "subscriptionId": "emasc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "kt", + "offerId": "tvidibzbxevtvnrdp", + "planId": "lwcvzdqecwkeracahmixnh", + "planName": "d", + "termUnit": "rs", + "termId": "kopnnjsp", + "renewalMode": "Auto", + "endDate": "2024-09-09T11:33:07.745Z" + } + }, + "user": { + "firstName": "ucowvrccqpqpkdg", + "lastName": "fwwtnwggrtibghoijfzajrhgyo", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "zbdgbbqg", + "phoneNumber": "brnngpezmqecvflklbhsibq" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "juomtfzwkjwnhhpodfnrqdv", + "workspaceId": "nnryjcmiohmkbvhngfgxigpodvhl", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "srkwxktx", + "singleSignOnUrl": "l", + "aadDomains": [ + "fcnqoizqxcdclmy" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "tenantId": "b5684bd7-7958-4c0e-9795-d686c31746d2" + }, + "tags": {}, + "location": "pgfkugslgnsxeqpjs", + "id": "ec", + "name": "dfucbeviqfavjryqbflzqttvupne", + "type": "dgccugdynztwzwshuuubefte", + "systemData": { + "createdBy": "daq", + "createdByType": "User", + "createdAt": "2024-08-27T06:02:43.048Z", + "lastModifiedBy": "bewqhprigkbiwlmkmxctd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-27T06:02:43.048Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "marketplace": { + "subscriptionId": "emasc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "kt", + "offerId": "tvidibzbxevtvnrdp", + "planId": "lwcvzdqecwkeracahmixnh", + "planName": "d", + "termUnit": "rs", + "termId": "kopnnjsp", + "renewalMode": "Auto", + "endDate": "2024-09-09T11:33:07.745Z" + } + }, + "user": { + "firstName": "ucowvrccqpqpkdg", + "lastName": "fwwtnwggrtibghoijfzajrhgyo", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "zbdgbbqg", + "phoneNumber": "brnngpezmqecvflklbhsibq" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "juomtfzwkjwnhhpodfnrqdv", + "workspaceId": "nnryjcmiohmkbvhngfgxigpodvhl", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "srkwxktx", + "singleSignOnUrl": "l", + "aadDomains": [ + "fcnqoizqxcdclmy" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "tenantId": "b5684bd7-7958-4c0e-9795-d686c31746d2" + }, + "tags": {}, + "location": "pgfkugslgnsxeqpjs", + "id": "ec", + "name": "dfucbeviqfavjryqbflzqttvupne", + "type": "dgccugdynztwzwshuuubefte", + "systemData": { + "createdBy": "daq", + "createdByType": "User", + "createdAt": "2024-08-27T06:02:43.048Z", + "lastModifiedBy": "bewqhprigkbiwlmkmxctd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-27T06:02:43.048Z" + } + } + } + } +} diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_Delete_MaximumSet_Gen.json b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..b7c44387f4a9 --- /dev/null +++ b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_Delete_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "Organizations_Delete - generated by [MaximumSet] rule", + "operationId": "Organizations_Delete", + "parameters": { + "api-version": "2024-08-27", + "subscriptionId": "A4679760-5C37-44EA-A4B8-8A7628B13824", + "resourceGroupName": "rgastronomer", + "organizationName": "U.1-:7" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_Get_MaximumSet_Gen.json b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..dbcd0c0fc110 --- /dev/null +++ b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_Get_MaximumSet_Gen.json @@ -0,0 +1,74 @@ +{ + "title": "Organizations_Get - generated by [MaximumSet] rule", + "operationId": "Organizations_Get", + "parameters": { + "api-version": "2024-08-27", + "subscriptionId": "A4679760-5C37-44EA-A4B8-8A7628B13824", + "resourceGroupName": "rgastronomer", + "organizationName": "U.1-:7" + }, + "responses": { + "200": { + "body": { + "properties": { + "marketplace": { + "subscriptionId": "emasc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "kt", + "offerId": "tvidibzbxevtvnrdp", + "planId": "lwcvzdqecwkeracahmixnh", + "planName": "d", + "termUnit": "rs", + "termId": "kopnnjsp", + "renewalMode": "Auto", + "endDate": "2024-09-09T11:33:07.745Z" + } + }, + "user": { + "firstName": "ucowvrccqpqpkdg", + "lastName": "fwwtnwggrtibghoijfzajrhgyo", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "zbdgbbqg", + "phoneNumber": "brnngpezmqecvflklbhsibq" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "juomtfzwkjwnhhpodfnrqdv", + "workspaceId": "nnryjcmiohmkbvhngfgxigpodvhl", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "srkwxktx", + "singleSignOnUrl": "l", + "aadDomains": [ + "fcnqoizqxcdclmy" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "tenantId": "b5684bd7-7958-4c0e-9795-d686c31746d2" + }, + "tags": {}, + "location": "pgfkugslgnsxeqpjs", + "id": "ec", + "name": "dfucbeviqfavjryqbflzqttvupne", + "type": "dgccugdynztwzwshuuubefte", + "systemData": { + "createdBy": "daq", + "createdByType": "User", + "createdAt": "2024-08-27T06:02:43.048Z", + "lastModifiedBy": "bewqhprigkbiwlmkmxctd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-27T06:02:43.048Z" + } + } + } + } +} diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_ListByResourceGroup_MaximumSet_Gen.json b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..d5db227b8bda --- /dev/null +++ b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,78 @@ +{ + "title": "Organizations_ListByResourceGroup - generated by [MaximumSet] rule", + "operationId": "Organizations_ListByResourceGroup", + "parameters": { + "api-version": "2024-08-27", + "subscriptionId": "A4679760-5C37-44EA-A4B8-8A7628B13824", + "resourceGroupName": "rgastronomer" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "marketplace": { + "subscriptionId": "emasc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "kt", + "offerId": "tvidibzbxevtvnrdp", + "planId": "lwcvzdqecwkeracahmixnh", + "planName": "d", + "termUnit": "rs", + "termId": "kopnnjsp", + "renewalMode": "Auto", + "endDate": "2024-09-09T11:33:07.743Z" + } + }, + "user": { + "firstName": "ucowvrccqpqpkdg", + "lastName": "fwwtnwggrtibghoijfzajrhgyo", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "zbdgbbqg", + "phoneNumber": "brnngpezmqecvflklbhsibq" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "juomtfzwkjwnhhpodfnrqdv", + "workspaceId": "nnryjcmiohmkbvhngfgxigpodvhl", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "srkwxktx", + "singleSignOnUrl": "l", + "aadDomains": [ + "fcnqoizqxcdclmy" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "principalId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "tenantId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "location": "pgfkugslgnsxeqpjs", + "id": "ec", + "name": "dfucbeviqfavjryqbflzqttvupne", + "type": "dgccugdynztwzwshuuubefte", + "systemData": { + "createdBy": "daq", + "createdByType": "User", + "createdAt": "2024-08-27T06:02:43.048Z", + "lastModifiedBy": "bewqhprigkbiwlmkmxctd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-27T06:02:43.048Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_ListByResourceGroup_MinimumSet_Gen.json b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..a24a12e3de25 --- /dev/null +++ b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "Organizations_ListByResourceGroup - generated by [MinimumSet] rule", + "operationId": "Organizations_ListByResourceGroup", + "parameters": { + "api-version": "2024-08-27", + "subscriptionId": "A4679760-5C37-44EA-A4B8-8A7628B13824", + "resourceGroupName": "rgastronomer" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "pgfkugslgnsxeqpjs", + "id": "bhslekyvgkfomahtvjiin" + } + ] + } + } + } +} diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_ListBySubscription_MaximumSet_Gen.json b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..3221367938c6 --- /dev/null +++ b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,77 @@ +{ + "title": "Organizations_ListBySubscription - generated by [MaximumSet] rule", + "operationId": "Organizations_ListBySubscription", + "parameters": { + "api-version": "2024-08-27", + "subscriptionId": "A4679760-5C37-44EA-A4B8-8A7628B13824" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "marketplace": { + "subscriptionId": "emasc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "kt", + "offerId": "tvidibzbxevtvnrdp", + "planId": "lwcvzdqecwkeracahmixnh", + "planName": "d", + "termUnit": "rs", + "termId": "kopnnjsp", + "renewalMode": "Auto", + "endDate": "2024-09-09T11:33:07.743Z" + } + }, + "user": { + "firstName": "ucowvrccqpqpkdg", + "lastName": "fwwtnwggrtibghoijfzajrhgyo", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "zbdgbbqg", + "phoneNumber": "brnngpezmqecvflklbhsibq" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "juomtfzwkjwnhhpodfnrqdv", + "workspaceId": "nnryjcmiohmkbvhngfgxigpodvhl", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "srkwxktx", + "singleSignOnUrl": "l", + "aadDomains": [ + "fcnqoizqxcdclmy" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "principalId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "tenantId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "location": "pgfkugslgnsxeqpjs", + "id": "ec", + "name": "dfucbeviqfavjryqbflzqttvupne", + "type": "dgccugdynztwzwshuuubefte", + "systemData": { + "createdBy": "daq", + "createdByType": "User", + "createdAt": "2024-08-27T06:02:43.048Z", + "lastModifiedBy": "bewqhprigkbiwlmkmxctd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-27T06:02:43.048Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_ListBySubscription_MinimumSet_Gen.json b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..a7271c29873a --- /dev/null +++ b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "Organizations_ListBySubscription - generated by [MinimumSet] rule", + "operationId": "Organizations_ListBySubscription", + "parameters": { + "api-version": "2024-08-27", + "subscriptionId": "A4679760-5C37-44EA-A4B8-8A7628B13824" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "pgfkugslgnsxeqpjs", + "id": "bhslekyvgkfomahtvjiin" + } + ] + } + } + } +} diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_Update_MaximumSet_Gen.json b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..2444ba26245b --- /dev/null +++ b/specification/liftrastronomer/Astronomer.Astro.Management/examples/2024-08-27/Organizations_Update_MaximumSet_Gen.json @@ -0,0 +1,110 @@ +{ + "title": "Organizations_Update - generated by [MaximumSet] rule", + "operationId": "Organizations_Update", + "parameters": { + "api-version": "2024-08-27", + "subscriptionId": "A4679760-5C37-44EA-A4B8-8A7628B13824", + "resourceGroupName": "rgastronomer", + "organizationName": "U.1-:7", + "properties": { + "identity": { + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "properties": { + "user": { + "firstName": "e", + "lastName": "puain", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "beyxdwtwshcujyjtowjdvgytygpp", + "phoneNumber": "hepjqujjthtlxeoiltnchwqi" + }, + "partnerOrganizationProperties": { + "organizationId": "fbjg", + "workspaceId": "ywwywdafdtvnntfevhnwszi", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "srkwxktx", + "singleSignOnUrl": "l", + "aadDomains": [ + "fcnqoizqxcdclmy" + ], + "provisioningState": "Succeeded" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "marketplace": { + "subscriptionId": "emasc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "kt", + "offerId": "tvidibzbxevtvnrdp", + "planId": "lwcvzdqecwkeracahmixnh", + "planName": "d", + "termUnit": "rs", + "termId": "kopnnjsp", + "renewalMode": "Auto", + "endDate": "2024-09-09T11:33:07.745Z" + } + }, + "user": { + "firstName": "e", + "lastName": "puain", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "beyxdwtwshcujyjtowjdvgytygpp", + "phoneNumber": "hepjqujjthtlxeoiltnchwqi" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "fbjg", + "workspaceId": "ywwywdafdtvnntfevhnwszi", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "srkwxktx", + "singleSignOnUrl": "l", + "aadDomains": [ + "fcnqoizqxcdclmy" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "tenantId": "b5684bd7-7958-4c0e-9795-d686c31746d2" + }, + "tags": {}, + "location": "pgfkugslgnsxeqpjs", + "id": "ec", + "name": "dfucbeviqfavjryqbflzqttvupne", + "type": "dgccugdynztwzwshuuubefte", + "systemData": { + "createdBy": "daq", + "createdByType": "User", + "createdAt": "2024-08-27T06:02:43.048Z", + "lastModifiedBy": "bewqhprigkbiwlmkmxctd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-27T06:02:43.048Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/main.tsp b/specification/liftrastronomer/Astronomer.Astro.Management/main.tsp index e3a4bc25cc91..2c2da6856c65 100644 --- a/specification/liftrastronomer/Astronomer.Astro.Management/main.tsp +++ b/specification/liftrastronomer/Astronomer.Astro.Management/main.tsp @@ -32,6 +32,18 @@ enum Versions { @useDependency(LiftrBase.Versions.v1_preview) @useDependency(LiftrBase.Data.Versions.v1_preview) v1: "2023-08-01", + + @doc("Dependent on Azure.ResourceManager.Versions.v1_0_Preview_1, LiftrBase.Versions.v2024_08_27_preview, LiftrBase.Data.Versions.v2024_08_27_preview") + @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @useDependency(LiftrBase.Versions.v2024_08_27_preview) + @useDependency(LiftrBase.Data.Versions.v2024_08_27_preview) + v2024_08_27_preview: "2024-08-27-preview", + + @doc("Dependent on Azure.ResourceManager.Versions.v1_0_Preview_1, LiftrBase.Versions.v2024_08_27, LiftrBase.Data.Versions.v2024_08_27") + @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @useDependency(LiftrBase.Versions.v2024_08_27) + @useDependency(LiftrBase.Data.Versions.v2024_08_27) + v2024_08_27: "2024-08-27", } interface Operations extends Azure.ResourceManager.Operations {} diff --git a/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/astronomer.json b/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/astronomer.json new file mode 100644 index 000000000000..1b9d548edc9b --- /dev/null +++ b/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/astronomer.json @@ -0,0 +1,894 @@ +{ + "swagger": "2.0", + "info": { + "title": "Astronomer.Astro", + "version": "2024-08-27-preview", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Organizations" + } + ], + "paths": { + "/providers/Astronomer.Astro/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Operations_List - generated by [MaximumSet] rule": { + "$ref": "./examples/Operations_List_MaximumSet_Gen.json" + }, + "Operations_List - generated by [MinimumSet] rule": { + "$ref": "./examples/Operations_List_MinimumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Astronomer.Astro/organizations": { + "get": { + "operationId": "Organizations_ListBySubscription", + "tags": [ + "Organizations" + ], + "description": "List OrganizationResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OrganizationResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Organizations_ListBySubscription - generated by [MaximumSet] rule": { + "$ref": "./examples/Organizations_ListBySubscription_MaximumSet_Gen.json" + }, + "Organizations_ListBySubscription - generated by [MinimumSet] rule": { + "$ref": "./examples/Organizations_ListBySubscription_MinimumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Astronomer.Astro/organizations": { + "get": { + "operationId": "Organizations_ListByResourceGroup", + "tags": [ + "Organizations" + ], + "description": "List OrganizationResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OrganizationResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Organizations_ListByResourceGroup - generated by [MaximumSet] rule": { + "$ref": "./examples/Organizations_ListByResourceGroup_MaximumSet_Gen.json" + }, + "Organizations_ListByResourceGroup - generated by [MinimumSet] rule": { + "$ref": "./examples/Organizations_ListByResourceGroup_MinimumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Astronomer.Astro/organizations/{organizationName}": { + "get": { + "operationId": "Organizations_Get", + "tags": [ + "Organizations" + ], + "description": "Get a OrganizationResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "organizationName", + "in": "path", + "description": "Name of the Organizations resource", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OrganizationResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Organizations_Get - generated by [MaximumSet] rule": { + "$ref": "./examples/Organizations_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "Organizations_CreateOrUpdate", + "tags": [ + "Organizations" + ], + "description": "Create a OrganizationResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "organizationName", + "in": "path", + "description": "Name of the Organizations resource", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/OrganizationResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'OrganizationResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/OrganizationResource" + } + }, + "201": { + "description": "Resource 'OrganizationResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/OrganizationResource" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Organizations_CreateOrUpdate - generated by [MaximumSet] rule": { + "$ref": "./examples/Organizations_CreateOrUpdate_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Organizations_Update", + "tags": [ + "Organizations" + ], + "description": "Update a OrganizationResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "organizationName", + "in": "path", + "description": "Name of the Organizations resource", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/OrganizationResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OrganizationResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Organizations_Update - generated by [MaximumSet] rule": { + "$ref": "./examples/Organizations_Update_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Organizations_Delete", + "tags": [ + "Organizations" + ], + "description": "Delete a OrganizationResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "organizationName", + "in": "path", + "description": "Name of the Organizations resource", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Organizations_Delete - generated by [MaximumSet] rule": { + "$ref": "./examples/Organizations_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "Azure.ResourceManager.ResourceProvisioningState": { + "type": "string", + "description": "The provisioning state of a resource type.", + "enum": [ + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ResourceProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + } + ] + } + }, + "LiftrBase.Data.OrganizationProperties": { + "type": "object", + "description": "Properties specific to Data Organization resource", + "properties": { + "marketplace": { + "$ref": "#/definitions/LiftrBase.MarketplaceDetails", + "description": "Marketplace details of the resource.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "user": { + "$ref": "#/definitions/LiftrBase.UserDetails", + "description": "Details of the user." + }, + "provisioningState": { + "$ref": "#/definitions/Azure.ResourceManager.ResourceProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "partnerOrganizationProperties": { + "$ref": "#/definitions/LiftrBase.Data.PartnerOrganizationProperties", + "description": "Organization properties" + } + }, + "required": [ + "marketplace", + "user" + ] + }, + "LiftrBase.Data.PartnerOrganizationProperties": { + "type": "object", + "description": "Properties specific to Partner's organization", + "properties": { + "organizationId": { + "type": "string", + "description": "Organization Id in partner's system" + }, + "workspaceId": { + "type": "string", + "description": "Workspace Id in partner's system" + }, + "organizationName": { + "type": "string", + "description": "Organization name in partner's system", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$" + }, + "workspaceName": { + "type": "string", + "description": "Workspace name in partner's system", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$" + }, + "singleSignOnProperties": { + "$ref": "#/definitions/LiftrBase.SingleSignOnProperties", + "description": "Single Sign On properties for the organization" + } + }, + "required": [ + "organizationName" + ] + }, + "LiftrBase.Data.PartnerOrganizationPropertiesUpdate": { + "type": "object", + "description": "Properties specific to Partner's organization", + "properties": { + "organizationId": { + "type": "string", + "description": "Organization Id in partner's system" + }, + "workspaceId": { + "type": "string", + "description": "Workspace Id in partner's system" + }, + "organizationName": { + "type": "string", + "description": "Organization name in partner's system", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$" + }, + "workspaceName": { + "type": "string", + "description": "Workspace name in partner's system", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$" + }, + "singleSignOnProperties": { + "$ref": "#/definitions/LiftrBase.SingleSignOnProperties", + "description": "Single Sign On properties for the organization" + } + } + }, + "LiftrBase.MarketplaceDetails": { + "type": "object", + "description": "Marketplace details for an organization", + "properties": { + "subscriptionId": { + "type": "string", + "description": "Azure subscription id for the the marketplace offer is purchased from" + }, + "subscriptionStatus": { + "$ref": "#/definitions/LiftrBase.MarketplaceSubscriptionStatus", + "description": "Marketplace subscription status" + }, + "offerDetails": { + "$ref": "#/definitions/LiftrBase.OfferDetails", + "description": "Offer details for the marketplace that is selected by the user" + } + }, + "required": [ + "offerDetails" + ] + }, + "LiftrBase.MarketplaceSubscriptionStatus": { + "type": "string", + "description": "Marketplace subscription status of a resource.", + "enum": [ + "PendingFulfillmentStart", + "Subscribed", + "Suspended", + "Unsubscribed" + ], + "x-ms-enum": { + "name": "MarketplaceSubscriptionStatus", + "modelAsString": true, + "values": [ + { + "name": "PendingFulfillmentStart", + "value": "PendingFulfillmentStart", + "description": "Purchased but not yet activated" + }, + { + "name": "Subscribed", + "value": "Subscribed", + "description": "Marketplace subscription is activated" + }, + { + "name": "Suspended", + "value": "Suspended", + "description": "This state indicates that a customer's payment for the Marketplace service was not received" + }, + { + "name": "Unsubscribed", + "value": "Unsubscribed", + "description": "Customer has cancelled the subscription" + } + ] + } + }, + "LiftrBase.OfferDetails": { + "type": "object", + "description": "Offer details for the marketplace that is selected by the user", + "properties": { + "publisherId": { + "type": "string", + "description": "Publisher Id for the marketplace offer" + }, + "offerId": { + "type": "string", + "description": "Offer Id for the marketplace offer" + }, + "planId": { + "type": "string", + "description": "Plan Id for the marketplace offer" + }, + "planName": { + "type": "string", + "description": "Plan Name for the marketplace offer" + }, + "termUnit": { + "type": "string", + "description": "Plan Display Name for the marketplace offer" + }, + "termId": { + "type": "string", + "description": "Plan Display Name for the marketplace offer" + }, + "renewalMode": { + "$ref": "#/definitions/LiftrBase.RenewalMode", + "description": "Subscription renewal mode" + }, + "endDate": { + "type": "string", + "format": "date-time", + "description": "Current subscription end date and time", + "readOnly": true + } + }, + "required": [ + "publisherId", + "offerId", + "planId" + ] + }, + "LiftrBase.RenewalMode": { + "type": "string", + "description": "Subscription renewal mode", + "enum": [ + "Auto", + "Manual" + ], + "x-ms-enum": { + "name": "RenewalMode", + "modelAsString": true, + "values": [ + { + "name": "Auto", + "value": "Auto", + "description": "Automatic renewal" + }, + { + "name": "Manual", + "value": "Manual", + "description": "Manual renewal" + } + ] + } + }, + "LiftrBase.SingleSignOnProperties": { + "type": "object", + "description": "Properties specific to Single Sign On Resource", + "properties": { + "singleSignOnState": { + "$ref": "#/definitions/LiftrBase.SingleSignOnStates", + "description": "State of the Single Sign On for the organization" + }, + "enterpriseAppId": { + "type": "string", + "description": "AAD enterprise application Id used to setup SSO" + }, + "singleSignOnUrl": { + "$ref": "#/definitions/LiftrBase.Uri", + "description": "URL for SSO to be used by the partner to redirect the user to their system" + }, + "aadDomains": { + "type": "array", + "description": "List of AAD domains fetched from Microsoft Graph for user.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/Azure.ResourceManager.ResourceProvisioningState", + "description": "Provisioning State of the resource", + "readOnly": true + } + } + }, + "LiftrBase.SingleSignOnStates": { + "type": "string", + "description": "Various states of the SSO resource", + "enum": [ + "Initial", + "Enable", + "Disable" + ], + "x-ms-enum": { + "name": "SingleSignOnStates", + "modelAsString": true, + "values": [ + { + "name": "Initial", + "value": "Initial", + "description": "Initial state of the SSO resource" + }, + { + "name": "Enable", + "value": "Enable", + "description": "State of the SSO resource when it is enabled" + }, + { + "name": "Disable", + "value": "Disable", + "description": "State of the SSO resource when it is disabled" + } + ] + } + }, + "LiftrBase.Uri": { + "type": "string", + "description": "A string that represents a URI." + }, + "LiftrBase.UserDetails": { + "type": "object", + "description": "User details for an organization", + "properties": { + "firstName": { + "type": "string", + "description": "First name of the user" + }, + "lastName": { + "type": "string", + "description": "Last name of the user" + }, + "emailAddress": { + "$ref": "#/definitions/LiftrBase.email", + "description": "Email address of the user" + }, + "upn": { + "type": "string", + "description": "User's principal name" + }, + "phoneNumber": { + "type": "string", + "description": "User's phone number" + } + }, + "required": [ + "firstName", + "lastName", + "emailAddress" + ] + }, + "LiftrBase.UserDetailsUpdate": { + "type": "object", + "description": "User details for an organization", + "properties": { + "firstName": { + "type": "string", + "description": "First name of the user" + }, + "lastName": { + "type": "string", + "description": "Last name of the user" + }, + "emailAddress": { + "$ref": "#/definitions/LiftrBase.email", + "description": "Email address of the user" + }, + "upn": { + "type": "string", + "description": "User's principal name" + }, + "phoneNumber": { + "type": "string", + "description": "User's phone number" + } + } + }, + "LiftrBase.email": { + "type": "string", + "description": "Reusable representation of an email address.", + "pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$" + }, + "OrganizationResource": { + "type": "object", + "description": "Organization Resource by Astronomer", + "properties": { + "properties": { + "$ref": "#/definitions/LiftrBase.Data.OrganizationProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "OrganizationResourceListResult": { + "type": "object", + "description": "The response of a OrganizationResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The OrganizationResource items on this page", + "items": { + "$ref": "#/definitions/OrganizationResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "OrganizationResourceUpdate": { + "type": "object", + "description": "The type used for update operations of the OrganizationResource.", + "properties": { + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/OrganizationResourceUpdateProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + } + }, + "OrganizationResourceUpdateProperties": { + "type": "object", + "description": "The updatable properties of the OrganizationResource.", + "properties": { + "user": { + "$ref": "#/definitions/LiftrBase.UserDetailsUpdate", + "description": "Details of the user." + }, + "partnerOrganizationProperties": { + "$ref": "#/definitions/LiftrBase.Data.PartnerOrganizationPropertiesUpdate", + "description": "Organization properties" + } + } + } + }, + "parameters": {} +} diff --git a/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..84610075a9bd --- /dev/null +++ b/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List - generated by [MaximumSet] rule", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-08-27-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "unrvqmdvyxlrqgprmwere", + "isDataAction": true, + "display": { + "provider": "bcexjgghgfuudhphysqyvqd", + "resource": "gwrdke", + "operation": "apgxpmzwwphtcj", + "description": "lwsooxrhbrcisbahenmvmkbqpkksuq" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "hupwycy" + } + } + } +} diff --git a/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Operations_List_MinimumSet_Gen.json b/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Operations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..42d5fc1ac3a3 --- /dev/null +++ b/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Operations_List_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "title": "Operations_List - generated by [MinimumSet] rule", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-08-27-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_CreateOrUpdate_MaximumSet_Gen.json b/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..15397870a96a --- /dev/null +++ b/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,185 @@ +{ + "title": "Organizations_CreateOrUpdate - generated by [MaximumSet] rule", + "operationId": "Organizations_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-27-preview", + "subscriptionId": "F7135278-5976-4A8C-826F-B0253284766A", + "resourceGroupName": "rgastronomer", + "organizationName": "U.1-:7", + "resource": { + "properties": { + "marketplace": { + "subscriptionId": "bgvtjtkpxtceyc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "ckrwwvgcfnuzejhmnywtxgtemd", + "offerId": "o", + "planId": "iirdyveiuvufxgnzbggfbnr", + "planName": "lmzofmdkochgzgqzxsuvipuagqizz", + "termUnit": "pzatfjfycsonpuagfzqsz", + "termId": "nrmbsljsrbwsafuwvpa", + "renewalMode": "Auto" + } + }, + "user": { + "firstName": "bvewbyylzjfclpwmozucvjkypq", + "lastName": "nsfq", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "ajnhivnhlxebbvbynsoqp", + "phoneNumber": "wincnkeigouajdwhsra" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "suracctmi", + "workspaceId": "yiuanhdcukroyytunueqldcuwtfiwg", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "uv", + "singleSignOnUrl": "zyrtiwivlbtptrszloo", + "aadDomains": [ + "rvyrbq" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "location": "vyrzuaajyirwimtahombrbsaejcqs" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "marketplace": { + "subscriptionId": "bgvtjtkpxtceyc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "ckrwwvgcfnuzejhmnywtxgtemd", + "offerId": "o", + "planId": "iirdyveiuvufxgnzbggfbnr", + "planName": "lmzofmdkochgzgqzxsuvipuagqizz", + "termUnit": "pzatfjfycsonpuagfzqsz", + "termId": "nrmbsljsrbwsafuwvpa", + "renewalMode": "Auto", + "endDate": "2024-09-09T11:32:38.546Z" + } + }, + "user": { + "firstName": "bvewbyylzjfclpwmozucvjkypq", + "lastName": "nsfq", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "ajnhivnhlxebbvbynsoqp", + "phoneNumber": "wincnkeigouajdwhsra" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "suracctmi", + "workspaceId": "yiuanhdcukroyytunueqldcuwtfiwg", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "uv", + "singleSignOnUrl": "zyrtiwivlbtptrszloo", + "aadDomains": [ + "rvyrbq" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "tenantId": "b5684bd7-7958-4c0e-9795-d686c31746d2" + }, + "tags": {}, + "location": "vyrzuaajyirwimtahombrbsaejcqs", + "id": "mialkreryfu", + "name": "lmdyn", + "type": "tzpcxamgfdfxervw", + "systemData": { + "createdBy": "yeyzuhlzka", + "createdByType": "User", + "createdAt": "2024-08-27T06:00:59.057Z", + "lastModifiedBy": "k", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-27T06:00:59.057Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "marketplace": { + "subscriptionId": "bgvtjtkpxtceyc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "ckrwwvgcfnuzejhmnywtxgtemd", + "offerId": "o", + "planId": "iirdyveiuvufxgnzbggfbnr", + "planName": "lmzofmdkochgzgqzxsuvipuagqizz", + "termUnit": "pzatfjfycsonpuagfzqsz", + "termId": "nrmbsljsrbwsafuwvpa", + "renewalMode": "Auto", + "endDate": "2024-09-09T11:32:38.546Z" + } + }, + "user": { + "firstName": "bvewbyylzjfclpwmozucvjkypq", + "lastName": "nsfq", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "ajnhivnhlxebbvbynsoqp", + "phoneNumber": "wincnkeigouajdwhsra" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "suracctmi", + "workspaceId": "yiuanhdcukroyytunueqldcuwtfiwg", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "uv", + "singleSignOnUrl": "zyrtiwivlbtptrszloo", + "aadDomains": [ + "rvyrbq" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "tenantId": "b5684bd7-7958-4c0e-9795-d686c31746d2" + }, + "tags": {}, + "location": "vyrzuaajyirwimtahombrbsaejcqs", + "id": "mialkreryfu", + "name": "lmdyn", + "type": "tzpcxamgfdfxervw", + "systemData": { + "createdBy": "yeyzuhlzka", + "createdByType": "User", + "createdAt": "2024-08-27T06:00:59.057Z", + "lastModifiedBy": "k", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-27T06:00:59.057Z" + } + } + } + } +} diff --git a/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_Delete_MaximumSet_Gen.json b/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..98b713fa267c --- /dev/null +++ b/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_Delete_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "Organizations_Delete - generated by [MaximumSet] rule", + "operationId": "Organizations_Delete", + "parameters": { + "api-version": "2024-08-27-preview", + "subscriptionId": "F7135278-5976-4A8C-826F-B0253284766A", + "resourceGroupName": "rgastronomer", + "organizationName": "U.1-:7" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_Get_MaximumSet_Gen.json b/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..bf3ca784351e --- /dev/null +++ b/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_Get_MaximumSet_Gen.json @@ -0,0 +1,74 @@ +{ + "title": "Organizations_Get - generated by [MaximumSet] rule", + "operationId": "Organizations_Get", + "parameters": { + "api-version": "2024-08-27-preview", + "subscriptionId": "F7135278-5976-4A8C-826F-B0253284766A", + "resourceGroupName": "rgastronomer", + "organizationName": "U.1-:7" + }, + "responses": { + "200": { + "body": { + "properties": { + "marketplace": { + "subscriptionId": "bgvtjtkpxtceyc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "ckrwwvgcfnuzejhmnywtxgtemd", + "offerId": "o", + "planId": "iirdyveiuvufxgnzbggfbnr", + "planName": "lmzofmdkochgzgqzxsuvipuagqizz", + "termUnit": "pzatfjfycsonpuagfzqsz", + "termId": "nrmbsljsrbwsafuwvpa", + "renewalMode": "Auto", + "endDate": "2024-09-09T11:32:38.546Z" + } + }, + "user": { + "firstName": "bvewbyylzjfclpwmozucvjkypq", + "lastName": "nsfq", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "ajnhivnhlxebbvbynsoqp", + "phoneNumber": "wincnkeigouajdwhsra" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "suracctmi", + "workspaceId": "yiuanhdcukroyytunueqldcuwtfiwg", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "uv", + "singleSignOnUrl": "zyrtiwivlbtptrszloo", + "aadDomains": [ + "rvyrbq" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "tenantId": "b5684bd7-7958-4c0e-9795-d686c31746d2" + }, + "tags": {}, + "location": "vyrzuaajyirwimtahombrbsaejcqs", + "id": "mialkreryfu", + "name": "lmdyn", + "type": "tzpcxamgfdfxervw", + "systemData": { + "createdBy": "yeyzuhlzka", + "createdByType": "User", + "createdAt": "2024-08-27T06:00:59.057Z", + "lastModifiedBy": "k", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-27T06:00:59.057Z" + } + } + } + } +} diff --git a/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_ListByResourceGroup_MaximumSet_Gen.json b/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..002d7ed8e06d --- /dev/null +++ b/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,78 @@ +{ + "title": "Organizations_ListByResourceGroup - generated by [MaximumSet] rule", + "operationId": "Organizations_ListByResourceGroup", + "parameters": { + "api-version": "2024-08-27-preview", + "subscriptionId": "F7135278-5976-4A8C-826F-B0253284766A", + "resourceGroupName": "rgastronomer" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "marketplace": { + "subscriptionId": "bgvtjtkpxtceyc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "ckrwwvgcfnuzejhmnywtxgtemd", + "offerId": "o", + "planId": "iirdyveiuvufxgnzbggfbnr", + "planName": "lmzofmdkochgzgqzxsuvipuagqizz", + "termUnit": "pzatfjfycsonpuagfzqsz", + "termId": "nrmbsljsrbwsafuwvpa", + "renewalMode": "Auto", + "endDate": "2024-09-09T11:32:38.545Z" + } + }, + "user": { + "firstName": "bvewbyylzjfclpwmozucvjkypq", + "lastName": "nsfq", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "ajnhivnhlxebbvbynsoqp", + "phoneNumber": "wincnkeigouajdwhsra" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "suracctmi", + "workspaceId": "yiuanhdcukroyytunueqldcuwtfiwg", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "uv", + "singleSignOnUrl": "zyrtiwivlbtptrszloo", + "aadDomains": [ + "rvyrbq" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "principalId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "tenantId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "location": "vyrzuaajyirwimtahombrbsaejcqs", + "id": "mialkreryfu", + "name": "lmdyn", + "type": "tzpcxamgfdfxervw", + "systemData": { + "createdBy": "yeyzuhlzka", + "createdByType": "User", + "createdAt": "2024-08-27T06:00:59.057Z", + "lastModifiedBy": "k", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-27T06:00:59.057Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_ListByResourceGroup_MinimumSet_Gen.json b/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..104e36569303 --- /dev/null +++ b/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "Organizations_ListByResourceGroup - generated by [MinimumSet] rule", + "operationId": "Organizations_ListByResourceGroup", + "parameters": { + "api-version": "2024-08-27-preview", + "subscriptionId": "F7135278-5976-4A8C-826F-B0253284766A", + "resourceGroupName": "rgastronomer" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "vyrzuaajyirwimtahombrbsaejcqs", + "id": "bhslekyvgkfomahtvjiin" + } + ] + } + } + } +} diff --git a/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_ListBySubscription_MaximumSet_Gen.json b/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..76be83eebd39 --- /dev/null +++ b/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,77 @@ +{ + "title": "Organizations_ListBySubscription - generated by [MaximumSet] rule", + "operationId": "Organizations_ListBySubscription", + "parameters": { + "api-version": "2024-08-27-preview", + "subscriptionId": "F7135278-5976-4A8C-826F-B0253284766A" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "marketplace": { + "subscriptionId": "bgvtjtkpxtceyc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "ckrwwvgcfnuzejhmnywtxgtemd", + "offerId": "o", + "planId": "iirdyveiuvufxgnzbggfbnr", + "planName": "lmzofmdkochgzgqzxsuvipuagqizz", + "termUnit": "pzatfjfycsonpuagfzqsz", + "termId": "nrmbsljsrbwsafuwvpa", + "renewalMode": "Auto", + "endDate": "2024-09-09T11:32:38.545Z" + } + }, + "user": { + "firstName": "bvewbyylzjfclpwmozucvjkypq", + "lastName": "nsfq", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "ajnhivnhlxebbvbynsoqp", + "phoneNumber": "wincnkeigouajdwhsra" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "suracctmi", + "workspaceId": "yiuanhdcukroyytunueqldcuwtfiwg", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "uv", + "singleSignOnUrl": "zyrtiwivlbtptrszloo", + "aadDomains": [ + "rvyrbq" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "principalId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "tenantId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "location": "vyrzuaajyirwimtahombrbsaejcqs", + "id": "mialkreryfu", + "name": "lmdyn", + "type": "tzpcxamgfdfxervw", + "systemData": { + "createdBy": "yeyzuhlzka", + "createdByType": "User", + "createdAt": "2024-08-27T06:00:59.057Z", + "lastModifiedBy": "k", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-27T06:00:59.057Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_ListBySubscription_MinimumSet_Gen.json b/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..57ddd6d32760 --- /dev/null +++ b/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "Organizations_ListBySubscription - generated by [MinimumSet] rule", + "operationId": "Organizations_ListBySubscription", + "parameters": { + "api-version": "2024-08-27-preview", + "subscriptionId": "F7135278-5976-4A8C-826F-B0253284766A" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "vyrzuaajyirwimtahombrbsaejcqs", + "id": "bhslekyvgkfomahtvjiin" + } + ] + } + } + } +} diff --git a/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_Update_MaximumSet_Gen.json b/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..c9a1adb0d56f --- /dev/null +++ b/specification/liftrastronomer/resource-manager/Astronomer.Astro/preview/2024-08-27-preview/examples/Organizations_Update_MaximumSet_Gen.json @@ -0,0 +1,110 @@ +{ + "title": "Organizations_Update - generated by [MaximumSet] rule", + "operationId": "Organizations_Update", + "parameters": { + "api-version": "2024-08-27-preview", + "subscriptionId": "F7135278-5976-4A8C-826F-B0253284766A", + "resourceGroupName": "rgastronomer", + "organizationName": "U.1-:7", + "properties": { + "identity": { + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "properties": { + "user": { + "firstName": "xcmtuuaibinwxpalnwdt", + "lastName": "iarmpsjunul", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "yrjsazdcfiyftpagvlfugjcku", + "phoneNumber": "decxxjtkpyjhuahrkbmxlpib" + }, + "partnerOrganizationProperties": { + "organizationId": "rcvoemps", + "workspaceId": "xnmfrhmzzcuutcs", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "uv", + "singleSignOnUrl": "zyrtiwivlbtptrszloo", + "aadDomains": [ + "rvyrbq" + ], + "provisioningState": "Succeeded" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "marketplace": { + "subscriptionId": "bgvtjtkpxtceyc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "ckrwwvgcfnuzejhmnywtxgtemd", + "offerId": "o", + "planId": "iirdyveiuvufxgnzbggfbnr", + "planName": "lmzofmdkochgzgqzxsuvipuagqizz", + "termUnit": "pzatfjfycsonpuagfzqsz", + "termId": "nrmbsljsrbwsafuwvpa", + "renewalMode": "Auto", + "endDate": "2024-09-09T11:32:38.546Z" + } + }, + "user": { + "firstName": "xcmtuuaibinwxpalnwdt", + "lastName": "iarmpsjunul", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "yrjsazdcfiyftpagvlfugjcku", + "phoneNumber": "decxxjtkpyjhuahrkbmxlpib" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "rcvoemps", + "workspaceId": "xnmfrhmzzcuutcs", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "uv", + "singleSignOnUrl": "zyrtiwivlbtptrszloo", + "aadDomains": [ + "rvyrbq" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "tenantId": "b5684bd7-7958-4c0e-9795-d686c31746d2" + }, + "tags": {}, + "location": "vyrzuaajyirwimtahombrbsaejcqs", + "id": "mialkreryfu", + "name": "lmdyn", + "type": "tzpcxamgfdfxervw", + "systemData": { + "createdBy": "yeyzuhlzka", + "createdByType": "User", + "createdAt": "2024-08-27T06:00:59.057Z", + "lastModifiedBy": "k", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-27T06:00:59.057Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/astronomer.json b/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/astronomer.json new file mode 100644 index 000000000000..564ba05e726f --- /dev/null +++ b/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/astronomer.json @@ -0,0 +1,894 @@ +{ + "swagger": "2.0", + "info": { + "title": "Astronomer.Astro", + "version": "2024-08-27", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Organizations" + } + ], + "paths": { + "/providers/Astronomer.Astro/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Operations_List - generated by [MaximumSet] rule": { + "$ref": "./examples/Operations_List_MaximumSet_Gen.json" + }, + "Operations_List - generated by [MinimumSet] rule": { + "$ref": "./examples/Operations_List_MinimumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Astronomer.Astro/organizations": { + "get": { + "operationId": "Organizations_ListBySubscription", + "tags": [ + "Organizations" + ], + "description": "List OrganizationResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OrganizationResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Organizations_ListBySubscription - generated by [MaximumSet] rule": { + "$ref": "./examples/Organizations_ListBySubscription_MaximumSet_Gen.json" + }, + "Organizations_ListBySubscription - generated by [MinimumSet] rule": { + "$ref": "./examples/Organizations_ListBySubscription_MinimumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Astronomer.Astro/organizations": { + "get": { + "operationId": "Organizations_ListByResourceGroup", + "tags": [ + "Organizations" + ], + "description": "List OrganizationResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OrganizationResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Organizations_ListByResourceGroup - generated by [MaximumSet] rule": { + "$ref": "./examples/Organizations_ListByResourceGroup_MaximumSet_Gen.json" + }, + "Organizations_ListByResourceGroup - generated by [MinimumSet] rule": { + "$ref": "./examples/Organizations_ListByResourceGroup_MinimumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Astronomer.Astro/organizations/{organizationName}": { + "get": { + "operationId": "Organizations_Get", + "tags": [ + "Organizations" + ], + "description": "Get a OrganizationResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "organizationName", + "in": "path", + "description": "Name of the Organizations resource", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OrganizationResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Organizations_Get - generated by [MaximumSet] rule": { + "$ref": "./examples/Organizations_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "Organizations_CreateOrUpdate", + "tags": [ + "Organizations" + ], + "description": "Create a OrganizationResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "organizationName", + "in": "path", + "description": "Name of the Organizations resource", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/OrganizationResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'OrganizationResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/OrganizationResource" + } + }, + "201": { + "description": "Resource 'OrganizationResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/OrganizationResource" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Organizations_CreateOrUpdate - generated by [MaximumSet] rule": { + "$ref": "./examples/Organizations_CreateOrUpdate_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Organizations_Update", + "tags": [ + "Organizations" + ], + "description": "Update a OrganizationResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "organizationName", + "in": "path", + "description": "Name of the Organizations resource", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/OrganizationResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OrganizationResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Organizations_Update - generated by [MaximumSet] rule": { + "$ref": "./examples/Organizations_Update_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Organizations_Delete", + "tags": [ + "Organizations" + ], + "description": "Delete a OrganizationResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "organizationName", + "in": "path", + "description": "Name of the Organizations resource", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Organizations_Delete - generated by [MaximumSet] rule": { + "$ref": "./examples/Organizations_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "Azure.ResourceManager.ResourceProvisioningState": { + "type": "string", + "description": "The provisioning state of a resource type.", + "enum": [ + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ResourceProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + } + ] + } + }, + "LiftrBase.Data.OrganizationProperties": { + "type": "object", + "description": "Properties specific to Data Organization resource", + "properties": { + "marketplace": { + "$ref": "#/definitions/LiftrBase.MarketplaceDetails", + "description": "Marketplace details of the resource.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "user": { + "$ref": "#/definitions/LiftrBase.UserDetails", + "description": "Details of the user." + }, + "provisioningState": { + "$ref": "#/definitions/Azure.ResourceManager.ResourceProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "partnerOrganizationProperties": { + "$ref": "#/definitions/LiftrBase.Data.PartnerOrganizationProperties", + "description": "Organization properties" + } + }, + "required": [ + "marketplace", + "user" + ] + }, + "LiftrBase.Data.PartnerOrganizationProperties": { + "type": "object", + "description": "Properties specific to Partner's organization", + "properties": { + "organizationId": { + "type": "string", + "description": "Organization Id in partner's system" + }, + "workspaceId": { + "type": "string", + "description": "Workspace Id in partner's system" + }, + "organizationName": { + "type": "string", + "description": "Organization name in partner's system", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$" + }, + "workspaceName": { + "type": "string", + "description": "Workspace name in partner's system", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$" + }, + "singleSignOnProperties": { + "$ref": "#/definitions/LiftrBase.SingleSignOnProperties", + "description": "Single Sign On properties for the organization" + } + }, + "required": [ + "organizationName" + ] + }, + "LiftrBase.Data.PartnerOrganizationPropertiesUpdate": { + "type": "object", + "description": "Properties specific to Partner's organization", + "properties": { + "organizationId": { + "type": "string", + "description": "Organization Id in partner's system" + }, + "workspaceId": { + "type": "string", + "description": "Workspace Id in partner's system" + }, + "organizationName": { + "type": "string", + "description": "Organization name in partner's system", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$" + }, + "workspaceName": { + "type": "string", + "description": "Workspace name in partner's system", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$" + }, + "singleSignOnProperties": { + "$ref": "#/definitions/LiftrBase.SingleSignOnProperties", + "description": "Single Sign On properties for the organization" + } + } + }, + "LiftrBase.MarketplaceDetails": { + "type": "object", + "description": "Marketplace details for an organization", + "properties": { + "subscriptionId": { + "type": "string", + "description": "Azure subscription id for the the marketplace offer is purchased from" + }, + "subscriptionStatus": { + "$ref": "#/definitions/LiftrBase.MarketplaceSubscriptionStatus", + "description": "Marketplace subscription status" + }, + "offerDetails": { + "$ref": "#/definitions/LiftrBase.OfferDetails", + "description": "Offer details for the marketplace that is selected by the user" + } + }, + "required": [ + "offerDetails" + ] + }, + "LiftrBase.MarketplaceSubscriptionStatus": { + "type": "string", + "description": "Marketplace subscription status of a resource.", + "enum": [ + "PendingFulfillmentStart", + "Subscribed", + "Suspended", + "Unsubscribed" + ], + "x-ms-enum": { + "name": "MarketplaceSubscriptionStatus", + "modelAsString": true, + "values": [ + { + "name": "PendingFulfillmentStart", + "value": "PendingFulfillmentStart", + "description": "Purchased but not yet activated" + }, + { + "name": "Subscribed", + "value": "Subscribed", + "description": "Marketplace subscription is activated" + }, + { + "name": "Suspended", + "value": "Suspended", + "description": "This state indicates that a customer's payment for the Marketplace service was not received" + }, + { + "name": "Unsubscribed", + "value": "Unsubscribed", + "description": "Customer has cancelled the subscription" + } + ] + } + }, + "LiftrBase.OfferDetails": { + "type": "object", + "description": "Offer details for the marketplace that is selected by the user", + "properties": { + "publisherId": { + "type": "string", + "description": "Publisher Id for the marketplace offer" + }, + "offerId": { + "type": "string", + "description": "Offer Id for the marketplace offer" + }, + "planId": { + "type": "string", + "description": "Plan Id for the marketplace offer" + }, + "planName": { + "type": "string", + "description": "Plan Name for the marketplace offer" + }, + "termUnit": { + "type": "string", + "description": "Plan Display Name for the marketplace offer" + }, + "termId": { + "type": "string", + "description": "Plan Display Name for the marketplace offer" + }, + "renewalMode": { + "$ref": "#/definitions/LiftrBase.RenewalMode", + "description": "Subscription renewal mode" + }, + "endDate": { + "type": "string", + "format": "date-time", + "description": "Current subscription end date and time", + "readOnly": true + } + }, + "required": [ + "publisherId", + "offerId", + "planId" + ] + }, + "LiftrBase.RenewalMode": { + "type": "string", + "description": "Subscription renewal mode", + "enum": [ + "Auto", + "Manual" + ], + "x-ms-enum": { + "name": "RenewalMode", + "modelAsString": true, + "values": [ + { + "name": "Auto", + "value": "Auto", + "description": "Automatic renewal" + }, + { + "name": "Manual", + "value": "Manual", + "description": "Manual renewal" + } + ] + } + }, + "LiftrBase.SingleSignOnProperties": { + "type": "object", + "description": "Properties specific to Single Sign On Resource", + "properties": { + "singleSignOnState": { + "$ref": "#/definitions/LiftrBase.SingleSignOnStates", + "description": "State of the Single Sign On for the organization" + }, + "enterpriseAppId": { + "type": "string", + "description": "AAD enterprise application Id used to setup SSO" + }, + "singleSignOnUrl": { + "$ref": "#/definitions/LiftrBase.Uri", + "description": "URL for SSO to be used by the partner to redirect the user to their system" + }, + "aadDomains": { + "type": "array", + "description": "List of AAD domains fetched from Microsoft Graph for user.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/Azure.ResourceManager.ResourceProvisioningState", + "description": "Provisioning State of the resource", + "readOnly": true + } + } + }, + "LiftrBase.SingleSignOnStates": { + "type": "string", + "description": "Various states of the SSO resource", + "enum": [ + "Initial", + "Enable", + "Disable" + ], + "x-ms-enum": { + "name": "SingleSignOnStates", + "modelAsString": true, + "values": [ + { + "name": "Initial", + "value": "Initial", + "description": "Initial state of the SSO resource" + }, + { + "name": "Enable", + "value": "Enable", + "description": "State of the SSO resource when it is enabled" + }, + { + "name": "Disable", + "value": "Disable", + "description": "State of the SSO resource when it is disabled" + } + ] + } + }, + "LiftrBase.Uri": { + "type": "string", + "description": "A string that represents a URI." + }, + "LiftrBase.UserDetails": { + "type": "object", + "description": "User details for an organization", + "properties": { + "firstName": { + "type": "string", + "description": "First name of the user" + }, + "lastName": { + "type": "string", + "description": "Last name of the user" + }, + "emailAddress": { + "$ref": "#/definitions/LiftrBase.email", + "description": "Email address of the user" + }, + "upn": { + "type": "string", + "description": "User's principal name" + }, + "phoneNumber": { + "type": "string", + "description": "User's phone number" + } + }, + "required": [ + "firstName", + "lastName", + "emailAddress" + ] + }, + "LiftrBase.UserDetailsUpdate": { + "type": "object", + "description": "User details for an organization", + "properties": { + "firstName": { + "type": "string", + "description": "First name of the user" + }, + "lastName": { + "type": "string", + "description": "Last name of the user" + }, + "emailAddress": { + "$ref": "#/definitions/LiftrBase.email", + "description": "Email address of the user" + }, + "upn": { + "type": "string", + "description": "User's principal name" + }, + "phoneNumber": { + "type": "string", + "description": "User's phone number" + } + } + }, + "LiftrBase.email": { + "type": "string", + "description": "Reusable representation of an email address.", + "pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$" + }, + "OrganizationResource": { + "type": "object", + "description": "Organization Resource by Astronomer", + "properties": { + "properties": { + "$ref": "#/definitions/LiftrBase.Data.OrganizationProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "OrganizationResourceListResult": { + "type": "object", + "description": "The response of a OrganizationResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The OrganizationResource items on this page", + "items": { + "$ref": "#/definitions/OrganizationResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "OrganizationResourceUpdate": { + "type": "object", + "description": "The type used for update operations of the OrganizationResource.", + "properties": { + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/OrganizationResourceUpdateProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + } + }, + "OrganizationResourceUpdateProperties": { + "type": "object", + "description": "The updatable properties of the OrganizationResource.", + "properties": { + "user": { + "$ref": "#/definitions/LiftrBase.UserDetailsUpdate", + "description": "Details of the user." + }, + "partnerOrganizationProperties": { + "$ref": "#/definitions/LiftrBase.Data.PartnerOrganizationPropertiesUpdate", + "description": "Organization properties" + } + } + } + }, + "parameters": {} +} diff --git a/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Operations_List_MaximumSet_Gen.json b/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..9c63654be1e3 --- /dev/null +++ b/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List - generated by [MaximumSet] rule", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-08-27" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "hdagjmhxfewppfmsvhsrdilddtzxrz", + "isDataAction": true, + "display": { + "provider": "klqocuairzcrwxktqfguleptevh", + "resource": "uwlyaybmdmybhyemqwsjcgydg", + "operation": "up", + "description": "ryxgvqwei" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "vm" + } + } + } +} diff --git a/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Operations_List_MinimumSet_Gen.json b/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Operations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..2124d145eb89 --- /dev/null +++ b/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Operations_List_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "title": "Operations_List - generated by [MinimumSet] rule", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-08-27" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_CreateOrUpdate_MaximumSet_Gen.json b/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..f593b66948cc --- /dev/null +++ b/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,185 @@ +{ + "title": "Organizations_CreateOrUpdate - generated by [MaximumSet] rule", + "operationId": "Organizations_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-27", + "subscriptionId": "A4679760-5C37-44EA-A4B8-8A7628B13824", + "resourceGroupName": "rgastronomer", + "organizationName": "U.1-:7", + "resource": { + "properties": { + "marketplace": { + "subscriptionId": "emasc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "kt", + "offerId": "tvidibzbxevtvnrdp", + "planId": "lwcvzdqecwkeracahmixnh", + "planName": "d", + "termUnit": "rs", + "termId": "kopnnjsp", + "renewalMode": "Auto" + } + }, + "user": { + "firstName": "ucowvrccqpqpkdg", + "lastName": "fwwtnwggrtibghoijfzajrhgyo", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "zbdgbbqg", + "phoneNumber": "brnngpezmqecvflklbhsibq" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "juomtfzwkjwnhhpodfnrqdv", + "workspaceId": "nnryjcmiohmkbvhngfgxigpodvhl", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "srkwxktx", + "singleSignOnUrl": "l", + "aadDomains": [ + "fcnqoizqxcdclmy" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "location": "pgfkugslgnsxeqpjs" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "marketplace": { + "subscriptionId": "emasc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "kt", + "offerId": "tvidibzbxevtvnrdp", + "planId": "lwcvzdqecwkeracahmixnh", + "planName": "d", + "termUnit": "rs", + "termId": "kopnnjsp", + "renewalMode": "Auto", + "endDate": "2024-09-09T11:33:07.745Z" + } + }, + "user": { + "firstName": "ucowvrccqpqpkdg", + "lastName": "fwwtnwggrtibghoijfzajrhgyo", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "zbdgbbqg", + "phoneNumber": "brnngpezmqecvflklbhsibq" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "juomtfzwkjwnhhpodfnrqdv", + "workspaceId": "nnryjcmiohmkbvhngfgxigpodvhl", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "srkwxktx", + "singleSignOnUrl": "l", + "aadDomains": [ + "fcnqoizqxcdclmy" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "tenantId": "b5684bd7-7958-4c0e-9795-d686c31746d2" + }, + "tags": {}, + "location": "pgfkugslgnsxeqpjs", + "id": "ec", + "name": "dfucbeviqfavjryqbflzqttvupne", + "type": "dgccugdynztwzwshuuubefte", + "systemData": { + "createdBy": "daq", + "createdByType": "User", + "createdAt": "2024-08-27T06:02:43.048Z", + "lastModifiedBy": "bewqhprigkbiwlmkmxctd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-27T06:02:43.048Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "marketplace": { + "subscriptionId": "emasc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "kt", + "offerId": "tvidibzbxevtvnrdp", + "planId": "lwcvzdqecwkeracahmixnh", + "planName": "d", + "termUnit": "rs", + "termId": "kopnnjsp", + "renewalMode": "Auto", + "endDate": "2024-09-09T11:33:07.745Z" + } + }, + "user": { + "firstName": "ucowvrccqpqpkdg", + "lastName": "fwwtnwggrtibghoijfzajrhgyo", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "zbdgbbqg", + "phoneNumber": "brnngpezmqecvflklbhsibq" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "juomtfzwkjwnhhpodfnrqdv", + "workspaceId": "nnryjcmiohmkbvhngfgxigpodvhl", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "srkwxktx", + "singleSignOnUrl": "l", + "aadDomains": [ + "fcnqoizqxcdclmy" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "tenantId": "b5684bd7-7958-4c0e-9795-d686c31746d2" + }, + "tags": {}, + "location": "pgfkugslgnsxeqpjs", + "id": "ec", + "name": "dfucbeviqfavjryqbflzqttvupne", + "type": "dgccugdynztwzwshuuubefte", + "systemData": { + "createdBy": "daq", + "createdByType": "User", + "createdAt": "2024-08-27T06:02:43.048Z", + "lastModifiedBy": "bewqhprigkbiwlmkmxctd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-27T06:02:43.048Z" + } + } + } + } +} diff --git a/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_Delete_MaximumSet_Gen.json b/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..b7c44387f4a9 --- /dev/null +++ b/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_Delete_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "Organizations_Delete - generated by [MaximumSet] rule", + "operationId": "Organizations_Delete", + "parameters": { + "api-version": "2024-08-27", + "subscriptionId": "A4679760-5C37-44EA-A4B8-8A7628B13824", + "resourceGroupName": "rgastronomer", + "organizationName": "U.1-:7" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_Get_MaximumSet_Gen.json b/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..dbcd0c0fc110 --- /dev/null +++ b/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_Get_MaximumSet_Gen.json @@ -0,0 +1,74 @@ +{ + "title": "Organizations_Get - generated by [MaximumSet] rule", + "operationId": "Organizations_Get", + "parameters": { + "api-version": "2024-08-27", + "subscriptionId": "A4679760-5C37-44EA-A4B8-8A7628B13824", + "resourceGroupName": "rgastronomer", + "organizationName": "U.1-:7" + }, + "responses": { + "200": { + "body": { + "properties": { + "marketplace": { + "subscriptionId": "emasc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "kt", + "offerId": "tvidibzbxevtvnrdp", + "planId": "lwcvzdqecwkeracahmixnh", + "planName": "d", + "termUnit": "rs", + "termId": "kopnnjsp", + "renewalMode": "Auto", + "endDate": "2024-09-09T11:33:07.745Z" + } + }, + "user": { + "firstName": "ucowvrccqpqpkdg", + "lastName": "fwwtnwggrtibghoijfzajrhgyo", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "zbdgbbqg", + "phoneNumber": "brnngpezmqecvflklbhsibq" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "juomtfzwkjwnhhpodfnrqdv", + "workspaceId": "nnryjcmiohmkbvhngfgxigpodvhl", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "srkwxktx", + "singleSignOnUrl": "l", + "aadDomains": [ + "fcnqoizqxcdclmy" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "tenantId": "b5684bd7-7958-4c0e-9795-d686c31746d2" + }, + "tags": {}, + "location": "pgfkugslgnsxeqpjs", + "id": "ec", + "name": "dfucbeviqfavjryqbflzqttvupne", + "type": "dgccugdynztwzwshuuubefte", + "systemData": { + "createdBy": "daq", + "createdByType": "User", + "createdAt": "2024-08-27T06:02:43.048Z", + "lastModifiedBy": "bewqhprigkbiwlmkmxctd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-27T06:02:43.048Z" + } + } + } + } +} diff --git a/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_ListByResourceGroup_MaximumSet_Gen.json b/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..d5db227b8bda --- /dev/null +++ b/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,78 @@ +{ + "title": "Organizations_ListByResourceGroup - generated by [MaximumSet] rule", + "operationId": "Organizations_ListByResourceGroup", + "parameters": { + "api-version": "2024-08-27", + "subscriptionId": "A4679760-5C37-44EA-A4B8-8A7628B13824", + "resourceGroupName": "rgastronomer" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "marketplace": { + "subscriptionId": "emasc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "kt", + "offerId": "tvidibzbxevtvnrdp", + "planId": "lwcvzdqecwkeracahmixnh", + "planName": "d", + "termUnit": "rs", + "termId": "kopnnjsp", + "renewalMode": "Auto", + "endDate": "2024-09-09T11:33:07.743Z" + } + }, + "user": { + "firstName": "ucowvrccqpqpkdg", + "lastName": "fwwtnwggrtibghoijfzajrhgyo", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "zbdgbbqg", + "phoneNumber": "brnngpezmqecvflklbhsibq" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "juomtfzwkjwnhhpodfnrqdv", + "workspaceId": "nnryjcmiohmkbvhngfgxigpodvhl", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "srkwxktx", + "singleSignOnUrl": "l", + "aadDomains": [ + "fcnqoizqxcdclmy" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "principalId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "tenantId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "location": "pgfkugslgnsxeqpjs", + "id": "ec", + "name": "dfucbeviqfavjryqbflzqttvupne", + "type": "dgccugdynztwzwshuuubefte", + "systemData": { + "createdBy": "daq", + "createdByType": "User", + "createdAt": "2024-08-27T06:02:43.048Z", + "lastModifiedBy": "bewqhprigkbiwlmkmxctd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-27T06:02:43.048Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_ListByResourceGroup_MinimumSet_Gen.json b/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..a24a12e3de25 --- /dev/null +++ b/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "Organizations_ListByResourceGroup - generated by [MinimumSet] rule", + "operationId": "Organizations_ListByResourceGroup", + "parameters": { + "api-version": "2024-08-27", + "subscriptionId": "A4679760-5C37-44EA-A4B8-8A7628B13824", + "resourceGroupName": "rgastronomer" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "pgfkugslgnsxeqpjs", + "id": "bhslekyvgkfomahtvjiin" + } + ] + } + } + } +} diff --git a/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_ListBySubscription_MaximumSet_Gen.json b/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..3221367938c6 --- /dev/null +++ b/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,77 @@ +{ + "title": "Organizations_ListBySubscription - generated by [MaximumSet] rule", + "operationId": "Organizations_ListBySubscription", + "parameters": { + "api-version": "2024-08-27", + "subscriptionId": "A4679760-5C37-44EA-A4B8-8A7628B13824" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "marketplace": { + "subscriptionId": "emasc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "kt", + "offerId": "tvidibzbxevtvnrdp", + "planId": "lwcvzdqecwkeracahmixnh", + "planName": "d", + "termUnit": "rs", + "termId": "kopnnjsp", + "renewalMode": "Auto", + "endDate": "2024-09-09T11:33:07.743Z" + } + }, + "user": { + "firstName": "ucowvrccqpqpkdg", + "lastName": "fwwtnwggrtibghoijfzajrhgyo", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "zbdgbbqg", + "phoneNumber": "brnngpezmqecvflklbhsibq" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "juomtfzwkjwnhhpodfnrqdv", + "workspaceId": "nnryjcmiohmkbvhngfgxigpodvhl", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "srkwxktx", + "singleSignOnUrl": "l", + "aadDomains": [ + "fcnqoizqxcdclmy" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "principalId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "tenantId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "location": "pgfkugslgnsxeqpjs", + "id": "ec", + "name": "dfucbeviqfavjryqbflzqttvupne", + "type": "dgccugdynztwzwshuuubefte", + "systemData": { + "createdBy": "daq", + "createdByType": "User", + "createdAt": "2024-08-27T06:02:43.048Z", + "lastModifiedBy": "bewqhprigkbiwlmkmxctd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-27T06:02:43.048Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_ListBySubscription_MinimumSet_Gen.json b/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..a7271c29873a --- /dev/null +++ b/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "Organizations_ListBySubscription - generated by [MinimumSet] rule", + "operationId": "Organizations_ListBySubscription", + "parameters": { + "api-version": "2024-08-27", + "subscriptionId": "A4679760-5C37-44EA-A4B8-8A7628B13824" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "pgfkugslgnsxeqpjs", + "id": "bhslekyvgkfomahtvjiin" + } + ] + } + } + } +} diff --git a/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_Update_MaximumSet_Gen.json b/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..2444ba26245b --- /dev/null +++ b/specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2024-08-27/examples/Organizations_Update_MaximumSet_Gen.json @@ -0,0 +1,110 @@ +{ + "title": "Organizations_Update - generated by [MaximumSet] rule", + "operationId": "Organizations_Update", + "parameters": { + "api-version": "2024-08-27", + "subscriptionId": "A4679760-5C37-44EA-A4B8-8A7628B13824", + "resourceGroupName": "rgastronomer", + "organizationName": "U.1-:7", + "properties": { + "identity": { + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "properties": { + "user": { + "firstName": "e", + "lastName": "puain", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "beyxdwtwshcujyjtowjdvgytygpp", + "phoneNumber": "hepjqujjthtlxeoiltnchwqi" + }, + "partnerOrganizationProperties": { + "organizationId": "fbjg", + "workspaceId": "ywwywdafdtvnntfevhnwszi", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "srkwxktx", + "singleSignOnUrl": "l", + "aadDomains": [ + "fcnqoizqxcdclmy" + ], + "provisioningState": "Succeeded" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "marketplace": { + "subscriptionId": "emasc", + "subscriptionStatus": "PendingFulfillmentStart", + "offerDetails": { + "publisherId": "kt", + "offerId": "tvidibzbxevtvnrdp", + "planId": "lwcvzdqecwkeracahmixnh", + "planName": "d", + "termUnit": "rs", + "termId": "kopnnjsp", + "renewalMode": "Auto", + "endDate": "2024-09-09T11:33:07.745Z" + } + }, + "user": { + "firstName": "e", + "lastName": "puain", + "emailAddress": ".K_@e7N-g1.xjqnbPs", + "upn": "beyxdwtwshcujyjtowjdvgytygpp", + "phoneNumber": "hepjqujjthtlxeoiltnchwqi" + }, + "provisioningState": "Succeeded", + "partnerOrganizationProperties": { + "organizationId": "fbjg", + "workspaceId": "ywwywdafdtvnntfevhnwszi", + "organizationName": "U.1-:7", + "workspaceName": "9.:06", + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "srkwxktx", + "singleSignOnUrl": "l", + "aadDomains": [ + "fcnqoizqxcdclmy" + ], + "provisioningState": "Succeeded" + } + } + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "b5684bd7-7958-4c0e-9795-d686c31746d2", + "tenantId": "b5684bd7-7958-4c0e-9795-d686c31746d2" + }, + "tags": {}, + "location": "pgfkugslgnsxeqpjs", + "id": "ec", + "name": "dfucbeviqfavjryqbflzqttvupne", + "type": "dgccugdynztwzwshuuubefte", + "systemData": { + "createdBy": "daq", + "createdByType": "User", + "createdAt": "2024-08-27T06:02:43.048Z", + "lastModifiedBy": "bewqhprigkbiwlmkmxctd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-27T06:02:43.048Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/liftrastronomer/resource-manager/readme.md b/specification/liftrastronomer/resource-manager/readme.md index 25ea4fc324fa..91dd0f17269c 100644 --- a/specification/liftrastronomer/resource-manager/readme.md +++ b/specification/liftrastronomer/resource-manager/readme.md @@ -27,7 +27,7 @@ These are the global settings for the astronomer service. ```yaml openapi-type: arm openapi-subtype: rpaas -tag: package-2023-08-01 +tag: package-2024-08-27 ``` ``` yaml @@ -35,6 +35,24 @@ modelerfour: flatten-models: false ``` +### Tag: package-2024-08-27-preview + +These settings apply only when `--tag=package-2024-08-27-preview` is specified on the command line. + +```yaml $(tag) == 'package-2024-08-27-preview' +input-file: + - Astronomer.Astro/preview/2024-08-27-preview/astronomer.json +``` + +### Tag: package-2024-08-27 + +These settings apply only when `--tag=package-2024-08-27` is specified on the command line. + +```yaml $(tag) == 'package-2024-08-27' +input-file: + - Astronomer.Astro/stable/2024-08-27/astronomer.json +``` + ### Tag: package-2023-08-01-preview These settings apply only when `--tag=package-2023-08-01-preview` is specified on the command line.