diff --git a/Commands/napster/companion-api/_activate-saas.md b/Commands/napster/companion-api/_activate-saas.md new file mode 100644 index 000000000..3cfd015b6 --- /dev/null +++ b/Commands/napster/companion-api/_activate-saas.md @@ -0,0 +1,21 @@ +# [Command] _napster companion-api activate-saas_ + +Resolve the token to get the SaaS resource ID and activate the SaaS resource + +## Versions + +### [2025-12-24-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL2FjdGl2YXRlc2Fhcw==/2025-12-24-preview.xml) **Stable** + + + +#### examples + +- SaaSOperationGroup_ActivateResource_MaximumSet - generated by [MaximumSet] rule + ```bash + napster companion-api activate-saas --saas-guid 09fffd7d-d000-4467-cc23-d82b97e9431d --publisher-id touchcastinc1655995956899 + ``` + +- SaaSOperationGroup_ActivateResource_MinimumSet - generated by [MinimumSet] rule + ```bash + napster companion-api activate-saas --saas-guid 09fffd7d-d000-4467-cc23-d82b97e9431d --publisher-id touchcastinc1655995956899 + ``` diff --git a/Commands/napster/companion-api/organization/_create.md b/Commands/napster/companion-api/organization/_create.md new file mode 100644 index 000000000..852273a97 --- /dev/null +++ b/Commands/napster/companion-api/organization/_create.md @@ -0,0 +1,16 @@ +# [Command] _napster companion-api organization create_ + +Create a OrganizationResource + +## Versions + +### [2025-12-24-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnMve30=/2025-12-24-preview.xml) **Stable** + + + +#### examples + +- Organizations_CreateOrUpdate_MaximumSet - generated by [MaximumSet] rule + ```bash + napster companion-api organization create --resource-group test-rg --organizationname napster-test-saml --marketplace "{subscription-id:00000000-0000-0000-0000-000000000000,offer-details:{publisher-id:touchcastinc1655995956899,offer-id:napster_companion_api,plan-id:napster_companion_api_feb_2026,plan-name:'Pay As You Go',term-unit:P1M,term-id:n7ja87drquhy},saas-resource-id:/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.SaaS/resources/test-saas-resource}" --user "{first-name:Test,last-name:User,email-address:test@example.com,upn:test@example.com,phone-number:+1-425-555-1234}" --partner-properties "{application:dsaf}" --single-sign-on-properties "{type:Saml,state:Initial,enterprise-app-id:b2c3d4e5-f6a7-4b5c-8d9e-0f1a2b3c4d5e,url:'https://companion-api.napsterai.dev/admin/ms-auth',aad-domains:[example.onmicrosoft.com]}" --type None --user-assigned-identities "{}" --tags "{}" --location eastus2euap + ``` diff --git a/Commands/napster/companion-api/organization/_delete.md b/Commands/napster/companion-api/organization/_delete.md new file mode 100644 index 000000000..334fc434e --- /dev/null +++ b/Commands/napster/companion-api/organization/_delete.md @@ -0,0 +1,16 @@ +# [Command] _napster companion-api organization delete_ + +Delete a OrganizationResource + +## Versions + +### [2025-12-24-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnMve30=/2025-12-24-preview.xml) **Stable** + + + +#### examples + +- Organizations_Delete_MaximumSet - generated by [MaximumSet] rule + ```bash + napster companion-api organization delete --resource-group acctest0001 --organizationname napster-test-saml + ``` diff --git a/Commands/napster/companion-api/organization/_latest-linked-saas.md b/Commands/napster/companion-api/organization/_latest-linked-saas.md new file mode 100644 index 000000000..577a4cdb2 --- /dev/null +++ b/Commands/napster/companion-api/organization/_latest-linked-saas.md @@ -0,0 +1,16 @@ +# [Command] _napster companion-api organization latest-linked-saas_ + +Returns the latest SaaS linked to the Napster organization of the underlying monitor. + +## Versions + +### [2025-12-24-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnMve30vbGF0ZXN0bGlua2Vkc2Fhcw==/2025-12-24-preview.xml) **Stable** + + + +#### examples + +- Organizations_LatestLinkedSaaS_MaximumSet - generated by [MaximumSet] rule + ```bash + napster companion-api organization latest-linked-saas --resource-group acctest0001 --organizationname napster-test-saml + ``` diff --git a/Commands/napster/companion-api/organization/_link-saas.md b/Commands/napster/companion-api/organization/_link-saas.md new file mode 100644 index 000000000..fe468c633 --- /dev/null +++ b/Commands/napster/companion-api/organization/_link-saas.md @@ -0,0 +1,16 @@ +# [Command] _napster companion-api organization link-saas_ + +Links a new SaaS to the Napster organization of the underlying monitor. + +## Versions + +### [2025-12-24-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnMve30vbGlua3NhYXM=/2025-12-24-preview.xml) **Stable** + + + +#### examples + +- Organizations_LinkSaaS_MaximumSet - generated by [MaximumSet] rule + ```bash + napster companion-api organization link-saas --resource-group test-rg --organizationname napster-test-saml --saa-s-resource-id /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.SaaS/resources/test-saas-resource + ``` diff --git a/Commands/napster/companion-api/organization/_list.md b/Commands/napster/companion-api/organization/_list.md new file mode 100644 index 000000000..8adf56f10 --- /dev/null +++ b/Commands/napster/companion-api/organization/_list.md @@ -0,0 +1,32 @@ +# [Command] _napster companion-api organization list_ + +List OrganizationResource resources by subscription ID + +## Versions + +### [2025-12-24-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnM=/2025-12-24-preview.xml) **Stable** + + + + +#### examples + +- Organizations_ListBySubscription_MaximumSet - generated by [MaximumSet] rule + ```bash + napster companion-api organization list + ``` + +- Organizations_ListBySubscription_MinimumSet - generated by [MinimumSet] rule + ```bash + napster companion-api organization list + ``` + +- Organizations_ListByResourceGroup_MaximumSet - generated by [MaximumSet] rule + ```bash + napster companion-api organization list --resource-group acctest0001 + ``` + +- Organizations_ListByResourceGroup_MinimumSet - generated by [MinimumSet] rule + ```bash + napster companion-api organization list --resource-group acctest0001 + ``` diff --git a/Commands/napster/companion-api/organization/_show.md b/Commands/napster/companion-api/organization/_show.md new file mode 100644 index 000000000..f7e79a36a --- /dev/null +++ b/Commands/napster/companion-api/organization/_show.md @@ -0,0 +1,16 @@ +# [Command] _napster companion-api organization show_ + +Get a OrganizationResource + +## Versions + +### [2025-12-24-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnMve30=/2025-12-24-preview.xml) **Stable** + + + +#### examples + +- Organizations_Get_MaximumSet - generated by [MaximumSet] rule + ```bash + napster companion-api organization show --resource-group acctest0001 --organizationname napster-test-saml + ``` diff --git a/Commands/napster/companion-api/organization/_update.md b/Commands/napster/companion-api/organization/_update.md new file mode 100644 index 000000000..a01f27655 --- /dev/null +++ b/Commands/napster/companion-api/organization/_update.md @@ -0,0 +1,16 @@ +# [Command] _napster companion-api organization update_ + +Update a OrganizationResource + +## Versions + +### [2025-12-24-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnMve30=/2025-12-24-preview.xml) **Stable** + + + +#### examples + +- Organizations_CreateOrUpdate_MaximumSet - generated by [MaximumSet] rule + ```bash + napster companion-api organization update --resource-group acctest0001 --organizationname napster-test-saml + ``` diff --git a/Commands/napster/companion-api/organization/identity/_assign.md b/Commands/napster/companion-api/organization/identity/_assign.md new file mode 100644 index 000000000..4631da1ef --- /dev/null +++ b/Commands/napster/companion-api/organization/identity/_assign.md @@ -0,0 +1,9 @@ +# [Command] _napster companion-api organization identity assign_ + +Assign the user or system managed identities. + +## Versions + +### [2025-12-24-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnMve30=/2025-12-24-preview.xml) **Stable** + + diff --git a/Commands/napster/companion-api/organization/identity/_remove.md b/Commands/napster/companion-api/organization/identity/_remove.md new file mode 100644 index 000000000..9b5257fe0 --- /dev/null +++ b/Commands/napster/companion-api/organization/identity/_remove.md @@ -0,0 +1,9 @@ +# [Command] _napster companion-api organization identity remove_ + +Remove the user or system managed identities. + +## Versions + +### [2025-12-24-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnMve30=/2025-12-24-preview.xml) **Stable** + + diff --git a/Commands/napster/companion-api/organization/identity/_show.md b/Commands/napster/companion-api/organization/identity/_show.md new file mode 100644 index 000000000..affbc4871 --- /dev/null +++ b/Commands/napster/companion-api/organization/identity/_show.md @@ -0,0 +1,9 @@ +# [Command] _napster companion-api organization identity show_ + +Show the details of managed identities. + +## Versions + +### [2025-12-24-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnMve30=/2025-12-24-preview.xml) **Stable** + + diff --git a/Commands/napster/companion-api/organization/identity/readme.md b/Commands/napster/companion-api/organization/identity/readme.md new file mode 100644 index 000000000..e1a4ca88a --- /dev/null +++ b/Commands/napster/companion-api/organization/identity/readme.md @@ -0,0 +1,14 @@ +# [Group] _napster companion-api organization identity_ + +Manage Identity + +## Commands + +- [assign](/Commands/napster/companion-api/organization/identity/_assign.md) +: Assign the user or system managed identities. + +- [remove](/Commands/napster/companion-api/organization/identity/_remove.md) +: Remove the user or system managed identities. + +- [show](/Commands/napster/companion-api/organization/identity/_show.md) +: Show the details of managed identities. diff --git a/Commands/napster/companion-api/organization/readme.md b/Commands/napster/companion-api/organization/readme.md new file mode 100644 index 000000000..04032c86f --- /dev/null +++ b/Commands/napster/companion-api/organization/readme.md @@ -0,0 +1,31 @@ +# [Group] _napster companion-api organization_ + +Manage Organization + +## Subgroups + +- [identity](/Commands/napster/companion-api/organization/identity/readme.md) +: Manage Identity + +## Commands + +- [create](/Commands/napster/companion-api/organization/_create.md) +: Create a OrganizationResource + +- [delete](/Commands/napster/companion-api/organization/_delete.md) +: Delete a OrganizationResource + +- [latest-linked-saas](/Commands/napster/companion-api/organization/_latest-linked-saas.md) +: Returns the latest SaaS linked to the Napster organization of the underlying monitor. + +- [link-saas](/Commands/napster/companion-api/organization/_link-saas.md) +: Links a new SaaS to the Napster organization of the underlying monitor. + +- [list](/Commands/napster/companion-api/organization/_list.md) +: List OrganizationResource resources by subscription ID + +- [show](/Commands/napster/companion-api/organization/_show.md) +: Get a OrganizationResource + +- [update](/Commands/napster/companion-api/organization/_update.md) +: Update a OrganizationResource diff --git a/Commands/napster/companion-api/readme.md b/Commands/napster/companion-api/readme.md new file mode 100644 index 000000000..30cf4f639 --- /dev/null +++ b/Commands/napster/companion-api/readme.md @@ -0,0 +1,13 @@ +# [Group] _napster companion-api_ + +Manage Companion Api + +## Subgroups + +- [organization](/Commands/napster/companion-api/organization/readme.md) +: Manage Organization + +## Commands + +- [activate-saas](/Commands/napster/companion-api/_activate-saas.md) +: Resolve the token to get the SaaS resource ID and activate the SaaS resource diff --git a/Commands/napster/readme.md b/Commands/napster/readme.md new file mode 100644 index 000000000..86cf28930 --- /dev/null +++ b/Commands/napster/readme.md @@ -0,0 +1,8 @@ +# [Group] _napster_ + +Manage Napster + +## Subgroups + +- [companion-api](/Commands/napster/companion-api/readme.md) +: Manage Companion Api diff --git a/Commands/readme.md b/Commands/readme.md index b65bc1241..5e4480a8a 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -245,6 +245,9 @@ - [monitor](/Commands/monitor/readme.md) : Manage the Azure Monitor Service. +- [napster](/Commands/napster/readme.md) +: Manage Napster + - [neon](/Commands/neon/readme.md) : Manage Neon Postgres databases and related resources within Azure. diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnM=/2025-12-24-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnM=/2025-12-24-preview.json new file mode 100644 index 000000000..8c4c29036 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnM=/2025-12-24-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/napster.companionapi/organizations", "version": "2025-12-24-preview", "swagger": "mgmt-plane/napster/ResourceProviders/Napster.CompanionAPI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmFwc3Rlci5Db21wYW5pb25BUEkvb3JnYW5pemF0aW9ucw==/V/MjAyNS0xMi0yNC1wcmV2aWV3"}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/napster.companionapi/organizations", "version": "2025-12-24-preview", "swagger": "mgmt-plane/napster/ResourceProviders/Napster.CompanionAPI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OYXBzdGVyLkNvbXBhbmlvbkFQSS9vcmdhbml6YXRpb25z/V/MjAyNS0xMi0yNC1wcmV2aWV3"}], "commandGroups": [{"name": "napster companion-api organization", "commands": [{"name": "list", "version": "2025-12-24-preview", "resources": [{"id": "/subscriptions/{}/providers/napster.companionapi/organizations", "version": "2025-12-24-preview", "swagger": "mgmt-plane/napster/ResourceProviders/Napster.CompanionAPI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmFwc3Rlci5Db21wYW5pb25BUEkvb3JnYW5pemF0aW9ucw==/V/MjAyNS0xMi0yNC1wcmV2aWV3"}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/napster.companionapi/organizations", "version": "2025-12-24-preview", "swagger": "mgmt-plane/napster/ResourceProviders/Napster.CompanionAPI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OYXBzdGVyLkNvbXBhbmlvbkFQSS9vcmdhbml6YXRpb25z/V/MjAyNS0xMi0yNC1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_Organizations_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}, {"var": "$Condition_Organizations_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}], "operations": [{"when": ["$Condition_Organizations_ListBySubscription"], "operationId": "Organizations_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Napster.CompanionAPI/organizations", "request": {"method": "get", "path": {"params": [{"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-12-24-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Napster.CompanionAPI/organizations/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "marketplace", "required": true, "props": [{"type": "object", "name": "offerDetails", "required": true, "props": [{"type": "string", "name": "offerId", "required": true}, {"type": "string", "name": "planId"}, {"type": "string", "name": "planName"}, {"type": "string", "name": "publisherId", "required": true}, {"type": "string", "name": "termId"}, {"type": "string", "name": "termUnit"}]}, {"type": "string", "name": "saasResourceId"}, {"type": "string", "name": "subscriptionId"}, {"readOnly": true, "type": "string", "name": "subscriptionStatus", "enum": {"items": [{"value": "PendingFulfillmentStart"}, {"value": "Subscribed"}, {"value": "Suspended"}, {"value": "Unsubscribed"}]}}]}, {"type": "object", "name": "partnerProperties", "required": true, "props": [{"type": "string", "name": "application", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 40, "minLength": 2}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "singleSignOnProperties", "props": [{"type": "array", "name": "aadDomains", "item": {"type": "string"}}, {"type": "string", "name": "enterpriseAppId"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Initial"}]}}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "OpenId"}, {"value": "Saml"}]}}, {"type": "string", "name": "url"}]}, {"type": "object", "name": "user", "required": true, "props": [{"type": "string", "name": "emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName"}, {"type": "string", "name": "lastName"}, {"type": "string", "name": "phoneNumber"}, {"type": "string", "name": "upn"}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"when": ["$Condition_Organizations_ListByResourceGroup"], "operationId": "Organizations_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Napster.CompanionAPI/organizations", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-12-24-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Napster.CompanionAPI/organizations/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "marketplace", "required": true, "props": [{"type": "object", "name": "offerDetails", "required": true, "props": [{"type": "string", "name": "offerId", "required": true}, {"type": "string", "name": "planId"}, {"type": "string", "name": "planName"}, {"type": "string", "name": "publisherId", "required": true}, {"type": "string", "name": "termId"}, {"type": "string", "name": "termUnit"}]}, {"type": "string", "name": "saasResourceId"}, {"type": "string", "name": "subscriptionId"}, {"readOnly": true, "type": "string", "name": "subscriptionStatus", "enum": {"items": [{"value": "PendingFulfillmentStart"}, {"value": "Subscribed"}, {"value": "Suspended"}, {"value": "Unsubscribed"}]}}]}, {"type": "object", "name": "partnerProperties", "required": true, "props": [{"type": "string", "name": "application", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 40, "minLength": 2}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "singleSignOnProperties", "props": [{"type": "array", "name": "aadDomains", "item": {"type": "string"}}, {"type": "string", "name": "enterpriseAppId"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Initial"}]}}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "OpenId"}, {"value": "Saml"}]}}, {"type": "string", "name": "url"}]}, {"type": "object", "name": "user", "required": true, "props": [{"type": "string", "name": "emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName"}, {"type": "string", "name": "lastName"}, {"type": "string", "name": "phoneNumber"}, {"type": "string", "name": "upn"}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnM=/2025-12-24-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnM=/2025-12-24-preview.xml new file mode 100644 index 000000000..a61708548 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnM=/2025-12-24-preview.xml @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL2FjdGl2YXRlc2Fhcw==/2025-12-24-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL2FjdGl2YXRlc2Fhcw==/2025-12-24-preview.json new file mode 100644 index 000000000..1a52238c7 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL2FjdGl2YXRlc2Fhcw==/2025-12-24-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/napster.companionapi/activatesaas", "version": "2025-12-24-preview", "swagger": "mgmt-plane/napster/ResourceProviders/Napster.CompanionAPI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmFwc3Rlci5Db21wYW5pb25BUEkvYWN0aXZhdGVTYWFT/V/MjAyNS0xMi0yNC1wcmV2aWV3"}], "commandGroups": [{"name": "napster companion-api", "commands": [{"name": "activate-saas", "version": "2025-12-24-preview", "resources": [{"id": "/subscriptions/{}/providers/napster.companionapi/activatesaas", "version": "2025-12-24-preview", "swagger": "mgmt-plane/napster/ResourceProviders/Napster.CompanionAPI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmFwc3Rlci5Db21wYW5pb25BUEkvYWN0aXZhdGVTYWFT/V/MjAyNS0xMi0yNC1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Body", "args": [{"type": "string", "var": "$body.publisherId", "options": ["publisher-id"], "group": "Body", "help": {"short": "Publisher Id for Napster resource"}}, {"type": "string", "var": "$body.saasGuid", "options": ["saas-guid"], "required": true, "group": "Body", "help": {"short": "SaaS guid for Activate and Validate SaaS Resource"}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "SaaSOperationGroup_ActivateResource", "http": {"path": "/subscriptions/{subscriptionId}/providers/Napster.CompanionAPI/activateSaaS", "request": {"method": "post", "path": {"params": [{"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-12-24-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "body", "required": true, "props": [{"type": "string", "name": "publisherId", "arg": "$body.publisherId"}, {"type": "string", "name": "saasGuid", "arg": "$body.saasGuid", "required": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "string", "name": "saasId"}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL2FjdGl2YXRlc2Fhcw==/2025-12-24-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL2FjdGl2YXRlc2Fhcw==/2025-12-24-preview.xml new file mode 100644 index 000000000..80640ad14 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL2FjdGl2YXRlc2Fhcw==/2025-12-24-preview.xml @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+ +
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnM=/2025-12-24-preview.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnM=/2025-12-24-preview.md new file mode 100644 index 000000000..b0ceb5c14 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnM=/2025-12-24-preview.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/napster.companionapi/organizations 2025-12-24-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnM=/2025-12-24-preview.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnMve30=/2025-12-24-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnMve30=/2025-12-24-preview.json new file mode 100644 index 000000000..e06b5e908 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnMve30=/2025-12-24-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/napster.companionapi/organizations/{}", "version": "2025-12-24-preview", "swagger": "mgmt-plane/napster/ResourceProviders/Napster.CompanionAPI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OYXBzdGVyLkNvbXBhbmlvbkFQSS9vcmdhbml6YXRpb25zL3tvcmdhbml6YXRpb25uYW1lfQ==/V/MjAyNS0xMi0yNC1wcmV2aWV3"}], "commandGroups": [{"name": "napster companion-api organization", "commands": [{"name": "show", "version": "2025-12-24-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/napster.companionapi/organizations/{}", "version": "2025-12-24-preview", "swagger": "mgmt-plane/napster/ResourceProviders/Napster.CompanionAPI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OYXBzdGVyLkNvbXBhbmlvbkFQSS9vcmdhbml6YXRpb25zL3tvcmdhbml6YXRpb25uYW1lfQ==/V/MjAyNS0xMi0yNC1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.organizationname", "options": ["n", "name", "organizationname"], "required": true, "idPart": "name", "help": {"short": "Name of the Organization resource"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Organizations_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Napster.CompanionAPI/organizations/{organizationname}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "organizationname", "arg": "$Path.organizationname", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-12-24-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Napster.CompanionAPI/organizations/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "marketplace", "required": true, "props": [{"type": "object", "name": "offerDetails", "required": true, "props": [{"type": "string", "name": "offerId", "required": true}, {"type": "string", "name": "planId"}, {"type": "string", "name": "planName"}, {"type": "string", "name": "publisherId", "required": true}, {"type": "string", "name": "termId"}, {"type": "string", "name": "termUnit"}]}, {"type": "string", "name": "saasResourceId"}, {"type": "string", "name": "subscriptionId"}, {"readOnly": true, "type": "string", "name": "subscriptionStatus", "enum": {"items": [{"value": "PendingFulfillmentStart"}, {"value": "Subscribed"}, {"value": "Suspended"}, {"value": "Unsubscribed"}]}}]}, {"type": "object", "name": "partnerProperties", "required": true, "props": [{"type": "string", "name": "application", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 40, "minLength": 2}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "singleSignOnProperties", "props": [{"type": "array", "name": "aadDomains", "item": {"type": "string"}}, {"type": "string", "name": "enterpriseAppId"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Initial"}]}}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "OpenId"}, {"value": "Saml"}]}}, {"type": "string", "name": "url"}]}, {"type": "object", "name": "user", "required": true, "props": [{"type": "string", "name": "emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName"}, {"type": "string", "name": "lastName"}, {"type": "string", "name": "phoneNumber"}, {"type": "string", "name": "upn"}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2025-12-24-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/napster.companionapi/organizations/{}", "version": "2025-12-24-preview", "swagger": "mgmt-plane/napster/ResourceProviders/Napster.CompanionAPI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OYXBzdGVyLkNvbXBhbmlvbkFQSS9vcmdhbml6YXRpb25zL3tvcmdhbml6YXRpb25uYW1lfQ==/V/MjAyNS0xMi0yNC1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.organizationname", "options": ["n", "name", "organizationname"], "required": true, "idPart": "name", "help": {"short": "Name of the Organization resource"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Organizations_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Napster.CompanionAPI/organizations/{organizationname}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "organizationname", "arg": "$Path.organizationname", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-12-24-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2025-12-24-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/napster.companionapi/organizations/{}", "version": "2025-12-24-preview", "swagger": "mgmt-plane/napster/ResourceProviders/Napster.CompanionAPI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OYXBzdGVyLkNvbXBhbmlvbkFQSS9vcmdhbml6YXRpb25zL3tvcmdhbml6YXRpb25uYW1lfQ==/V/MjAyNS0xMi0yNC1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.organizationname", "options": ["n", "name", "organizationname"], "required": true, "idPart": "name", "help": {"short": "Name of the Organization resource"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$resource.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "Identity", "help": {"short": "Set the system managed identity."}}, {"type": "string", "var": "$resource.identity.type", "options": ["type"], "hide": true, "group": "Identity", "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"blank": {"value": []}, "type": "array", "var": "$resource.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "Identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}, {"type": "object", "var": "$resource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "hide": true, "group": "Identity", "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$resource.properties.marketplace", "options": ["marketplace"], "group": "Properties", "help": {"short": "Marketplace details of the resource."}, "args": [{"type": "object", "var": "$resource.properties.marketplace.offerDetails", "options": ["offer-details"], "required": true, "help": {"short": "Offer details for the marketplace that is selected by the user"}, "args": [{"type": "string", "var": "$resource.properties.marketplace.offerDetails.offerId", "options": ["offer-id"], "required": true, "help": {"short": "Offer Id for the marketplace offer"}}, {"type": "string", "var": "$resource.properties.marketplace.offerDetails.planId", "options": ["plan-id"], "help": {"short": "Plan Id for the marketplace offer"}}, {"type": "string", "var": "$resource.properties.marketplace.offerDetails.planName", "options": ["plan-name"], "help": {"short": "Plan Name for the marketplace offer"}}, {"type": "string", "var": "$resource.properties.marketplace.offerDetails.publisherId", "options": ["publisher-id"], "required": true, "help": {"short": "Publisher Id for the marketplace offer"}}, {"type": "string", "var": "$resource.properties.marketplace.offerDetails.termId", "options": ["term-id"], "help": {"short": "Plan Display Name for the marketplace offer"}}, {"type": "string", "var": "$resource.properties.marketplace.offerDetails.termUnit", "options": ["term-unit"], "help": {"short": "Plan Display Name for the marketplace offer"}}]}, {"type": "string", "var": "$resource.properties.marketplace.saasResourceId", "options": ["saas-resource-id"], "help": {"short": "Marketplace SaaS Resource Id"}}, {"type": "string", "var": "$resource.properties.marketplace.subscriptionId", "options": ["subscription-id"], "help": {"short": "Azure subscription id for the the marketplace offer is purchased from"}}]}, {"type": "object", "var": "$resource.properties.partnerProperties", "options": ["partner-properties"], "group": "Properties", "help": {"short": "partner properties"}, "args": [{"type": "string", "var": "$resource.properties.partnerProperties.application", "options": ["application"], "required": true, "help": {"short": "Application name"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 40, "minLength": 2}}]}, {"type": "object", "var": "$resource.properties.singleSignOnProperties", "options": ["sso", "single-sign-on-properties"], "group": "Properties", "help": {"short": "Single sign-on properties"}, "args": [{"type": "array", "var": "$resource.properties.singleSignOnProperties.aadDomains", "options": ["aad-domains"], "help": {"short": "List of AAD domains fetched from Microsoft Graph for user."}, "item": {"type": "string"}}, {"type": "string", "var": "$resource.properties.singleSignOnProperties.enterpriseAppId", "options": ["enterprise-app-id"], "help": {"short": "AAD enterprise application Id used to setup SSO"}}, {"type": "string", "var": "$resource.properties.singleSignOnProperties.state", "options": ["state"], "help": {"short": "State of the Single Sign On for the resource"}, "enum": {"items": [{"name": "Disable", "value": "Disable"}, {"name": "Enable", "value": "Enable"}, {"name": "Initial", "value": "Initial"}]}}, {"type": "string", "var": "$resource.properties.singleSignOnProperties.type", "options": ["type"], "required": true, "help": {"short": "Type of Single Sign-On mechanism being used"}, "enum": {"items": [{"name": "OpenId", "value": "OpenId"}, {"name": "Saml", "value": "Saml"}]}}, {"type": "string", "var": "$resource.properties.singleSignOnProperties.url", "options": ["url"], "help": {"short": "URL for SSO to be used by the partner to redirect the user to their system"}}]}, {"type": "object", "var": "$resource.properties.user", "options": ["user"], "group": "Properties", "help": {"short": "Details of the user."}, "args": [{"type": "string", "var": "$resource.properties.user.emailAddress", "options": ["email-address"], "help": {"short": "Email address of the user"}, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "var": "$resource.properties.user.firstName", "options": ["first-name"], "help": {"short": "First name of the user"}}, {"type": "string", "var": "$resource.properties.user.lastName", "options": ["last-name"], "help": {"short": "Last name of the user"}}, {"type": "string", "var": "$resource.properties.user.phoneNumber", "options": ["phone-number"], "help": {"short": "User's phone number"}}, {"type": "string", "var": "$resource.properties.user.upn", "options": ["upn"], "help": {"short": "User's principal name"}}]}]}, {"name": "Resource", "args": [{"type": "ResourceLocation", "var": "$resource.location", "options": ["l", "location"], "required": true, "group": "Resource", "help": {"short": "The geo-location where the resource lives"}}, {"type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Organizations_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Napster.CompanionAPI/organizations/{organizationname}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "organizationname", "arg": "$Path.organizationname", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-12-24-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$resource.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$resource.identity.userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object"}}}], "userAssigned": {"action": "create", "type": "array", "name": "userAssigned", "arg": "$resource.identity.userAssigned", "item": {"action": "create", "type": "string"}}, "systemAssigned": {"action": "create", "type": "string", "name": "systemAssigned", "arg": "$resource.identity.systemAssigned"}}, {"type": "ResourceLocation", "name": "location", "arg": "$resource.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "marketplace", "arg": "$resource.properties.marketplace", "required": true, "props": [{"type": "object", "name": "offerDetails", "arg": "$resource.properties.marketplace.offerDetails", "required": true, "props": [{"type": "string", "name": "offerId", "arg": "$resource.properties.marketplace.offerDetails.offerId", "required": true}, {"type": "string", "name": "planId", "arg": "$resource.properties.marketplace.offerDetails.planId"}, {"type": "string", "name": "planName", "arg": "$resource.properties.marketplace.offerDetails.planName"}, {"type": "string", "name": "publisherId", "arg": "$resource.properties.marketplace.offerDetails.publisherId", "required": true}, {"type": "string", "name": "termId", "arg": "$resource.properties.marketplace.offerDetails.termId"}, {"type": "string", "name": "termUnit", "arg": "$resource.properties.marketplace.offerDetails.termUnit"}]}, {"type": "string", "name": "saasResourceId", "arg": "$resource.properties.marketplace.saasResourceId"}, {"type": "string", "name": "subscriptionId", "arg": "$resource.properties.marketplace.subscriptionId"}]}, {"type": "object", "name": "partnerProperties", "arg": "$resource.properties.partnerProperties", "required": true, "props": [{"type": "string", "name": "application", "arg": "$resource.properties.partnerProperties.application", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 40, "minLength": 2}}]}, {"type": "object", "name": "singleSignOnProperties", "arg": "$resource.properties.singleSignOnProperties", "props": [{"type": "array", "name": "aadDomains", "arg": "$resource.properties.singleSignOnProperties.aadDomains", "item": {"type": "string"}}, {"type": "string", "name": "enterpriseAppId", "arg": "$resource.properties.singleSignOnProperties.enterpriseAppId"}, {"type": "string", "name": "state", "arg": "$resource.properties.singleSignOnProperties.state", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Initial"}]}}, {"type": "string", "name": "type", "arg": "$resource.properties.singleSignOnProperties.type", "required": true, "enum": {"items": [{"value": "OpenId"}, {"value": "Saml"}]}}, {"type": "string", "name": "url", "arg": "$resource.properties.singleSignOnProperties.url"}]}, {"type": "object", "name": "user", "arg": "$resource.properties.user", "required": true, "props": [{"type": "string", "name": "emailAddress", "arg": "$resource.properties.user.emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName", "arg": "$resource.properties.user.firstName"}, {"type": "string", "name": "lastName", "arg": "$resource.properties.user.lastName"}, {"type": "string", "name": "phoneNumber", "arg": "$resource.properties.user.phoneNumber"}, {"type": "string", "name": "upn", "arg": "$resource.properties.user.upn"}]}]}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Napster.CompanionAPI/organizations/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "marketplace", "required": true, "props": [{"type": "object", "name": "offerDetails", "required": true, "props": [{"type": "string", "name": "offerId", "required": true}, {"type": "string", "name": "planId"}, {"type": "string", "name": "planName"}, {"type": "string", "name": "publisherId", "required": true}, {"type": "string", "name": "termId"}, {"type": "string", "name": "termUnit"}]}, {"type": "string", "name": "saasResourceId"}, {"type": "string", "name": "subscriptionId"}, {"readOnly": true, "type": "string", "name": "subscriptionStatus", "enum": {"items": [{"value": "PendingFulfillmentStart"}, {"value": "Subscribed"}, {"value": "Suspended"}, {"value": "Unsubscribed"}]}}]}, {"type": "object", "name": "partnerProperties", "required": true, "props": [{"type": "string", "name": "application", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 40, "minLength": 2}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "singleSignOnProperties", "props": [{"type": "array", "name": "aadDomains", "item": {"type": "string"}}, {"type": "string", "name": "enterpriseAppId"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Initial"}]}}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "OpenId"}, {"value": "Saml"}]}}, {"type": "string", "name": "url"}]}, {"type": "object", "name": "user", "required": true, "props": [{"type": "string", "name": "emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName"}, {"type": "string", "name": "lastName"}, {"type": "string", "name": "phoneNumber"}, {"type": "string", "name": "upn"}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2025-12-24-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/napster.companionapi/organizations/{}", "version": "2025-12-24-preview", "swagger": "mgmt-plane/napster/ResourceProviders/Napster.CompanionAPI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OYXBzdGVyLkNvbXBhbmlvbkFQSS9vcmdhbml6YXRpb25zL3tvcmdhbml6YXRpb25uYW1lfQ==/V/MjAyNS0xMi0yNC1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.organizationname", "options": ["n", "name", "organizationname"], "required": true, "idPart": "name", "help": {"short": "Name of the Organization resource"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Identity", "args": [{"type": "string", "var": "$resource.identity.type", "options": ["type"], "hide": true, "group": "Identity", "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"nullable": true, "type": "object", "var": "$resource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "hide": true, "group": "Identity", "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$resource.properties.marketplace", "options": ["marketplace"], "group": "Properties", "help": {"short": "Marketplace details of the resource."}, "args": [{"type": "object", "var": "$resource.properties.marketplace.offerDetails", "options": ["offer-details"], "help": {"short": "Offer details for the marketplace that is selected by the user"}, "args": [{"type": "string", "var": "$resource.properties.marketplace.offerDetails.offerId", "options": ["offer-id"], "help": {"short": "Offer Id for the marketplace offer"}}, {"nullable": true, "type": "string", "var": "$resource.properties.marketplace.offerDetails.planId", "options": ["plan-id"], "help": {"short": "Plan Id for the marketplace offer"}}, {"nullable": true, "type": "string", "var": "$resource.properties.marketplace.offerDetails.planName", "options": ["plan-name"], "help": {"short": "Plan Name for the marketplace offer"}}, {"type": "string", "var": "$resource.properties.marketplace.offerDetails.publisherId", "options": ["publisher-id"], "help": {"short": "Publisher Id for the marketplace offer"}}, {"nullable": true, "type": "string", "var": "$resource.properties.marketplace.offerDetails.termId", "options": ["term-id"], "help": {"short": "Plan Display Name for the marketplace offer"}}, {"nullable": true, "type": "string", "var": "$resource.properties.marketplace.offerDetails.termUnit", "options": ["term-unit"], "help": {"short": "Plan Display Name for the marketplace offer"}}]}, {"nullable": true, "type": "string", "var": "$resource.properties.marketplace.saasResourceId", "options": ["saas-resource-id"], "help": {"short": "Marketplace SaaS Resource Id"}}, {"nullable": true, "type": "string", "var": "$resource.properties.marketplace.subscriptionId", "options": ["subscription-id"], "help": {"short": "Azure subscription id for the the marketplace offer is purchased from"}}]}, {"type": "object", "var": "$resource.properties.partnerProperties", "options": ["partner-properties"], "group": "Properties", "help": {"short": "partner properties"}, "args": [{"type": "string", "var": "$resource.properties.partnerProperties.application", "options": ["application"], "help": {"short": "Application name"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 40, "minLength": 2}}]}, {"nullable": true, "type": "object", "var": "$resource.properties.singleSignOnProperties", "options": ["sso", "single-sign-on-properties"], "group": "Properties", "help": {"short": "Single sign-on properties"}, "args": [{"nullable": true, "type": "array", "var": "$resource.properties.singleSignOnProperties.aadDomains", "options": ["aad-domains"], "help": {"short": "List of AAD domains fetched from Microsoft Graph for user."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$resource.properties.singleSignOnProperties.enterpriseAppId", "options": ["enterprise-app-id"], "help": {"short": "AAD enterprise application Id used to setup SSO"}}, {"nullable": true, "type": "string", "var": "$resource.properties.singleSignOnProperties.state", "options": ["state"], "help": {"short": "State of the Single Sign On for the resource"}, "enum": {"items": [{"name": "Disable", "value": "Disable"}, {"name": "Enable", "value": "Enable"}, {"name": "Initial", "value": "Initial"}]}}, {"type": "string", "var": "$resource.properties.singleSignOnProperties.type", "options": ["type"], "help": {"short": "Type of Single Sign-On mechanism being used"}, "enum": {"items": [{"name": "OpenId", "value": "OpenId"}, {"name": "Saml", "value": "Saml"}]}}, {"nullable": true, "type": "string", "var": "$resource.properties.singleSignOnProperties.url", "options": ["url"], "help": {"short": "URL for SSO to be used by the partner to redirect the user to their system"}}]}, {"type": "object", "var": "$resource.properties.user", "options": ["user"], "group": "Properties", "help": {"short": "Details of the user."}, "args": [{"nullable": true, "type": "string", "var": "$resource.properties.user.emailAddress", "options": ["email-address"], "help": {"short": "Email address of the user"}, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"nullable": true, "type": "string", "var": "$resource.properties.user.firstName", "options": ["first-name"], "help": {"short": "First name of the user"}}, {"nullable": true, "type": "string", "var": "$resource.properties.user.lastName", "options": ["last-name"], "help": {"short": "Last name of the user"}}, {"nullable": true, "type": "string", "var": "$resource.properties.user.phoneNumber", "options": ["phone-number"], "help": {"short": "User's phone number"}}, {"nullable": true, "type": "string", "var": "$resource.properties.user.upn", "options": ["upn"], "help": {"short": "User's principal name"}}]}]}, {"name": "Resource", "args": [{"nullable": true, "type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}], "operations": [{"operationId": "Organizations_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Napster.CompanionAPI/organizations/{organizationname}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "organizationname", "arg": "$Path.organizationname", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-12-24-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Napster.CompanionAPI/organizations/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "marketplace", "required": true, "props": [{"type": "object", "name": "offerDetails", "required": true, "props": [{"type": "string", "name": "offerId", "required": true}, {"type": "string", "name": "planId"}, {"type": "string", "name": "planName"}, {"type": "string", "name": "publisherId", "required": true}, {"type": "string", "name": "termId"}, {"type": "string", "name": "termUnit"}]}, {"type": "string", "name": "saasResourceId"}, {"type": "string", "name": "subscriptionId"}, {"readOnly": true, "type": "string", "name": "subscriptionStatus", "enum": {"items": [{"value": "PendingFulfillmentStart"}, {"value": "Subscribed"}, {"value": "Suspended"}, {"value": "Unsubscribed"}]}}]}, {"type": "object", "name": "partnerProperties", "required": true, "props": [{"type": "string", "name": "application", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 40, "minLength": 2}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "singleSignOnProperties", "props": [{"type": "array", "name": "aadDomains", "item": {"type": "string"}}, {"type": "string", "name": "enterpriseAppId"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Initial"}]}}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "OpenId"}, {"value": "Saml"}]}}, {"type": "string", "name": "url"}]}, {"type": "object", "name": "user", "required": true, "props": [{"type": "string", "name": "emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName"}, {"type": "string", "name": "lastName"}, {"type": "string", "name": "phoneNumber"}, {"type": "string", "name": "upn"}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "OrganizationResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$resource.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$resource.identity.userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object"}}}]}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "marketplace", "arg": "$resource.properties.marketplace", "required": true, "props": [{"type": "object", "name": "offerDetails", "arg": "$resource.properties.marketplace.offerDetails", "required": true, "props": [{"type": "string", "name": "offerId", "arg": "$resource.properties.marketplace.offerDetails.offerId", "required": true}, {"type": "string", "name": "planId", "arg": "$resource.properties.marketplace.offerDetails.planId"}, {"type": "string", "name": "planName", "arg": "$resource.properties.marketplace.offerDetails.planName"}, {"type": "string", "name": "publisherId", "arg": "$resource.properties.marketplace.offerDetails.publisherId", "required": true}, {"type": "string", "name": "termId", "arg": "$resource.properties.marketplace.offerDetails.termId"}, {"type": "string", "name": "termUnit", "arg": "$resource.properties.marketplace.offerDetails.termUnit"}]}, {"type": "string", "name": "saasResourceId", "arg": "$resource.properties.marketplace.saasResourceId"}, {"type": "string", "name": "subscriptionId", "arg": "$resource.properties.marketplace.subscriptionId"}]}, {"type": "object", "name": "partnerProperties", "arg": "$resource.properties.partnerProperties", "required": true, "props": [{"type": "string", "name": "application", "arg": "$resource.properties.partnerProperties.application", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 40, "minLength": 2}}]}, {"type": "object", "name": "singleSignOnProperties", "arg": "$resource.properties.singleSignOnProperties", "props": [{"type": "array", "name": "aadDomains", "arg": "$resource.properties.singleSignOnProperties.aadDomains", "item": {"type": "string"}}, {"type": "string", "name": "enterpriseAppId", "arg": "$resource.properties.singleSignOnProperties.enterpriseAppId"}, {"type": "string", "name": "state", "arg": "$resource.properties.singleSignOnProperties.state", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Initial"}]}}, {"type": "string", "name": "type", "arg": "$resource.properties.singleSignOnProperties.type", "required": true, "enum": {"items": [{"value": "OpenId"}, {"value": "Saml"}]}}, {"type": "string", "name": "url", "arg": "$resource.properties.singleSignOnProperties.url"}]}, {"type": "object", "name": "user", "arg": "$resource.properties.user", "required": true, "props": [{"type": "string", "name": "emailAddress", "arg": "$resource.properties.user.emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName", "arg": "$resource.properties.user.firstName"}, {"type": "string", "name": "lastName", "arg": "$resource.properties.user.lastName"}, {"type": "string", "name": "phoneNumber", "arg": "$resource.properties.user.phoneNumber"}, {"type": "string", "name": "upn", "arg": "$resource.properties.user.upn"}]}]}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Organizations_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Napster.CompanionAPI/organizations/{organizationname}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "organizationname", "arg": "$Path.organizationname", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-12-24-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@OrganizationResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}], "commandGroups": [{"name": "identity", "commands": [{"name": "assign", "version": "2025-12-24-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/napster.companionapi/organizations/{}", "version": "2025-12-24-preview", "subresource": "identity", "swagger": "mgmt-plane/napster/ResourceProviders/Napster.CompanionAPI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OYXBzdGVyLkNvbXBhbmlvbkFQSS9vcmdhbml6YXRpb25zL3tvcmdhbml6YXRpb25uYW1lfQ==/V/MjAyNS0xMi0yNC1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.organizationname", "options": ["n", "name", "organizationname"], "required": true, "idPart": "name", "help": {"short": "Name of the Organization resource"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Resource.identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$resource.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "Resource.identity", "help": {"short": "Set the system managed identity."}}, {"blank": {"value": []}, "type": "array", "var": "$resource.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "Resource.identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "resource", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "Organizations_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Napster.CompanionAPI/organizations/{organizationname}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "organizationname", "arg": "$Path.organizationname", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-12-24-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Napster.CompanionAPI/organizations/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "marketplace", "required": true, "props": [{"type": "object", "name": "offerDetails", "required": true, "props": [{"type": "string", "name": "offerId", "required": true}, {"type": "string", "name": "planId"}, {"type": "string", "name": "planName"}, {"type": "string", "name": "publisherId", "required": true}, {"type": "string", "name": "termId"}, {"type": "string", "name": "termUnit"}]}, {"type": "string", "name": "saasResourceId"}, {"type": "string", "name": "subscriptionId"}, {"readOnly": true, "type": "string", "name": "subscriptionStatus", "enum": {"items": [{"value": "PendingFulfillmentStart"}, {"value": "Subscribed"}, {"value": "Suspended"}, {"value": "Unsubscribed"}]}}]}, {"type": "object", "name": "partnerProperties", "required": true, "props": [{"type": "string", "name": "application", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 40, "minLength": 2}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "singleSignOnProperties", "props": [{"type": "array", "name": "aadDomains", "item": {"type": "string"}}, {"type": "string", "name": "enterpriseAppId"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Initial"}]}}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "OpenId"}, {"value": "Saml"}]}}, {"type": "string", "name": "url"}]}, {"type": "object", "name": "user", "required": true, "props": [{"type": "string", "name": "emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName"}, {"type": "string", "name": "lastName"}, {"type": "string", "name": "phoneNumber"}, {"type": "string", "name": "upn"}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "OrganizationResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"action": "assign", "type": "IdentityObject", "name": "resource.identity", "required": true, "userAssigned": {"action": "assign", "type": "array", "name": "userAssigned", "arg": "$resource.identity.userAssigned", "item": {"action": "assign", "type": "string"}}, "systemAssigned": {"action": "assign", "type": "string", "name": "systemAssigned", "arg": "$resource.identity.systemAssigned"}}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Organizations_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Napster.CompanionAPI/organizations/{organizationname}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "organizationname", "arg": "$Path.organizationname", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-12-24-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@OrganizationResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}, {"name": "remove", "version": "2025-12-24-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/napster.companionapi/organizations/{}", "version": "2025-12-24-preview", "subresource": "identity", "swagger": "mgmt-plane/napster/ResourceProviders/Napster.CompanionAPI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OYXBzdGVyLkNvbXBhbmlvbkFQSS9vcmdhbml6YXRpb25zL3tvcmdhbml6YXRpb25uYW1lfQ==/V/MjAyNS0xMi0yNC1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.organizationname", "options": ["n", "name", "organizationname"], "required": true, "idPart": "name", "help": {"short": "Name of the Organization resource"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Resource.identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$resource.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "Resource.identity", "help": {"short": "Set the system managed identity."}}, {"blank": {"value": []}, "type": "array", "var": "$resource.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "Resource.identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "resource", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "Organizations_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Napster.CompanionAPI/organizations/{organizationname}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "organizationname", "arg": "$Path.organizationname", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-12-24-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Napster.CompanionAPI/organizations/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "marketplace", "required": true, "props": [{"type": "object", "name": "offerDetails", "required": true, "props": [{"type": "string", "name": "offerId", "required": true}, {"type": "string", "name": "planId"}, {"type": "string", "name": "planName"}, {"type": "string", "name": "publisherId", "required": true}, {"type": "string", "name": "termId"}, {"type": "string", "name": "termUnit"}]}, {"type": "string", "name": "saasResourceId"}, {"type": "string", "name": "subscriptionId"}, {"readOnly": true, "type": "string", "name": "subscriptionStatus", "enum": {"items": [{"value": "PendingFulfillmentStart"}, {"value": "Subscribed"}, {"value": "Suspended"}, {"value": "Unsubscribed"}]}}]}, {"type": "object", "name": "partnerProperties", "required": true, "props": [{"type": "string", "name": "application", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 40, "minLength": 2}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "singleSignOnProperties", "props": [{"type": "array", "name": "aadDomains", "item": {"type": "string"}}, {"type": "string", "name": "enterpriseAppId"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Initial"}]}}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "OpenId"}, {"value": "Saml"}]}}, {"type": "string", "name": "url"}]}, {"type": "object", "name": "user", "required": true, "props": [{"type": "string", "name": "emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName"}, {"type": "string", "name": "lastName"}, {"type": "string", "name": "phoneNumber"}, {"type": "string", "name": "upn"}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "OrganizationResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"action": "remove", "type": "IdentityObject", "name": "resource.identity", "required": true, "userAssigned": {"action": "remove", "type": "array", "name": "userAssigned", "arg": "$resource.identity.userAssigned", "item": {"action": "remove", "type": "string"}}, "systemAssigned": {"action": "remove", "type": "string", "name": "systemAssigned", "arg": "$resource.identity.systemAssigned"}}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Organizations_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Napster.CompanionAPI/organizations/{organizationname}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "organizationname", "arg": "$Path.organizationname", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-12-24-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@OrganizationResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}, {"name": "show", "version": "2025-12-24-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/napster.companionapi/organizations/{}", "version": "2025-12-24-preview", "subresource": "identity", "swagger": "mgmt-plane/napster/ResourceProviders/Napster.CompanionAPI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OYXBzdGVyLkNvbXBhbmlvbkFQSS9vcmdhbml6YXRpb25zL3tvcmdhbml6YXRpb25uYW1lfQ==/V/MjAyNS0xMi0yNC1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.organizationname", "options": ["n", "name", "organizationname"], "required": true, "idPart": "name", "help": {"short": "Name of the Organization resource"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "resource", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "Organizations_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Napster.CompanionAPI/organizations/{organizationname}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "organizationname", "arg": "$Path.organizationname", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-12-24-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Napster.CompanionAPI/organizations/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "marketplace", "required": true, "props": [{"type": "object", "name": "offerDetails", "required": true, "props": [{"type": "string", "name": "offerId", "required": true}, {"type": "string", "name": "planId"}, {"type": "string", "name": "planName"}, {"type": "string", "name": "publisherId", "required": true}, {"type": "string", "name": "termId"}, {"type": "string", "name": "termUnit"}]}, {"type": "string", "name": "saasResourceId"}, {"type": "string", "name": "subscriptionId"}, {"readOnly": true, "type": "string", "name": "subscriptionStatus", "enum": {"items": [{"value": "PendingFulfillmentStart"}, {"value": "Subscribed"}, {"value": "Suspended"}, {"value": "Unsubscribed"}]}}]}, {"type": "object", "name": "partnerProperties", "required": true, "props": [{"type": "string", "name": "application", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 40, "minLength": 2}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "singleSignOnProperties", "props": [{"type": "array", "name": "aadDomains", "item": {"type": "string"}}, {"type": "string", "name": "enterpriseAppId"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Initial"}]}}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "OpenId"}, {"value": "Saml"}]}}, {"type": "string", "name": "url"}]}, {"type": "object", "name": "user", "required": true, "props": [{"type": "string", "name": "emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName"}, {"type": "string", "name": "lastName"}, {"type": "string", "name": "phoneNumber"}, {"type": "string", "name": "upn"}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "OrganizationResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnMve30=/2025-12-24-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnMve30=/2025-12-24-preview.xml new file mode 100644 index 000000000..0859db9cc --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnMve30=/2025-12-24-preview.xml @@ -0,0 +1,1636 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnMve30vbGF0ZXN0bGlua2Vkc2Fhcw==/2025-12-24-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnMve30vbGF0ZXN0bGlua2Vkc2Fhcw==/2025-12-24-preview.json new file mode 100644 index 000000000..49a3f032d --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnMve30vbGF0ZXN0bGlua2Vkc2Fhcw==/2025-12-24-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/napster.companionapi/organizations/{}/latestlinkedsaas", "version": "2025-12-24-preview", "swagger": "mgmt-plane/napster/ResourceProviders/Napster.CompanionAPI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OYXBzdGVyLkNvbXBhbmlvbkFQSS9vcmdhbml6YXRpb25zL3tvcmdhbml6YXRpb25uYW1lfS9sYXRlc3RMaW5rZWRTYWFT/V/MjAyNS0xMi0yNC1wcmV2aWV3"}], "commandGroups": [{"name": "napster companion-api organization", "commands": [{"name": "latest-linked-saas", "version": "2025-12-24-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/napster.companionapi/organizations/{}/latestlinkedsaas", "version": "2025-12-24-preview", "swagger": "mgmt-plane/napster/ResourceProviders/Napster.CompanionAPI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OYXBzdGVyLkNvbXBhbmlvbkFQSS9vcmdhbml6YXRpb25zL3tvcmdhbml6YXRpb25uYW1lfS9sYXRlc3RMaW5rZWRTYWFT/V/MjAyNS0xMi0yNC1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.organizationname", "options": ["n", "name", "organizationname"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Organization resource"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Organizations_LatestLinkedSaaS", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Napster.CompanionAPI/organizations/{organizationname}/latestLinkedSaaS", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "organizationname", "arg": "$Path.organizationname", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-12-24-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "boolean", "name": "isHiddenSaaS"}, {"type": "string", "name": "saaSResourceId"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnMve30vbGF0ZXN0bGlua2Vkc2Fhcw==/2025-12-24-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnMve30vbGF0ZXN0bGlua2Vkc2Fhcw==/2025-12-24-preview.xml new file mode 100644 index 000000000..676dfb119 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnMve30vbGF0ZXN0bGlua2Vkc2Fhcw==/2025-12-24-preview.xml @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnMve30vbGlua3NhYXM=/2025-12-24-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnMve30vbGlua3NhYXM=/2025-12-24-preview.json new file mode 100644 index 000000000..9903c22b8 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnMve30vbGlua3NhYXM=/2025-12-24-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/napster.companionapi/organizations/{}/linksaas", "version": "2025-12-24-preview", "swagger": "mgmt-plane/napster/ResourceProviders/Napster.CompanionAPI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OYXBzdGVyLkNvbXBhbmlvbkFQSS9vcmdhbml6YXRpb25zL3tvcmdhbml6YXRpb25uYW1lfS9saW5rU2FhUw==/V/MjAyNS0xMi0yNC1wcmV2aWV3"}], "commandGroups": [{"name": "napster companion-api organization", "commands": [{"name": "link-saas", "version": "2025-12-24-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/napster.companionapi/organizations/{}/linksaas", "version": "2025-12-24-preview", "swagger": "mgmt-plane/napster/ResourceProviders/Napster.CompanionAPI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OYXBzdGVyLkNvbXBhbmlvbkFQSS9vcmdhbml6YXRpb25zL3tvcmdhbml6YXRpb25uYW1lfS9saW5rU2FhUw==/V/MjAyNS0xMi0yNC1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.organizationname", "options": ["n", "name", "organizationname"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Organization resource"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Body", "args": [{"type": "string", "var": "$body.saaSResourceId", "options": ["saas-resource-id"], "group": "Body", "help": {"short": "SaaS resource id"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Organizations_LinkSaaS", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Napster.CompanionAPI/organizations/{organizationname}/linkSaaS", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "organizationname", "arg": "$Path.organizationname", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-12-24-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "body", "required": true, "props": [{"type": "string", "name": "saaSResourceId", "arg": "$body.saaSResourceId"}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Napster.CompanionAPI/organizations/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "marketplace", "required": true, "props": [{"type": "object", "name": "offerDetails", "required": true, "props": [{"type": "string", "name": "offerId", "required": true}, {"type": "string", "name": "planId"}, {"type": "string", "name": "planName"}, {"type": "string", "name": "publisherId", "required": true}, {"type": "string", "name": "termId"}, {"type": "string", "name": "termUnit"}]}, {"type": "string", "name": "saasResourceId"}, {"type": "string", "name": "subscriptionId"}, {"readOnly": true, "type": "string", "name": "subscriptionStatus", "enum": {"items": [{"value": "PendingFulfillmentStart"}, {"value": "Subscribed"}, {"value": "Suspended"}, {"value": "Unsubscribed"}]}}]}, {"type": "object", "name": "partnerProperties", "required": true, "props": [{"type": "string", "name": "application", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 40, "minLength": 2}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "singleSignOnProperties", "props": [{"type": "array", "name": "aadDomains", "item": {"type": "string"}}, {"type": "string", "name": "enterpriseAppId"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Initial"}]}}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "OpenId"}, {"value": "Saml"}]}}, {"type": "string", "name": "url"}]}, {"type": "object", "name": "user", "required": true, "props": [{"type": "string", "name": "emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName"}, {"type": "string", "name": "lastName"}, {"type": "string", "name": "phoneNumber"}, {"type": "string", "name": "upn"}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnMve30vbGlua3NhYXM=/2025-12-24-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnMve30vbGlua3NhYXM=/2025-12-24-preview.xml new file mode 100644 index 000000000..ac627a49e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25hcHN0ZXIuY29tcGFuaW9uYXBpL29yZ2FuaXphdGlvbnMve30vbGlua3NhYXM=/2025-12-24-preview.xml @@ -0,0 +1,194 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + + + +
+
+ +
+
+