Updated Main to have changes from Support GA

This commit is contained in:
Anika Islam 2024-04-19 15:29:55 -07:00
Родитель 396377a48b
Коммит df0e4a0b25
115 изменённых файлов: 7454 добавлений и 1 удалений

Просмотреть файл

@ -266,6 +266,9 @@
- [storagesync](/Commands/storagesync/readme.md)
: Manage Azure File Sync.
- [support](/Commands/support/readme.md)
: Manage Azure support resource.
- [tsi](/Commands/tsi/readme.md)
: Manage Azure Time Series Insights.

Просмотреть файл

@ -0,0 +1,9 @@
# [Command] _support in-subscription check-name-availability_
Check the availability of a resource name. This API should be used to check the uniqueness of the resource name for the selected subscription.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdXBwb3J0L2NoZWNrbmFtZWF2YWlsYWJpbGl0eQ==/2024-04-01.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.support/checknameavailability 2024-04-01 -->

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _support in-subscription chat-transcript list_
List all chat transcripts for a support ticket under subscription
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdXBwb3J0L3N1cHBvcnR0aWNrZXRzL3t9L2NoYXR0cmFuc2NyaXB0cw==/2024-04-01.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.support/supporttickets/{}/chattranscripts 2024-04-01 -->
#### examples
- List all chat transcripts for a support ticket under subscription
```bash
support in-subscription chat-transcript list --ticket-name "TestTicketName"
```

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _support in-subscription chat-transcript show_
Get chatTranscript details for a support ticket under a subscription.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdXBwb3J0L3N1cHBvcnR0aWNrZXRzL3t9L2NoYXR0cmFuc2NyaXB0cy97fQ==/2024-04-01.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.support/supporttickets/{}/chattranscripts/{} 2024-04-01 -->
#### examples
- Get chatTranscript details for a support ticket under a subscription.
```bash
support in-subscription chat-transcript show --ticket-name "TestTicketName" --chat-transcript-name "TestChatTranscriptName"
```

Просмотреть файл

@ -0,0 +1,11 @@
# [Group] _support in-subscription chat-transcript_
Manage support ticket chat transcript
## Commands
- [list](/Commands/support/in-subscription/chat-transcript/_list.md)
: List all chat transcripts for a support ticket under subscription
- [show](/Commands/support/in-subscription/chat-transcript/_show.md)
: Get chatTranscript details for a support ticket under a subscription.

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _support in-subscription communication create_
Adds a new customer communication to an Azure support ticket.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdXBwb3J0L3N1cHBvcnR0aWNrZXRzL3t9L2NvbW11bmljYXRpb25zL3t9/2024-04-01.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.support/supporttickets/{}/communications/{} 2024-04-01 -->
#### examples
- Adds a new customer communication to an Azure support ticket.
```bash
support in-subscription communication create --ticket-name "TestTicketName "--communication-name "TestTicketCommunicationName" --communication-body "TicketCommunicationBody" --communication-subject "TicketCommunicationSubject"
```

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _support in-subscription communication list_
List all communications (attachments not included) for a support ticket. <br/></br> You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results. <br/><br/>Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdXBwb3J0L3N1cHBvcnR0aWNrZXRzL3t9L2NvbW11bmljYXRpb25z/2024-04-01.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.support/supporttickets/{}/communications 2024-04-01 -->
#### examples
- List web communication created on or after a specific date for a subscription support ticket.
```bash
support in-subscription communication list --ticket-name "TestTicketName" --filter "CreatedDate ge 2024-01-01"
```

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _support in-subscription communication show_
Get communication details for a support ticket.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdXBwb3J0L3N1cHBvcnR0aWNrZXRzL3t9L2NvbW11bmljYXRpb25zL3t9/2024-04-01.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.support/supporttickets/{}/communications/{} 2024-04-01 -->
#### examples
- Get communication details for a subscription support ticket.
```bash
support in-subscription communication show --ticket-name "TestTicketName" --communication-name "TestTicketCommunicationName"
```

Просмотреть файл

@ -0,0 +1,9 @@
# [Command] _support in-subscription communication update_
Update a new customer communication to an Azure support ticket.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdXBwb3J0L3N1cHBvcnR0aWNrZXRzL3t9L2NvbW11bmljYXRpb25zL3t9/2024-04-01.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.support/supporttickets/{}/communications/{} 2024-04-01 -->

Просмотреть файл

@ -0,0 +1,17 @@
# [Group] _support in-subscription communication_
Manage support ticket communications
## Commands
- [create](/Commands/support/in-subscription/communication/_create.md)
: Adds a new customer communication to an Azure support ticket.
- [list](/Commands/support/in-subscription/communication/_list.md)
: List all communications (attachments not included) for a support ticket. <br/></br> You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results. <br/><br/>Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.
- [show](/Commands/support/in-subscription/communication/_show.md)
: Get communication details for a support ticket.
- [update](/Commands/support/in-subscription/communication/_update.md)
: Update a new customer communication to an Azure support ticket.

Просмотреть файл

@ -0,0 +1,21 @@
# [Command] _support in-subscription file-workspace create_
Create a new file workspace for the specified subscription.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdXBwb3J0L2ZpbGV3b3Jrc3BhY2VzL3t9/2024-04-01.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.support/fileworkspaces/{} 2024-04-01 -->
#### examples
- Create a file workspace for a specified subscription (different from the account subscription)
```bash
support in-subscription file-workspace create --file-workspace-name "TestWorkspaceName" --subscription "TestSubscription"
```
- Create a file workspace for a specified subscription (same as the account subscription)
```bash
support in-subscription file-workspace create --file-workspace-name "TestWorkspaceName"
```

Просмотреть файл

@ -0,0 +1,21 @@
# [Command] _support in-subscription file-workspace show_
Get details for a specific file workspace in an Azure subscription.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdXBwb3J0L2ZpbGV3b3Jrc3BhY2VzL3t9/2024-04-01.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.support/fileworkspaces/{} 2024-04-01 -->
#### examples
- Show a file workspace for a specified subscription (different from the account subscription)
```bash
support in-subscription file-workspace show --file-workspace-name "TestWorkspaceName" --subscription "TestSubscription"
```
- Show a file workspace for a specified subscription (same as the account subscription)
```bash
support in-subscription file-workspace show --file-workspace-name "TestWorkspaceName"
```

Просмотреть файл

@ -0,0 +1,11 @@
# [Group] _support in-subscription file-workspace_
File workspaces for Azure Support for the specified subscription.
## Commands
- [create](/Commands/support/in-subscription/file-workspace/_create.md)
: Create a new file workspace for the specified subscription.
- [show](/Commands/support/in-subscription/file-workspace/_show.md)
: Get details for a specific file workspace in an Azure subscription.

Просмотреть файл

@ -0,0 +1,9 @@
# [Command] _support in-subscription file create_
Create a new file under a workspace for the specified subscription.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdXBwb3J0L2ZpbGV3b3Jrc3BhY2VzL3t9L2ZpbGVzL3t9/2024-04-01.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.support/fileworkspaces/{}/files/{} 2024-04-01 -->

Просмотреть файл

@ -0,0 +1,21 @@
# [Command] _support in-subscription file list_
List all the Files information under a workspace for an Azure subscription.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdXBwb3J0L2ZpbGV3b3Jrc3BhY2VzL3t9L2ZpbGVz/2024-04-01.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.support/fileworkspaces/{}/files 2024-04-01 -->
#### examples
- List all the files within a file-workspace for a specified subscription (different from the account subscription)
```bash
support in-subscription file list --file-workspace-name "TestFileWorkspaceName" --subscription "TestSubscription"
```
- List all the files within a file-workspace for a specified subscription (same as the account subscription)
```bash
support in-subscription file list --file-workspace-name "TestFileWorkspaceName"
```

Просмотреть файл

@ -0,0 +1,21 @@
# [Command] _support in-subscription file show_
Get details of a specific file in a work space.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdXBwb3J0L2ZpbGV3b3Jrc3BhY2VzL3t9L2ZpbGVzL3t9/2024-04-01.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.support/fileworkspaces/{}/files/{} 2024-04-01 -->
#### examples
- Show a file within a file-workspace for a specified subscription (different from the account subscription)
```bash
support in-subscription file show --subscription "TestSubscription" --file-workspace-name "TestWorkspaceName" --file-name "FileName"
```
- Show a file within a file-workspace for a specified subscription (same as the account subscription)
```bash
support in-subscription file show --file-workspace-name "TestWorkspaceName" --file-name "FileName"
```

Просмотреть файл

@ -0,0 +1,9 @@
# [Command] _support in-subscription file update_
Update a new file under a workspace for the specified subscription.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdXBwb3J0L2ZpbGV3b3Jrc3BhY2VzL3t9L2ZpbGVzL3t9/2024-04-01.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.support/fileworkspaces/{}/files/{} 2024-04-01 -->

Просмотреть файл

@ -0,0 +1,9 @@
# [Command] _support in-subscription file upload_
This API allows you to upload content to a file
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdXBwb3J0L2ZpbGV3b3Jrc3BhY2VzL3t9L2ZpbGVzL3t9L3VwbG9hZA==/2024-04-01.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.support/fileworkspaces/{}/files/{}/upload 2024-04-01 -->

Просмотреть файл

@ -0,0 +1,20 @@
# [Group] _support in-subscription file_
File operations for a specified subscription
## Commands
- [create](/Commands/support/in-subscription/file/_create.md)
: Create a new file under a workspace for the specified subscription.
- [list](/Commands/support/in-subscription/file/_list.md)
: List all the Files information under a workspace for an Azure subscription.
- [show](/Commands/support/in-subscription/file/_show.md)
: Get details of a specific file in a work space.
- [update](/Commands/support/in-subscription/file/_update.md)
: Update a new file under a workspace for the specified subscription.
- [upload](/Commands/support/in-subscription/file/_upload.md)
: This API allows you to upload content to a file

Просмотреть файл

@ -0,0 +1,25 @@
# [Group] _support in-subscription_
Manage Azure support resource within the selected subscription.
## Subgroups
- [chat-transcript](/Commands/support/in-subscription/chat-transcript/readme.md)
: Manage support ticket chat transcript
- [communication](/Commands/support/in-subscription/communication/readme.md)
: Manage support ticket communications
- [file](/Commands/support/in-subscription/file/readme.md)
: File operations for a specified subscription
- [file-workspace](/Commands/support/in-subscription/file-workspace/readme.md)
: File workspaces for Azure Support for the specified subscription.
- [tickets](/Commands/support/in-subscription/tickets/readme.md)
: Create and manage Azure support ticket with a subscription.
## Commands
- [check-name-availability](/Commands/support/in-subscription/_check-name-availability.md)
: Check the availability of a resource name. This API should be used to check the uniqueness of the resource name for the selected subscription.

Просмотреть файл

@ -0,0 +1,9 @@
# [Command] _support in-subscription tickets check-name-availability_
Check the availability of a resource name. This API should be used to check the uniqueness of the name for adding a new communication or file workspace to the support ticket.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdXBwb3J0L3N1cHBvcnR0aWNrZXRzL3t9L2NoZWNrbmFtZWF2YWlsYWJpbGl0eQ==/2024-04-01.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.support/supporttickets/{}/checknameavailability 2024-04-01 -->

Просмотреть файл

