diff --git a/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_AddCustomLocation_MaximumSet_Gen.json b/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_AddCustomLocation_MaximumSet_Gen.json new file mode 100644 index 000000000000..496b86055e97 --- /dev/null +++ b/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_AddCustomLocation_MaximumSet_Gen.json @@ -0,0 +1,69 @@ +{ + "title": "ExtensionManagers_AddCustomLocation", + "operationId": "ExtensionManagers_AddCustomLocation", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "5D8BB6DA-AB36-4AF4-9550-913DFEA2F536", + "resourceGroupName": "rgopenapi", + "extensionManagerName": "3_-E_--O_T_q-O_HH_C_E2cN-_j_4_KuMNj_5fPs_Bp-Ca-__tj__2R104", + "body": [ + { + "name": "ndevecxlpfctiqeimgi" + } + ] + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "extendedLocation": "cnzmvlmivyn", + "hostResourceId": "bzttmdrnmtolndrkxk", + "scenarioProfile": [ + { + "infrastructure": "mfgocft", + "scenario": "dwqgnkneskwhozheayskrrvlclzkr" + } + ], + "extensionProfile": [ + { + "name": "iciccqbcdrgexh", + "customLocations": [ + "cpjutbhupgmnvfbgqvajkjk" + ], + "state": "Enabled", + "configurationSettings": { + "key6107": "ktxnkattwcsilsrdlryqlloq" + } + } + ] + }, + "identity": { + "principalId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "tenantId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "type": "SystemAssigned" + }, + "tags": { + "key3761": "nfdilgwliagmjymvddrbiuebz" + }, + "location": "noztvjlnfxuxigrtyrcfryujkcccqg", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridOnboarding/extensionManagers/extmgrname", + "name": "qpyfrbglctpc", + "type": "lwhijjdioekwlhwmqvnorkbiido", + "systemData": { + "createdBy": "sre", + "createdByType": "User", + "createdAt": "2024-03-26T08:50:50.708Z", + "lastModifiedBy": "uvvsvjcgd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-03-26T08:50:50.709Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_CreateOrUpdate_MaximumSet_Gen.json b/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..0dbb60452273 --- /dev/null +++ b/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,127 @@ +{ + "title": "ExtensionManagers_CreateOrUpdate", + "operationId": "ExtensionManagers_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "5D8BB6DA-AB36-4AF4-9550-913DFEA2F536", + "resourceGroupName": "rgopenapi", + "extensionManagerName": "d", + "resource": { + "properties": { + "extendedLocation": "cnzmvlmivyn", + "scenarioProfile": [ + { + "infrastructure": "mfgocft", + "scenario": "dwqgnkneskwhozheayskrrvlclzkr" + } + ] + }, + "identity": { + "type": "SystemAssigned" + }, + "tags": { + "key3761": "nfdilgwliagmjymvddrbiuebz" + }, + "location": "noztvjlnfxuxigrtyrcfryujkcccqg" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "extendedLocation": "cnzmvlmivyn", + "hostResourceId": "bzttmdrnmtolndrkxk", + "scenarioProfile": [ + { + "infrastructure": "mfgocft", + "scenario": "dwqgnkneskwhozheayskrrvlclzkr" + } + ], + "extensionProfile": [ + { + "name": "iciccqbcdrgexh", + "customLocations": [ + "cpjutbhupgmnvfbgqvajkjk" + ], + "state": "Enabled", + "configurationSettings": { + "key6107": "ktxnkattwcsilsrdlryqlloq" + } + } + ] + }, + "identity": { + "principalId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "tenantId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "type": "SystemAssigned" + }, + "tags": { + "key3761": "nfdilgwliagmjymvddrbiuebz" + }, + "location": "noztvjlnfxuxigrtyrcfryujkcccqg", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridOnboarding/extensionManagers/extmgrname", + "name": "qpyfrbglctpc", + "type": "lwhijjdioekwlhwmqvnorkbiido", + "systemData": { + "createdBy": "sre", + "createdByType": "User", + "createdAt": "2024-03-26T08:50:50.708Z", + "lastModifiedBy": "uvvsvjcgd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-03-26T08:50:50.709Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "extendedLocation": "cnzmvlmivyn", + "hostResourceId": "bzttmdrnmtolndrkxk", + "scenarioProfile": [ + { + "infrastructure": "mfgocft", + "scenario": "dwqgnkneskwhozheayskrrvlclzkr" + } + ], + "extensionProfile": [ + { + "name": "iciccqbcdrgexh", + "customLocations": [ + "cpjutbhupgmnvfbgqvajkjk" + ], + "state": "Enabled", + "configurationSettings": { + "key6107": "ktxnkattwcsilsrdlryqlloq" + } + } + ] + }, + "identity": { + "principalId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "tenantId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "type": "SystemAssigned" + }, + "tags": { + "key3761": "nfdilgwliagmjymvddrbiuebz" + }, + "location": "noztvjlnfxuxigrtyrcfryujkcccqg", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridOnboarding/extensionManagers/extmgrname", + "name": "qpyfrbglctpc", + "type": "lwhijjdioekwlhwmqvnorkbiido", + "systemData": { + "createdBy": "sre", + "createdByType": "User", + "createdAt": "2024-03-26T08:50:50.708Z", + "lastModifiedBy": "uvvsvjcgd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-03-26T08:50:50.709Z" + } + } + } + } +} diff --git a/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_Delete_MaximumSet_Gen.json b/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..24be1dfae0df --- /dev/null +++ b/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_Delete_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "ExtensionManagers_Delete", + "operationId": "ExtensionManagers_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "5D8BB6DA-AB36-4AF4-9550-913DFEA2F536", + "resourceGroupName": "rgopenapi", + "extensionManagerName": "E" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_DisableExtensions_MaximumSet_Gen.json b/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_DisableExtensions_MaximumSet_Gen.json new file mode 100644 index 000000000000..eecf095f2d9c --- /dev/null +++ b/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_DisableExtensions_MaximumSet_Gen.json @@ -0,0 +1,69 @@ +{ + "title": "ExtensionManagers_DisableExtensions", + "operationId": "ExtensionManagers_DisableExtensions", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "5D8BB6DA-AB36-4AF4-9550-913DFEA2F536", + "resourceGroupName": "rgopenapi", + "extensionManagerName": "CcP__6Rw__vM-c6e-_4h", + "body": [ + { + "name": "utgfqbmsixwdizyqvmznl" + } + ] + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "extendedLocation": "cnzmvlmivyn", + "hostResourceId": "bzttmdrnmtolndrkxk", + "scenarioProfile": [ + { + "infrastructure": "mfgocft", + "scenario": "dwqgnkneskwhozheayskrrvlclzkr" + } + ], + "extensionProfile": [ + { + "name": "iciccqbcdrgexh", + "customLocations": [ + "cpjutbhupgmnvfbgqvajkjk" + ], + "state": "Enabled", + "configurationSettings": { + "key6107": "ktxnkattwcsilsrdlryqlloq" + } + } + ] + }, + "identity": { + "principalId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "tenantId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "type": "SystemAssigned" + }, + "tags": { + "key3761": "nfdilgwliagmjymvddrbiuebz" + }, + "location": "noztvjlnfxuxigrtyrcfryujkcccqg", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridOnboarding/extensionManagers/extmgrname", + "name": "qpyfrbglctpc", + "type": "lwhijjdioekwlhwmqvnorkbiido", + "systemData": { + "createdBy": "sre", + "createdByType": "User", + "createdAt": "2024-03-26T08:50:50.708Z", + "lastModifiedBy": "uvvsvjcgd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-03-26T08:50:50.709Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_EnableExtensions_MaximumSet_Gen.json b/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_EnableExtensions_MaximumSet_Gen.json new file mode 100644 index 000000000000..0258c679f0bf --- /dev/null +++ b/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_EnableExtensions_MaximumSet_Gen.json @@ -0,0 +1,75 @@ +{ + "title": "ExtensionManagers_EnableExtensions", + "operationId": "ExtensionManagers_EnableExtensions", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "5D8BB6DA-AB36-4AF4-9550-913DFEA2F536", + "resourceGroupName": "rgopenapi", + "extensionManagerName": "3_i_f_s____G_-W-__U__s-I_hmYGs4-_KRian-wD1bn_-u__D", + "body": [ + { + "name": "wjkxpmgaubnhkhpxtapwknpxns", + "configurationSettings": { + "key1121": "vxwtascagoqantfmdg" + }, + "configurationProtectedSettings": { + "key8624": "efcqvalezollfpiffqxjwhnk" + } + } + ] + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "extendedLocation": "cnzmvlmivyn", + "hostResourceId": "bzttmdrnmtolndrkxk", + "scenarioProfile": [ + { + "infrastructure": "mfgocft", + "scenario": "dwqgnkneskwhozheayskrrvlclzkr" + } + ], + "extensionProfile": [ + { + "name": "iciccqbcdrgexh", + "customLocations": [ + "cpjutbhupgmnvfbgqvajkjk" + ], + "state": "Enabled", + "configurationSettings": { + "key6107": "ktxnkattwcsilsrdlryqlloq" + } + } + ] + }, + "identity": { + "principalId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "tenantId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "type": "SystemAssigned" + }, + "tags": { + "key3761": "nfdilgwliagmjymvddrbiuebz" + }, + "location": "noztvjlnfxuxigrtyrcfryujkcccqg", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridOnboarding/extensionManagers/extmgrname", + "name": "qpyfrbglctpc", + "type": "lwhijjdioekwlhwmqvnorkbiido", + "systemData": { + "createdBy": "sre", + "createdByType": "User", + "createdAt": "2024-03-26T08:50:50.708Z", + "lastModifiedBy": "uvvsvjcgd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-03-26T08:50:50.709Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_Get_MaximumSet_Gen.json b/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..d4bd0f5b4de6 --- /dev/null +++ b/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_Get_MaximumSet_Gen.json @@ -0,0 +1,59 @@ +{ + "title": "ExtensionManagers_Get", + "operationId": "ExtensionManagers_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "5D8BB6DA-AB36-4AF4-9550-913DFEA2F536", + "resourceGroupName": "rgopenapi", + "extensionManagerName": "0" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "extendedLocation": "cnzmvlmivyn", + "hostResourceId": "bzttmdrnmtolndrkxk", + "scenarioProfile": [ + { + "infrastructure": "mfgocft", + "scenario": "dwqgnkneskwhozheayskrrvlclzkr" + } + ], + "extensionProfile": [ + { + "name": "iciccqbcdrgexh", + "customLocations": [ + "cpjutbhupgmnvfbgqvajkjk" + ], + "state": "Enabled", + "configurationSettings": { + "key6107": "ktxnkattwcsilsrdlryqlloq" + } + } + ] + }, + "identity": { + "principalId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "tenantId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "type": "SystemAssigned" + }, + "tags": { + "key3761": "nfdilgwliagmjymvddrbiuebz" + }, + "location": "noztvjlnfxuxigrtyrcfryujkcccqg", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridOnboarding/extensionManagers/extmgrname", + "name": "qpyfrbglctpc", + "type": "lwhijjdioekwlhwmqvnorkbiido", + "systemData": { + "createdBy": "sre", + "createdByType": "User", + "createdAt": "2024-03-26T08:50:50.708Z", + "lastModifiedBy": "uvvsvjcgd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-03-26T08:50:50.709Z" + } + } + } + } +} diff --git a/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_ListByResourceGroup_MaximumSet_Gen.json b/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..6fb0ec0d69c0 --- /dev/null +++ b/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,63 @@ +{ + "title": "ExtensionManagers_ListByResourceGroup", + "operationId": "ExtensionManagers_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "5D8BB6DA-AB36-4AF4-9550-913DFEA2F536", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "extendedLocation": "cnzmvlmivyn", + "hostResourceId": "bzttmdrnmtolndrkxk", + "scenarioProfile": [ + { + "infrastructure": "mfgocft", + "scenario": "dwqgnkneskwhozheayskrrvlclzkr" + } + ], + "extensionProfile": [ + { + "name": "iciccqbcdrgexh", + "customLocations": [ + "cpjutbhupgmnvfbgqvajkjk" + ], + "state": "Enabled", + "configurationSettings": { + "key6107": "ktxnkattwcsilsrdlryqlloq" + } + } + ] + }, + "identity": { + "principalId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "tenantId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "type": "SystemAssigned" + }, + "tags": { + "key3761": "nfdilgwliagmjymvddrbiuebz" + }, + "location": "noztvjlnfxuxigrtyrcfryujkcccqg", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridOnboarding/extensionManagers/extmgrname", + "name": "qpyfrbglctpc", + "type": "lwhijjdioekwlhwmqvnorkbiido", + "systemData": { + "createdBy": "sre", + "createdByType": "User", + "createdAt": "2024-03-26T08:50:50.708Z", + "lastModifiedBy": "uvvsvjcgd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-03-26T08:50:50.709Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_ListBySubscription_MaximumSet_Gen.json b/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..72d5194aa180 --- /dev/null +++ b/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,62 @@ +{ + "title": "ExtensionManagers_ListBySubscription", + "operationId": "ExtensionManagers_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "5D8BB6DA-AB36-4AF4-9550-913DFEA2F536" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "extendedLocation": "cnzmvlmivyn", + "hostResourceId": "bzttmdrnmtolndrkxk", + "scenarioProfile": [ + { + "infrastructure": "mfgocft", + "scenario": "dwqgnkneskwhozheayskrrvlclzkr" + } + ], + "extensionProfile": [ + { + "name": "iciccqbcdrgexh", + "customLocations": [ + "cpjutbhupgmnvfbgqvajkjk" + ], + "state": "Enabled", + "configurationSettings": { + "key6107": "ktxnkattwcsilsrdlryqlloq" + } + } + ] + }, + "identity": { + "principalId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "tenantId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "type": "SystemAssigned" + }, + "tags": { + "key3761": "nfdilgwliagmjymvddrbiuebz" + }, + "location": "noztvjlnfxuxigrtyrcfryujkcccqg", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridOnboarding/extensionManagers/extmgrname", + "name": "qpyfrbglctpc", + "type": "lwhijjdioekwlhwmqvnorkbiido", + "systemData": { + "createdBy": "sre", + "createdByType": "User", + "createdAt": "2024-03-26T08:50:50.708Z", + "lastModifiedBy": "uvvsvjcgd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-03-26T08:50:50.709Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_RemoveCustomLocation_MaximumSet_Gen.json b/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_RemoveCustomLocation_MaximumSet_Gen.json new file mode 100644 index 000000000000..8402039cd1d3 --- /dev/null +++ b/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_RemoveCustomLocation_MaximumSet_Gen.json @@ -0,0 +1,70 @@ +{ + "title": "ExtensionManagers_RemoveCustomLocation", + "operationId": "ExtensionManagers_RemoveCustomLocation", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "5D8BB6DA-AB36-4AF4-9550-913DFEA2F536", + "resourceGroupName": "rgopenapi", + "extensionManagerName": "2KFo4k-fNv4j_V85j-B3H_P_m_R__KPi8--D__-__ht74CF-cp_H_N", + "body": [ + { + "name": "qrkuixbbrbazhy", + "customLocationId": "gerwgnnj" + } + ] + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "extendedLocation": "cnzmvlmivyn", + "hostResourceId": "bzttmdrnmtolndrkxk", + "scenarioProfile": [ + { + "infrastructure": "mfgocft", + "scenario": "dwqgnkneskwhozheayskrrvlclzkr" + } + ], + "extensionProfile": [ + { + "name": "iciccqbcdrgexh", + "customLocations": [ + "cpjutbhupgmnvfbgqvajkjk" + ], + "state": "Enabled", + "configurationSettings": { + "key6107": "ktxnkattwcsilsrdlryqlloq" + } + } + ] + }, + "identity": { + "principalId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "tenantId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "type": "SystemAssigned" + }, + "tags": { + "key3761": "nfdilgwliagmjymvddrbiuebz" + }, + "location": "noztvjlnfxuxigrtyrcfryujkcccqg", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridOnboarding/extensionManagers/extmgrname", + "name": "qpyfrbglctpc", + "type": "lwhijjdioekwlhwmqvnorkbiido", + "systemData": { + "createdBy": "sre", + "createdByType": "User", + "createdAt": "2024-03-26T08:50:50.708Z", + "lastModifiedBy": "uvvsvjcgd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-03-26T08:50:50.709Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_Update_MaximumSet_Gen.json b/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..bd4cf4dd805f --- /dev/null +++ b/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/ExtensionManagers_Update_MaximumSet_Gen.json @@ -0,0 +1,72 @@ +{ + "title": "ExtensionManagers_Update", + "operationId": "ExtensionManagers_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "5D8BB6DA-AB36-4AF4-9550-913DFEA2F536", + "resourceGroupName": "rgopenapi", + "extensionManagerName": "I", + "properties": { + "tags": { + "key4031": "akazvoetpp" + }, + "identity": { + "type": "SystemAssigned" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "extendedLocation": "cnzmvlmivyn", + "hostResourceId": "bzttmdrnmtolndrkxk", + "scenarioProfile": [ + { + "infrastructure": "mfgocft", + "scenario": "dwqgnkneskwhozheayskrrvlclzkr" + } + ], + "extensionProfile": [ + { + "name": "iciccqbcdrgexh", + "customLocations": [ + "cpjutbhupgmnvfbgqvajkjk" + ], + "state": "Enabled", + "configurationSettings": { + "key6107": "ktxnkattwcsilsrdlryqlloq" + } + } + ] + }, + "identity": { + "principalId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "tenantId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "type": "SystemAssigned" + }, + "tags": { + "key3761": "nfdilgwliagmjymvddrbiuebz" + }, + "location": "noztvjlnfxuxigrtyrcfryujkcccqg", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridOnboarding/extensionManagers/extmgrname", + "name": "qpyfrbglctpc", + "type": "lwhijjdioekwlhwmqvnorkbiido", + "systemData": { + "createdBy": "sre", + "createdByType": "User", + "createdAt": "2024-03-26T08:50:50.708Z", + "lastModifiedBy": "uvvsvjcgd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-03-26T08:50:50.709Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/Operations_List_MaximumSet_Gen.json b/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..8f1116b4e501 --- /dev/null +++ b/specification/hybridonboarding/ExtensionManager.Management/examples/2024-06-01-preview/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "oe", + "isDataAction": true, + "display": { + "provider": "irwmivjbjsqvla", + "resource": "vxguxhprje", + "operation": "ktjqfmjkni", + "description": "g" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/amfgnk" + } + } + } +} diff --git a/specification/hybridonboarding/ExtensionManager.Management/extensionmanager.tsp b/specification/hybridonboarding/ExtensionManager.Management/extensionmanager.tsp new file mode 100644 index 000000000000..3c7c9cd35e08 --- /dev/null +++ b/specification/hybridonboarding/ExtensionManager.Management/extensionmanager.tsp @@ -0,0 +1,214 @@ +import "@typespec/rest"; +import "@typespec/http"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.Core; +using Azure.ResourceManager; +using OpenAPI; + +namespace Microsoft.HybridOnboarding; + +@doc("Extension Manager Resource") +model ExtensionManager is TrackedResource { + @key("extensionManagerName") + @segment("extensionManagers") + @pattern("^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$") + @minLength(1) + @maxLength(63) + @doc("Extension Manager resource") + @path + name: string; + + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" + @doc("Managed Identity of extension manager resource") + identity: ManagedIdentity; +} + +@doc("Managed Identity of extension manager resource") +model ManagedIdentity { + #suppress "@azure-tools/typespec-azure-core/no-format" + @doc("The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.") + @visibility("read") + @format("uuid") + principalId?: string; + + #suppress "@azure-tools/typespec-azure-core/no-format" + @doc("The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.") + @visibility("read") + @format("uuid") + tenantId?: string; + + @doc("Type of managed service identity") + type: ManagedIdentityType; +} + +@doc("Type of managed service identity") +enum ManagedIdentityType { + @doc("System Assigned Managed Identity") + SystemAssigned, +} + +@doc("The properties of Extension Manager resource") +model ExtensionManagerProperties { + @doc("Provisioning state of Extension Manager resource.") + @visibility("read") + provisioningState?: ProvisioningState; + + @doc("ARM ID of the custom location resource deployed on the Onboarding Appliance") + extendedLocation: string; + + @doc("ARM ID of the host associated with the extended location") + @visibility("read") + hostResourceId?: string; + + @doc("Scenario profile of the extension manager resource.") + @extension("x-ms-identifiers", []) + scenarioProfile?: ScenarioProfileObject[]; + + @doc("Extension profile of the extension manager resource") + @visibility("read") + @extension("x-ms-identifiers", ["name"]) + extensionProfile?: ExtensionObject[]; +} + +@doc("Scenario profile object of the extension manager resource.") +model ScenarioProfileObject { + @doc("Infrastructure associated with extension manager resource.") + infrastructure: string; + + @doc("Scenario associated with extension manager resource.") + scenario: string; +} + +@doc("Extension object inside the extension profile.") +model ExtensionObject { + @doc("Name of the extension") + name: string; + + @doc("List of custom locations associated with the extension. All entries will be unique.") + @visibility("read") + customLocations?: string[]; + + @doc("Flag to enable/disable the extension") + state: ExtensionState; + + @doc("Configuration settings, as name-value pairs for configuring this extension.") + @extension("x-nullable", true) + configurationSettings?: Record; + + @extension("x-nullable", true) + @extension("x-ms-secret", true) + @doc("Configuration settings that are sensitive, as name-value pairs for configuring this extension.") + configurationProtectedSettings?: Record; +} + +@doc("Properties of a Extension Manager that can be patched.") +model ExtensionManagerPatch { + @doc("Resource tags.") + tags?: Record; + + @doc("Managed Identity of extension manager resource") + identity?: ManagedIdentity; +} + +@doc("Provisioning state of the resource") +@lroStatus +enum ProvisioningState { + ...ResourceProvisioningState, //standard terminal values + + @doc("creating provisioning state") + Creating, + + @doc("updating provisioning state") + Updating, + + @doc("deleting provisioning state") + Deleting, + + @doc("accepted provisioning state") + Accepted, +} + +@doc("State of the extension") +enum ExtensionState { + @doc("Extension is enabled") + Enabled, + + @doc("Extension is disabled") + Disabled, +} + +@doc("Request body details for enabling extension POST action") +model EnableExtensionsRequestDetails { + @doc("Name of the extension") + name: string; + + @doc("Configuration settings, as name-value pairs for configuring this extension.") + @extension("x-nullable", true) + configurationSettings?: Record; + + @extension("x-nullable", true) + @extension("x-ms-secret", true) + @doc("Configuration settings that are sensitive, as name-value pairs for configuring this extension.") + configurationProtectedSettings?: Record; +} + +@doc("Request body details for disabling extension POST action") +model DisableExtensionsRequestDetails { + @doc("Name of the extension") + name: string; +} + +@doc("Request body for adding new custom location to an extension.") +model AddCustomLocationDetails { + @doc("Name of the extension") + name: string; +} + +@doc("Request body for removing custom location from extension.") +model RemoveCustomLocationDetails { + @doc("Name of the extension") + name: string; + + @doc("ARM ID of the custom location") + customLocationId: string; +} + +interface Operations extends Azure.ResourceManager.Operations {} + +@armResourceOperations +interface ExtensionManagers { + get is ArmResourceRead; + createOrUpdate is ArmResourceCreateOrReplaceAsync; + update is ArmCustomPatchAsync; + delete is ArmResourceDeleteWithoutOkAsync; + listByResourceGroup is ArmResourceListByParent; + listBySubscription is ArmListBySubscription; + @doc("Enable extension(s) on the extension manager resource") + enableExtensions is ArmResourceActionAsync< + ExtensionManager, + EnableExtensionsRequestDetails[], + ExtensionManager + >; + @doc("Disable extension(s) on the extension manager resource") + disableExtensions is ArmResourceActionAsync< + ExtensionManager, + DisableExtensionsRequestDetails[], + ExtensionManager + >; + @doc("Add a new custom location on extension(s)") + addCustomLocation is ArmResourceActionAsync< + ExtensionManager, + AddCustomLocationDetails[], + ExtensionManager + >; + @doc("Remove a custom location from extension(s)") + removeCustomLocation is ArmResourceActionAsync< + ExtensionManager, + RemoveCustomLocationDetails[], + ExtensionManager + >; +} diff --git a/specification/hybridonboarding/ExtensionManager.Management/main.tsp b/specification/hybridonboarding/ExtensionManager.Management/main.tsp new file mode 100644 index 000000000000..037fd150361a --- /dev/null +++ b/specification/hybridonboarding/ExtensionManager.Management/main.tsp @@ -0,0 +1,29 @@ +import "@typespec/http"; +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./extensionmanager.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; + +/** Microsoft.HybridOnboarding Resource Provider management API. */ +@armProviderNamespace +@service({ + title: "Microsoft.HybridOnboarding management service", +}) +@versioned(Microsoft.HybridOnboarding.Versions) +namespace Microsoft.HybridOnboarding; + +/** The available API versions. */ +enum Versions { + /** 2024-06-01-preview version */ + @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @useDependency(Azure.Core.Versions.v1_0_Preview_1) + @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) + v2024_06_01_preview: "2024-06-01-preview", +} diff --git a/specification/hybridonboarding/ExtensionManager.Management/tspconfig.yaml b/specification/hybridonboarding/ExtensionManager.Management/tspconfig.yaml new file mode 100644 index 000000000000..2faa332586d3 --- /dev/null +++ b/specification/hybridonboarding/ExtensionManager.Management/tspconfig.yaml @@ -0,0 +1,12 @@ +emit: + - "@azure-tools/typespec-autorest" +options: + "@azure-tools/typespec-autorest": + use-read-only-status-schema: true + emitter-output-dir: "{project-root}/.." + azure-resource-provider-folder: "resource-manager" + output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/openapi.json" + examples-directory: "{project-root}/examples" +linter: + extends: + - "@azure-tools/typespec-azure-resource-manager/all" diff --git a/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_AddCustomLocation_MaximumSet_Gen.json b/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_AddCustomLocation_MaximumSet_Gen.json new file mode 100644 index 000000000000..496b86055e97 --- /dev/null +++ b/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_AddCustomLocation_MaximumSet_Gen.json @@ -0,0 +1,69 @@ +{ + "title": "ExtensionManagers_AddCustomLocation", + "operationId": "ExtensionManagers_AddCustomLocation", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "5D8BB6DA-AB36-4AF4-9550-913DFEA2F536", + "resourceGroupName": "rgopenapi", + "extensionManagerName": "3_-E_--O_T_q-O_HH_C_E2cN-_j_4_KuMNj_5fPs_Bp-Ca-__tj__2R104", + "body": [ + { + "name": "ndevecxlpfctiqeimgi" + } + ] + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "extendedLocation": "cnzmvlmivyn", + "hostResourceId": "bzttmdrnmtolndrkxk", + "scenarioProfile": [ + { + "infrastructure": "mfgocft", + "scenario": "dwqgnkneskwhozheayskrrvlclzkr" + } + ], + "extensionProfile": [ + { + "name": "iciccqbcdrgexh", + "customLocations": [ + "cpjutbhupgmnvfbgqvajkjk" + ], + "state": "Enabled", + "configurationSettings": { + "key6107": "ktxnkattwcsilsrdlryqlloq" + } + } + ] + }, + "identity": { + "principalId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "tenantId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "type": "SystemAssigned" + }, + "tags": { + "key3761": "nfdilgwliagmjymvddrbiuebz" + }, + "location": "noztvjlnfxuxigrtyrcfryujkcccqg", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridOnboarding/extensionManagers/extmgrname", + "name": "qpyfrbglctpc", + "type": "lwhijjdioekwlhwmqvnorkbiido", + "systemData": { + "createdBy": "sre", + "createdByType": "User", + "createdAt": "2024-03-26T08:50:50.708Z", + "lastModifiedBy": "uvvsvjcgd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-03-26T08:50:50.709Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_CreateOrUpdate_MaximumSet_Gen.json b/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..0dbb60452273 --- /dev/null +++ b/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,127 @@ +{ + "title": "ExtensionManagers_CreateOrUpdate", + "operationId": "ExtensionManagers_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "5D8BB6DA-AB36-4AF4-9550-913DFEA2F536", + "resourceGroupName": "rgopenapi", + "extensionManagerName": "d", + "resource": { + "properties": { + "extendedLocation": "cnzmvlmivyn", + "scenarioProfile": [ + { + "infrastructure": "mfgocft", + "scenario": "dwqgnkneskwhozheayskrrvlclzkr" + } + ] + }, + "identity": { + "type": "SystemAssigned" + }, + "tags": { + "key3761": "nfdilgwliagmjymvddrbiuebz" + }, + "location": "noztvjlnfxuxigrtyrcfryujkcccqg" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "extendedLocation": "cnzmvlmivyn", + "hostResourceId": "bzttmdrnmtolndrkxk", + "scenarioProfile": [ + { + "infrastructure": "mfgocft", + "scenario": "dwqgnkneskwhozheayskrrvlclzkr" + } + ], + "extensionProfile": [ + { + "name": "iciccqbcdrgexh", + "customLocations": [ + "cpjutbhupgmnvfbgqvajkjk" + ], + "state": "Enabled", + "configurationSettings": { + "key6107": "ktxnkattwcsilsrdlryqlloq" + } + } + ] + }, + "identity": { + "principalId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "tenantId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "type": "SystemAssigned" + }, + "tags": { + "key3761": "nfdilgwliagmjymvddrbiuebz" + }, + "location": "noztvjlnfxuxigrtyrcfryujkcccqg", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridOnboarding/extensionManagers/extmgrname", + "name": "qpyfrbglctpc", + "type": "lwhijjdioekwlhwmqvnorkbiido", + "systemData": { + "createdBy": "sre", + "createdByType": "User", + "createdAt": "2024-03-26T08:50:50.708Z", + "lastModifiedBy": "uvvsvjcgd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-03-26T08:50:50.709Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "extendedLocation": "cnzmvlmivyn", + "hostResourceId": "bzttmdrnmtolndrkxk", + "scenarioProfile": [ + { + "infrastructure": "mfgocft", + "scenario": "dwqgnkneskwhozheayskrrvlclzkr" + } + ], + "extensionProfile": [ + { + "name": "iciccqbcdrgexh", + "customLocations": [ + "cpjutbhupgmnvfbgqvajkjk" + ], + "state": "Enabled", + "configurationSettings": { + "key6107": "ktxnkattwcsilsrdlryqlloq" + } + } + ] + }, + "identity": { + "principalId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "tenantId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "type": "SystemAssigned" + }, + "tags": { + "key3761": "nfdilgwliagmjymvddrbiuebz" + }, + "location": "noztvjlnfxuxigrtyrcfryujkcccqg", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridOnboarding/extensionManagers/extmgrname", + "name": "qpyfrbglctpc", + "type": "lwhijjdioekwlhwmqvnorkbiido", + "systemData": { + "createdBy": "sre", + "createdByType": "User", + "createdAt": "2024-03-26T08:50:50.708Z", + "lastModifiedBy": "uvvsvjcgd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-03-26T08:50:50.709Z" + } + } + } + } +} diff --git a/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_Delete_MaximumSet_Gen.json b/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..24be1dfae0df --- /dev/null +++ b/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_Delete_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "ExtensionManagers_Delete", + "operationId": "ExtensionManagers_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "5D8BB6DA-AB36-4AF4-9550-913DFEA2F536", + "resourceGroupName": "rgopenapi", + "extensionManagerName": "E" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_DisableExtensions_MaximumSet_Gen.json b/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_DisableExtensions_MaximumSet_Gen.json new file mode 100644 index 000000000000..eecf095f2d9c --- /dev/null +++ b/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_DisableExtensions_MaximumSet_Gen.json @@ -0,0 +1,69 @@ +{ + "title": "ExtensionManagers_DisableExtensions", + "operationId": "ExtensionManagers_DisableExtensions", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "5D8BB6DA-AB36-4AF4-9550-913DFEA2F536", + "resourceGroupName": "rgopenapi", + "extensionManagerName": "CcP__6Rw__vM-c6e-_4h", + "body": [ + { + "name": "utgfqbmsixwdizyqvmznl" + } + ] + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "extendedLocation": "cnzmvlmivyn", + "hostResourceId": "bzttmdrnmtolndrkxk", + "scenarioProfile": [ + { + "infrastructure": "mfgocft", + "scenario": "dwqgnkneskwhozheayskrrvlclzkr" + } + ], + "extensionProfile": [ + { + "name": "iciccqbcdrgexh", + "customLocations": [ + "cpjutbhupgmnvfbgqvajkjk" + ], + "state": "Enabled", + "configurationSettings": { + "key6107": "ktxnkattwcsilsrdlryqlloq" + } + } + ] + }, + "identity": { + "principalId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "tenantId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "type": "SystemAssigned" + }, + "tags": { + "key3761": "nfdilgwliagmjymvddrbiuebz" + }, + "location": "noztvjlnfxuxigrtyrcfryujkcccqg", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridOnboarding/extensionManagers/extmgrname", + "name": "qpyfrbglctpc", + "type": "lwhijjdioekwlhwmqvnorkbiido", + "systemData": { + "createdBy": "sre", + "createdByType": "User", + "createdAt": "2024-03-26T08:50:50.708Z", + "lastModifiedBy": "uvvsvjcgd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-03-26T08:50:50.709Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_EnableExtensions_MaximumSet_Gen.json b/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_EnableExtensions_MaximumSet_Gen.json new file mode 100644 index 000000000000..0258c679f0bf --- /dev/null +++ b/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_EnableExtensions_MaximumSet_Gen.json @@ -0,0 +1,75 @@ +{ + "title": "ExtensionManagers_EnableExtensions", + "operationId": "ExtensionManagers_EnableExtensions", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "5D8BB6DA-AB36-4AF4-9550-913DFEA2F536", + "resourceGroupName": "rgopenapi", + "extensionManagerName": "3_i_f_s____G_-W-__U__s-I_hmYGs4-_KRian-wD1bn_-u__D", + "body": [ + { + "name": "wjkxpmgaubnhkhpxtapwknpxns", + "configurationSettings": { + "key1121": "vxwtascagoqantfmdg" + }, + "configurationProtectedSettings": { + "key8624": "efcqvalezollfpiffqxjwhnk" + } + } + ] + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "extendedLocation": "cnzmvlmivyn", + "hostResourceId": "bzttmdrnmtolndrkxk", + "scenarioProfile": [ + { + "infrastructure": "mfgocft", + "scenario": "dwqgnkneskwhozheayskrrvlclzkr" + } + ], + "extensionProfile": [ + { + "name": "iciccqbcdrgexh", + "customLocations": [ + "cpjutbhupgmnvfbgqvajkjk" + ], + "state": "Enabled", + "configurationSettings": { + "key6107": "ktxnkattwcsilsrdlryqlloq" + } + } + ] + }, + "identity": { + "principalId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "tenantId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "type": "SystemAssigned" + }, + "tags": { + "key3761": "nfdilgwliagmjymvddrbiuebz" + }, + "location": "noztvjlnfxuxigrtyrcfryujkcccqg", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridOnboarding/extensionManagers/extmgrname", + "name": "qpyfrbglctpc", + "type": "lwhijjdioekwlhwmqvnorkbiido", + "systemData": { + "createdBy": "sre", + "createdByType": "User", + "createdAt": "2024-03-26T08:50:50.708Z", + "lastModifiedBy": "uvvsvjcgd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-03-26T08:50:50.709Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_Get_MaximumSet_Gen.json b/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..d4bd0f5b4de6 --- /dev/null +++ b/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_Get_MaximumSet_Gen.json @@ -0,0 +1,59 @@ +{ + "title": "ExtensionManagers_Get", + "operationId": "ExtensionManagers_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "5D8BB6DA-AB36-4AF4-9550-913DFEA2F536", + "resourceGroupName": "rgopenapi", + "extensionManagerName": "0" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "extendedLocation": "cnzmvlmivyn", + "hostResourceId": "bzttmdrnmtolndrkxk", + "scenarioProfile": [ + { + "infrastructure": "mfgocft", + "scenario": "dwqgnkneskwhozheayskrrvlclzkr" + } + ], + "extensionProfile": [ + { + "name": "iciccqbcdrgexh", + "customLocations": [ + "cpjutbhupgmnvfbgqvajkjk" + ], + "state": "Enabled", + "configurationSettings": { + "key6107": "ktxnkattwcsilsrdlryqlloq" + } + } + ] + }, + "identity": { + "principalId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "tenantId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "type": "SystemAssigned" + }, + "tags": { + "key3761": "nfdilgwliagmjymvddrbiuebz" + }, + "location": "noztvjlnfxuxigrtyrcfryujkcccqg", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridOnboarding/extensionManagers/extmgrname", + "name": "qpyfrbglctpc", + "type": "lwhijjdioekwlhwmqvnorkbiido", + "systemData": { + "createdBy": "sre", + "createdByType": "User", + "createdAt": "2024-03-26T08:50:50.708Z", + "lastModifiedBy": "uvvsvjcgd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-03-26T08:50:50.709Z" + } + } + } + } +} diff --git a/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_ListByResourceGroup_MaximumSet_Gen.json b/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..6fb0ec0d69c0 --- /dev/null +++ b/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,63 @@ +{ + "title": "ExtensionManagers_ListByResourceGroup", + "operationId": "ExtensionManagers_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "5D8BB6DA-AB36-4AF4-9550-913DFEA2F536", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "extendedLocation": "cnzmvlmivyn", + "hostResourceId": "bzttmdrnmtolndrkxk", + "scenarioProfile": [ + { + "infrastructure": "mfgocft", + "scenario": "dwqgnkneskwhozheayskrrvlclzkr" + } + ], + "extensionProfile": [ + { + "name": "iciccqbcdrgexh", + "customLocations": [ + "cpjutbhupgmnvfbgqvajkjk" + ], + "state": "Enabled", + "configurationSettings": { + "key6107": "ktxnkattwcsilsrdlryqlloq" + } + } + ] + }, + "identity": { + "principalId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "tenantId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "type": "SystemAssigned" + }, + "tags": { + "key3761": "nfdilgwliagmjymvddrbiuebz" + }, + "location": "noztvjlnfxuxigrtyrcfryujkcccqg", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridOnboarding/extensionManagers/extmgrname", + "name": "qpyfrbglctpc", + "type": "lwhijjdioekwlhwmqvnorkbiido", + "systemData": { + "createdBy": "sre", + "createdByType": "User", + "createdAt": "2024-03-26T08:50:50.708Z", + "lastModifiedBy": "uvvsvjcgd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-03-26T08:50:50.709Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_ListBySubscription_MaximumSet_Gen.json b/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..72d5194aa180 --- /dev/null +++ b/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,62 @@ +{ + "title": "ExtensionManagers_ListBySubscription", + "operationId": "ExtensionManagers_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "5D8BB6DA-AB36-4AF4-9550-913DFEA2F536" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "extendedLocation": "cnzmvlmivyn", + "hostResourceId": "bzttmdrnmtolndrkxk", + "scenarioProfile": [ + { + "infrastructure": "mfgocft", + "scenario": "dwqgnkneskwhozheayskrrvlclzkr" + } + ], + "extensionProfile": [ + { + "name": "iciccqbcdrgexh", + "customLocations": [ + "cpjutbhupgmnvfbgqvajkjk" + ], + "state": "Enabled", + "configurationSettings": { + "key6107": "ktxnkattwcsilsrdlryqlloq" + } + } + ] + }, + "identity": { + "principalId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "tenantId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "type": "SystemAssigned" + }, + "tags": { + "key3761": "nfdilgwliagmjymvddrbiuebz" + }, + "location": "noztvjlnfxuxigrtyrcfryujkcccqg", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridOnboarding/extensionManagers/extmgrname", + "name": "qpyfrbglctpc", + "type": "lwhijjdioekwlhwmqvnorkbiido", + "systemData": { + "createdBy": "sre", + "createdByType": "User", + "createdAt": "2024-03-26T08:50:50.708Z", + "lastModifiedBy": "uvvsvjcgd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-03-26T08:50:50.709Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_RemoveCustomLocation_MaximumSet_Gen.json b/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_RemoveCustomLocation_MaximumSet_Gen.json new file mode 100644 index 000000000000..8402039cd1d3 --- /dev/null +++ b/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_RemoveCustomLocation_MaximumSet_Gen.json @@ -0,0 +1,70 @@ +{ + "title": "ExtensionManagers_RemoveCustomLocation", + "operationId": "ExtensionManagers_RemoveCustomLocation", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "5D8BB6DA-AB36-4AF4-9550-913DFEA2F536", + "resourceGroupName": "rgopenapi", + "extensionManagerName": "2KFo4k-fNv4j_V85j-B3H_P_m_R__KPi8--D__-__ht74CF-cp_H_N", + "body": [ + { + "name": "qrkuixbbrbazhy", + "customLocationId": "gerwgnnj" + } + ] + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "extendedLocation": "cnzmvlmivyn", + "hostResourceId": "bzttmdrnmtolndrkxk", + "scenarioProfile": [ + { + "infrastructure": "mfgocft", + "scenario": "dwqgnkneskwhozheayskrrvlclzkr" + } + ], + "extensionProfile": [ + { + "name": "iciccqbcdrgexh", + "customLocations": [ + "cpjutbhupgmnvfbgqvajkjk" + ], + "state": "Enabled", + "configurationSettings": { + "key6107": "ktxnkattwcsilsrdlryqlloq" + } + } + ] + }, + "identity": { + "principalId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "tenantId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "type": "SystemAssigned" + }, + "tags": { + "key3761": "nfdilgwliagmjymvddrbiuebz" + }, + "location": "noztvjlnfxuxigrtyrcfryujkcccqg", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridOnboarding/extensionManagers/extmgrname", + "name": "qpyfrbglctpc", + "type": "lwhijjdioekwlhwmqvnorkbiido", + "systemData": { + "createdBy": "sre", + "createdByType": "User", + "createdAt": "2024-03-26T08:50:50.708Z", + "lastModifiedBy": "uvvsvjcgd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-03-26T08:50:50.709Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_Update_MaximumSet_Gen.json b/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..bd4cf4dd805f --- /dev/null +++ b/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/ExtensionManagers_Update_MaximumSet_Gen.json @@ -0,0 +1,72 @@ +{ + "title": "ExtensionManagers_Update", + "operationId": "ExtensionManagers_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "5D8BB6DA-AB36-4AF4-9550-913DFEA2F536", + "resourceGroupName": "rgopenapi", + "extensionManagerName": "I", + "properties": { + "tags": { + "key4031": "akazvoetpp" + }, + "identity": { + "type": "SystemAssigned" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "extendedLocation": "cnzmvlmivyn", + "hostResourceId": "bzttmdrnmtolndrkxk", + "scenarioProfile": [ + { + "infrastructure": "mfgocft", + "scenario": "dwqgnkneskwhozheayskrrvlclzkr" + } + ], + "extensionProfile": [ + { + "name": "iciccqbcdrgexh", + "customLocations": [ + "cpjutbhupgmnvfbgqvajkjk" + ], + "state": "Enabled", + "configurationSettings": { + "key6107": "ktxnkattwcsilsrdlryqlloq" + } + } + ] + }, + "identity": { + "principalId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "tenantId": "4ffdd429-6b94-4b18-9a78-d5f32664b5e7", + "type": "SystemAssigned" + }, + "tags": { + "key3761": "nfdilgwliagmjymvddrbiuebz" + }, + "location": "noztvjlnfxuxigrtyrcfryujkcccqg", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridOnboarding/extensionManagers/extmgrname", + "name": "qpyfrbglctpc", + "type": "lwhijjdioekwlhwmqvnorkbiido", + "systemData": { + "createdBy": "sre", + "createdByType": "User", + "createdAt": "2024-03-26T08:50:50.708Z", + "lastModifiedBy": "uvvsvjcgd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-03-26T08:50:50.709Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..8f1116b4e501 --- /dev/null +++ b/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/examples/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "oe", + "isDataAction": true, + "display": { + "provider": "irwmivjbjsqvla", + "resource": "vxguxhprje", + "operation": "ktjqfmjkni", + "description": "g" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/amfgnk" + } + } + } +} diff --git a/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/openapi.json b/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/openapi.json new file mode 100644 index 000000000000..6f8051de9fa1 --- /dev/null +++ b/specification/hybridonboarding/resource-manager/Microsoft.HybridOnboarding/preview/2024-06-01-preview/openapi.json @@ -0,0 +1,1142 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft.HybridOnboarding management service", + "version": "2024-06-01-preview", + "description": "Microsoft.HybridOnboarding Resource Provider management API.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "ExtensionManagers" + } + ], + "paths": { + "/providers/Microsoft.HybridOnboarding/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridOnboarding/extensionManagers": { + "get": { + "operationId": "ExtensionManagers_ListBySubscription", + "tags": [ + "ExtensionManagers" + ], + "description": "List ExtensionManager resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExtensionManagerListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExtensionManagers_ListBySubscription": { + "$ref": "./examples/ExtensionManagers_ListBySubscription_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridOnboarding/extensionManagers": { + "get": { + "operationId": "ExtensionManagers_ListByResourceGroup", + "tags": [ + "ExtensionManagers" + ], + "description": "List ExtensionManager resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExtensionManagerListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExtensionManagers_ListByResourceGroup": { + "$ref": "./examples/ExtensionManagers_ListByResourceGroup_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridOnboarding/extensionManagers/{extensionManagerName}": { + "get": { + "operationId": "ExtensionManagers_Get", + "tags": [ + "ExtensionManagers" + ], + "description": "Get a ExtensionManager", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "extensionManagerName", + "in": "path", + "description": "Extension Manager resource", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExtensionManager" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExtensionManagers_Get": { + "$ref": "./examples/ExtensionManagers_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "ExtensionManagers_CreateOrUpdate", + "tags": [ + "ExtensionManagers" + ], + "description": "Create a ExtensionManager", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "extensionManagerName", + "in": "path", + "description": "Extension Manager resource", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ExtensionManager" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ExtensionManager' update operation succeeded", + "schema": { + "$ref": "#/definitions/ExtensionManager" + } + }, + "201": { + "description": "Resource 'ExtensionManager' create operation succeeded", + "schema": { + "$ref": "#/definitions/ExtensionManager" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExtensionManagers_CreateOrUpdate": { + "$ref": "./examples/ExtensionManagers_CreateOrUpdate_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ExtensionManagers_Update", + "tags": [ + "ExtensionManagers" + ], + "description": "Update a ExtensionManager", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "extensionManagerName", + "in": "path", + "description": "Extension Manager resource", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ExtensionManagerPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExtensionManager" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExtensionManagers_Update": { + "$ref": "./examples/ExtensionManagers_Update_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ExtensionManagers_Delete", + "tags": [ + "ExtensionManagers" + ], + "description": "Delete a ExtensionManager", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "extensionManagerName", + "in": "path", + "description": "Extension Manager resource", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExtensionManagers_Delete": { + "$ref": "./examples/ExtensionManagers_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridOnboarding/extensionManagers/{extensionManagerName}/addCustomLocation": { + "post": { + "operationId": "ExtensionManagers_AddCustomLocation", + "tags": [ + "ExtensionManagers" + ], + "description": "Add a new custom location on extension(s)", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "extensionManagerName", + "in": "path", + "description": "Extension Manager resource", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/AddCustomLocationDetails" + }, + "x-ms-identifiers": [] + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExtensionManager" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExtensionManagers_AddCustomLocation": { + "$ref": "./examples/ExtensionManagers_AddCustomLocation_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridOnboarding/extensionManagers/{extensionManagerName}/disableExtensions": { + "post": { + "operationId": "ExtensionManagers_DisableExtensions", + "tags": [ + "ExtensionManagers" + ], + "description": "Disable extension(s) on the extension manager resource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "extensionManagerName", + "in": "path", + "description": "Extension Manager resource", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/DisableExtensionsRequestDetails" + }, + "x-ms-identifiers": [] + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExtensionManager" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExtensionManagers_DisableExtensions": { + "$ref": "./examples/ExtensionManagers_DisableExtensions_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridOnboarding/extensionManagers/{extensionManagerName}/enableExtensions": { + "post": { + "operationId": "ExtensionManagers_EnableExtensions", + "tags": [ + "ExtensionManagers" + ], + "description": "Enable extension(s) on the extension manager resource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "extensionManagerName", + "in": "path", + "description": "Extension Manager resource", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/EnableExtensionsRequestDetails" + }, + "x-ms-identifiers": [] + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExtensionManager" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExtensionManagers_EnableExtensions": { + "$ref": "./examples/ExtensionManagers_EnableExtensions_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridOnboarding/extensionManagers/{extensionManagerName}/removeCustomLocation": { + "post": { + "operationId": "ExtensionManagers_RemoveCustomLocation", + "tags": [ + "ExtensionManagers" + ], + "description": "Remove a custom location from extension(s)", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "extensionManagerName", + "in": "path", + "description": "Extension Manager resource", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/RemoveCustomLocationDetails" + }, + "x-ms-identifiers": [] + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExtensionManager" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExtensionManagers_RemoveCustomLocation": { + "$ref": "./examples/ExtensionManagers_RemoveCustomLocation_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "AddCustomLocationDetails": { + "type": "object", + "description": "Request body for adding new custom location to an extension.", + "properties": { + "name": { + "type": "string", + "description": "Name of the extension" + } + }, + "required": [ + "name" + ] + }, + "DisableExtensionsRequestDetails": { + "type": "object", + "description": "Request body details for disabling extension POST action", + "properties": { + "name": { + "type": "string", + "description": "Name of the extension" + } + }, + "required": [ + "name" + ] + }, + "EnableExtensionsRequestDetails": { + "type": "object", + "description": "Request body details for enabling extension POST action", + "properties": { + "name": { + "type": "string", + "description": "Name of the extension" + }, + "configurationSettings": { + "type": "object", + "description": "Configuration settings, as name-value pairs for configuring this extension.", + "x-nullable": true, + "additionalProperties": { + "type": "string" + } + }, + "configurationProtectedSettings": { + "type": "object", + "description": "Configuration settings that are sensitive, as name-value pairs for configuring this extension.", + "x-nullable": true, + "additionalProperties": { + "type": "string" + }, + "x-ms-secret": true + } + }, + "required": [ + "name" + ] + }, + "ExtensionManager": { + "type": "object", + "description": "Extension Manager Resource", + "properties": { + "properties": { + "$ref": "#/definitions/ExtensionManagerProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "identity": { + "$ref": "#/definitions/ManagedIdentity", + "description": "Managed Identity of extension manager resource" + } + }, + "required": [ + "identity" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "ExtensionManagerListResult": { + "type": "object", + "description": "The response of a ExtensionManager list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ExtensionManager items on this page", + "items": { + "$ref": "#/definitions/ExtensionManager" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items", + "readOnly": true + } + }, + "required": [ + "value" + ] + }, + "ExtensionManagerPatch": { + "type": "object", + "description": "Properties of a Extension Manager that can be patched.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "identity": { + "$ref": "#/definitions/ManagedIdentityUpdate", + "description": "Managed Identity of extension manager resource" + } + } + }, + "ExtensionManagerProperties": { + "type": "object", + "description": "The properties of Extension Manager resource", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of Extension Manager resource.", + "readOnly": true + }, + "extendedLocation": { + "type": "string", + "description": "ARM ID of the custom location resource deployed on the Onboarding Appliance" + }, + "hostResourceId": { + "type": "string", + "description": "ARM ID of the host associated with the extended location", + "readOnly": true + }, + "scenarioProfile": { + "type": "array", + "description": "Scenario profile of the extension manager resource.", + "items": { + "$ref": "#/definitions/ScenarioProfileObject" + }, + "x-ms-identifiers": [] + }, + "extensionProfile": { + "type": "array", + "description": "Extension profile of the extension manager resource", + "items": { + "$ref": "#/definitions/ExtensionObject" + }, + "readOnly": true, + "x-ms-identifiers": [ + "name" + ] + } + }, + "required": [ + "extendedLocation" + ] + }, + "ExtensionObject": { + "type": "object", + "description": "Extension object inside the extension profile.", + "properties": { + "name": { + "type": "string", + "description": "Name of the extension" + }, + "customLocations": { + "type": "array", + "description": "List of custom locations associated with the extension. All entries will be unique.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "state": { + "$ref": "#/definitions/ExtensionState", + "description": "Flag to enable/disable the extension" + }, + "configurationSettings": { + "type": "object", + "description": "Configuration settings, as name-value pairs for configuring this extension.", + "x-nullable": true, + "additionalProperties": { + "type": "string" + } + }, + "configurationProtectedSettings": { + "type": "object", + "description": "Configuration settings that are sensitive, as name-value pairs for configuring this extension.", + "x-nullable": true, + "additionalProperties": { + "type": "string" + }, + "x-ms-secret": true + } + }, + "required": [ + "name", + "state" + ] + }, + "ExtensionState": { + "type": "string", + "description": "State of the extension", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ExtensionState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Extension is enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Extension is disabled" + } + ] + } + }, + "ManagedIdentity": { + "type": "object", + "description": "Managed Identity of extension manager resource", + "properties": { + "principalId": { + "type": "string", + "format": "uuid", + "description": "The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.", + "readOnly": true + }, + "tenantId": { + "type": "string", + "format": "uuid", + "description": "The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/ManagedIdentityType", + "description": "Type of managed service identity" + } + }, + "required": [ + "type" + ] + }, + "ManagedIdentityType": { + "type": "string", + "description": "Type of managed service identity", + "enum": [ + "SystemAssigned" + ], + "x-ms-enum": { + "name": "ManagedIdentityType", + "modelAsString": true, + "values": [ + { + "name": "SystemAssigned", + "value": "SystemAssigned", + "description": "System Assigned Managed Identity" + } + ] + } + }, + "ManagedIdentityUpdate": { + "type": "object", + "description": "Managed Identity of extension manager resource", + "properties": { + "type": { + "$ref": "#/definitions/ManagedIdentityType", + "description": "Type of managed service identity" + } + } + }, + "ProvisioningState": { + "type": "string", + "description": "Provisioning state of the resource", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Creating", + "Updating", + "Deleting", + "Accepted" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Creating", + "value": "Creating", + "description": "creating provisioning state" + }, + { + "name": "Updating", + "value": "Updating", + "description": "updating provisioning state" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "deleting provisioning state" + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "accepted provisioning state" + } + ] + }, + "readOnly": true + }, + "RemoveCustomLocationDetails": { + "type": "object", + "description": "Request body for removing custom location from extension.", + "properties": { + "name": { + "type": "string", + "description": "Name of the extension" + }, + "customLocationId": { + "type": "string", + "description": "ARM ID of the custom location" + } + }, + "required": [ + "name", + "customLocationId" + ] + }, + "ScenarioProfileObject": { + "type": "object", + "description": "Scenario profile object of the extension manager resource.", + "properties": { + "infrastructure": { + "type": "string", + "description": "Infrastructure associated with extension manager resource." + }, + "scenario": { + "type": "string", + "description": "Scenario associated with extension manager resource." + } + }, + "required": [ + "infrastructure", + "scenario" + ] + }, + "Versions": { + "type": "string", + "description": "The available API versions.", + "enum": [ + "2024-06-01-preview" + ], + "x-ms-enum": { + "name": "Versions", + "modelAsString": true, + "values": [ + { + "name": "v2024_06_01_preview", + "value": "2024-06-01-preview", + "description": "2024-06-01-preview version" + } + ] + } + } + }, + "parameters": {} +} diff --git a/specification/hybridonboarding/resource-manager/readme.csharp.md b/specification/hybridonboarding/resource-manager/readme.csharp.md new file mode 100644 index 000000000000..737a57c40995 --- /dev/null +++ b/specification/hybridonboarding/resource-manager/readme.csharp.md @@ -0,0 +1,15 @@ +## C# + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +```yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 1 + clear-output-folder: true + client-side-validation: false + namespace: Microsoft.HybridOnboarding + output-folder: $(csharp-sdks-folder)/hybridonboarding/management/Microsoft.HybridOnboarding/ExtensionManager +``` diff --git a/specification/hybridonboarding/resource-manager/readme.go.md b/specification/hybridonboarding/resource-manager/readme.go.md new file mode 100644 index 000000000000..ab9d15df503a --- /dev/null +++ b/specification/hybridonboarding/resource-manager/readme.go.md @@ -0,0 +1,11 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +```yaml $(go) && $(track2) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/hybridonboarding/armhybridonboarding +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +``` diff --git a/specification/hybridonboarding/resource-manager/readme.md b/specification/hybridonboarding/resource-manager/readme.md new file mode 100644 index 000000000000..8c5e2367067d --- /dev/null +++ b/specification/hybridonboarding/resource-manager/readme.md @@ -0,0 +1,79 @@ +# HybridOnboarding + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for HybridOnboarding. + +## Getting Started + +To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run: + +> `autorest readme.md` + +To see additional help and options, run: + +> `autorest --help` + +For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page. + +--- + +## Configuration + +### Basic Information + +These are the global settings for the hybrid onboarding. + +``` yaml +openapi-type: arm +openapi-subtype: rpaas +tag: package-preview-2024-06 +``` + + +### Tag: package-preview-2024-06 + +These settings apply only when `--tag=package-preview-2024-06` is specified on the command line. + +```yaml $(tag) == 'package-preview-2024-06' +input-file: + - Microsoft.HybridOnboarding/preview/2024-06-01-preview/openapi.json +suppressions: + - code: GuidUsage + reason: GUIDs are used for principalId and tenantId under MSI properties. +``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-python-track2 + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-js + - repo: azure-resource-manager-schemas + - repo: azure-cli-extensions +``` + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## TypeScript + +See configuration in [readme.typescript.md](./readme.typescript.md) + +## CSharp + +See configuration in [readme.csharp.md](./readme.csharp.md) diff --git a/specification/hybridonboarding/resource-manager/readme.python.md b/specification/hybridonboarding/resource-manager/readme.python.md new file mode 100644 index 000000000000..03c5ac86cf59 --- /dev/null +++ b/specification/hybridonboarding/resource-manager/readme.python.md @@ -0,0 +1,19 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(python) +title: HybridOnboardingMgmtClient +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-hybridonboarding +namespace: azure.mgmt.hybridonboarding +package-version: 1.0.0b1 +clear-output-folder: true +``` + +``` yaml $(python) +no-namespace-folders: true +output-folder: $(python-sdks-folder)/hybridonboarding/azure-mgmt-hybridonboarding/azure/mgmt/hybridonboarding +``` diff --git a/specification/hybridonboarding/resource-manager/readme.typescript.md b/specification/hybridonboarding/resource-manager/readme.typescript.md new file mode 100644 index 000000000000..a8d4d573df68 --- /dev/null +++ b/specification/hybridonboarding/resource-manager/readme.typescript.md @@ -0,0 +1,15 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +``` yaml $(typescript) +title: HybridOnboardingClient +typescript: + azure-arm: true + package-name: "@azure/arm-hybridonboarding" + output-folder: "$(typescript-sdks-folder)/sdk/hybridonboarding/arm-hybridonboarding" + payload-flattening-threshold: 1 + clear-output-folder: true + generate-metadata: true +```