@ -0,0 +1,101 @@
# [Command] _support in-subscription tickets create_
Creates a new support ticket for Quota increase, Technical, Billing, and Subscription Management issues for the specified subscription.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdXBwb3J0L3N1cHBvcnR0aWNrZXRzL3t9/2024-04-01.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.support/supporttickets/{} 2024-04-01 -->
#### examples
- Create a ticket for Billing related issues
```bash
support in-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "Foo" --contact-language "en-us" --contact-last-name "Bar" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "BillingTicketDescription" --advanced-diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/BillingServiceNameGuid/problemClassifications/BillingProblemClassificationNameGuid" --severity "minimal" --ticket-name "BillingTestTicketName" --title "BillingTicketTitle"
```
- Create a ticket for Subscription Management related issues.
```bash
support in-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "Foo" --contact-language "en-us" --contact-last-name "Bar" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "SubMgmtTicketDescription" --advanced-diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/SubMgmtServiceNameGuid/problemClassifications/SubMgmtProblemClassificationNameGuid" --severity "minimal" --ticket-name "SubMgmtTestTicketName" --title "SubMgmtTicketTitle"
```
- Create a ticket for Technical issue related to a specific resource
```bash
support in-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "Foo" --contact-language "en-us" --contact-last-name "Bar" --contact-method "email" --contact-timezone "Pacific Standard Time" --contact-additional-emails "xyz@contoso.com" "devs@contoso.com"--description "TechnicalTicketDescription" --advanced-diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/TechnicalServiceNameGuid/problemClassifications/TechnicalProblemClassificationNameGuid" --severity "minimal" --ticket-name "TechnicalTestTicketName" --title "TechnicalTicketTitle" --technical-resource "/subscriptions/SubscriptionGuid/resourceGroups/RgName/providers/Microsoft.Compute/virtualMachines/RName" --secondary-consent "[{type:VirtualMachineMemoryDump,user-consent:No}]"
```
- Create a ticket to request an increase in Active Jobs and Job Schedules quota for a Batch account
```bash
support in-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "abc" --contact-language "en-us" --contact-last-name "xyz" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "my description" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid" --severity "moderate" --ticket-name "BatchQuotaIncreaseRequest" --title "Request for Active Jobs and Job Schedules Quota Increase"
```
- Create a ticket to request an increase in Azure SQL managed instance quota
```bash
support in-subscription tickets create --contact-country "usa" --contact-email "abc@contoso.com" --contact-first-name "abc" --contact-language "en-us" --contact-last-name "xyz" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "my description" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_managedinstance_problemClassification_guid" --severity "moderate" --ticket-name "SQLMIQuotaIncreaseRequest" --title "Request for Azure SQL Managed Instance Quota Increase"
```
- Create a ticket to request an increase in Batch accounts quota for a subscription
```bash
support in-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "abc" --contact-language "en-us" --contact-last-name "xyz" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "my description" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid" --severity "moderate" --ticket-name "BatchAccountQuotaIncreaseRequest" --title "Request for Batch Accounts Quota Increase"
```
- Create a ticket to request an increase in Compute VM Cores quota
```bash
support in-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "Foo" --contact-language "en-us" --contact-last-name "Bar" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "QuotaTicketDescription" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/QuotaServiceNameGuid/problemClassifications/CoresQuotaProblemClassificationNameGuid" --severity "minimal" --ticket-name "ComputeVMCoresQuotaIncreaseRequest" --title "Request for Compute VM Cores Quota Increase"
```
- Create a ticket to request an increase in DTUs for Azure Synapse Analytics
```bash
support in-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "abc" --contact-language "en-us" --contact-last-name "xyz" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "my description" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid" --severity "moderate" --ticket-name "SynapseAnalyticsDTUsQuotaIncreaseRequest" --title "Request for DTUs Quota Increase in Azure Synapse Analytics"
```
- Create a ticket to request an increase in DTUs for SQL Database
```bash
support in-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "abc" --contact-language "en-us" --contact-last-name "xyz" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "my description" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_database_problemClassification_guid" --severity "moderate" --ticket-name "SQLDatabaseDTUsQuotaIncreaseRequest" --title "Request for DTUs Quota Increase in SQL Database" --quota-change-version "1.0" --quota-change-request-sub-type "DTUs" --quota-change-requests '[{"region":"EastUS","payload":"{"ServerName":"testserver","NewLimit":54000}"}]'
```
- Create a ticket to request an increase in Low-priority cores for a Batch account
```bash
support in-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "abc" --contact-language "en-us" --contact-last-name "xyz" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "my description" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid" --severity "moderate" --ticket-name "BatchLowPriorityCoresQuotaIncreaseRequest" --title "Request for Low-priority Cores Quota Increase in Batch Account" --quota-change-version "1.0" --quota-change-request-sub-type "Account" --quota-change-requests '[{"region":"EastUS","payload":"{"AccountName":"test","NewLimit":200,"Type":"LowPriority"}"}]'
```
- Create a ticket to request an increase in Low-priority cores for Machine Learning service
```bash
support in-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "abc" --contact-language "en-us" --contact-last-name "xyz" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "my description" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/machine_learning_service_problemClassification_guid" --severity "moderate" --ticket-name "MachineLearningLowPriorityCoresQuotaIncreaseRequest" --title "Request for Low-priority Cores Quota Increase in Machine Learning Service" --quota-change-version "1.0" --quota-change-request-sub-type "BatchAml" --quota-change-requests '[{"region":"EastUS","payload":"{"NewLimit":200,"Type":"LowPriority"}"}]'
```
- Create a ticket for Generic Quota increase for any Azure Service
```bash
support in-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "Foo" --contact-language "en-us" --contact-last-name "Bar" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "QuotaTicketDescription" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/QuotaServiceNameGuid/problemClassifications/GenericProblemClassificationNameGuid" --severity "minimal" --ticket-name "GenericQuotaIncreaseRequest" --title "Request for Generic Quota Increase"
```
- Create a ticket to request an increase in Pools for a Batch account
```bash
support in-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "Foo" --contact-language "en-us" --contact-last-name "Bar" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "QuotaTicketDescription" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/QuotaServiceNameGuid/problemClassifications/BatchQuotaProblemClassificationNameGuid" --severity "minimal" --ticket-name "BatchPoolsQuotaIncreaseRequest" --title "Request for Pools Quota Increase in Batch Account" --quota-change-version "1.0" --quota-change-requests [0].region="WESTUS" --quota-change-requests [0].payload="'{`"AccountName`": `"test`", `"NewLimit`": 102, `"Type`": `"Pools`"}'"
```
- Create a ticket to request an increase in Servers for Azure Synapse Analytics
```bash
support in-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "abc" --contact-language "en-us" --contact-last-name "xyz" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "my description" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid" --severity "moderate" --ticket-name "SynapseAnalyticsServersQuotaIncreaseRequest" --title "Request for Servers Quota Increase in Azure Synapse Analytics" --quota-change-version "1.0" --quota-change-request-sub-type "Servers" --quota-change-requests '[{"region":"EastUS","payload":"{"NewLimit":200}"}]'
```
- Create a ticket to request an increase in Servers for SQL Database
```bash
support in-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "abc" --contact-language "en-us" --contact-last-name "xyz" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "my description" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_database_problemClassification_guid" --severity "moderate" --ticket-name "SQLDatabaseServersQuotaIncreaseRequest" --title "Request for Servers Quota Increase in SQL Database" --quota-change-version "1.0" --quota-change-request-sub-type "Servers" --quota-change-requests '[{"region":"EastUS","payload":"{"NewLimit":200}"}]
```
- Create a ticket to request an increase in throughput per container limit for account foo bar in Cosmos DB
```bash
support in-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "abc" --contact-language "en-us" --contact-last-name "xyz" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "Increase the maximum throughput per container limit to 10000 for account foo bar" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/cosmosdb_problemClassification_guid" --severity "moderate" --ticket-name "CosmosDBThroughputQuotaIncreaseRequest" --title "Request for Throughput Quota Increase in Cosmos DB"
```
- Create a ticket to request an increase in specific VM family cores for a Batch account
```bash
support in-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "abc" --contact-language "en-us" --contact-last-name "xyz" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "my description" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid" --severity "moderate" --ticket-name "BatchVMFamilyCoresQuotaIncreaseRequest" --title "Request for VM Family Cores Quota Increase in Batch Account" --quota-change-version "1.0" --quota-change-request-sub-type "Account" --quota-change-requests '[{"region":"EastUS","payload":"{"AccountName":"test","VMFamily":"standardA0_A7Family","NewLimit":200,"Type":"Dedicated"}"}]'
```
- Create a ticket to request an increase in specific VM family cores for Machine Learning service
```bash
support in-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "abc" --contact-language "en-us" --contact-last-name "xyz" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "my description" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/machine_learning_service_problemClassification_guid" --severity "moderate" --ticket-name "MachineLearningVMFamilyCoresQuotaIncreaseRequest" --title "Request for VM Family Cores Quota Increase in Machine Learning Service" --quota-change-version "1.0" --quota-change-request-sub-type "BatchAml" --quota-change-requests '[{"region":"EastUS","payload":"{"VMFamily":"standardA0_A7Family","NewLimit":200,"Type":"Dedicated"}"}]'
```

Просмотреть файл

@ -0,0 +1,41 @@
# [Command] _support in-subscription tickets list_
Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_, _CreatedDate_, _ServiceId_, and _ProblemClassificationId_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets. <br/><br/>Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. Default is CreatedDate >= one week.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdXBwb3J0L3N1cHBvcnR0aWNrZXRz/2024-04-01.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.support/supporttickets 2024-04-01 -->
#### examples
- List support tickets for a subscription
```bash
support in-subscription tickets list
```
- List support tickets in open state for a subscription
```bash
support in-subscription tickets list --filter "Status eq 'Open'"
```
- List support tickets in updating state for a subscription
```bash
support in-subscription tickets list --filter "Status eq 'Updating'"
```
- List support tickets with a certain problem classification id for a subscription
```bash
support in-subscription tickets list --filter "ProblemClassificationId eq 'problem_classification_guid'"
```
- List support tickets created on or after a certain date and in open state for a subscription
```bash
support in-subscription tickets list --filter "CreatedDate ge 2024-01-01T22:08:51Z and Status eq 'Open'"
```
- List support tickets with a certain service id for a subscription
```bash
support in-subscription tickets list --filter "ServiceId eq 'service_guid'"
```

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _support in-subscription tickets show_
Get ticket details for an Azure subscription. Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdXBwb3J0L3N1cHBvcnR0aWNrZXRzL3t9/2024-04-01.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.support/supporttickets/{} 2024-04-01 -->
#### examples
- Get details of a subscription ticket
```bash
support in-subscription tickets show --ticket-name "TestTicketName"
```

Просмотреть файл

@ -0,0 +1,38 @@
# [Command] _support in-subscription tickets update_
Update API allows you to update the severity level, ticket status, advanced diagnostic consent, secondary consent, and your contact information in the support ticket.<br/><br/>Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdXBwb3J0L3N1cHBvcnR0aWNrZXRzL3t9/2024-04-01.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.support/supporttickets/{} 2024-04-01 -->
#### examples
- Update support ticket severity.
```bash
support in-subscription tickets update --ticket-name "TestTicketName" --severity "moderate"
```
- Update support ticket status.
```bash
support in-subscription tickets update --ticket-name "TestTicketName" --status "closed"
```
- Update support ticket customer contact details properties
```bash
support in-subscription tickets update --ticket-name "TestTicketName" --contact-additional-emails "xyz@contoso.com" "devs@contoso.com" --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "Foo" --contact-language "en-us" --contact-last-name "Bar" --contact-method "phone" --contact-phone-number "123-456-7890" --contact-timezone "Pacific Standard Time"
```
- Update advanced diagnostic consent of a support ticket
```bash
support in-subscription tickets update --ticket-name "TestTicketName" --advanced-diagnostic-consent "Yes"
```
- Update secondary consent of a support ticket
```bash
support in-subscription tickets update --ticket-name "TestTicketName" --secondary-consent "[{type:VirtualMachineMemoryDump,user-consent:No}]"
support in-subscription tickets update --ticket-name "TestTicketName" --secondary-consent [0].type="VirtualMachineMemoryDump" --secondary-consent [0].user-consent="No"
support in-subscription tickets update --ticket-name "TestTicketName" --secondary-consent [0]="{type:VirtualMachineMemoryDump,user-consent:No}"
```

Просмотреть файл

@ -0,0 +1,20 @@
# [Group] _support in-subscription tickets_
Create and manage Azure support ticket with a subscription.
## Commands
- [check-name-availability](/Commands/support/in-subscription/tickets/_check-name-availability.md)
: Check the availability of a resource name. This API should be used to check the uniqueness of the name for adding a new communication or file workspace to the support ticket.
- [create](/Commands/support/in-subscription/tickets/_create.md)
: Creates a new support ticket for Quota increase, Technical, Billing, and Subscription Management issues for the specified subscription.
- [list](/Commands/support/in-subscription/tickets/_list.md)
: Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_, _CreatedDate_, _ServiceId_, and _ProblemClassificationId_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets. <br/><br/>Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. Default is CreatedDate >= one week.
- [show](/Commands/support/in-subscription/tickets/_show.md)
: Get ticket details for an Azure subscription. Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.
- [update](/Commands/support/in-subscription/tickets/_update.md)
: Update API allows you to update the severity level, ticket status, advanced diagnostic consent, secondary consent, and your contact information in the support ticket.<br/><br/>Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Просмотреть файл

@ -0,0 +1,9 @@
# [Command] _support no-subscription check-name-availability_
Check the availability of a resource name. This API should be used to check the uniqueness of the resource name.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuc3VwcG9ydC9jaGVja25hbWVhdmFpbGFiaWxpdHk=/2024-04-01.xml) **Stable**
<!-- mgmt-plane /providers/microsoft.support/checknameavailability 2024-04-01 -->

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _support no-subscription chat-transcript list_
List all chat transcripts for a support ticket
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuc3VwcG9ydC9zdXBwb3J0dGlja2V0cy97fS9jaGF0dHJhbnNjcmlwdHM=/2024-04-01.xml) **Stable**
<!-- mgmt-plane /providers/microsoft.support/supporttickets/{}/chattranscripts 2024-04-01 -->
#### examples
- List all chat transcripts for a support ticket
```bash
support no-subscription chat-transcript list --ticket-name "TestTicketName"
```

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _support no-subscription chat-transcript show_
Get chatTranscript details for a no subscription support ticket.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuc3VwcG9ydC9zdXBwb3J0dGlja2V0cy97fS9jaGF0dHJhbnNjcmlwdHMve30=/2024-04-01.xml) **Stable**
<!-- mgmt-plane /providers/microsoft.support/supporttickets/{}/chattranscripts/{} 2024-04-01 -->
#### examples
- Get chatTranscript details for a support ticket
```bash
support no-subscription chat-transcript show --ticket-name "TestTicketName" --chat-transcript-name "TestChatTranscriptName"
```

Просмотреть файл

@ -0,0 +1,11 @@
# [Group] _support no-subscription chat-transcript_
Manage support ticket chat transcript
## Commands
- [list](/Commands/support/no-subscription/chat-transcript/_list.md)
: List all chat transcripts for a support ticket
- [show](/Commands/support/no-subscription/chat-transcript/_show.md)
: Get chatTranscript details for a no subscription support ticket.

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _support no-subscription communication create_
Adds a new customer communication to an Azure support ticket.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuc3VwcG9ydC9zdXBwb3J0dGlja2V0cy97fS9jb21tdW5pY2F0aW9ucy97fQ==/2024-04-01.xml) **Stable**
<!-- mgmt-plane /providers/microsoft.support/supporttickets/{}/communications/{} 2024-04-01 -->
#### examples
- Adds a new customer communication to an Azure support ticket.
```bash
support no-subscription communication create --ticket-name "TestTicketName "--communication-name "TestTicketCommunicationName" --communication-body "TicketCommunicationBody" --communication-subject "TicketCommunicationSubject"
```

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _support no-subscription communication list_
List all communications (attachments not included) for a support ticket. <br/></br> You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results. <br/><br/>Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuc3VwcG9ydC9zdXBwb3J0dGlja2V0cy97fS9jb21tdW5pY2F0aW9ucw==/2024-04-01.xml) **Stable**
<!-- mgmt-plane /providers/microsoft.support/supporttickets/{}/communications 2024-04-01 -->
#### examples
- List web communication created on or after a specific date for a no subscription support ticket.
```bash
support no-subscription communication list --ticket-name "TestTicketName" --filter "CreatedDate ge 2024-01-01"
```

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _support no-subscription communication show_
Get communication details for a support ticket.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuc3VwcG9ydC9zdXBwb3J0dGlja2V0cy97fS9jb21tdW5pY2F0aW9ucy97fQ==/2024-04-01.xml) **Stable**
<!-- mgmt-plane /providers/microsoft.support/supporttickets/{}/communications/{} 2024-04-01 -->
#### examples
- Get communication details for a no subscription support ticket.
```bash
support no-subscription communication show --ticket-name "TestTicketName" --communication-name "TestTicketCommunicationName"
```

Просмотреть файл

@ -0,0 +1,9 @@
# [Command] _support no-subscription communication update_
Update a new customer communication to an Azure support ticket.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuc3VwcG9ydC9zdXBwb3J0dGlja2V0cy97fS9jb21tdW5pY2F0aW9ucy97fQ==/2024-04-01.xml) **Stable**
<!-- mgmt-plane /providers/microsoft.support/supporttickets/{}/communications/{} 2024-04-01 -->

Просмотреть файл

@ -0,0 +1,17 @@
# [Group] _support no-subscription communication_
Manage support ticket communications
## Commands
- [create](/Commands/support/no-subscription/communication/_create.md)
: Adds a new customer communication to an Azure support ticket.
- [list](/Commands/support/no-subscription/communication/_list.md)
: List all communications (attachments not included) for a support ticket. <br/></br> You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results. <br/><br/>Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.
- [show](/Commands/support/no-subscription/communication/_show.md)
: Get communication details for a support ticket.
- [update](/Commands/support/no-subscription/communication/_update.md)
: Update a new customer communication to an Azure support ticket.

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _support no-subscription file-workspace create_
Creates a new file workspace.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuc3VwcG9ydC9maWxld29ya3NwYWNlcy97fQ==/2024-04-01.xml) **Stable**
<!-- mgmt-plane /providers/microsoft.support/fileworkspaces/{} 2024-04-01 -->
#### examples
- Create a file workspace
```bash
support no-subscription file-workspace create --file-workspace-name "TestWorkspaceName"
```

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _support no-subscription file-workspace show_
Gets details for a specific file workspace.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuc3VwcG9ydC9maWxld29ya3NwYWNlcy97fQ==/2024-04-01.xml) **Stable**
<!-- mgmt-plane /providers/microsoft.support/fileworkspaces/{} 2024-04-01 -->
#### examples
- Show a file workspace
```bash
support no-subscription file-workspace show --file-workspace-name "TestWorkspaceName"
```

Просмотреть файл

@ -0,0 +1,11 @@
# [Group] _support no-subscription file-workspace_
File workspaces for Azure Support.
## Commands
- [create](/Commands/support/no-subscription/file-workspace/_create.md)
: Creates a new file workspace.
- [show](/Commands/support/no-subscription/file-workspace/_show.md)
: Gets details for a specific file workspace.

Просмотреть файл

@ -0,0 +1,9 @@
# [Command] _support no-subscription file create_
Create a new file under a workspace.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuc3VwcG9ydC9maWxld29ya3NwYWNlcy97fS9maWxlcy97fQ==/2024-04-01.xml) **Stable**
<!-- mgmt-plane /providers/microsoft.support/fileworkspaces/{}/files/{} 2024-04-01 -->

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _support no-subscription file list_
List all the Files information under a workspace for an Azure subscription.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuc3VwcG9ydC9maWxld29ya3NwYWNlcy97fS9maWxlcw==/2024-04-01.xml) **Stable**
<!-- mgmt-plane /providers/microsoft.support/fileworkspaces/{}/files 2024-04-01 -->
#### examples
- List all the files within a file-workspace
```bash
support no-subscription file list --file-workspace "TestFileWorkspaceName"
```

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _support no-subscription file show_
Get details of a specific file in a work space.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuc3VwcG9ydC9maWxld29ya3NwYWNlcy97fS9maWxlcy97fQ==/2024-04-01.xml) **Stable**
<!-- mgmt-plane /providers/microsoft.support/fileworkspaces/{}/files/{} 2024-04-01 -->
#### examples
- Show a file within a file-workspace
```bash
support no-subscription file show --file-workspace-name "TestWorkspaceName" --file-name "FileName"
```

Просмотреть файл

@ -0,0 +1,9 @@
# [Command] _support no-subscription file update_
Update a new file under a workspace.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuc3VwcG9ydC9maWxld29ya3NwYWNlcy97fS9maWxlcy97fQ==/2024-04-01.xml) **Stable**
<!-- mgmt-plane /providers/microsoft.support/fileworkspaces/{}/files/{} 2024-04-01 -->

Просмотреть файл

@ -0,0 +1,9 @@
# [Command] _support no-subscription file upload_
This API allows you to upload content to a file
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuc3VwcG9ydC9maWxld29ya3NwYWNlcy97fS9maWxlcy97fS91cGxvYWQ=/2024-04-01.xml) **Stable**
<!-- mgmt-plane /providers/microsoft.support/fileworkspaces/{}/files/{}/upload 2024-04-01 -->

Просмотреть файл

@ -0,0 +1,20 @@
# [Group] _support no-subscription file_
File operations
## Commands
- [create](/Commands/support/no-subscription/file/_create.md)
: Create a new file under a workspace.
- [list](/Commands/support/no-subscription/file/_list.md)
: List all the Files information under a workspace for an Azure subscription.
- [show](/Commands/support/no-subscription/file/_show.md)
: Get details of a specific file in a work space.
- [update](/Commands/support/no-subscription/file/_update.md)
: Update a new file under a workspace.
- [upload](/Commands/support/no-subscription/file/_upload.md)
: This API allows you to upload content to a file

Просмотреть файл

@ -0,0 +1,25 @@
# [Group] _support no-subscription_
Manage Azure support resource without a subscription.
## Subgroups
- [chat-transcript](/Commands/support/no-subscription/chat-transcript/readme.md)
: Manage support ticket chat transcript
- [communication](/Commands/support/no-subscription/communication/readme.md)
: Manage support ticket communications
- [file](/Commands/support/no-subscription/file/readme.md)
: File operations
- [file-workspace](/Commands/support/no-subscription/file-workspace/readme.md)
: File workspaces for Azure Support.
- [tickets](/Commands/support/no-subscription/tickets/readme.md)
: Create and manage Azure support ticket without a subscription.
## Commands
- [check-name-availability](/Commands/support/no-subscription/_check-name-availability.md)
: Check the availability of a resource name. This API should be used to check the uniqueness of the resource name.

Просмотреть файл

@ -0,0 +1,9 @@
# [Command] _support no-subscription tickets check-name-availability_
Check the availability of a resource name. This API should be used to check the uniqueness of the name for adding a new communication or file workspace to the no subscription support ticket.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuc3VwcG9ydC9zdXBwb3J0dGlja2V0cy97fS9jaGVja25hbWVhdmFpbGFiaWxpdHk=/2024-04-01.xml) **Stable**
<!-- mgmt-plane /providers/microsoft.support/supporttickets/{}/checknameavailability 2024-04-01 -->

Просмотреть файл

@ -0,0 +1,101 @@
# [Command] _support no-subscription tickets create_
Creates a new support ticket for Billing, Subscription Management, and Technical issues for no subscription.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuc3VwcG9ydC9zdXBwb3J0dGlja2V0cy97fQ==/2024-04-01.xml) **Stable**
<!-- mgmt-plane /providers/microsoft.support/supporttickets/{} 2024-04-01 -->
#### examples
- Create a ticket for Billing related issues
```bash
support no-subscription tickets create --ticket-name "BillingTestTicketName" --title "BillingTicketTitle"--contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "Foo" --contact-language "en-us" --contact-last-name "Bar" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "BillingTicketDescription" --advanced-diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/BillingServiceNameGuid/problemClassifications/BillingProblemClassificationNameGuid" --severity "minimal"
```
- Create a ticket for Subscription Management related issues.
```bash
support no-subscription tickets create --ticket-name "SubMgmtTestTicketName" --title "SubMgmtTicketTitle" --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "Foo" --contact-language "en-us" --contact-last-name "Bar" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "SubMgmtTicketDescription" --advanced-diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/SubMgmtServiceNameGuid/problemClassifications/SubMgmtProblemClassificationNameGuid" --severity "minimal"
```
- Create a ticket for Technical issue related to a specific resource
```bash
support no-subscription tickets create --ticket-name "TechnicalTestTicketName" --title "TechnicalTicketTitle" --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "Foo" --contact-language "en-us" --contact-last-name "Bar" --contact-method "email" --contact-timezone "Pacific Standard Time" --contact-additional-emails "xyz@contoso.com" "devs@contoso.com"--description "TechnicalTicketDescription" --advanced-diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/TechnicalServiceNameGuid/problemClassifications/TechnicalProblemClassificationNameGuid" --severity "minimal" --technical-resource "/RgName/providers/Microsoft.Compute/virtualMachines/RName" --secondary-consent "[{type:VirtualMachineMemoryDump,user-consent:No}]"
```
- Create a ticket to request Quota increase for Active Jobs and Job Schedules for a Batch account
```bash
support no-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "abc" --contact-language "en-us" --contact-last-name "xyz" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "my description" --advanced-diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid" --severity "moderate" --ticket-name "Quota_Increase_Batch_Account" --title "Quota Increase for Batch Account" --quota-change-version "1.0" --quota-change-request-sub-type "Account" --quota-change-requests '[{"region":"EastUS","payload":"{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"Jobs\"}"}]'
```
- Create a ticket to request Quota increase for Azure SQL managed instance
```bash
support no-subscription tickets create --contact-country "usa" --contact-email "abc@contoso.com" --contact-first-name "abc" --contact-language "en-us" --contact-last-name "xyz" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "my description" --advanced-diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_managedinstance_problemClassification_guid" --severity "moderate" --ticket-name "Quota_Increase_SQLMI" --title "Quota Increase for SQL Managed Instance" --quota-change-version "1.0" --quota-change-request-sub-type "SQLMI" --quota-change-requests '[{"region":"EastUS","payload":"{\"NewLimit\":200, \"Metadata\":null, \"Type\":\"vCore\"}"},{"region":"EastUS","payload":"{\"NewLimit\":200, \"Metadata\":null, \"Type\":\"Subnet\"}"}]'
```
- Create a ticket to request Quota increase for Batch accounts for a subscription
```bash
support no-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "abc" --contact-language "en-us" --contact-last-name "xyz" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "Requesting quota increase for Batch accounts in subscription" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid" --severity "moderate" --ticket-name "Quota_Increase_Batch_Account_Subscription" --title "Quota Increase for Batch Accounts in Subscription" --quota-change-version "1.0" --quota-change-request-sub-type "Subscription" --quota-change-requests '[{"region":"EastUS","payload":"{\"NewLimit\":200,\"Type\":\"Account\"}"}]'
```
- Create a ticket to request Quota increase for Compute VM Cores
```bash
support no-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "Foo" --contact-language "en-us" --contact-last-name "Bar" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "Requesting quota increase for Compute VM Cores" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/QuotaServiceNameGuid/problemClassifications/CoresQuotaProblemClassificationNameGuid" --severity "minimal" --ticket-name "Quota_Increase_Compute_VM_Cores" --title "Quota Increase for Compute VM Cores" --quota-change-version "1.0" --quota-change-requests '[{"region":"EASTUS","payload":"{\"VMFamily\":\"DSv3 Series\",\"NewLimit\":110}"}]'
```
- Create a ticket to request Quota increase for DTUs for Azure Synapse Analytics
```bash
support no-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "abc" --contact-language "en-us" --contact-last-name "xyz" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "Requesting quota increase for DTUs for Azure Synapse Analytics" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid" --severity "moderate" --ticket-name "Quota_Increase_DTUs_Synapse" --title "Quota Increase for DTUs in Azure Synapse Analytics" --quota-change-version "1.0" --quota-change-request-sub-type "DTUs" --quota-change-requests '[{"region":"EastUS","payload":"{\"ServerName\":\"testserver\",\"NewLimit\":54000}"}]'
```
- Create a ticket to request Quota increase for DTUs for SQL Database
```bash
support no-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "abc" --contact-language "en-us" --contact-last-name "xyz" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "Requesting quota increase for DTUs for SQL Database" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_database_problemClassification_guid" --severity "moderate" --ticket-name "Quota_Increase_DTUs_SQL_DB" --title "Quota Increase for DTUs in SQL Database" --quota-change-version "1.0" --quota-change-request-sub-type "DTUs" --quota-change-requests '[{"region":"EastUS","payload":"{\"ServerName\":\"testserver\",\"NewLimit\":54000}"}]'
```
- Create a ticket to request Quota increase for Low-priority cores for a Batch account
```bash
support no-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "abc" --contact-language "en-us" --contact-last-name "xyz" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "Requesting quota increase for Low-priority cores for a Batch account" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid" --severity "moderate" --ticket-name "Quota_Increase_LowPriority_Batch_Account" --title "Quota Increase for Low-priority Cores in Batch Account" --quota-change-version "1.0" --quota-change-request-sub-type "Account" --quota-change-requests '[{"region":"EastUS","payload":"{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"LowPriority\"}"}]'
```
- Create a ticket to request Quota increase for Low-priority cores for Machine Learning service
```bash
support no-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "abc" --contact-language "en-us" --contact-last-name "xyz" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "Requesting quota increase for Low-priority cores for Machine Learning service" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/machine_learning_service_problemClassification_guid" --severity "moderate" --ticket-name "Quota_Increase_LowPriority_ML_Service" --title "Quota Increase for Low-priority Cores in Machine Learning Service" --quota-change-version "1.0" --quota-change-request-sub-type "BatchAml" --quota-change-requests '[{"region":"EastUS","payload":"{\"NewLimit\":200,\"Type\":\"LowPriority\"}"}]'
```
- Create a ticket for Generic Quota increase for any Azure Service
```bash
support no-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "Foo" --contact-language "en-us" --contact-last-name "Bar" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "Requesting a generic quota increase for any Azure service" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/QuotaServiceNameGuid/problemClassifications/GenericProblemClassificationNameGuid" --severity "minimal" --ticket-name "Quota_Increase_Generic" --title "Generic Quota Increase for Any Azure Service"
```
- Create a ticket to request Quota increase for Pools for a Batch account
```bash
support no-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "Foo" --contact-language "en-us" --contact-last-name "Bar" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "Requesting quota increase for Pools for a Batch account" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/QuotaServiceNameGuid/problemClassifications/BatchQuotaProblemClassificationNameGuid" --severity "minimal" --ticket-name "Quota_Increase_Batch_Pools" --title "Quota Increase for Pools in Batch Account" --quota-change-version "1.0" --quota-change-requests '[{"region":"WESTUS","payload":"{\"AccountName\":\"test\",\"NewLimit\":102,\"Type\":\"Pools\"}"}]'
```
- Create a ticket to request Quota increase for Servers for Azure Synapse Analytics
```bash
support no-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "abc" --contact-language "en-us" --contact-last-name "xyz" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "Requesting quota increase for Servers for Azure Synapse Analytics" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid" --severity "moderate" --ticket-name "Quota_Increase_Servers_Synapse" --title "Quota Increase for Servers in Azure Synapse Analytics" --quota-change-version "1.0" --quota-change-request-sub-type "Servers" --quota-change-requests '[{"region":"EastUS","payload":"{\"NewLimit\":200}"}]'
```
- Create a ticket to request Quota increase for Servers for SQL Database
```bash
support no-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "abc" --contact-language "en-us" --contact-last-name "xyz" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "Requesting quota increase for Servers for SQL Database" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_database_problemClassification_guid" --severity "moderate" --ticket-name "Quota_Increase_Servers_SQL_Database" --title "Quota Increase for Servers in SQL Database" --quota-change-version "1.0" --quota-change-request-sub-type "Servers" --quota-change-requests '[{"region":"EastUS","payload":"{\"NewLimit\":200}"}]'
```
- Create a ticket to request Quota increase for services that do not require additional details in the quotaTicketDetails object
```bash
support no-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "abc" --contact-language "en-us" --contact-last-name "xyz" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "Requesting quota increase for services without additional details" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/cosmosdb_problemClassification_guid" --severity "moderate" --ticket-name "Quota_Increase_Services_No_Details" --title "Quota Increase for Services without Details"
```
- Create a ticket to request Quota increase for specific VM family cores for a Batch account
```bash
support no-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "abc" --contact-language "en-us" --contact-last-name "xyz" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "Requesting quota increase for specific VM family cores for a Batch account" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid" --severity "moderate" --ticket-name "Quota_Increase_VMFam_Cores_Batch_Account" --title "Quota Increase for Specific VM Family Cores in Batch Account" --quota-change-version "1.0" --quota-change-request-sub-type "Account" --quota-change-requests '[{"region":"EastUS","payload":"{\"AccountName\":\"test\",\"VMFamily\":\"standardA0_A7Family\",\"NewLimit\":200,\"Type\":\"Dedicated\"}"}]'
```
- Create a ticket to request Quota increase for specific VM family cores for Machine Learning service
```bash
support no-subscription tickets create --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "abc" --contact-language "en-us" --contact-last-name "xyz" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "Requesting quota increase for specific VM family cores for Machine Learning service" --diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/machine_learning_service_problemClassification_guid" --severity "moderate" --ticket-name "Quota_Increase_VMFam_Cores_ML_Service" --title "Quota Increase for Specific VM Family Cores in Machine Learning Service" --quota-change-version "1.0" --quota-change-request-sub-type "BatchAml" --quota-change-requests '[{"region":"EastUS","payload":"{\"VMFamily\":\"standardA0_A7Family\",\"NewLimit\":200,\"Type\":\"Dedicated\"}"}]'
```

Просмотреть файл

@ -0,0 +1,41 @@
# [Command] _support no-subscription tickets list_
List all the support tickets. <br/><br/>You can also filter the support tickets by <i>Status</i>, <i>CreatedDate</i>, <i>ServiceId</i>, and <i>ProblemClassificationId</i> using the $filter parameter. Output will be a paged result with <i>nextLink</i>, using which you can retrieve the next set of support tickets. <br/><br/>Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. Default is CreatedDate >= one week.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuc3VwcG9ydC9zdXBwb3J0dGlja2V0cw==/2024-04-01.xml) **Stable**
<!-- mgmt-plane /providers/microsoft.support/supporttickets 2024-04-01 -->
#### examples
- List support tickets for a no subscription
```bash
support no-subscription tickets list
```
- List support tickets in open state for a no subscription
```bash
support no-subscription tickets list --filter "Status eq 'Open'"
```
- List support tickets in updating state for a no subscription
```bash
support no-subscription tickets list --filter "Status eq 'Updating'"
```
- List support tickets with a certain problem classification id for a no subscription
```bash
support no-subscription tickets list --filter "ProblemClassificationId eq 'problem_classification_guid'"
```
- List support tickets created on or after a certain date and in open state for a no subscription
```bash
support no-subscription tickets list --filter "CreatedDate ge 2024-01-01T22:08:51Z and Status eq 'Open'"
```
- List support tickets with a certain service id for a no subscription
```bash
support no-subscription tickets list --filter "ServiceId eq 'service_guid'"
```

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _support no-subscription tickets show_
Get details for a specific support ticket. Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuc3VwcG9ydC9zdXBwb3J0dGlja2V0cy97fQ==/2024-04-01.xml) **Stable**
<!-- mgmt-plane /providers/microsoft.support/supporttickets/{} 2024-04-01 -->
#### examples
- Get details of a no subscription ticket
```bash
support no-subscription tickets show --ticket-name "TestTicketName"
```

Просмотреть файл

@ -0,0 +1,38 @@
# [Command] _support no-subscription tickets update_
Update API allows you to update the severity level, ticket status, advanced diagnostic consent, secondary consent, and your contact information in the support ticket.<br/><br/>Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuc3VwcG9ydC9zdXBwb3J0dGlja2V0cy97fQ==/2024-04-01.xml) **Stable**
<!-- mgmt-plane /providers/microsoft.support/supporttickets/{} 2024-04-01 -->
#### examples
- Update support ticket severity.
```bash
support no-subscription tickets update --ticket-name "TestTicketName" --severity "moderate"
```
- Update support ticket status.
```bash
support no-subscription tickets update --ticket-name "TestTicketName" --status "closed"
```
- Update support ticket customer contact details properties
```bash
support no-subscription tickets update --ticket-name "TestTicketName" --contact-additional-emails "xyz@contoso.com" "devs@contoso.com" --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "Foo" --contact-language "en-us" --contact-last-name "Bar" --contact-method "phone" --contact-phone-number "123-456-7890" --contact-timezone "Pacific Standard Time"
```
- Update advanced diagnostic consent of a support ticket
```bash
support no-subscription tickets update --ticket-name "TestTicketName" --advanced-diagnostic-consent "Yes"
```
- Update secondary consent of a support ticket
```bash
support no-subscription tickets update --ticket-name "TestTicketName" --secondary-consent "[{type:VirtualMachineMemoryDump,user-consent:No}]"
support no-subscription tickets update --ticket-name "TestTicketName" --secondary-consent [0].type="VirtualMachineMemoryDump" --secondary-consent [0].user-consent="No"
support no-subscription tickets update --ticket-name "TestTicketName" --secondary-consent [0]="{type:VirtualMachineMemoryDump,user-consent:No}"
```

Просмотреть файл

@ -0,0 +1,20 @@
# [Group] _support no-subscription tickets_
Create and manage Azure support ticket without a subscription.
## Commands
- [check-name-availability](/Commands/support/no-subscription/tickets/_check-name-availability.md)
: Check the availability of a resource name. This API should be used to check the uniqueness of the name for adding a new communication or file workspace to the no subscription support ticket.
- [create](/Commands/support/no-subscription/tickets/_create.md)
: Creates a new support ticket for Billing, Subscription Management, and Technical issues for no subscription.
- [list](/Commands/support/no-subscription/tickets/_list.md)
: List all the support tickets. <br/><br/>You can also filter the support tickets by <i>Status</i>, <i>CreatedDate</i>, <i>ServiceId</i>, and <i>ProblemClassificationId</i> using the $filter parameter. Output will be a paged result with <i>nextLink</i>, using which you can retrieve the next set of support tickets. <br/><br/>Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. Default is CreatedDate >= one week.
- [show](/Commands/support/no-subscription/tickets/_show.md)
: Get details for a specific support ticket. Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.
- [update](/Commands/support/no-subscription/tickets/_update.md)
: Update API allows you to update the severity level, ticket status, advanced diagnostic consent, secondary consent, and your contact information in the support ticket.<br/><br/>Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Просмотреть файл

@ -0,0 +1,14 @@
# [Group] _support_
Manage Azure support resource.
## Subgroups
- [in-subscription](/Commands/support/in-subscription/readme.md)
: Manage Azure support resource within the selected subscription.
- [no-subscription](/Commands/support/no-subscription/readme.md)
: Manage Azure support resource without a subscription.
- [services](/Commands/support/services/readme.md)
: Azure services and related problem categories.

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _support services list_
List all the Azure services available for support ticket creation. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuc3VwcG9ydC9zZXJ2aWNlcw==/2024-04-01.xml) **Stable**
<!-- mgmt-plane /providers/microsoft.support/services 2024-04-01 -->
#### examples
- Gets list of services for which a support ticket can be created.
```bash
support services list
```

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _support services show_
Get a specific Azure service for support ticket creation.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuc3VwcG9ydC9zZXJ2aWNlcy97fQ==/2024-04-01.xml) **Stable**
<!-- mgmt-plane /providers/microsoft.support/services/{} 2024-04-01 -->
#### examples
- Gets details of Azure service.
```bash
support services show --service-name "ServiceNameGuid"
```

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _support services problem-classifications list_
List all the problem classifications (categories) available for a specific Azure service. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuc3VwcG9ydC9zZXJ2aWNlcy97fS9wcm9ibGVtY2xhc3NpZmljYXRpb25z/2024-04-01.xml) **Stable**
<!-- mgmt-plane /providers/microsoft.support/services/{}/problemclassifications 2024-04-01 -->
#### examples
- Gets list of problem classifications for a service for which a support ticket can be created.
```bash
support services problem-classifications list --service-name "ServiceNameGuid"
```

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _support services problem-classifications show_
Get problem classification details for a specific Azure service.
## Versions
### [2024-04-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuc3VwcG9ydC9zZXJ2aWNlcy97fS9wcm9ibGVtY2xhc3NpZmljYXRpb25zL3t9/2024-04-01.xml) **Stable**
<!-- mgmt-plane /providers/microsoft.support/services/{}/problemclassifications/{} 2024-04-01 -->
#### examples
- Gets details of problem classification for Azure service.
```bash
support services problem-classifications show --service-name "ServiceNameGuid" --problem-classification-name "ProblemClassificationNameGuid"
```

Просмотреть файл

@ -0,0 +1,11 @@
# [Group] _support services problem-classifications_
Problem classifications for an Azure service.
## Commands
- [list](/Commands/support/services/problem-classifications/_list.md)
: List all the problem classifications (categories) available for a specific Azure service. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids.
- [show](/Commands/support/services/problem-classifications/_show.md)
: Get problem classification details for a specific Azure service.

Просмотреть файл

@ -0,0 +1,16 @@
# [Group] _support services_
Azure services and related problem categories.
## Subgroups
- [problem-classifications](/Commands/support/services/problem-classifications/readme.md)
: Problem classifications for an Azure service.
## Commands
- [list](/Commands/support/services/_list.md)
: List all the Azure services available for support ticket creation. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids.
- [show](/Commands/support/services/_show.md)
: Get a specific Azure service for support ticket creation.

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/providers/microsoft.support/checknameavailability", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9jaGVja05hbWVBdmFpbGFiaWxpdHk=/V/MjAyNC0wNC0wMQ=="}], "commandGroups": [{"name": "support no-subscription", "commands": [{"name": "check-name-availability", "version": "2024-04-01", "resources": [{"id": "/providers/microsoft.support/checknameavailability", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9jaGVja05hbWVBdmFpbGFiaWxpdHk=/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "CheckNameAvailabilityInput", "args": [{"type": "string", "var": "$checkNameAvailabilityInput.name", "options": ["name"], "required": true, "group": "CheckNameAvailabilityInput", "help": {"short": "The resource name to validate."}}, {"type": "string", "var": "$checkNameAvailabilityInput.type", "options": ["type"], "required": true, "group": "CheckNameAvailabilityInput", "help": {"short": "The type of resource."}, "enum": {"items": [{"name": "Microsoft.Support/communications", "value": "Microsoft.Support/communications"}, {"name": "Microsoft.Support/supportTickets", "value": "Microsoft.Support/supportTickets"}]}}]}], "operations": [{"operationId": "SupportTicketsNoSubscription_CheckNameAvailability", "http": {"path": "/providers/Microsoft.Support/checkNameAvailability", "request": {"method": "post", "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "checkNameAvailabilityInput", "required": true, "props": [{"type": "string", "name": "name", "arg": "$checkNameAvailabilityInput.name", "required": true}, {"type": "string", "name": "type", "arg": "$checkNameAvailabilityInput.type", "required": true, "enum": {"items": [{"value": "Microsoft.Support/communications"}, {"value": "Microsoft.Support/supportTickets"}]}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "message"}, {"readOnly": true, "type": "boolean", "name": "nameAvailable"}, {"readOnly": true, "type": "string", "name": "reason"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}

Просмотреть файл

@ -0,0 +1,65 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/providers/microsoft.support/checknameavailability" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9jaGVja05hbWVBdmFpbGFiaWxpdHk=/V/MjAyNC0wNC0wMQ=="/>
<commandGroup name="support no-subscription">
<command name="check-name-availability" version="2024-04-01" confirmation="">
<resource id="/providers/microsoft.support/checknameavailability" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9jaGVja05hbWVBdmFpbGFiaWxpdHk=/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="CheckNameAvailabilityInput">
<arg type="string" var="$checkNameAvailabilityInput.name" options="name" required="True" group="CheckNameAvailabilityInput">
<help short="The resource name to validate."/>
</arg>
<arg type="string" var="$checkNameAvailabilityInput.type" options="type" required="True" group="CheckNameAvailabilityInput">
<help short="The type of resource."/>
<enum>
<item name="Microsoft.Support/communications" value="&quot;Microsoft.Support/communications&quot;"/>
<item name="Microsoft.Support/supportTickets" value="&quot;Microsoft.Support/supportTickets&quot;"/>
</enum>
</arg>
</argGroup>
<operation operationId="SupportTicketsNoSubscription_CheckNameAvailability">
<http path="/providers/Microsoft.Support/checkNameAvailability">
<request method="post">
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json>
<schema type="object" name="checkNameAvailabilityInput" required="True" clientFlatten="True">
<prop type="string" name="name" arg="$checkNameAvailabilityInput.name" required="True"/>
<prop type="string" name="type" arg="$checkNameAvailabilityInput.type" required="True">
<enum>
<item value="&quot;Microsoft.Support/communications&quot;"/>
<item value="&quot;Microsoft.Support/supportTickets&quot;"/>
</enum>
</prop>
</schema>
</json>
</body>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="string" name="message"/>
<prop readOnly="True" type="boolean" name="nameAvailable"/>
<prop readOnly="True" type="string" name="reason"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/providers/microsoft.support/fileworkspaces/{}", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9maWxlV29ya3NwYWNlcy97ZmlsZVdvcmtzcGFjZU5hbWV9/V/MjAyNC0wNC0wMQ=="}], "commandGroups": [{"name": "support no-subscription file-workspace", "commands": [{"name": "show", "version": "2024-04-01", "resources": [{"id": "/providers/microsoft.support/fileworkspaces/{}", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9maWxlV29ya3NwYWNlcy97ZmlsZVdvcmtzcGFjZU5hbWV9/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.fileWorkspaceName", "options": ["file-workspace-name"], "required": true, "help": {"short": "File Workspace Name"}}]}], "operations": [{"operationId": "FileWorkspacesNoSubscription_Get", "http": {"path": "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "fileWorkspaceName", "arg": "$Path.fileWorkspaceName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "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"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "dateTime", "name": "createdOn"}, {"readOnly": true, "type": "dateTime", "name": "expirationTime"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "create", "version": "2024-04-01", "resources": [{"id": "/providers/microsoft.support/fileworkspaces/{}", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9maWxlV29ya3NwYWNlcy97ZmlsZVdvcmtzcGFjZU5hbWV9/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.fileWorkspaceName", "options": ["file-workspace-name"], "required": true, "help": {"short": "File workspace name."}, "format": {"pattern": "^[0-9a-zA-Z_\\-. ]+$"}}]}], "operations": [{"operationId": "FileWorkspacesNoSubscription_Create", "http": {"path": "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "fileWorkspaceName", "arg": "$Path.fileWorkspaceName", "required": true, "format": {"pattern": "^[0-9a-zA-Z_\\-. ]+$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "dateTime", "name": "createdOn"}, {"readOnly": true, "type": "dateTime", "name": "expirationTime"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}

Просмотреть файл

@ -0,0 +1,145 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/providers/microsoft.support/fileworkspaces/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9maWxlV29ya3NwYWNlcy97ZmlsZVdvcmtzcGFjZU5hbWV9/V/MjAyNC0wNC0wMQ=="/>
<commandGroup name="support no-subscription file-workspace">
<command name="show" version="2024-04-01" confirmation="">
<resource id="/providers/microsoft.support/fileworkspaces/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9maWxlV29ya3NwYWNlcy97ZmlsZVdvcmtzcGFjZU5hbWV9/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.fileWorkspaceName" options="file-workspace-name" required="True">
<help short="File Workspace Name"/>
</arg>
</argGroup>
<operation operationId="FileWorkspacesNoSubscription_Get">
<http path="/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}">
<request method="get">
<path>
<param type="string" name="fileWorkspaceName" arg="$Path.fileWorkspaceName" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop readOnly="True" type="dateTime" name="createdOn"/>
<prop readOnly="True" type="dateTime" name="expirationTime"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
<command name="create" version="2024-04-01" confirmation="">
<resource id="/providers/microsoft.support/fileworkspaces/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9maWxlV29ya3NwYWNlcy97ZmlsZVdvcmtzcGFjZU5hbWV9/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.fileWorkspaceName" options="file-workspace-name" required="True">
<help short="File workspace name."/>
<format pattern="^[0-9a-zA-Z_\-. ]+$"/>
</arg>
</argGroup>
<operation operationId="FileWorkspacesNoSubscription_Create">
<http path="/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}">
<request method="put">
<path>
<param type="string" name="fileWorkspaceName" arg="$Path.fileWorkspaceName" required="True">
<format pattern="^[0-9a-zA-Z_\-. ]+$"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="201">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop readOnly="True" type="dateTime" name="createdOn"/>
<prop readOnly="True" type="dateTime" name="expirationTime"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/providers/microsoft.support/fileworkspaces/{}/files", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9maWxlV29ya3NwYWNlcy97ZmlsZVdvcmtzcGFjZU5hbWV9L2ZpbGVz/V/MjAyNC0wNC0wMQ=="}], "commandGroups": [{"name": "support no-subscription file", "commands": [{"name": "list", "version": "2024-04-01", "resources": [{"id": "/providers/microsoft.support/fileworkspaces/{}/files", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9maWxlV29ya3NwYWNlcy97ZmlsZVdvcmtzcGFjZU5hbWV9L2ZpbGVz/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.fileWorkspaceName", "options": ["file-workspace-name"], "required": true, "help": {"short": "File Workspace Name"}}]}], "operations": [{"operationId": "FilesNoSubscription_List", "http": {"path": "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "fileWorkspaceName", "arg": "$Path.fileWorkspaceName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "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<object>", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "chunkSize"}, {"readOnly": true, "type": "dateTime", "name": "createdOn"}, {"type": "integer32", "name": "fileSize"}, {"type": "integer32", "name": "numberOfChunks"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]}

Просмотреть файл

@ -0,0 +1,81 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/providers/microsoft.support/fileworkspaces/{}/files" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9maWxlV29ya3NwYWNlcy97ZmlsZVdvcmtzcGFjZU5hbWV9L2ZpbGVz/V/MjAyNC0wNC0wMQ=="/>
<commandGroup name="support no-subscription file">
<command name="list" version="2024-04-01" confirmation="">
<resource id="/providers/microsoft.support/fileworkspaces/{}/files" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9maWxlV29ya3NwYWNlcy97ZmlsZVdvcmtzcGFjZU5hbWV9L2ZpbGVz/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.fileWorkspaceName" options="file-workspace-name" required="True">
<help short="File Workspace Name"/>
</arg>
</argGroup>
<operation operationId="FilesNoSubscription_List">
<http path="/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files">
<request method="get">
<path>
<param type="string" name="fileWorkspaceName" arg="$Path.fileWorkspaceName" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop type="string" name="nextLink"/>
<prop type="array<object>" name="value">
<item type="object">
<prop readOnly="True" type="ResourceId" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="integer32" name="chunkSize"/>
<prop readOnly="True" type="dateTime" name="createdOn"/>
<prop type="integer32" name="fileSize"/>
<prop type="integer32" name="numberOfChunks"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
</command>
</commandGroup>
</CodeGen>

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -0,0 +1,312 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/providers/microsoft.support/fileworkspaces/{}/files/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9maWxlV29ya3NwYWNlcy97ZmlsZVdvcmtzcGFjZU5hbWV9L2ZpbGVzL3tmaWxlTmFtZX0=/V/MjAyNC0wNC0wMQ=="/>
<commandGroup name="support no-subscription file">
<command name="show" version="2024-04-01" confirmation="">
<resource id="/providers/microsoft.support/fileworkspaces/{}/files/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9maWxlV29ya3NwYWNlcy97ZmlsZVdvcmtzcGFjZU5hbWV9L2ZpbGVzL3tmaWxlTmFtZX0=/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.fileName" options="file-name" required="True">
<help short="File Name"/>
</arg>
<arg type="string" var="$Path.fileWorkspaceName" options="file-workspace-name" required="True">
<help short="File Workspace Name"/>
</arg>
</argGroup>
<operation operationId="FilesNoSubscription_Get">
<http path="/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}">
<request method="get">
<path>
<param type="string" name="fileName" arg="$Path.fileName" required="True"/>
<param type="string" name="fileWorkspaceName" arg="$Path.fileWorkspaceName" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="integer32" name="chunkSize"/>
<prop readOnly="True" type="dateTime" name="createdOn"/>
<prop type="integer32" name="fileSize"/>
<prop type="integer32" name="numberOfChunks"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
<command name="create" version="2024-04-01" confirmation="">
<resource id="/providers/microsoft.support/fileworkspaces/{}/files/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9maWxlV29ya3NwYWNlcy97ZmlsZVdvcmtzcGFjZU5hbWV9L2ZpbGVzL3tmaWxlTmFtZX0=/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.fileName" options="file-name" required="True">
<help short="File name."/>
</arg>
<arg type="string" var="$Path.fileWorkspaceName" options="file-workspace-name" required="True">
<help short="File workspace name."/>
<format pattern="^[0-9a-zA-Z_\-. ]+$"/>
</arg>
</argGroup>
<argGroup name="Properties">
<arg type="integer32" var="$createFileParameters.properties.chunkSize" options="chunk-size" group="Properties">
<help short="Size of each chunk"/>
</arg>
<arg type="integer32" var="$createFileParameters.properties.fileSize" options="file-size" group="Properties">
<help short="Size of the file to be uploaded"/>
</arg>
<arg type="integer32" var="$createFileParameters.properties.numberOfChunks" options="number-of-chunks" group="Properties">
<help short="Number of chunks to be uploaded"/>
</arg>
</argGroup>
<operation operationId="FilesNoSubscription_Create">
<http path="/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}">
<request method="put">
<path>
<param type="string" name="fileName" arg="$Path.fileName" required="True"/>
<param type="string" name="fileWorkspaceName" arg="$Path.fileWorkspaceName" required="True">
<format pattern="^[0-9a-zA-Z_\-. ]+$"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json>
<schema type="object" name="createFileParameters" required="True" clientFlatten="True">
<prop type="object" name="properties" clientFlatten="True">
<prop type="integer32" name="chunkSize" arg="$createFileParameters.properties.chunkSize"/>
<prop type="integer32" name="fileSize" arg="$createFileParameters.properties.fileSize"/>
<prop type="integer32" name="numberOfChunks" arg="$createFileParameters.properties.numberOfChunks"/>
</prop>
</schema>
</json>
</body>
</request>
<response statusCode="201">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="integer32" name="chunkSize"/>
<prop readOnly="True" type="dateTime" name="createdOn"/>
<prop type="integer32" name="fileSize"/>
<prop type="integer32" name="numberOfChunks"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
<command name="update" version="2024-04-01" confirmation="">
<resource id="/providers/microsoft.support/fileworkspaces/{}/files/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9maWxlV29ya3NwYWNlcy97ZmlsZVdvcmtzcGFjZU5hbWV9L2ZpbGVzL3tmaWxlTmFtZX0=/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.fileName" options="file-name" required="True">
<help short="File Name"/>
</arg>
<arg type="string" var="$Path.fileWorkspaceName" options="file-workspace-name" required="True">
<help short="File Workspace Name"/>
</arg>
</argGroup>
<argGroup name="Properties">
<arg nullable="True" type="integer32" var="$createFileParameters.properties.chunkSize" options="chunk-size" group="Properties">
<help short="Size of each chunk"/>
</arg>
<arg nullable="True" type="integer32" var="$createFileParameters.properties.fileSize" options="file-size" group="Properties">
<help short="Size of the file to be uploaded"/>
</arg>
<arg nullable="True" type="integer32" var="$createFileParameters.properties.numberOfChunks" options="number-of-chunks" group="Properties">
<help short="Number of chunks to be uploaded"/>
</arg>
</argGroup>
<operation operationId="FilesNoSubscription_Get">
<http path="/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}">
<request method="get">
<path>
<param type="string" name="fileName" arg="$Path.fileName" required="True"/>
<param type="string" name="fileWorkspaceName" arg="$Path.fileWorkspaceName" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object" cls="FileDetails_read">
<prop readOnly="True" type="ResourceId" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="integer32" name="chunkSize"/>
<prop readOnly="True" type="dateTime" name="createdOn"/>
<prop type="integer32" name="fileSize"/>
<prop type="integer32" name="numberOfChunks"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<operation>
<instanceUpdate ref="$Instance">
<json>
<schema type="object" name="createFileParameters" required="True" clientFlatten="True">
<prop type="object" name="properties" clientFlatten="True">
<prop type="integer32" name="chunkSize" arg="$createFileParameters.properties.chunkSize"/>
<prop type="integer32" name="fileSize" arg="$createFileParameters.properties.fileSize"/>
<prop type="integer32" name="numberOfChunks" arg="$createFileParameters.properties.numberOfChunks"/>
</prop>
</schema>
</json>
</instanceUpdate>
</operation>
<operation operationId="FilesNoSubscription_Create">
<http path="/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}">
<request method="put">
<path>
<param type="string" name="fileName" arg="$Path.fileName" required="True"/>
<param type="string" name="fileWorkspaceName" arg="$Path.fileWorkspaceName" required="True">
<format pattern="^[0-9a-zA-Z_\-. ]+$"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json ref="$Instance"/>
</body>
</request>
<response statusCode="201">
<body>
<json var="$Instance">
<schema type="@FileDetails_read"/>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/providers/microsoft.support/fileworkspaces/{}/files/{}/upload", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9maWxlV29ya3NwYWNlcy97ZmlsZVdvcmtzcGFjZU5hbWV9L2ZpbGVzL3tmaWxlTmFtZX0vdXBsb2Fk/V/MjAyNC0wNC0wMQ=="}], "commandGroups": [{"name": "support no-subscription file", "commands": [{"name": "upload", "version": "2024-04-01", "resources": [{"id": "/providers/microsoft.support/fileworkspaces/{}/files/{}/upload", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9maWxlV29ya3NwYWNlcy97ZmlsZVdvcmtzcGFjZU5hbWV9L2ZpbGVzL3tmaWxlTmFtZX0vdXBsb2Fk/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.fileName", "options": ["file-name"], "required": true, "group": "", "help": {"short": "File Name"}}, {"type": "string", "var": "$Path.fileWorkspaceName", "options": ["file-workspace-name"], "required": true, "group": "", "help": {"short": "File WorkspaceName"}}]}, {"name": "UploadFile", "args": [{"type": "integer32", "var": "$uploadFile.chunkIndex", "options": ["chunk-index"], "group": "UploadFile", "help": {"short": "Index of the uploaded chunk (Index starts at 0)"}}, {"type": "string", "var": "$uploadFile.content", "options": ["content"], "group": "UploadFile", "help": {"short": "File Content in base64 encoded format"}}]}], "operations": [{"operationId": "FilesNoSubscription_Upload", "http": {"path": "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}/upload", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "fileName", "arg": "$Path.fileName", "required": true}, {"type": "string", "name": "fileWorkspaceName", "arg": "$Path.fileWorkspaceName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "uploadFile", "required": true, "props": [{"type": "integer32", "name": "chunkIndex", "arg": "$uploadFile.chunkIndex"}, {"type": "string", "name": "content", "arg": "$uploadFile.content"}], "clientFlatten": true}}}}, "responses": [{"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}]}]}

Просмотреть файл

@ -0,0 +1,57 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/providers/microsoft.support/fileworkspaces/{}/files/{}/upload" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9maWxlV29ya3NwYWNlcy97ZmlsZVdvcmtzcGFjZU5hbWV9L2ZpbGVzL3tmaWxlTmFtZX0vdXBsb2Fk/V/MjAyNC0wNC0wMQ=="/>
<commandGroup name="support no-subscription file">
<command name="upload" version="2024-04-01" confirmation="">
<resource id="/providers/microsoft.support/fileworkspaces/{}/files/{}/upload" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9maWxlV29ya3NwYWNlcy97ZmlsZVdvcmtzcGFjZU5hbWV9L2ZpbGVzL3tmaWxlTmFtZX0vdXBsb2Fk/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.fileName" options="file-name" required="True" group="">
<help short="File Name"/>
</arg>
<arg type="string" var="$Path.fileWorkspaceName" options="file-workspace-name" required="True" group="">
<help short="File WorkspaceName"/>
</arg>
</argGroup>
<argGroup name="UploadFile">
<arg type="integer32" var="$uploadFile.chunkIndex" options="chunk-index" group="UploadFile">
<help short="Index of the uploaded chunk (Index starts at 0)"/>
</arg>
<arg type="string" var="$uploadFile.content" options="content" group="UploadFile">
<help short="File Content in base64 encoded format"/>
</arg>
</argGroup>
<operation operationId="FilesNoSubscription_Upload">
<http path="/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}/upload">
<request method="post">
<path>
<param type="string" name="fileName" arg="$Path.fileName" required="True"/>
<param type="string" name="fileWorkspaceName" arg="$Path.fileWorkspaceName" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json>
<schema type="object" name="uploadFile" required="True" clientFlatten="True">
<prop type="integer32" name="chunkIndex" arg="$uploadFile.chunkIndex"/>
<prop type="string" name="content" arg="$uploadFile.content"/>
</schema>
</json>
</body>
</request>
<response statusCode="204"/>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/providers/microsoft.support/services", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zZXJ2aWNlcw==/V/MjAyNC0wNC0wMQ=="}], "commandGroups": [{"name": "support services", "commands": [{"name": "list", "version": "2024-04-01", "resources": [{"id": "/providers/microsoft.support/services", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zZXJ2aWNlcw==/V/MjAyNC0wNC0wMQ=="}], "operations": [{"operationId": "Services_List", "http": {"path": "/providers/Microsoft.Support/services", "request": {"method": "get", "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "array<object>", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "displayName"}, {"type": "array<string>", "name": "resourceTypes", "item": {"type": "string"}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true}], "confirmation": ""}]}]}

Просмотреть файл

@ -0,0 +1,50 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/providers/microsoft.support/services" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zZXJ2aWNlcw==/V/MjAyNC0wNC0wMQ=="/>
<commandGroup name="support services">
<command name="list" version="2024-04-01" confirmation="">
<resource id="/providers/microsoft.support/services" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zZXJ2aWNlcw==/V/MjAyNC0wNC0wMQ=="/>
<operation operationId="Services_List">
<http path="/providers/Microsoft.Support/services">
<request method="get">
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop type="array<object>" name="value">
<item type="object">
<prop readOnly="True" type="string" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="string" name="displayName"/>
<prop type="array<string>" name="resourceTypes">
<item type="string"/>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="array" ref="$Instance.value" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/providers/microsoft.support/services/{}", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zZXJ2aWNlcy97c2VydmljZU5hbWV9/V/MjAyNC0wNC0wMQ=="}], "commandGroups": [{"name": "support services", "commands": [{"name": "show", "version": "2024-04-01", "resources": [{"id": "/providers/microsoft.support/services/{}", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zZXJ2aWNlcy97c2VydmljZU5hbWV9/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.serviceName", "options": ["service-name"], "required": true, "help": {"short": "Name of the Azure service."}}]}], "operations": [{"operationId": "Services_Get", "http": {"path": "/providers/Microsoft.Support/services/{serviceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "displayName"}, {"type": "array<string>", "name": "resourceTypes", "item": {"type": "string"}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}

Просмотреть файл

@ -0,0 +1,54 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/providers/microsoft.support/services/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zZXJ2aWNlcy97c2VydmljZU5hbWV9/V/MjAyNC0wNC0wMQ=="/>
<commandGroup name="support services">
<command name="show" version="2024-04-01" confirmation="">
<resource id="/providers/microsoft.support/services/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zZXJ2aWNlcy97c2VydmljZU5hbWV9/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.serviceName" options="service-name" required="True">
<help short="Name of the Azure service."/>
</arg>
</argGroup>
<operation operationId="Services_Get">
<http path="/providers/Microsoft.Support/services/{serviceName}">
<request method="get">
<path>
<param type="string" name="serviceName" arg="$Path.serviceName" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="string" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="string" name="displayName"/>
<prop type="array<string>" name="resourceTypes">
<item type="string"/>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/providers/microsoft.support/services/{}/problemclassifications", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zZXJ2aWNlcy97c2VydmljZU5hbWV9L3Byb2JsZW1DbGFzc2lmaWNhdGlvbnM=/V/MjAyNC0wNC0wMQ=="}], "commandGroups": [{"name": "support services problem-classifications", "commands": [{"name": "list", "version": "2024-04-01", "resources": [{"id": "/providers/microsoft.support/services/{}/problemclassifications", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zZXJ2aWNlcy97c2VydmljZU5hbWV9L3Byb2JsZW1DbGFzc2lmaWNhdGlvbnM=/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.serviceName", "options": ["service-name"], "required": true, "help": {"short": "Name of the Azure service for which the problem classifications need to be retrieved."}}]}], "operations": [{"operationId": "ProblemClassifications_List", "http": {"path": "/providers/Microsoft.Support/services/{serviceName}/problemClassifications", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "array<object>", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "displayName"}, {"type": "array<object>", "name": "secondaryConsentEnabled", "item": {"type": "object", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "type"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true}], "confirmation": ""}]}]}

Просмотреть файл

@ -0,0 +1,61 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/providers/microsoft.support/services/{}/problemclassifications" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zZXJ2aWNlcy97c2VydmljZU5hbWV9L3Byb2JsZW1DbGFzc2lmaWNhdGlvbnM=/V/MjAyNC0wNC0wMQ=="/>
<commandGroup name="support services problem-classifications">
<command name="list" version="2024-04-01" confirmation="">
<resource id="/providers/microsoft.support/services/{}/problemclassifications" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zZXJ2aWNlcy97c2VydmljZU5hbWV9L3Byb2JsZW1DbGFzc2lmaWNhdGlvbnM=/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.serviceName" options="service-name" required="True">
<help short="Name of the Azure service for which the problem classifications need to be retrieved."/>
</arg>
</argGroup>
<operation operationId="ProblemClassifications_List">
<http path="/providers/Microsoft.Support/services/{serviceName}/problemClassifications">
<request method="get">
<path>
<param type="string" name="serviceName" arg="$Path.serviceName" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop type="array<object>" name="value">
<item type="object">
<prop readOnly="True" type="string" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="string" name="displayName"/>
<prop type="array<object>" name="secondaryConsentEnabled">
<item type="object">
<prop type="string" name="description"/>
<prop type="string" name="type"/>
</item>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="array" ref="$Instance.value" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/providers/microsoft.support/services/{}/problemclassifications/{}", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zZXJ2aWNlcy97c2VydmljZU5hbWV9L3Byb2JsZW1DbGFzc2lmaWNhdGlvbnMve3Byb2JsZW1DbGFzc2lmaWNhdGlvbk5hbWV9/V/MjAyNC0wNC0wMQ=="}], "commandGroups": [{"name": "support services problem-classifications", "commands": [{"name": "show", "version": "2024-04-01", "resources": [{"id": "/providers/microsoft.support/services/{}/problemclassifications/{}", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zZXJ2aWNlcy97c2VydmljZU5hbWV9L3Byb2JsZW1DbGFzc2lmaWNhdGlvbnMve3Byb2JsZW1DbGFzc2lmaWNhdGlvbk5hbWV9/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.problemClassificationName", "options": ["problem-classification-name"], "required": true, "help": {"short": "Name of problem classification."}}, {"type": "string", "var": "$Path.serviceName", "options": ["service-name"], "required": true, "help": {"short": "Name of the Azure service available for support."}}]}], "operations": [{"operationId": "ProblemClassifications_Get", "http": {"path": "/providers/Microsoft.Support/services/{serviceName}/problemClassifications/{problemClassificationName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "problemClassificationName", "arg": "$Path.problemClassificationName", "required": true}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "displayName"}, {"type": "array<object>", "name": "secondaryConsentEnabled", "item": {"type": "object", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "type"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}

Просмотреть файл

@ -0,0 +1,61 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/providers/microsoft.support/services/{}/problemclassifications/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zZXJ2aWNlcy97c2VydmljZU5hbWV9L3Byb2JsZW1DbGFzc2lmaWNhdGlvbnMve3Byb2JsZW1DbGFzc2lmaWNhdGlvbk5hbWV9/V/MjAyNC0wNC0wMQ=="/>
<commandGroup name="support services problem-classifications">
<command name="show" version="2024-04-01" confirmation="">
<resource id="/providers/microsoft.support/services/{}/problemclassifications/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zZXJ2aWNlcy97c2VydmljZU5hbWV9L3Byb2JsZW1DbGFzc2lmaWNhdGlvbnMve3Byb2JsZW1DbGFzc2lmaWNhdGlvbk5hbWV9/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.problemClassificationName" options="problem-classification-name" required="True">
<help short="Name of problem classification."/>
</arg>
<arg type="string" var="$Path.serviceName" options="service-name" required="True">
<help short="Name of the Azure service available for support."/>
</arg>
</argGroup>
<operation operationId="ProblemClassifications_Get">
<http path="/providers/Microsoft.Support/services/{serviceName}/problemClassifications/{problemClassificationName}">
<request method="get">
<path>
<param type="string" name="problemClassificationName" arg="$Path.problemClassificationName" required="True"/>
<param type="string" name="serviceName" arg="$Path.serviceName" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="string" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="string" name="displayName"/>
<prop type="array<object>" name="secondaryConsentEnabled">
<item type="object">
<prop type="string" name="description"/>
<prop type="string" name="type"/>
</item>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -0,0 +1,145 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/providers/microsoft.support/supporttickets" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zdXBwb3J0VGlja2V0cw==/V/MjAyNC0wNC0wMQ=="/>
<commandGroup name="support no-subscription tickets">
<command name="list" version="2024-04-01" confirmation="">
<resource id="/providers/microsoft.support/supporttickets" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zdXBwb3J0VGlja2V0cw==/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Query.filter" options="filter" group="">
<help short="The filter to apply on the operation. We support 'OData v4.0' filter semantics. Status, ServiceId, and ProblemClassificationId filters can only be used with Equals ('eq') operator. For CreatedDate filter, the supported operators are Greater Than ('gt') and Greater Than or Equals ('ge'). When using both filters, combine them using the logical 'and'."/>
</arg>
<arg type="integer32" var="$Query.top" options="top" hide="True" group="">
<help short="The number of values to return in the collection. Default is 10 and max is 10."/>
</arg>
</argGroup>
<operation operationId="SupportTicketsNoSubscription_List">
<http path="/providers/Microsoft.Support/supportTickets">
<request method="get">
<query>
<param type="string" name="$filter" arg="$Query.filter"/>
<param type="integer32" name="$top" arg="$Query.top"/>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop type="string" name="nextLink"/>
<prop type="array<object>" name="value">
<item type="object">
<prop readOnly="True" type="ResourceId" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" required="True" clientFlatten="True">
<prop type="string" name="advancedDiagnosticConsent" required="True">
<enum>
<item value="&quot;No&quot;"/>
<item value="&quot;Yes&quot;"/>
</enum>
</prop>
<prop type="object" name="contactDetails" required="True">
<prop type="array<string>" name="additionalEmailAddresses">
<item type="string"/>
</prop>
<prop type="string" name="country" required="True"/>
<prop type="string" name="firstName" required="True"/>
<prop type="string" name="lastName" required="True"/>
<prop type="string" name="phoneNumber"/>
<prop type="string" name="preferredContactMethod" required="True">
<enum>
<item value="&quot;email&quot;"/>
<item value="&quot;phone&quot;"/>
</enum>
</prop>
<prop type="string" name="preferredSupportLanguage" required="True"/>
<prop type="string" name="preferredTimeZone" required="True"/>
<prop type="string" name="primaryEmailAddress" required="True"/>
</prop>
<prop readOnly="True" type="dateTime" name="createdDate"/>
<prop type="string" name="description" required="True"/>
<prop type="string" name="enrollmentId"/>
<prop type="string" name="fileWorkspaceName"/>
<prop readOnly="True" type="string" name="isTemporaryTicket">
<enum>
<item value="&quot;No&quot;"/>
<item value="&quot;Yes&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="dateTime" name="modifiedDate"/>
<prop readOnly="True" type="string" name="problemClassificationDisplayName"/>
<prop type="string" name="problemClassificationId" required="True"/>
<prop type="string" name="problemScopingQuestions"/>
<prop type="dateTime" name="problemStartTime"/>
<prop type="object" name="quotaTicketDetails">
<prop type="string" name="quotaChangeRequestSubType"/>
<prop type="string" name="quotaChangeRequestVersion"/>
<prop type="array<object>" name="quotaChangeRequests" identifiers="region">
<item type="object">
<prop type="string" name="payload"/>
<prop type="string" name="region"/>
</item>
</prop>
</prop>
<prop type="boolean" name="require24X7Response"/>
<prop type="array<object>" name="secondaryConsent">
<item type="object">
<prop type="string" name="type"/>
<prop type="string" name="userConsent">
<enum>
<item value="&quot;No&quot;"/>
<item value="&quot;Yes&quot;"/>
</enum>
</prop>
</item>
</prop>
<prop readOnly="True" type="string" name="serviceDisplayName"/>
<prop type="string" name="serviceId" required="True"/>
<prop type="object" name="serviceLevelAgreement">
<prop readOnly="True" type="dateTime" name="expirationTime"/>
<prop readOnly="True" type="integer32" name="slaMinutes"/>
<prop readOnly="True" type="dateTime" name="startTime"/>
</prop>
<prop type="string" name="severity" required="True">
<enum>
<item value="&quot;critical&quot;"/>
<item value="&quot;highestcriticalimpact&quot;"/>
<item value="&quot;minimal&quot;"/>
<item value="&quot;moderate&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="status"/>
<prop type="object" name="supportEngineer">
<prop readOnly="True" type="string" name="emailAddress"/>
</prop>
<prop readOnly="True" type="string" name="supportPlanDisplayName"/>
<prop type="string" name="supportPlanId"/>
<prop readOnly="True" type="string" name="supportPlanType"/>
<prop type="string" name="supportTicketId"/>
<prop type="object" name="technicalTicketDetails">
<prop type="string" name="resourceId"/>
</prop>
<prop type="string" name="title" required="True"/>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
</command>
</commandGroup>
</CodeGen>

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -0,0 +1,734 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/providers/microsoft.support/supporttickets/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zdXBwb3J0VGlja2V0cy97c3VwcG9ydFRpY2tldE5hbWV9/V/MjAyNC0wNC0wMQ=="/>
<commandGroup name="support no-subscription tickets">
<command name="show" version="2024-04-01">
<resource id="/providers/microsoft.support/supporttickets/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zdXBwb3J0VGlja2V0cy97c3VwcG9ydFRpY2tldE5hbWV9/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.supportTicketName" options="ticket-name" required="True" group="">
<help short="Support ticket name."/>
</arg>
</argGroup>
<operation operationId="SupportTicketsNoSubscription_Get">
<http path="/providers/Microsoft.Support/supportTickets/{supportTicketName}">
<request method="get">
<path>
<param type="string" name="supportTicketName" arg="$Path.supportTicketName" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" required="True" clientFlatten="True">
<prop type="string" name="advancedDiagnosticConsent" required="True">
<enum>
<item value="&quot;No&quot;"/>
<item value="&quot;Yes&quot;"/>
</enum>
</prop>
<prop type="object" name="contactDetails" required="True">
<prop type="array<string>" name="additionalEmailAddresses">
<item type="string"/>
</prop>
<prop type="string" name="country" required="True"/>
<prop type="string" name="firstName" required="True"/>
<prop type="string" name="lastName" required="True"/>
<prop type="string" name="phoneNumber"/>
<prop type="string" name="preferredContactMethod" required="True">
<enum>
<item value="&quot;email&quot;"/>
<item value="&quot;phone&quot;"/>
</enum>
</prop>
<prop type="string" name="preferredSupportLanguage" required="True"/>
<prop type="string" name="preferredTimeZone" required="True"/>
<prop type="string" name="primaryEmailAddress" required="True"/>
</prop>
<prop readOnly="True" type="dateTime" name="createdDate"/>
<prop type="string" name="description" required="True"/>
<prop type="string" name="enrollmentId"/>
<prop type="string" name="fileWorkspaceName"/>
<prop readOnly="True" type="string" name="isTemporaryTicket">
<enum>
<item value="&quot;No&quot;"/>
<item value="&quot;Yes&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="dateTime" name="modifiedDate"/>
<prop readOnly="True" type="string" name="problemClassificationDisplayName"/>
<prop type="string" name="problemClassificationId" required="True"/>
<prop type="string" name="problemScopingQuestions"/>
<prop type="dateTime" name="problemStartTime"/>
<prop type="object" name="quotaTicketDetails">
<prop type="string" name="quotaChangeRequestSubType"/>
<prop type="string" name="quotaChangeRequestVersion"/>
<prop type="array<object>" name="quotaChangeRequests" identifiers="region">
<item type="object">
<prop type="string" name="payload"/>
<prop type="string" name="region"/>
</item>
</prop>
</prop>
<prop type="boolean" name="require24X7Response"/>
<prop type="array<object>" name="secondaryConsent">
<item type="object">
<prop type="string" name="type"/>
<prop type="string" name="userConsent">
<enum>
<item value="&quot;No&quot;"/>
<item value="&quot;Yes&quot;"/>
</enum>
</prop>
</item>
</prop>
<prop readOnly="True" type="string" name="serviceDisplayName"/>
<prop type="string" name="serviceId" required="True"/>
<prop type="object" name="serviceLevelAgreement">
<prop readOnly="True" type="dateTime" name="expirationTime"/>
<prop readOnly="True" type="integer32" name="slaMinutes"/>
<prop readOnly="True" type="dateTime" name="startTime"/>
</prop>
<prop type="string" name="severity" required="True">
<enum>
<item value="&quot;critical&quot;"/>
<item value="&quot;highestcriticalimpact&quot;"/>
<item value="&quot;minimal&quot;"/>
<item value="&quot;moderate&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="status"/>
<prop type="object" name="supportEngineer">
<prop readOnly="True" type="string" name="emailAddress"/>
</prop>
<prop readOnly="True" type="string" name="supportPlanDisplayName"/>
<prop type="string" name="supportPlanId"/>
<prop readOnly="True" type="string" name="supportPlanType"/>
<prop type="string" name="supportTicketId"/>
<prop type="object" name="technicalTicketDetails">
<prop type="string" name="resourceId"/>
</prop>
<prop type="string" name="title" required="True"/>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
<command name="create" version="2024-04-01" confirmation="">
<resource id="/providers/microsoft.support/supporttickets/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zdXBwb3J0VGlja2V0cy97c3VwcG9ydFRpY2tldE5hbWV9/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.supportTicketName" options="ticket-name" required="True" group="">
<help short="Support ticket name."/>
</arg>
<arg type="string" var="$createSupportTicketParameters.properties.advancedDiagnosticConsent" options="advanced-diagnostic-consent" required="True" group="">
<help short="Advanced diagnostic consent to be updated on the support ticket."/>
<enum>
<item name="No" value="&quot;No&quot;"/>
<item name="Yes" value="&quot;Yes&quot;"/>
</enum>
</arg>
<arg type="string" var="$createSupportTicketParameters.properties.description" options="description" required="True" group="">
<help short="Detailed description of the question or issue."/>
</arg>
<arg type="string" var="$createSupportTicketParameters.properties.fileWorkspaceName" options="file-workspace-name" group="">
<help short="File workspace name."/>
</arg>
<arg type="string" var="$createSupportTicketParameters.properties.problemClassificationId" options="problem-classification" required="True" group="">
<help short="Each Azure service has its own set of issue categories, also known as problem classification. This parameter is the unique Id for the type of problem you are experiencing."/>
</arg>
<arg type="dateTime" var="$createSupportTicketParameters.properties.problemStartTime" options="start-time" group="">
<help short="Time in UTC (ISO 8601 format) when the problem started."/>
</arg>
<arg type="boolean" var="$createSupportTicketParameters.properties.require24X7Response" options="require-24-by-7-response" group="">
<help short="Indicates if this requires a 24x7 response from Azure."/>
</arg>
<arg type="array<object>" var="$createSupportTicketParameters.properties.secondaryConsent" options="secondary-consent" group="">
<help short="This property indicates secondary consents for the support ticket"/>
<item type="object">
<arg type="string" var="$createSupportTicketParameters.properties.secondaryConsent[].type" options="type">
<help short="The service name for which the secondary consent is being provided. The value needs to be retrieved from the Problem Classification API response."/>
</arg>
<arg type="string" var="$createSupportTicketParameters.properties.secondaryConsent[].userConsent" options="user-consent">
<help short="User consent value provided"/>
<enum>
<item name="No" value="&quot;No&quot;"/>
<item name="Yes" value="&quot;Yes&quot;"/>
</enum>
</arg>
</item>
</arg>
<arg type="string" var="$createSupportTicketParameters.properties.serviceId" options="service-id" required="True" hide="True" group="">
<help short="This is the resource Id of the Azure service resource associated with the support ticket."/>
</arg>
<arg type="string" var="$createSupportTicketParameters.properties.severity" options="severity" required="True" group="">
<help short="A value that indicates the urgency of the case, which in turn determines the response time according to the service level agreement of the technical support plan you have with Azure. Note: 'Highest critical impact', also known as the 'Emergency - Severe impact' level in the Azure portal is reserved only for our Premium customers."/>
<enum>
<item name="critical" value="&quot;critical&quot;"/>
<item name="highestcriticalimpact" value="&quot;highestcriticalimpact&quot;"/>
<item name="minimal" value="&quot;minimal&quot;"/>
<item name="moderate" value="&quot;moderate&quot;"/>
</enum>
</arg>
<arg type="string" var="$createSupportTicketParameters.properties.title" options="title" required="True" group="">
<help short="Title of the support ticket."/>
</arg>
</argGroup>
<argGroup name="Contact">
<arg type="array<string>" var="$createSupportTicketParameters.properties.contactDetails.additionalEmailAddresses" options="contact-additional-emails" group="Contact">
<help short="Additional email addresses listed will be copied on any correspondence about the support ticket."/>
<item type="string"/>
</arg>
<arg type="string" var="$createSupportTicketParameters.properties.contactDetails.country" options="contact-country" required="True" group="Contact">
<help short="Country of the user. This is the ISO 3166-1 alpha-3 code."/>
</arg>
<arg type="string" var="$createSupportTicketParameters.properties.contactDetails.firstName" options="contact-first-name" required="True" group="Contact">
<help short="First name."/>
</arg>
<arg type="string" var="$createSupportTicketParameters.properties.contactDetails.lastName" options="contact-last-name" required="True" group="Contact">
<help short="Last name."/>
</arg>
<arg type="string" var="$createSupportTicketParameters.properties.contactDetails.phoneNumber" options="contact-phone-number" group="Contact">
<help short="Phone number. This is required if preferred contact method is phone."/>
</arg>
<arg type="string" var="$createSupportTicketParameters.properties.contactDetails.preferredContactMethod" options="contact-method" required="True" group="Contact">
<help short="Preferred contact method."/>
<enum>
<item name="email" value="&quot;email&quot;"/>
<item name="phone" value="&quot;phone&quot;"/>
</enum>
</arg>
<arg type="string" var="$createSupportTicketParameters.properties.contactDetails.preferredSupportLanguage" options="contact-language" required="True" group="Contact">
<help short="Preferred language of support from Azure. Support languages vary based on the severity you choose for your support ticket. Learn more at [Azure Severity and responsiveness](https://azure.microsoft.com/support/plans/response). Use the standard language-country code. Valid values are 'en-us' for English, 'zh-hans' for Chinese, 'es-es' for Spanish, 'fr-fr' for French, 'ja-jp' for Japanese, 'ko-kr' for Korean, 'ru-ru' for Russian, 'pt-br' for Portuguese, 'it-it' for Italian, 'zh-tw' for Chinese and 'de-de' for German."/>
</arg>
<arg type="string" var="$createSupportTicketParameters.properties.contactDetails.preferredTimeZone" options="contact-timezone" required="True" group="Contact">
<help short="Time zone of the user. This is the name of the time zone from [Microsoft Time Zone Index Values](https://support.microsoft.com/help/973627/microsoft-time-zone-index-values)."/>
</arg>
<arg type="string" var="$createSupportTicketParameters.properties.contactDetails.primaryEmailAddress" options="contact-email" required="True" group="Contact">
<help short="Primary email address."/>
</arg>
</argGroup>
<argGroup name="Properties">
<arg type="string" var="$createSupportTicketParameters.properties.enrollmentId" options="enrollment-id" group="Properties">
<help short="Enrollment Id associated with the support ticket."/>
</arg>
<arg type="string" var="$createSupportTicketParameters.properties.problemScopingQuestions" options="problem-scoping-questions" hide="True" group="Properties">
<help short="Problem scoping questions associated with the support ticket."/>
</arg>
<arg type="string" var="$createSupportTicketParameters.properties.supportPlanId" options="support-plan-id" hide="True" group="Properties">
<help short="Support plan id associated with the support ticket."/>
</arg>
<arg type="string" var="$createSupportTicketParameters.properties.supportTicketId" options="support-ticket-id" hide="True" group="Properties">
<help short="System generated support ticket Id that is unique."/>
</arg>
</argGroup>
<argGroup name="Quota">
<arg type="string" var="$createSupportTicketParameters.properties.quotaTicketDetails.quotaChangeRequestSubType" options="quota-change-subtype" group="Quota">
<help short="Required for certain quota types when there is a sub type, such as Batch, for which you are requesting a quota increase."/>
</arg>
<arg type="string" var="$createSupportTicketParameters.properties.quotaTicketDetails.quotaChangeRequestVersion" options="quota-change-version" group="Quota">
<help short="Quota change request version."/>
</arg>
<arg type="array<object>" var="$createSupportTicketParameters.properties.quotaTicketDetails.quotaChangeRequests" options="quota-change-requests" group="Quota">
<help short="This property is required for providing the region and new quota limits."/>
<item type="object">
<arg type="string" var="$createSupportTicketParameters.properties.quotaTicketDetails.quotaChangeRequests[].payload" options="payload">
<help short="Payload of the quota increase request."/>
</arg>
<arg type="string" var="$createSupportTicketParameters.properties.quotaTicketDetails.quotaChangeRequests[].region" options="region">
<help short="Region for which the quota increase request is being made."/>
</arg>
</item>
</arg>
</argGroup>
<argGroup name="Technical">
<arg type="string" var="$createSupportTicketParameters.properties.technicalTicketDetails.resourceId" options="technical-resource" group="Technical">
<help short="This is the resource Id of the Azure service resource (For example: A virtual machine resource or an HDInsight resource) for which the support ticket is created."/>
</arg>
</argGroup>
<operation operationId="SupportTicketsNoSubscription_Create">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/providers/Microsoft.Support/supportTickets/{supportTicketName}">
<request method="put">
<path>
<param type="string" name="supportTicketName" arg="$Path.supportTicketName" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json>
<schema type="object" name="createSupportTicketParameters" required="True" clientFlatten="True">
<prop type="object" name="properties" required="True" clientFlatten="True">
<prop type="string" name="advancedDiagnosticConsent" arg="$createSupportTicketParameters.properties.advancedDiagnosticConsent" required="True">
<enum>
<item value="&quot;No&quot;"/>
<item value="&quot;Yes&quot;"/>
</enum>
</prop>
<prop type="object" name="contactDetails" required="True">
<prop type="array<string>" name="additionalEmailAddresses" arg="$createSupportTicketParameters.properties.contactDetails.additionalEmailAddresses">
<item type="string"/>
</prop>
<prop type="string" name="country" arg="$createSupportTicketParameters.properties.contactDetails.country" required="True"/>
<prop type="string" name="firstName" arg="$createSupportTicketParameters.properties.contactDetails.firstName" required="True"/>
<prop type="string" name="lastName" arg="$createSupportTicketParameters.properties.contactDetails.lastName" required="True"/>
<prop type="string" name="phoneNumber" arg="$createSupportTicketParameters.properties.contactDetails.phoneNumber"/>
<prop type="string" name="preferredContactMethod" arg="$createSupportTicketParameters.properties.contactDetails.preferredContactMethod" required="True">
<enum>
<item value="&quot;email&quot;"/>
<item value="&quot;phone&quot;"/>
</enum>
</prop>
<prop type="string" name="preferredSupportLanguage" arg="$createSupportTicketParameters.properties.contactDetails.preferredSupportLanguage" required="True"/>
<prop type="string" name="preferredTimeZone" arg="$createSupportTicketParameters.properties.contactDetails.preferredTimeZone" required="True"/>
<prop type="string" name="primaryEmailAddress" arg="$createSupportTicketParameters.properties.contactDetails.primaryEmailAddress" required="True"/>
</prop>
<prop type="string" name="description" arg="$createSupportTicketParameters.properties.description" required="True"/>
<prop type="string" name="enrollmentId" arg="$createSupportTicketParameters.properties.enrollmentId"/>
<prop type="string" name="fileWorkspaceName" arg="$createSupportTicketParameters.properties.fileWorkspaceName"/>
<prop type="string" name="problemClassificationId" arg="$createSupportTicketParameters.properties.problemClassificationId" required="True"/>
<prop type="string" name="problemScopingQuestions" arg="$createSupportTicketParameters.properties.problemScopingQuestions"/>
<prop type="dateTime" name="problemStartTime" arg="$createSupportTicketParameters.properties.problemStartTime"/>
<prop type="object" name="quotaTicketDetails">
<prop type="string" name="quotaChangeRequestSubType" arg="$createSupportTicketParameters.properties.quotaTicketDetails.quotaChangeRequestSubType"/>
<prop type="string" name="quotaChangeRequestVersion" arg="$createSupportTicketParameters.properties.quotaTicketDetails.quotaChangeRequestVersion"/>
<prop type="array<object>" name="quotaChangeRequests" arg="$createSupportTicketParameters.properties.quotaTicketDetails.quotaChangeRequests" identifiers="region">
<item type="object">
<prop type="string" name="payload" arg="$createSupportTicketParameters.properties.quotaTicketDetails.quotaChangeRequests[].payload"/>
<prop type="string" name="region" arg="$createSupportTicketParameters.properties.quotaTicketDetails.quotaChangeRequests[].region"/>
</item>
</prop>
</prop>
<prop type="boolean" name="require24X7Response" arg="$createSupportTicketParameters.properties.require24X7Response"/>
<prop type="array<object>" name="secondaryConsent" arg="$createSupportTicketParameters.properties.secondaryConsent">
<item type="object">
<prop type="string" name="type" arg="$createSupportTicketParameters.properties.secondaryConsent[].type"/>
<prop type="string" name="userConsent" arg="$createSupportTicketParameters.properties.secondaryConsent[].userConsent">
<enum>
<item value="&quot;No&quot;"/>
<item value="&quot;Yes&quot;"/>
</enum>
</prop>
</item>
</prop>
<prop type="string" name="serviceId" arg="$createSupportTicketParameters.properties.serviceId" required="True"/>
<prop type="string" name="severity" arg="$createSupportTicketParameters.properties.severity" required="True">
<enum>
<item value="&quot;critical&quot;"/>
<item value="&quot;highestcriticalimpact&quot;"/>
<item value="&quot;minimal&quot;"/>
<item value="&quot;moderate&quot;"/>
</enum>
</prop>
<prop type="string" name="supportPlanId" arg="$createSupportTicketParameters.properties.supportPlanId"/>
<prop type="string" name="supportTicketId" arg="$createSupportTicketParameters.properties.supportTicketId"/>
<prop type="object" name="technicalTicketDetails">
<prop type="string" name="resourceId" arg="$createSupportTicketParameters.properties.technicalTicketDetails.resourceId"/>
</prop>
<prop type="string" name="title" arg="$createSupportTicketParameters.properties.title" required="True"/>
</prop>
</schema>
</json>
</body>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" required="True" clientFlatten="True">
<prop type="string" name="advancedDiagnosticConsent" required="True">
<enum>
<item value="&quot;No&quot;"/>
<item value="&quot;Yes&quot;"/>
</enum>
</prop>
<prop type="object" name="contactDetails" required="True">
<prop type="array<string>" name="additionalEmailAddresses">
<item type="string"/>
</prop>
<prop type="string" name="country" required="True"/>
<prop type="string" name="firstName" required="True"/>
<prop type="string" name="lastName" required="True"/>
<prop type="string" name="phoneNumber"/>
<prop type="string" name="preferredContactMethod" required="True">
<enum>
<item value="&quot;email&quot;"/>
<item value="&quot;phone&quot;"/>
</enum>
</prop>
<prop type="string" name="preferredSupportLanguage" required="True"/>
<prop type="string" name="preferredTimeZone" required="True"/>
<prop type="string" name="primaryEmailAddress" required="True"/>
</prop>
<prop readOnly="True" type="dateTime" name="createdDate"/>
<prop type="string" name="description" required="True"/>
<prop type="string" name="enrollmentId"/>
<prop type="string" name="fileWorkspaceName"/>
<prop readOnly="True" type="string" name="isTemporaryTicket">
<enum>
<item value="&quot;No&quot;"/>
<item value="&quot;Yes&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="dateTime" name="modifiedDate"/>
<prop readOnly="True" type="string" name="problemClassificationDisplayName"/>
<prop type="string" name="problemClassificationId" required="True"/>
<prop type="string" name="problemScopingQuestions"/>
<prop type="dateTime" name="problemStartTime"/>
<prop type="object" name="quotaTicketDetails">
<prop type="string" name="quotaChangeRequestSubType"/>
<prop type="string" name="quotaChangeRequestVersion"/>
<prop type="array<object>" name="quotaChangeRequests" identifiers="region">
<item type="object">
<prop type="string" name="payload"/>
<prop type="string" name="region"/>
</item>
</prop>
</prop>
<prop type="boolean" name="require24X7Response"/>
<prop type="array<object>" name="secondaryConsent">
<item type="object">
<prop type="string" name="type"/>
<prop type="string" name="userConsent">
<enum>
<item value="&quot;No&quot;"/>
<item value="&quot;Yes&quot;"/>
</enum>
</prop>
</item>
</prop>
<prop readOnly="True" type="string" name="serviceDisplayName"/>
<prop type="string" name="serviceId" required="True"/>
<prop type="object" name="serviceLevelAgreement">
<prop readOnly="True" type="dateTime" name="expirationTime"/>
<prop readOnly="True" type="integer32" name="slaMinutes"/>
<prop readOnly="True" type="dateTime" name="startTime"/>
</prop>
<prop type="string" name="severity" required="True">
<enum>
<item value="&quot;critical&quot;"/>
<item value="&quot;highestcriticalimpact&quot;"/>
<item value="&quot;minimal&quot;"/>
<item value="&quot;moderate&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="status"/>
<prop type="object" name="supportEngineer">
<prop readOnly="True" type="string" name="emailAddress"/>
</prop>
<prop readOnly="True" type="string" name="supportPlanDisplayName"/>
<prop type="string" name="supportPlanId"/>
<prop readOnly="True" type="string" name="supportPlanType"/>
<prop type="string" name="supportTicketId"/>
<prop type="object" name="technicalTicketDetails">
<prop type="string" name="resourceId"/>
</prop>
<prop type="string" name="title" required="True"/>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response statusCode="202">
<header>
<item name="Location"/>
</header>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
<command name="update" version="2024-04-01" confirmation="">
<resource id="/providers/microsoft.support/supporttickets/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zdXBwb3J0VGlja2V0cy97c3VwcG9ydFRpY2tldE5hbWV9/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.supportTicketName" options="ticket-name" required="True" group="">
<help short="Support ticket name."/>
</arg>
<arg type="string" var="$updateSupportTicket.advancedDiagnosticConsent" options="advanced-diagnostic-consent" group="">
<help short="Advanced diagnostic consent to be updated on the support ticket."/>
<enum>
<item name="No" value="&quot;No&quot;"/>
<item name="Yes" value="&quot;Yes&quot;"/>
</enum>
</arg>
<arg type="array<object>" var="$updateSupportTicket.secondaryConsent" options="secondary-consent" group="">
<help short="This property indicates secondary consents for the support ticket"/>
<item type="object">
<arg type="string" var="$updateSupportTicket.secondaryConsent[].type" options="type">
<help short="The service name for which the secondary consent is being provided. The value needs to be retrieved from the Problem Classification API response."/>
</arg>
<arg type="string" var="$updateSupportTicket.secondaryConsent[].userConsent" options="user-consent">
<help short="User consent value provided"/>
<enum>
<item name="No" value="&quot;No&quot;"/>
<item name="Yes" value="&quot;Yes&quot;"/>
</enum>
</arg>
</item>
</arg>
<arg type="string" var="$updateSupportTicket.severity" options="severity" group="">
<help short="Severity level."/>
<enum>
<item name="critical" value="&quot;critical&quot;"/>
<item name="highestcriticalimpact" value="&quot;highestcriticalimpact&quot;"/>
<item name="minimal" value="&quot;minimal&quot;"/>
<item name="moderate" value="&quot;moderate&quot;"/>
</enum>
</arg>
<arg type="string" var="$updateSupportTicket.status" options="status" group="">
<help short="Status to be updated on the ticket."/>
<enum>
<item name="closed" value="&quot;closed&quot;"/>
<item name="open" value="&quot;open&quot;"/>
</enum>
</arg>
</argGroup>
<argGroup name="Contact">
<arg type="array<string>" var="$updateSupportTicket.contactDetails.additionalEmailAddresses" options="contact-additional-emails" group="Contact">
<help short="Email addresses listed will be copied on any correspondence about the support ticket."/>
<item type="string"/>
</arg>
<arg type="string" var="$updateSupportTicket.contactDetails.country" options="contact-country" group="Contact">
<help short="Country of the user. This is the ISO 3166-1 alpha-3 code."/>
</arg>
<arg type="string" var="$updateSupportTicket.contactDetails.firstName" options="contact-first-name" group="Contact">
<help short="First name."/>
</arg>
<arg type="string" var="$updateSupportTicket.contactDetails.lastName" options="contact-last-name" group="Contact">
<help short="Last name."/>
</arg>
<arg type="string" var="$updateSupportTicket.contactDetails.phoneNumber" options="contact-phone-number" group="Contact">
<help short="Phone number. This is required if preferred contact method is phone."/>
</arg>
<arg type="string" var="$updateSupportTicket.contactDetails.preferredContactMethod" options="contact-method" group="Contact">
<help short="Preferred contact method."/>
<enum>
<item name="email" value="&quot;email&quot;"/>
<item name="phone" value="&quot;phone&quot;"/>
</enum>
</arg>
<arg type="string" var="$updateSupportTicket.contactDetails.preferredSupportLanguage" options="contact-language" group="Contact">
<help short="Preferred language of support from Azure. Support languages vary based on the severity you choose for your support ticket. Learn more at [Azure Severity and responsiveness](https://azure.microsoft.com/support/plans/response/). Use the standard language-country code. Valid values are 'en-us' for English, 'zh-hans' for Chinese, 'es-es' for Spanish, 'fr-fr' for French, 'ja-jp' for Japanese, 'ko-kr' for Korean, 'ru-ru' for Russian, 'pt-br' for Portuguese, 'it-it' for Italian, 'zh-tw' for Chinese and 'de-de' for German."/>
</arg>
<arg type="string" var="$updateSupportTicket.contactDetails.preferredTimeZone" options="contact-timezone" group="Contact">
<help short="Time zone of the user. This is the name of the time zone from [Microsoft Time Zone Index Values](https://support.microsoft.com/help/973627/microsoft-time-zone-index-values)."/>
</arg>
<arg type="string" var="$updateSupportTicket.contactDetails.primaryEmailAddress" options="contact-email" group="Contact">
<help short="Primary email address."/>
</arg>
</argGroup>
<operation operationId="SupportTicketsNoSubscription_Update">
<http path="/providers/Microsoft.Support/supportTickets/{supportTicketName}">
<request method="patch">
<path>
<param type="string" name="supportTicketName" arg="$Path.supportTicketName" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json>
<schema type="object" name="updateSupportTicket" required="True" clientFlatten="True">
<prop type="string" name="advancedDiagnosticConsent" arg="$updateSupportTicket.advancedDiagnosticConsent">
<enum>
<item value="&quot;No&quot;"/>
<item value="&quot;Yes&quot;"/>
</enum>
</prop>
<prop type="object" name="contactDetails">
<prop type="array<string>" name="additionalEmailAddresses" arg="$updateSupportTicket.contactDetails.additionalEmailAddresses">
<item type="string"/>
</prop>
<prop type="string" name="country" arg="$updateSupportTicket.contactDetails.country"/>
<prop type="string" name="firstName" arg="$updateSupportTicket.contactDetails.firstName"/>
<prop type="string" name="lastName" arg="$updateSupportTicket.contactDetails.lastName"/>
<prop type="string" name="phoneNumber" arg="$updateSupportTicket.contactDetails.phoneNumber"/>
<prop type="string" name="preferredContactMethod" arg="$updateSupportTicket.contactDetails.preferredContactMethod">
<enum>
<item value="&quot;email&quot;"/>
<item value="&quot;phone&quot;"/>
</enum>
</prop>
<prop type="string" name="preferredSupportLanguage" arg="$updateSupportTicket.contactDetails.preferredSupportLanguage"/>
<prop type="string" name="preferredTimeZone" arg="$updateSupportTicket.contactDetails.preferredTimeZone"/>
<prop type="string" name="primaryEmailAddress" arg="$updateSupportTicket.contactDetails.primaryEmailAddress"/>
</prop>
<prop type="array<object>" name="secondaryConsent" arg="$updateSupportTicket.secondaryConsent">
<item type="object">
<prop type="string" name="type" arg="$updateSupportTicket.secondaryConsent[].type"/>
<prop type="string" name="userConsent" arg="$updateSupportTicket.secondaryConsent[].userConsent">
<enum>
<item value="&quot;No&quot;"/>
<item value="&quot;Yes&quot;"/>
</enum>
</prop>
</item>
</prop>
<prop type="string" name="severity" arg="$updateSupportTicket.severity">
<enum>
<item value="&quot;critical&quot;"/>
<item value="&quot;highestcriticalimpact&quot;"/>
<item value="&quot;minimal&quot;"/>
<item value="&quot;moderate&quot;"/>
</enum>
</prop>
<prop type="string" name="status" arg="$updateSupportTicket.status">
<enum>
<item value="&quot;closed&quot;"/>
<item value="&quot;open&quot;"/>
</enum>
</prop>
</schema>
</json>
</body>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" required="True" clientFlatten="True">
<prop type="string" name="advancedDiagnosticConsent" required="True">
<enum>
<item value="&quot;No&quot;"/>
<item value="&quot;Yes&quot;"/>
</enum>
</prop>
<prop type="object" name="contactDetails" required="True">
<prop type="array<string>" name="additionalEmailAddresses">
<item type="string"/>
</prop>
<prop type="string" name="country" required="True"/>
<prop type="string" name="firstName" required="True"/>
<prop type="string" name="lastName" required="True"/>
<prop type="string" name="phoneNumber"/>
<prop type="string" name="preferredContactMethod" required="True">
<enum>
<item value="&quot;email&quot;"/>
<item value="&quot;phone&quot;"/>
</enum>
</prop>
<prop type="string" name="preferredSupportLanguage" required="True"/>
<prop type="string" name="preferredTimeZone" required="True"/>
<prop type="string" name="primaryEmailAddress" required="True"/>
</prop>
<prop readOnly="True" type="dateTime" name="createdDate"/>
<prop type="string" name="description" required="True"/>
<prop type="string" name="enrollmentId"/>
<prop type="string" name="fileWorkspaceName"/>
<prop readOnly="True" type="string" name="isTemporaryTicket">
<enum>
<item value="&quot;No&quot;"/>
<item value="&quot;Yes&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="dateTime" name="modifiedDate"/>
<prop readOnly="True" type="string" name="problemClassificationDisplayName"/>
<prop type="string" name="problemClassificationId" required="True"/>
<prop type="string" name="problemScopingQuestions"/>
<prop type="dateTime" name="problemStartTime"/>
<prop type="object" name="quotaTicketDetails">
<prop type="string" name="quotaChangeRequestSubType"/>
<prop type="string" name="quotaChangeRequestVersion"/>
<prop type="array<object>" name="quotaChangeRequests" identifiers="region">
<item type="object">
<prop type="string" name="payload"/>
<prop type="string" name="region"/>
</item>
</prop>
</prop>
<prop type="boolean" name="require24X7Response"/>
<prop type="array<object>" name="secondaryConsent">
<item type="object">
<prop type="string" name="type"/>
<prop type="string" name="userConsent">
<enum>
<item value="&quot;No&quot;"/>
<item value="&quot;Yes&quot;"/>
</enum>
</prop>
</item>
</prop>
<prop readOnly="True" type="string" name="serviceDisplayName"/>
<prop type="string" name="serviceId" required="True"/>
<prop type="object" name="serviceLevelAgreement">
<prop readOnly="True" type="dateTime" name="expirationTime"/>
<prop readOnly="True" type="integer32" name="slaMinutes"/>
<prop readOnly="True" type="dateTime" name="startTime"/>
</prop>
<prop type="string" name="severity" required="True">
<enum>
<item value="&quot;critical&quot;"/>
<item value="&quot;highestcriticalimpact&quot;"/>
<item value="&quot;minimal&quot;"/>
<item value="&quot;moderate&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="status"/>
<prop type="object" name="supportEngineer">
<prop readOnly="True" type="string" name="emailAddress"/>
</prop>
<prop readOnly="True" type="string" name="supportPlanDisplayName"/>
<prop type="string" name="supportPlanId"/>
<prop readOnly="True" type="string" name="supportPlanType"/>
<prop type="string" name="supportTicketId"/>
<prop type="object" name="technicalTicketDetails">
<prop type="string" name="resourceId"/>
</prop>
<prop type="string" name="title" required="True"/>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/providers/microsoft.support/supporttickets/{}/chattranscripts", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zdXBwb3J0VGlja2V0cy97c3VwcG9ydFRpY2tldE5hbWV9L2NoYXRUcmFuc2NyaXB0cw==/V/MjAyNC0wNC0wMQ=="}], "commandGroups": [{"name": "support no-subscription chat-transcript", "commands": [{"name": "list", "version": "2024-04-01", "resources": [{"id": "/providers/microsoft.support/supporttickets/{}/chattranscripts", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zdXBwb3J0VGlja2V0cy97c3VwcG9ydFRpY2tldE5hbWV9L2NoYXRUcmFuc2NyaXB0cw==/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.supportTicketName", "options": ["ticket-name"], "required": true, "group": "", "help": {"short": "Support ticket name."}}]}], "operations": [{"operationId": "ChatTranscriptsNoSubscription_List", "http": {"path": "/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "supportTicketName", "arg": "$Path.supportTicketName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "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<object>", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<object>", "name": "messages", "item": {"type": "object", "props": [{"type": "string", "name": "body"}, {"readOnly": true, "type": "string", "name": "communicationDirection", "enum": {"items": [{"value": "inbound"}, {"value": "outbound"}]}}, {"readOnly": true, "type": "string", "name": "contentType"}, {"readOnly": true, "type": "dateTime", "name": "createdDate"}, {"type": "string", "name": "sender"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]}

Просмотреть файл

@ -0,0 +1,92 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/providers/microsoft.support/supporttickets/{}/chattranscripts" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zdXBwb3J0VGlja2V0cy97c3VwcG9ydFRpY2tldE5hbWV9L2NoYXRUcmFuc2NyaXB0cw==/V/MjAyNC0wNC0wMQ=="/>
<commandGroup name="support no-subscription chat-transcript">
<command name="list" version="2024-04-01">
<resource id="/providers/microsoft.support/supporttickets/{}/chattranscripts" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zdXBwb3J0VGlja2V0cy97c3VwcG9ydFRpY2tldE5hbWV9L2NoYXRUcmFuc2NyaXB0cw==/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.supportTicketName" options="ticket-name" required="True" group="">
<help short="Support ticket name."/>
</arg>
</argGroup>
<operation operationId="ChatTranscriptsNoSubscription_List">
<http path="/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts">
<request method="get">
<path>
<param type="string" name="supportTicketName" arg="$Path.supportTicketName" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop type="string" name="nextLink"/>
<prop type="array<object>" name="value">
<item type="object">
<prop readOnly="True" type="ResourceId" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="array<object>" name="messages">
<item type="object">
<prop type="string" name="body"/>
<prop readOnly="True" type="string" name="communicationDirection">
<enum>
<item value="&quot;inbound&quot;"/>
<item value="&quot;outbound&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="contentType"/>
<prop readOnly="True" type="dateTime" name="createdDate"/>
<prop type="string" name="sender"/>
</item>
</prop>
<prop readOnly="True" type="dateTime" name="startTime"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/providers/microsoft.support/supporttickets/{}/chattranscripts/{}", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zdXBwb3J0VGlja2V0cy97c3VwcG9ydFRpY2tldE5hbWV9L2NoYXRUcmFuc2NyaXB0cy97Y2hhdFRyYW5zY3JpcHROYW1lfQ==/V/MjAyNC0wNC0wMQ=="}], "commandGroups": [{"name": "support no-subscription chat-transcript", "commands": [{"name": "show", "version": "2024-04-01", "resources": [{"id": "/providers/microsoft.support/supporttickets/{}/chattranscripts/{}", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zdXBwb3J0VGlja2V0cy97c3VwcG9ydFRpY2tldE5hbWV9L2NoYXRUcmFuc2NyaXB0cy97Y2hhdFRyYW5zY3JpcHROYW1lfQ==/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.chatTranscriptName", "options": ["chat-transcript-name"], "required": true, "help": {"short": "ChatTranscript name."}}, {"type": "string", "var": "$Path.supportTicketName", "options": ["ticket-name"], "required": true, "group": "", "help": {"short": "Support ticket name."}}]}], "operations": [{"operationId": "ChatTranscriptsNoSubscription_Get", "http": {"path": "/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts/{chatTranscriptName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "chatTranscriptName", "arg": "$Path.chatTranscriptName", "required": true}, {"type": "string", "name": "supportTicketName", "arg": "$Path.supportTicketName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "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"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<object>", "name": "messages", "item": {"type": "object", "props": [{"type": "string", "name": "body"}, {"readOnly": true, "type": "string", "name": "communicationDirection", "enum": {"items": [{"value": "inbound"}, {"value": "outbound"}]}}, {"readOnly": true, "type": "string", "name": "contentType"}, {"readOnly": true, "type": "dateTime", "name": "createdDate"}, {"type": "string", "name": "sender"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]}

Просмотреть файл

@ -0,0 +1,91 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/providers/microsoft.support/supporttickets/{}/chattranscripts/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zdXBwb3J0VGlja2V0cy97c3VwcG9ydFRpY2tldE5hbWV9L2NoYXRUcmFuc2NyaXB0cy97Y2hhdFRyYW5zY3JpcHROYW1lfQ==/V/MjAyNC0wNC0wMQ=="/>
<commandGroup name="support no-subscription chat-transcript">
<command name="show" version="2024-04-01">
<resource id="/providers/microsoft.support/supporttickets/{}/chattranscripts/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zdXBwb3J0VGlja2V0cy97c3VwcG9ydFRpY2tldE5hbWV9L2NoYXRUcmFuc2NyaXB0cy97Y2hhdFRyYW5zY3JpcHROYW1lfQ==/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.chatTranscriptName" options="chat-transcript-name" required="True">
<help short="ChatTranscript name."/>
</arg>
<arg type="string" var="$Path.supportTicketName" options="ticket-name" required="True" group="">
<help short="Support ticket name."/>
</arg>
</argGroup>
<operation operationId="ChatTranscriptsNoSubscription_Get">
<http path="/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts/{chatTranscriptName}">
<request method="get">
<path>
<param type="string" name="chatTranscriptName" arg="$Path.chatTranscriptName" required="True"/>
<param type="string" name="supportTicketName" arg="$Path.supportTicketName" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="array<object>" name="messages">
<item type="object">
<prop type="string" name="body"/>
<prop readOnly="True" type="string" name="communicationDirection">
<enum>
<item value="&quot;inbound&quot;"/>
<item value="&quot;outbound&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="contentType"/>
<prop readOnly="True" type="dateTime" name="createdDate"/>
<prop type="string" name="sender"/>
</item>
</prop>
<prop readOnly="True" type="dateTime" name="startTime"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/providers/microsoft.support/supporttickets/{}/checknameavailability", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zdXBwb3J0VGlja2V0cy97c3VwcG9ydFRpY2tldE5hbWV9L2NoZWNrTmFtZUF2YWlsYWJpbGl0eQ==/V/MjAyNC0wNC0wMQ=="}], "commandGroups": [{"name": "support no-subscription tickets", "commands": [{"name": "check-name-availability", "version": "2024-04-01", "resources": [{"id": "/providers/microsoft.support/supporttickets/{}/checknameavailability", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zdXBwb3J0VGlja2V0cy97c3VwcG9ydFRpY2tldE5hbWV9L2NoZWNrTmFtZUF2YWlsYWJpbGl0eQ==/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.supportTicketName", "options": ["support-ticket-name"], "required": true, "help": {"short": "Support ticket name."}}]}, {"name": "CheckNameAvailabilityInput", "args": [{"type": "string", "var": "$checkNameAvailabilityInput.name", "options": ["name"], "required": true, "group": "CheckNameAvailabilityInput", "help": {"short": "The resource name to validate."}}, {"type": "string", "var": "$checkNameAvailabilityInput.type", "options": ["type"], "required": true, "group": "CheckNameAvailabilityInput", "help": {"short": "The type of resource."}, "enum": {"items": [{"name": "Microsoft.Support/communications", "value": "Microsoft.Support/communications"}, {"name": "Microsoft.Support/supportTickets", "value": "Microsoft.Support/supportTickets"}]}}]}], "operations": [{"operationId": "CommunicationsNoSubscription_CheckNameAvailability", "http": {"path": "/providers/Microsoft.Support/supportTickets/{supportTicketName}/checkNameAvailability", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "supportTicketName", "arg": "$Path.supportTicketName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "checkNameAvailabilityInput", "required": true, "props": [{"type": "string", "name": "name", "arg": "$checkNameAvailabilityInput.name", "required": true}, {"type": "string", "name": "type", "arg": "$checkNameAvailabilityInput.type", "required": true, "enum": {"items": [{"value": "Microsoft.Support/communications"}, {"value": "Microsoft.Support/supportTickets"}]}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "message"}, {"readOnly": true, "type": "boolean", "name": "nameAvailable"}, {"readOnly": true, "type": "string", "name": "reason"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}

Просмотреть файл

@ -0,0 +1,73 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/providers/microsoft.support/supporttickets/{}/checknameavailability" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zdXBwb3J0VGlja2V0cy97c3VwcG9ydFRpY2tldE5hbWV9L2NoZWNrTmFtZUF2YWlsYWJpbGl0eQ==/V/MjAyNC0wNC0wMQ=="/>
<commandGroup name="support no-subscription tickets">
<command name="check-name-availability" version="2024-04-01" confirmation="">
<resource id="/providers/microsoft.support/supporttickets/{}/checknameavailability" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zdXBwb3J0VGlja2V0cy97c3VwcG9ydFRpY2tldE5hbWV9L2NoZWNrTmFtZUF2YWlsYWJpbGl0eQ==/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.supportTicketName" options="support-ticket-name" required="True">
<help short="Support ticket name."/>
</arg>
</argGroup>
<argGroup name="CheckNameAvailabilityInput">
<arg type="string" var="$checkNameAvailabilityInput.name" options="name" required="True" group="CheckNameAvailabilityInput">
<help short="The resource name to validate."/>
</arg>
<arg type="string" var="$checkNameAvailabilityInput.type" options="type" required="True" group="CheckNameAvailabilityInput">
<help short="The type of resource."/>
<enum>
<item name="Microsoft.Support/communications" value="&quot;Microsoft.Support/communications&quot;"/>
<item name="Microsoft.Support/supportTickets" value="&quot;Microsoft.Support/supportTickets&quot;"/>
</enum>
</arg>
</argGroup>
<operation operationId="CommunicationsNoSubscription_CheckNameAvailability">
<http path="/providers/Microsoft.Support/supportTickets/{supportTicketName}/checkNameAvailability">
<request method="post">
<path>
<param type="string" name="supportTicketName" arg="$Path.supportTicketName" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json>
<schema type="object" name="checkNameAvailabilityInput" required="True" clientFlatten="True">
<prop type="string" name="name" arg="$checkNameAvailabilityInput.name" required="True"/>
<prop type="string" name="type" arg="$checkNameAvailabilityInput.type" required="True">
<enum>
<item value="&quot;Microsoft.Support/communications&quot;"/>
<item value="&quot;Microsoft.Support/supportTickets&quot;"/>
</enum>
</prop>
</schema>
</json>
</body>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="string" name="message"/>
<prop readOnly="True" type="boolean" name="nameAvailable"/>
<prop readOnly="True" type="string" name="reason"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/providers/microsoft.support/supporttickets/{}/communications", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zdXBwb3J0VGlja2V0cy97c3VwcG9ydFRpY2tldE5hbWV9L2NvbW11bmljYXRpb25z/V/MjAyNC0wNC0wMQ=="}], "commandGroups": [{"name": "support no-subscription communication", "commands": [{"name": "list", "version": "2024-04-01", "resources": [{"id": "/providers/microsoft.support/supporttickets/{}/communications", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zdXBwb3J0VGlja2V0cy97c3VwcG9ydFRpY2tldE5hbWV9L2NvbW11bmljYXRpb25z/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.supportTicketName", "options": ["ticket-name"], "required": true, "group": "", "help": {"short": "Support ticket name."}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "The filter to apply on the operation. You can filter by communicationType and createdDate properties. CommunicationType supports Equals ('eq') operator and createdDate supports Greater Than ('gt') and Greater Than or Equals ('ge') operators. You may combine the CommunicationType and CreatedDate filters by Logical And ('and') operator."}}, {"type": "integer32", "var": "$Query.top", "options": ["top"], "hide": true, "group": "", "help": {"short": "The number of values to return in the collection. Default is 10 and max is 10."}}]}], "operations": [{"operationId": "CommunicationsNoSubscription_List", "http": {"path": "/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "supportTicketName", "arg": "$Path.supportTicketName", "required": true}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}, {"type": "integer32", "name": "$top", "arg": "$Query.top"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "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<object>", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "body", "required": true}, {"readOnly": true, "type": "string", "name": "communicationDirection", "enum": {"items": [{"value": "inbound"}, {"value": "outbound"}]}}, {"readOnly": true, "type": "string", "name": "communicationType", "enum": {"items": [{"value": "phone"}, {"value": "web"}]}}, {"readOnly": true, "type": "dateTime", "name": "createdDate"}, {"type": "string", "name": "sender"}, {"type": "string", "name": "subject", "required": true}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]}

Просмотреть файл

@ -0,0 +1,79 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/providers/microsoft.support/supporttickets/{}/communications" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zdXBwb3J0VGlja2V0cy97c3VwcG9ydFRpY2tldE5hbWV9L2NvbW11bmljYXRpb25z/V/MjAyNC0wNC0wMQ=="/>
<commandGroup name="support no-subscription communication">
<command name="list" version="2024-04-01">
<resource id="/providers/microsoft.support/supporttickets/{}/communications" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zdXBwb3J0VGlja2V0cy97c3VwcG9ydFRpY2tldE5hbWV9L2NvbW11bmljYXRpb25z/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.supportTicketName" options="ticket-name" required="True" group="">
<help short="Support ticket name."/>
</arg>
<arg type="string" var="$Query.filter" options="filter">
<help short="The filter to apply on the operation. You can filter by communicationType and createdDate properties. CommunicationType supports Equals ('eq') operator and createdDate supports Greater Than ('gt') and Greater Than or Equals ('ge') operators. You may combine the CommunicationType and CreatedDate filters by Logical And ('and') operator."/>
</arg>
<arg type="integer32" var="$Query.top" options="top" hide="True" group="">
<help short="The number of values to return in the collection. Default is 10 and max is 10."/>
</arg>
</argGroup>
<operation operationId="CommunicationsNoSubscription_List">
<http path="/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications">
<request method="get">
<path>
<param type="string" name="supportTicketName" arg="$Path.supportTicketName" required="True"/>
</path>
<query>
<param type="string" name="$filter" arg="$Query.filter"/>
<param type="integer32" name="$top" arg="$Query.top"/>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop type="string" name="nextLink"/>
<prop type="array<object>" name="value">
<item type="object">
<prop readOnly="True" type="ResourceId" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" required="True" clientFlatten="True">
<prop type="string" name="body" required="True"/>
<prop readOnly="True" type="string" name="communicationDirection">
<enum>
<item value="&quot;inbound&quot;"/>
<item value="&quot;outbound&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="communicationType">
<enum>
<item value="&quot;phone&quot;"/>
<item value="&quot;web&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="dateTime" name="createdDate"/>
<prop type="string" name="sender"/>
<prop type="string" name="subject" required="True"/>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
</command>
</commandGroup>
</CodeGen>

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -0,0 +1,285 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/providers/microsoft.support/supporttickets/{}/communications/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zdXBwb3J0VGlja2V0cy97c3VwcG9ydFRpY2tldE5hbWV9L2NvbW11bmljYXRpb25zL3tjb21tdW5pY2F0aW9uTmFtZX0=/V/MjAyNC0wNC0wMQ=="/>
<commandGroup name="support no-subscription communication">
<command name="show" version="2024-04-01">
<resource id="/providers/microsoft.support/supporttickets/{}/communications/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zdXBwb3J0VGlja2V0cy97c3VwcG9ydFRpY2tldE5hbWV9L2NvbW11bmljYXRpb25zL3tjb21tdW5pY2F0aW9uTmFtZX0=/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.communicationName" options="communication-name" required="True">
<help short="Communication name."/>
</arg>
<arg type="string" var="$Path.supportTicketName" options="ticket-name" required="True" group="">
<help short="Support ticket name."/>
</arg>
</argGroup>
<operation operationId="CommunicationsNoSubscription_Get">
<http path="/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}">
<request method="get">
<path>
<param type="string" name="communicationName" arg="$Path.communicationName" required="True"/>
<param type="string" name="supportTicketName" arg="$Path.supportTicketName" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" required="True" clientFlatten="True">
<prop type="string" name="body" required="True"/>
<prop readOnly="True" type="string" name="communicationDirection">
<enum>
<item value="&quot;inbound&quot;"/>
<item value="&quot;outbound&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="communicationType">
<enum>
<item value="&quot;phone&quot;"/>
<item value="&quot;web&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="dateTime" name="createdDate"/>
<prop type="string" name="sender"/>
<prop type="string" name="subject" required="True"/>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
<command name="create" version="2024-04-01" confirmation="">
<resource id="/providers/microsoft.support/supporttickets/{}/communications/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zdXBwb3J0VGlja2V0cy97c3VwcG9ydFRpY2tldE5hbWV9L2NvbW11bmljYXRpb25zL3tjb21tdW5pY2F0aW9uTmFtZX0=/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.communicationName" options="communication-name" required="True">
<help short="Communication name."/>
</arg>
<arg type="string" var="$Path.supportTicketName" options="ticket-name" required="True" group="">
<help short="Support ticket name."/>
</arg>
<arg type="string" var="$createCommunicationParameters.properties.body" options="communication-body" required="True" group="">
<help short="Body of the communication."/>
</arg>
<arg type="string" var="$createCommunicationParameters.properties.sender" options="communication-sender" group="">
<help short="Email address of the sender. This property is required if called by a service principal."/>
</arg>
<arg type="string" var="$createCommunicationParameters.properties.subject" options="communication-subject" required="True" group="">
<help short="Subject of the communication."/>
</arg>
</argGroup>
<operation operationId="CommunicationsNoSubscription_Create">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}">
<request method="put">
<path>
<param type="string" name="communicationName" arg="$Path.communicationName" required="True"/>
<param type="string" name="supportTicketName" arg="$Path.supportTicketName" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json>
<schema type="object" name="createCommunicationParameters" required="True" clientFlatten="True">
<prop type="object" name="properties" required="True" clientFlatten="True">
<prop type="string" name="body" arg="$createCommunicationParameters.properties.body" required="True"/>
<prop type="string" name="sender" arg="$createCommunicationParameters.properties.sender"/>
<prop type="string" name="subject" arg="$createCommunicationParameters.properties.subject" required="True"/>
</prop>
</schema>
</json>
</body>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" required="True" clientFlatten="True">
<prop type="string" name="body" required="True"/>
<prop readOnly="True" type="string" name="communicationDirection">
<enum>
<item value="&quot;inbound&quot;"/>
<item value="&quot;outbound&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="communicationType">
<enum>
<item value="&quot;phone&quot;"/>
<item value="&quot;web&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="dateTime" name="createdDate"/>
<prop type="string" name="sender"/>
<prop type="string" name="subject" required="True"/>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response statusCode="202">
<header>
<item name="Location"/>
</header>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
<command name="update" version="2024-04-01">
<resource id="/providers/microsoft.support/supporttickets/{}/communications/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3VwcG9ydC9zdXBwb3J0VGlja2V0cy97c3VwcG9ydFRpY2tldE5hbWV9L2NvbW11bmljYXRpb25zL3tjb21tdW5pY2F0aW9uTmFtZX0=/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.communicationName" options="communication-name" required="True">
<help short="Communication name."/>
</arg>
<arg type="string" var="$Path.supportTicketName" options="ticket-name" required="True" group="">
<help short="Support ticket name."/>
</arg>
<arg type="string" var="$createCommunicationParameters.properties.body" options="communication-body" group="">
<help short="Body of the communication."/>
</arg>
<arg nullable="True" type="string" var="$createCommunicationParameters.properties.sender" options="communication-sender" group="">
<help short="Email address of the sender. This property is required if called by a service principal."/>
</arg>
<arg type="string" var="$createCommunicationParameters.properties.subject" options="communication-subject" group="">
<help short="Subject of the communication."/>
</arg>
</argGroup>
<operation operationId="CommunicationsNoSubscription_Get">
<http path="/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}">
<request method="get">
<path>
<param type="string" name="communicationName" arg="$Path.communicationName" required="True"/>
<param type="string" name="supportTicketName" arg="$Path.supportTicketName" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object" cls="CommunicationDetails_read">
<prop readOnly="True" type="ResourceId" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" required="True" clientFlatten="True">
<prop type="string" name="body" required="True"/>
<prop readOnly="True" type="string" name="communicationDirection">
<enum>
<item value="&quot;inbound&quot;"/>
<item value="&quot;outbound&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="communicationType">
<enum>
<item value="&quot;phone&quot;"/>
<item value="&quot;web&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="dateTime" name="createdDate"/>
<prop type="string" name="sender"/>
<prop type="string" name="subject" required="True"/>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<operation>
<instanceUpdate ref="$Instance">
<json>
<schema type="object" name="createCommunicationParameters" required="True" clientFlatten="True">
<prop type="object" name="properties" required="True" clientFlatten="True">
<prop type="string" name="body" arg="$createCommunicationParameters.properties.body" required="True"/>
<prop type="string" name="sender" arg="$createCommunicationParameters.properties.sender"/>
<prop type="string" name="subject" arg="$createCommunicationParameters.properties.subject" required="True"/>
</prop>
</schema>
</json>
</instanceUpdate>
</operation>
<operation operationId="CommunicationsNoSubscription_Create">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}">
<request method="put">
<path>
<param type="string" name="communicationName" arg="$Path.communicationName" required="True"/>
<param type="string" name="supportTicketName" arg="$Path.supportTicketName" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json ref="$Instance"/>
</body>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="@CommunicationDetails_read"/>
</json>
</body>
</response>
<response statusCode="202">
<header>
<item name="Location"/>
</header>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.support/checknameavailability", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1cHBvcnQvY2hlY2tOYW1lQXZhaWxhYmlsaXR5/V/MjAyNC0wNC0wMQ=="}], "commandGroups": [{"name": "support in-subscription", "commands": [{"name": "check-name-availability", "version": "2024-04-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.support/checknameavailability", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1cHBvcnQvY2hlY2tOYW1lQXZhaWxhYmlsaXR5/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "CheckNameAvailabilityInput", "args": [{"type": "string", "var": "$checkNameAvailabilityInput.name", "options": ["name"], "required": true, "group": "CheckNameAvailabilityInput", "help": {"short": "The resource name to validate."}}, {"type": "string", "var": "$checkNameAvailabilityInput.type", "options": ["type"], "required": true, "group": "CheckNameAvailabilityInput", "help": {"short": "The type of resource."}, "enum": {"items": [{"name": "Microsoft.Support/communications", "value": "Microsoft.Support/communications"}, {"name": "Microsoft.Support/supportTickets", "value": "Microsoft.Support/supportTickets"}]}}]}], "operations": [{"operationId": "SupportTickets_CheckNameAvailability", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Support/checkNameAvailability", "request": {"method": "post", "path": {"params": [{"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "checkNameAvailabilityInput", "required": true, "props": [{"type": "string", "name": "name", "arg": "$checkNameAvailabilityInput.name", "required": true}, {"type": "string", "name": "type", "arg": "$checkNameAvailabilityInput.type", "required": true, "enum": {"items": [{"value": "Microsoft.Support/communications"}, {"value": "Microsoft.Support/supportTickets"}]}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "message"}, {"readOnly": true, "type": "boolean", "name": "nameAvailable"}, {"readOnly": true, "type": "string", "name": "reason"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}

Просмотреть файл

@ -0,0 +1,71 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/providers/microsoft.support/checknameavailability" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1cHBvcnQvY2hlY2tOYW1lQXZhaWxhYmlsaXR5/V/MjAyNC0wNC0wMQ=="/>
<commandGroup name="support in-subscription">
<command name="check-name-availability" version="2024-04-01" confirmation="">
<resource id="/subscriptions/{}/providers/microsoft.support/checknameavailability" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1cHBvcnQvY2hlY2tOYW1lQXZhaWxhYmlsaXR5/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<argGroup name="CheckNameAvailabilityInput">
<arg type="string" var="$checkNameAvailabilityInput.name" options="name" required="True" group="CheckNameAvailabilityInput">
<help short="The resource name to validate."/>
</arg>
<arg type="string" var="$checkNameAvailabilityInput.type" options="type" required="True" group="CheckNameAvailabilityInput">
<help short="The type of resource."/>
<enum>
<item name="Microsoft.Support/communications" value="&quot;Microsoft.Support/communications&quot;"/>
<item name="Microsoft.Support/supportTickets" value="&quot;Microsoft.Support/supportTickets&quot;"/>
</enum>
</arg>
</argGroup>
<operation operationId="SupportTickets_CheckNameAvailability">
<http path="/subscriptions/{subscriptionId}/providers/Microsoft.Support/checkNameAvailability">
<request method="post">
<path>
<param type="uuid" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json>
<schema type="object" name="checkNameAvailabilityInput" required="True" clientFlatten="True">
<prop type="string" name="name" arg="$checkNameAvailabilityInput.name" required="True"/>
<prop type="string" name="type" arg="$checkNameAvailabilityInput.type" required="True">
<enum>
<item value="&quot;Microsoft.Support/communications&quot;"/>
<item value="&quot;Microsoft.Support/supportTickets&quot;"/>
</enum>
</prop>
</schema>
</json>
</body>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="string" name="message"/>
<prop readOnly="True" type="boolean" name="nameAvailable"/>
<prop readOnly="True" type="string" name="reason"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -0,0 +1,149 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/providers/microsoft.support/fileworkspaces/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1cHBvcnQvZmlsZVdvcmtzcGFjZXMve2ZpbGVXb3Jrc3BhY2VOYW1lfQ==/V/MjAyNC0wNC0wMQ=="/>
<commandGroup name="support in-subscription file-workspace">
<command name="show" version="2024-04-01" confirmation="">
<resource id="/subscriptions/{}/providers/microsoft.support/fileworkspaces/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1cHBvcnQvZmlsZVdvcmtzcGFjZXMve2ZpbGVXb3Jrc3BhY2VOYW1lfQ==/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.fileWorkspaceName" options="file-workspace-name" required="True" group="" idPart="name">
<help short="File Workspace Name"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="FileWorkspaces_Get">
<http path="/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}">
<request method="get">
<path>
<param type="string" name="fileWorkspaceName" arg="$Path.fileWorkspaceName" required="True"/>
<param type="uuid" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop readOnly="True" type="dateTime" name="createdOn"/>
<prop readOnly="True" type="dateTime" name="expirationTime"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
<command name="create" version="2024-04-01" confirmation="">
<resource id="/subscriptions/{}/providers/microsoft.support/fileworkspaces/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1cHBvcnQvZmlsZVdvcmtzcGFjZXMve2ZpbGVXb3Jrc3BhY2VOYW1lfQ==/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.fileWorkspaceName" options="file-workspace-name" required="True" group="" idPart="name">
<help short="File workspace name."/>
<format pattern="^[0-9a-zA-Z_\-. ]+$"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="FileWorkspaces_Create">
<http path="/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}">
<request method="put">
<path>
<param type="string" name="fileWorkspaceName" arg="$Path.fileWorkspaceName" required="True">
<format pattern="^[0-9a-zA-Z_\-. ]+$"/>
</param>
<param type="uuid" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="201">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop readOnly="True" type="dateTime" name="createdOn"/>
<prop readOnly="True" type="dateTime" name="expirationTime"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.support/fileworkspaces/{}/files", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1cHBvcnQvZmlsZVdvcmtzcGFjZXMve2ZpbGVXb3Jrc3BhY2VOYW1lfS9maWxlcw==/V/MjAyNC0wNC0wMQ=="}], "commandGroups": [{"name": "support in-subscription file", "commands": [{"name": "list", "version": "2024-04-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.support/fileworkspaces/{}/files", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1cHBvcnQvZmlsZVdvcmtzcGFjZXMve2ZpbGVXb3Jrc3BhY2VOYW1lfS9maWxlcw==/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.fileWorkspaceName", "options": ["file-workspace-name"], "required": true, "idPart": "name", "help": {"short": "File Workspace Name"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Files_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "fileWorkspaceName", "arg": "$Path.fileWorkspaceName", "required": true}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "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<object>", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "chunkSize"}, {"readOnly": true, "type": "dateTime", "name": "createdOn"}, {"type": "integer32", "name": "fileSize"}, {"type": "integer32", "name": "numberOfChunks"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]}

Просмотреть файл

@ -0,0 +1,83 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/providers/microsoft.support/fileworkspaces/{}/files" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1cHBvcnQvZmlsZVdvcmtzcGFjZXMve2ZpbGVXb3Jrc3BhY2VOYW1lfS9maWxlcw==/V/MjAyNC0wNC0wMQ=="/>
<commandGroup name="support in-subscription file">
<command name="list" version="2024-04-01" confirmation="">
<resource id="/subscriptions/{}/providers/microsoft.support/fileworkspaces/{}/files" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1cHBvcnQvZmlsZVdvcmtzcGFjZXMve2ZpbGVXb3Jrc3BhY2VOYW1lfS9maWxlcw==/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.fileWorkspaceName" options="file-workspace-name" required="True" idPart="name">
<help short="File Workspace Name"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="Files_List">
<http path="/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files">
<request method="get">
<path>
<param type="string" name="fileWorkspaceName" arg="$Path.fileWorkspaceName" required="True"/>
<param type="uuid" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop type="string" name="nextLink"/>
<prop type="array<object>" name="value">
<item type="object">
<prop readOnly="True" type="ResourceId" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="integer32" name="chunkSize"/>
<prop readOnly="True" type="dateTime" name="createdOn"/>
<prop type="integer32" name="fileSize"/>
<prop type="integer32" name="numberOfChunks"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
</command>
</commandGroup>
</CodeGen>

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -0,0 +1,319 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/providers/microsoft.support/fileworkspaces/{}/files/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1cHBvcnQvZmlsZVdvcmtzcGFjZXMve2ZpbGVXb3Jrc3BhY2VOYW1lfS9maWxlcy97ZmlsZU5hbWV9/V/MjAyNC0wNC0wMQ=="/>
<commandGroup name="support in-subscription file">
<command name="show" version="2024-04-01" confirmation="">
<resource id="/subscriptions/{}/providers/microsoft.support/fileworkspaces/{}/files/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1cHBvcnQvZmlsZVdvcmtzcGFjZXMve2ZpbGVXb3Jrc3BhY2VOYW1lfS9maWxlcy97ZmlsZU5hbWV9/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.fileName" options="file-name" required="True" group="" idPart="child_name_1">
<help short="File Name"/>
</arg>
<arg type="string" var="$Path.fileWorkspaceName" options="file-workspace-name" required="True" idPart="name">
<help short="File Workspace Name"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="Files_Get">
<http path="/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}">
<request method="get">
<path>
<param type="string" name="fileName" arg="$Path.fileName" required="True"/>
<param type="string" name="fileWorkspaceName" arg="$Path.fileWorkspaceName" required="True"/>
<param type="uuid" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="integer32" name="chunkSize"/>
<prop readOnly="True" type="dateTime" name="createdOn"/>
<prop type="integer32" name="fileSize"/>
<prop type="integer32" name="numberOfChunks"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
<command name="create" version="2024-04-01" confirmation="">
<resource id="/subscriptions/{}/providers/microsoft.support/fileworkspaces/{}/files/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1cHBvcnQvZmlsZVdvcmtzcGFjZXMve2ZpbGVXb3Jrc3BhY2VOYW1lfS9maWxlcy97ZmlsZU5hbWV9/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.fileName" options="file-name" required="True" group="" idPart="child_name_1">
<help short="File name."/>
</arg>
<arg type="string" var="$Path.fileWorkspaceName" options="file-workspace-name" required="True" idPart="name">
<help short="File workspace name."/>
<format pattern="^[0-9a-zA-Z_\-. ]+$"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<argGroup name="Properties">
<arg type="integer32" var="$createFileParameters.properties.chunkSize" options="chunk-size" group="Properties">
<help short="Size of each chunk"/>
</arg>
<arg type="integer32" var="$createFileParameters.properties.fileSize" options="file-size" group="Properties">
<help short="Size of the file to be uploaded"/>
</arg>
<arg type="integer32" var="$createFileParameters.properties.numberOfChunks" options="number-of-chunks" group="Properties">
<help short="Number of chunks to be uploaded"/>
</arg>
</argGroup>
<operation operationId="Files_Create">
<http path="/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}">
<request method="put">
<path>
<param type="string" name="fileName" arg="$Path.fileName" required="True"/>
<param type="string" name="fileWorkspaceName" arg="$Path.fileWorkspaceName" required="True">
<format pattern="^[0-9a-zA-Z_\-. ]+$"/>
</param>
<param type="uuid" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json>
<schema type="object" name="createFileParameters" required="True" clientFlatten="True">
<prop type="object" name="properties" clientFlatten="True">
<prop type="integer32" name="chunkSize" arg="$createFileParameters.properties.chunkSize"/>
<prop type="integer32" name="fileSize" arg="$createFileParameters.properties.fileSize"/>
<prop type="integer32" name="numberOfChunks" arg="$createFileParameters.properties.numberOfChunks"/>
</prop>
</schema>
</json>
</body>
</request>
<response statusCode="201">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="integer32" name="chunkSize"/>
<prop readOnly="True" type="dateTime" name="createdOn"/>
<prop type="integer32" name="fileSize"/>
<prop type="integer32" name="numberOfChunks"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
<command name="update" version="2024-04-01" confirmation="">
<resource id="/subscriptions/{}/providers/microsoft.support/fileworkspaces/{}/files/{}" version="2024-04-01" swagger="mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1cHBvcnQvZmlsZVdvcmtzcGFjZXMve2ZpbGVXb3Jrc3BhY2VOYW1lfS9maWxlcy97ZmlsZU5hbWV9/V/MjAyNC0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.fileName" options="file-name name n" required="True" idPart="child_name_1">
<help short="File Name"/>
</arg>
<arg type="string" var="$Path.fileWorkspaceName" options="file-workspace-name" required="True" idPart="name">
<help short="File Workspace Name"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<argGroup name="Properties">
<arg nullable="True" type="integer32" var="$createFileParameters.properties.chunkSize" options="chunk-size" group="Properties">
<help short="Size of each chunk"/>
</arg>
<arg nullable="True" type="integer32" var="$createFileParameters.properties.fileSize" options="file-size" group="Properties">
<help short="Size of the file to be uploaded"/>
</arg>
<arg nullable="True" type="integer32" var="$createFileParameters.properties.numberOfChunks" options="number-of-chunks" group="Properties">
<help short="Number of chunks to be uploaded"/>
</arg>
</argGroup>
<operation operationId="Files_Get">
<http path="/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}">
<request method="get">
<path>
<param type="string" name="fileName" arg="$Path.fileName" required="True"/>
<param type="string" name="fileWorkspaceName" arg="$Path.fileWorkspaceName" required="True"/>
<param type="uuid" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object" cls="FileDetails_read">
<prop readOnly="True" type="ResourceId" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="integer32" name="chunkSize"/>
<prop readOnly="True" type="dateTime" name="createdOn"/>
<prop type="integer32" name="fileSize"/>
<prop type="integer32" name="numberOfChunks"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<operation>
<instanceUpdate ref="$Instance">
<json>
<schema type="object" name="createFileParameters" required="True" clientFlatten="True">
<prop type="object" name="properties" clientFlatten="True">
<prop type="integer32" name="chunkSize" arg="$createFileParameters.properties.chunkSize"/>
<prop type="integer32" name="fileSize" arg="$createFileParameters.properties.fileSize"/>
<prop type="integer32" name="numberOfChunks" arg="$createFileParameters.properties.numberOfChunks"/>
</prop>
</schema>
</json>
</instanceUpdate>
</operation>
<operation operationId="Files_Create">
<http path="/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}">
<request method="put">
<path>
<param type="string" name="fileName" arg="$Path.fileName" required="True"/>
<param type="string" name="fileWorkspaceName" arg="$Path.fileWorkspaceName" required="True">
<format pattern="^[0-9a-zA-Z_\-. ]+$"/>
</param>
<param type="uuid" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-04-01&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json ref="$Instance"/>
</body>
</request>
<response statusCode="201">
<body>
<json var="$Instance">
<schema type="@FileDetails_read"/>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.support/fileworkspaces/{}/files/{}/upload", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1cHBvcnQvZmlsZVdvcmtzcGFjZXMve2ZpbGVXb3Jrc3BhY2VOYW1lfS9maWxlcy97ZmlsZU5hbWV9L3VwbG9hZA==/V/MjAyNC0wNC0wMQ=="}], "commandGroups": [{"name": "support in-subscription file", "commands": [{"name": "upload", "version": "2024-04-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.support/fileworkspaces/{}/files/{}/upload", "version": "2024-04-01", "swagger": "mgmt-plane/support/ResourceProviders/Microsoft.Support/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1cHBvcnQvZmlsZVdvcmtzcGFjZXMve2ZpbGVXb3Jrc3BhY2VOYW1lfS9maWxlcy97ZmlsZU5hbWV9L3VwbG9hZA==/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.fileName", "options": ["file-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "File Name"}}, {"type": "string", "var": "$Path.fileWorkspaceName", "options": ["file-workspace-name"], "required": true, "idPart": "name", "help": {"short": "File WorkspaceName"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "UploadFile", "args": [{"type": "integer32", "var": "$uploadFile.chunkIndex", "options": ["chunk-index"], "group": "UploadFile", "help": {"short": "Index of the uploaded chunk (Index starts at 0)"}}, {"type": "string", "var": "$uploadFile.content", "options": ["content"], "group": "UploadFile", "help": {"short": "File Content in base64 encoded format"}}]}], "operations": [{"operationId": "Files_Upload", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}/upload", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "fileName", "arg": "$Path.fileName", "required": true}, {"type": "string", "name": "fileWorkspaceName", "arg": "$Path.fileWorkspaceName", "required": true}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "uploadFile", "required": true, "props": [{"type": "integer32", "name": "chunkIndex", "arg": "$uploadFile.chunkIndex"}, {"type": "string", "name": "content", "arg": "$uploadFile.content"}], "clientFlatten": true}}}}, "responses": [{"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}]}]}

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше