From d0ddf99cd9850c25c42c9478279304e165512d1c Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Tue, 29 Apr 2025 15:31:07 +0800 Subject: [PATCH 01/37] convert generated and fixed some error --- .../DryrunResource.tsp | 215 +++ .../LinkerResource.tsp | 335 ++++ .../back-compatible.tsp | 33 + .../ConfigurationNamesList.json | 54 + .../ConnectorDryrunCreate.json | 118 ++ .../ConnectorDryrunDelete.json | 15 + .../ConnectorDryrunGet.json | 35 + .../ConnectorDryrunList.json | 38 + .../ConnectorDryrunUpdate.json | 80 + .../2024-07-01-preview/ConnectorList.json | 36 + .../2024-07-01-preview/Connectors.json | 45 + .../2024-07-01-preview/DeleteConnector.json | 20 + .../2024-07-01-preview/DeleteDryrun.json | 13 + .../2024-07-01-preview/DeleteLinker.json | 18 + .../GenerateConfigurations.json | 28 + .../2024-07-01-preview/GetConfigurations.json | 43 + .../GetDaprConfigurations.json | 35 + .../2024-07-01-preview/GetDryrun.json | 34 + .../examples/2024-07-01-preview/Linker.json | 49 + .../LinkerGenerateConfigurations.json | 26 + .../2024-07-01-preview/LinkerList.json | 34 + .../2024-07-01-preview/ListDryrun.json | 37 + .../2024-07-01-preview/OperationsList.json | 186 +++ .../2024-07-01-preview/PatchConnector.json | 66 + .../2024-07-01-preview/PatchDryrun.json | 79 + .../2024-07-01-preview/PatchLinker.json | 61 + .../2024-07-01-preview/PutConnector.json | 65 + .../2024-07-01-preview/PutDryrun.json | 118 ++ .../2024-07-01-preview/PutLinker.json | 70 + .../ValidateConnectorSuccess.json | 40 + .../ValidateLinkerSuccess.json | 40 + .../ServiceLinker.Management/legacy.tsp | 326 ++++ .../ServiceLinker.Management/main.tsp | 48 + .../ServiceLinker.Management/models.tsp | 1392 +++++++++++++++++ .../ServiceLinker.Management/routes.tsp | 62 + .../ServiceLinker.Management/tspconfig.yaml | 14 + 36 files changed, 3908 insertions(+) create mode 100644 specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp create mode 100644 specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp create mode 100644 specification/servicelinker/ServiceLinker.Management/back-compatible.tsp create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConfigurationNamesList.json create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunCreate.json create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunDelete.json create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunGet.json create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunList.json create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunUpdate.json create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorList.json create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/Connectors.json create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/DeleteConnector.json create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/DeleteDryrun.json create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/DeleteLinker.json create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GenerateConfigurations.json create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GetConfigurations.json create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GetDaprConfigurations.json create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GetDryrun.json create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/Linker.json create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/LinkerGenerateConfigurations.json create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/LinkerList.json create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ListDryrun.json create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/OperationsList.json create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PatchConnector.json create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PatchDryrun.json create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PatchLinker.json create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PutConnector.json create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PutDryrun.json create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PutLinker.json create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ValidateConnectorSuccess.json create mode 100644 specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ValidateLinkerSuccess.json create mode 100644 specification/servicelinker/ServiceLinker.Management/legacy.tsp create mode 100644 specification/servicelinker/ServiceLinker.Management/main.tsp create mode 100644 specification/servicelinker/ServiceLinker.Management/models.tsp create mode 100644 specification/servicelinker/ServiceLinker.Management/routes.tsp create mode 100644 specification/servicelinker/ServiceLinker.Management/tspconfig.yaml diff --git a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp new file mode 100644 index 000000000000..d704005b6012 --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp @@ -0,0 +1,215 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.ServiceLinker; +/** + * a dryrun job resource + */ +@subscriptionResource +@parentResource(SubscriptionLocationResource) +model DryrunResource is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = DryrunResource, + KeyName = "dryrunName", + SegmentName = "dryruns", + NamePattern = "" + >; +} + +@armResourceOperations +interface DryrunResourceOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + ...LocationParameter, + }, + KeysOf> + > {} + +@armResourceOperations +interface DryrunResources { + /** + * get a dryrun job + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + @operationId("Connector_GetDryrun") + getDryrun is DryrunResourceOps.Read; + + /** + * create a dryrun job to do necessary check before actual creation + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + @operationId("Connector_CreateDryrun") + createDryrun is DryrunResourceOps.CreateOrUpdateAsync; + + /** + * update a dryrun job to do necessary check before actual creation + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + @patch(#{ implicitOptionality: false }) + @operationId("Connector_UpdateDryrun") + updateDryrun is DryrunResourceOps.CustomPatchAsync< + DryrunResource, + PatchModel = DryrunPatch, + LroHeaders = ArmAsyncOperationHeader & + Azure.Core.Foundations.RetryAfterHeader + >; + + /** + * delete a dryrun job + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + @operationId("Connector_DeleteDryrun") + deleteDryrun is DryrunResourceOps.DeleteSync; + + /** + * list dryrun jobs + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + @operationId("Connector_ListDryrun") + listDryrun is DryrunResourceOps.List< + DryrunResource, + Response = ArmResponse + >; +} +@armResourceOperations +interface LinkerOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + + /** {resourceUri} */ + @path @segment("{resourceUri}") providers: string, + }, + KeysOf> + > {} + +@armResourceOperations +interface Linkers { + /** + * get a dryrun job + */ + getDryrun is LinkerOps.Read< + DryrunResource, + Parameters = { + /** + * The fully qualified Azure Resource manager identifier of the resource to be connected. + */ + @path + resourceUri: string; + + /** + * The name of dryrun. + */ + @path + dryrunName: string; + } + >; + + /** + * create a dryrun job to do necessary check before actual creation + */ + createDryrun is LinkerOps.CreateOrUpdateAsync< + DryrunResource, + Parameters = { + /** + * The fully qualified Azure Resource manager identifier of the resource to be connected. + */ + @path + resourceUri: string; + + /** + * The name of dryrun. + */ + @path + dryrunName: string; + } + >; + + /** + * add a dryrun job to do necessary check before actual creation + */ + @patch(#{ implicitOptionality: false }) + updateDryrun is LinkerOps.CustomPatchAsync< + DryrunResource, + PatchModel = DryrunPatch, + Parameters = { + /** + * The fully qualified Azure Resource manager identifier of the resource to be connected. + */ + @path + resourceUri: string; + + /** + * The name of dryrun. + */ + @path + dryrunName: string; + }, + LroHeaders = ArmAsyncOperationHeader & + Azure.Core.Foundations.RetryAfterHeader + >; + + /** + * delete a dryrun job + */ + deleteDryrun is LinkerOps.DeleteSync< + DryrunResource, + Parameters = { + /** + * The fully qualified Azure Resource manager identifier of the resource to be connected. + */ + @path + resourceUri: string; + + /** + * The name of dryrun. + */ + @path + dryrunName: string; + } + >; + + /** + * list dryrun jobs + */ + listDryrun is LinkerOps.List< + DryrunResource, + Parameters = { + /** + * The fully qualified Azure Resource manager identifier of the resource to be connected. + */ + @path + resourceUri: string; + }, + Response = ArmResponse + >; +} + +@@doc(DryrunResource.name, "The name of dryrun."); +@@doc(DryrunResource.properties, "The properties of the dryrun job."); +@@doc(DryrunResources.createDryrun::parameters.resource, "dryrun resource."); +@@doc(DryrunResources.updateDryrun::parameters.properties, "dryrun resource."); +@@doc(Linkers.createDryrun::parameters.resource, "dryrun resource."); +@@doc(Linkers.updateDryrun::parameters.properties, "dryrun resource."); diff --git a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp new file mode 100644 index 000000000000..7ee1a3065177 --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp @@ -0,0 +1,335 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.ServiceLinker; +/** + * Linker of source and target resource + */ +@subscriptionResource +@parentResource(SubscriptionLocationResource) +model LinkerResource + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = LinkerResource, + KeyName = "connectorName", + SegmentName = "connectors", + NamePattern = "" + >; +} + +@armResourceOperations +interface LinkerResourceOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + ...LocationParameter, + }, + KeysOf> + > {} + +@armResourceOperations +interface LinkerResources { + /** + * Returns Connector resource for a given name. + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + @operationId("Connector_Get") + get is LinkerResourceOps.Read; + + /** + * Create or update Connector resource. + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + @operationId("Connector_CreateOrUpdate") + createOrUpdate is LinkerResourceOps.CreateOrUpdateAsync; + + /** + * Operation to update an existing Connector. + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "For backward compatibility" + @patch(#{ implicitOptionality: false }) + @operationId("Connector_Update") + update is LinkerResourceOps.CustomPatchAsync< + LinkerResource, + PatchModel = LinkerPatch, + Response = ArmResponse | (ArmAcceptedLroResponse> & { + @bodyRoot + _: LinkerResource; + }) + >; + + /** + * Delete a Connector. + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + @operationId("Connector_Delete") + delete is LinkerResourceOps.DeleteWithoutOkAsync< + LinkerResource, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse + >; + + /** + * Returns list of connector which connects to the resource, which supports to config the target service during the resource provision. + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + @operationId("Connector_List") + list is LinkerResourceOps.List< + LinkerResource, + Response = ArmResponse + >; + + /** + * Validate a Connector. + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + @operationId("Connector_Validate") + validate is LinkerResourceOps.ActionAsync< + LinkerResource, + void, + ArmResponse + >; + + /** + * Generate configurations for a Connector. + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + @operationId("Connector_GenerateConfigurations") + generateConfigurations is LinkerResourceOps.ActionSync< + LinkerResource, + { + /** + * Connection Info, including format, secret store, etc + */ + @bodyRoot + parameters?: ConfigurationInfo; + }, + ArmResponse + >; +} +@armResourceOperations +interface LinkerOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + + /** {resourceUri} */ + @path @segment("{resourceUri}") providers: string, + }, + KeysOf> + > {} + +@armResourceOperations +interface Linker { + /** + * Returns Linker resource for a given name. + */ + get is LinkerOps.Read< + LinkerResource, + Parameters = { + /** + * The fully qualified Azure Resource manager identifier of the resource to be connected. + */ + @path + resourceUri: string; + + /** + * The name Linker resource. + */ + @path + linkerName: string; + } + >; + + /** + * Create or update Linker resource. + */ + createOrUpdate is LinkerOps.CreateOrUpdateAsync< + LinkerResource, + Parameters = { + /** + * The fully qualified Azure Resource manager identifier of the resource to be connected. + */ + @path + resourceUri: string; + + /** + * The name Linker resource. + */ + @path + linkerName: string; + } + >; + + /** + * Operation to update an existing Linker. + */ + @patch(#{ implicitOptionality: false }) + update is LinkerOps.CustomPatchAsync< + LinkerResource, + PatchModel = LinkerPatch, + Parameters = { + /** + * The fully qualified Azure Resource manager identifier of the resource to be connected. + */ + @path + resourceUri: string; + + /** + * The name Linker resource. + */ + @path + linkerName: string; + }, + Response = ArmResponse | ArmResourceCreatedResponse, + LroHeaders = ArmAsyncOperationHeader & + Azure.Core.Foundations.RetryAfterHeader + >; + + /** + * Delete a Linker. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + delete is LinkerOps.DeleteWithoutOkAsync< + LinkerResource, + Parameters = { + /** + * The fully qualified Azure Resource manager identifier of the resource to be connected. + */ + @path + resourceUri: string; + + /** + * The name Linker resource. + */ + @path + linkerName: string; + }, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse + >; + + /** + * Returns list of Linkers which connects to the resource. which supports to config both application and target service during the resource provision. + */ + list is LinkerOps.List< + LinkerResource, + Parameters = { + /** + * The fully qualified Azure Resource manager identifier of the resource to be connected. + */ + @path + resourceUri: string; + }, + Response = ArmResponse + >; + + /** + * Validate a Linker. + */ + @action("validateLinker") + validate is LinkerOps.ActionAsync< + LinkerResource, + void, + ArmResponse, + Parameters = { + /** + * The fully qualified Azure Resource manager identifier of the resource to be connected. + */ + @path + resourceUri: string; + + /** + * The name Linker resource. + */ + @path + linkerName: string; + } + >; + + /** + * list source configurations for a Linker. + */ + listConfigurations is LinkerOps.ActionSync< + LinkerResource, + void, + ArmResponse, + Parameters = { + /** + * The fully qualified Azure Resource manager identifier of the resource to be connected. + */ + @path + resourceUri: string; + + /** + * The name Linker resource. + */ + @path + linkerName: string; + } + >; + + /** + * Generate configurations for a Linker. + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + @operationId("Linkers_GenerateConfigurations") + generateConfigurations is LinkerOps.ActionSync< + LinkerResource, + { + /** + * Connection Info, including format, secret store, etc + */ + @bodyRoot + parameters?: ConfigurationInfo; + }, + ArmResponse, + Parameters = { + /** + * The fully qualified Azure Resource manager identifier of the resource to be connected. + */ + @path + resourceUri: string; + + /** + * The name Linker resource. + */ + @path + linkerName: string; + } + >; +} + +@@doc(LinkerResource.name, "The name of resource."); +@@doc(LinkerResource.properties, "The properties of the Linker."); +@@doc(LinkerResources.createOrUpdate::parameters.resource, + "Connector details." +); +@@doc(LinkerResources.update::parameters.properties, "Connector details."); +@@doc(Linker.createOrUpdate::parameters.resource, "Linker details."); +@@doc(Linker.update::parameters.properties, "Linker details."); diff --git a/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp b/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp new file mode 100644 index 000000000000..dac28ef5fd92 --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp @@ -0,0 +1,33 @@ +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; +using Microsoft.ServiceLinker; + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(DryrunPatch.properties); + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(LinkerPatch.properties); + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(ValidateOperationResult.properties); + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(ConfigurationNameItem.properties); + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(DaprConfigurationResource.properties); + +@@clientName(DryrunResources.createDryrun::parameters.resource, "parameters"); +@@clientName(DryrunResources.updateDryrun::parameters.properties, "parameters"); +@@clientName(Linkers.createDryrun::parameters.resource, "parameters"); +@@clientName(Linkers.updateDryrun::parameters.properties, "parameters"); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(DryrunResource.properties); + +@@clientName(LinkerResources.createOrUpdate::parameters.resource, "parameters"); +@@clientName(LinkerResources.update::parameters.properties, "parameters"); +@@clientName(Linker.createOrUpdate::parameters.resource, "parameters"); +@@clientName(Linker.update::parameters.properties, "parameters"); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(LinkerResource.properties); diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConfigurationNamesList.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConfigurationNamesList.json new file mode 100644 index 000000000000..bf974e1fa880 --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConfigurationNamesList.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "properties": { + "authType": "systemAssignedIdentity", + "clientType": "none", + "names": [ + { + "description": "App configuration endpoint", + "value": "AZURE_APPCONFIGURATION_ENDPOINT" + }, + { + "description": "The scopes required for the token.", + "value": "AZURE_APPCONFIGURATION_SCOPE" + } + ], + "targetService": "MICROSOFT.APPCONFIGURATION/CONFIGURATIONSTORES" + } + }, + { + "properties": { + "authType": "userAssignedIdentity", + "clientType": "none", + "names": [ + { + "description": "App configuration endpoint", + "value": "AZURE_APPCONFIGURATION_ENDPOINT" + }, + { + "description": "The client(application) ID of the user identity.", + "value": "AZURE_APPCONFIGURATION_CLIENTID" + }, + { + "description": "The scopes required for getting token.", + "value": "AZURE_APPCONFIGURATION_SCOPE" + } + ], + "targetService": "MICROSOFT.APPCONFIGURATION/CONFIGURATIONSTORES" + } + } + ] + } + } + }, + "operationId": "ConfigurationNames_List", + "title": "GetConfigurationNames" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunCreate.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunCreate.json new file mode 100644 index 000000000000..48964481f4ae --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunCreate.json @@ -0,0 +1,118 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview", + "dryrunName": "dryrunName", + "location": "westus", + "parameters": { + "properties": { + "parameters": { + "actionName": "createOrUpdate", + "authInfo": { + "name": "name", + "authType": "secret", + "secretInfo": { + "secretType": "rawValue", + "value": "secret" + } + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + } + } + }, + "resourceGroupName": "test-rg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "dryrunName", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ServiceLinker/locations/westus/dryruns/dryrunName", + "properties": { + "operationPreviews": [ + { + "name": "configFirewallRule", + "description": "Config firewall rule for target service to allow source service access", + "action": "Microsoft.DocumentDb/databaseAccounts/write", + "operationType": "configNetwork", + "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc" + } + ], + "parameters": { + "actionName": "createOrUpdate", + "authInfo": { + "name": "name", + "authType": "secret" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + }, + "prerequisiteResults": [ + { + "type": "basicError", + "code": "ResourceNotFound", + "message": "Target resource is not found" + }, + { + "type": "permissionsMissing", + "permissions": [ + "Microsoft.DocumentDb/databaseAccounts/write" + ], + "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc" + } + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "dryrunName", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ServiceLinker/locations/westus/dryruns/dryrunName", + "properties": { + "operationPreviews": [ + { + "name": "configFirewallRule", + "description": "Config firewall rule for target service to allow source service access", + "action": "Microsoft.DocumentDb/databaseAccounts/write", + "operationType": "configNetwork", + "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc" + } + ], + "parameters": { + "actionName": "createOrUpdate", + "authInfo": { + "name": "name", + "authType": "secret" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + }, + "prerequisiteResults": [ + { + "type": "basicError", + "code": "ResourceNotFound", + "message": "Target resource is not found" + }, + { + "type": "permissionsMissing", + "permissions": [ + "Microsoft.DocumentDb/databaseAccounts/write" + ], + "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc" + } + ], + "provisioningState": "Accepted" + } + } + } + }, + "operationId": "Connector_CreateDryrun", + "title": "ConnectorDryrunCreate" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunDelete.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunDelete.json new file mode 100644 index 000000000000..b4bc6bd522f6 --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview", + "dryrunName": "dryrunName", + "location": "westus", + "resourceGroupName": "test-rg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "Connector_DeleteDryrun", + "title": "ConnectorDryrunDelete" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunGet.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunGet.json new file mode 100644 index 000000000000..c9e199bef533 --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview", + "dryrunName": "dryrunName", + "location": "westus", + "resourceGroupName": "test-rg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "dryrunName", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ServiceLinker/locations/westus/dryruns/dryrunName", + "properties": { + "parameters": { + "actionName": "createOrUpdate", + "authInfo": { + "name": "username", + "authType": "secret" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + } + }, + "systemData": { + "createdAt": "2020-07-12T22:05:09Z" + } + } + } + }, + "operationId": "Connector_GetDryrun", + "title": "ConnectorDryrunGet" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunList.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunList.json new file mode 100644 index 000000000000..ba43d5885965 --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunList.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview", + "location": "westus", + "resourceGroupName": "test-rg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "dryrunName", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ServiceLinker/locations/westus/dryruns/dryrunName", + "properties": { + "parameters": { + "actionName": "createOrUpdate", + "authInfo": { + "name": "username", + "authType": "secret" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + } + }, + "systemData": { + "createdAt": "2020-07-12T22:05:09Z" + } + } + ] + } + } + }, + "operationId": "Connector_ListDryrun", + "title": "ConnectorDryrunList" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunUpdate.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunUpdate.json new file mode 100644 index 000000000000..b7409c90d935 --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunUpdate.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview", + "dryrunName": "dryrunName", + "location": "westus", + "parameters": { + "properties": { + "parameters": { + "actionName": "createOrUpdate", + "authInfo": { + "name": "name", + "authType": "secret", + "secretInfo": { + "secretType": "rawValue", + "value": "secret" + } + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + } + } + }, + "resourceGroupName": "test-rg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "dryrunName", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ServiceLinker/locations/westus/dryruns/dryrunName", + "properties": { + "operationPreviews": [ + { + "name": "configFirewallRule", + "description": "Config firewall rule for target service to allow source service access", + "action": "Microsoft.DocumentDb/databaseAccounts/write", + "operationType": "configNetwork", + "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc" + } + ], + "parameters": { + "actionName": "createOrUpdate", + "authInfo": { + "name": "name", + "authType": "secret" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + }, + "prerequisiteResults": [ + { + "type": "basicError", + "code": "ResourceNotFound", + "message": "Target resource is not found" + }, + { + "type": "permissionsMissing", + "permissions": [ + "Microsoft.DocumentDb/databaseAccounts/write" + ], + "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc" + } + ], + "provisioningState": "Succeeded" + } + } + }, + "202": { + "headers": { + "azure-AsyncOperation": "http://azure.async.operation/status" + } + } + }, + "operationId": "Connector_UpdateDryrun", + "title": "ConnectorDryrunUpdate" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorList.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorList.json new file mode 100644 index 000000000000..750d3149c47f --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorList.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview", + "location": "westus", + "resourceGroupName": "test-rg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "linkName", + "type": "Microsoft.ServiceLinker/devConnectors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ServiceLinker/linkers/linkName", + "properties": { + "authInfo": { + "name": "username", + "authType": "secret" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + }, + "systemData": { + "createdAt": "2020-07-12T22:05:09Z" + } + } + ] + } + } + }, + "operationId": "Connector_List", + "title": "ConnectorList" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/Connectors.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/Connectors.json new file mode 100644 index 000000000000..4c560b43b977 --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/Connectors.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview", + "connectorName": "connectorName", + "location": "westus", + "resourceGroupName": "test-rg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "linkName", + "type": "Microsoft.ServiceLinker/devConnectors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ServiceLinker/devConnnectors/linkName", + "properties": { + "authInfo": { + "authType": "systemAssignedIdentity", + "roles": [ + "customizedOwner" + ] + }, + "publicNetworkSolution": { + "action": "enable", + "deleteOrUpdateBehavior": "ForcedCleanup", + "firewallRules": { + "callerClientIP": "true", + "ipRanges": [ + "182.22.120" + ] + } + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + }, + "systemData": { + "createdAt": "2020-07-12T22:05:09Z" + } + } + } + }, + "operationId": "Connector_Get", + "title": "Connector" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/DeleteConnector.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/DeleteConnector.json new file mode 100644 index 000000000000..3eb4294d6c1f --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/DeleteConnector.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview", + "connectorName": "connectorName", + "location": "westus", + "resourceGroupName": "test-rg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-AsyncOperation": "http://azure.async.operation/status" + } + }, + "204": {} + }, + "operationId": "Connector_Delete", + "title": "DeleteConnector" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/DeleteDryrun.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/DeleteDryrun.json new file mode 100644 index 000000000000..e1eaaf7f1eed --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/DeleteDryrun.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview", + "dryrunName": "dryrunName", + "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "Linkers_DeleteDryrun", + "title": "DeleteDryrun" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/DeleteLinker.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/DeleteLinker.json new file mode 100644 index 000000000000..af186058a0a4 --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/DeleteLinker.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview", + "linkerName": "linkName", + "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-AsyncOperation": "http://azure.async.operation/status" + } + }, + "204": {} + }, + "operationId": "Linker_Delete", + "title": "DeleteLinker" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GenerateConfigurations.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GenerateConfigurations.json new file mode 100644 index 000000000000..ca5f8fe20531 --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GenerateConfigurations.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview", + "connectorName": "connectorName", + "location": "westus", + "parameters": { + "customizedKeys": { + "ASL_DocumentDb_ConnectionString": "MyConnectionstring" + } + }, + "resourceGroupName": "test-rg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "configurations": [ + { + "name": "MyConnectionstring", + "value": "ConnectionString" + } + ] + } + } + }, + "operationId": "Connector_GenerateConfigurations", + "title": "GenerateConfiguration" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GetConfigurations.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GetConfigurations.json new file mode 100644 index 000000000000..3d6bd602fc50 --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GetConfigurations.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview", + "linkerName": "linkName", + "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.App/containerApps/test-app" + }, + "responses": { + "200": { + "body": { + "configurations": [ + { + "name": "AZURE_POSTGRESQL_HOST", + "configType": "Default", + "value": "Host" + }, + { + "name": "AZURE_POSTGRESQL_USER", + "configType": "Default", + "value": "Username" + }, + { + "name": "AZURE_POSTGRESQL_DATABASE", + "configType": "Default", + "value": "DatabaseName" + }, + { + "name": "AZURE_POSTGRESQL_PORT", + "configType": "Default", + "value": "Port" + }, + { + "name": "AZURE_POSTGRESQL_PASSWORD", + "configType": "KeyVaultSecret", + "keyVaultReferenceIdentity": "system", + "value": "SecretUri" + } + ] + } + } + }, + "operationId": "Linker_ListConfigurations", + "title": "GetConfiguration" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GetDaprConfigurations.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GetDaprConfigurations.json new file mode 100644 index 000000000000..077fe2b82140 --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GetDaprConfigurations.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview", + "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "authType": "secret", + "daprProperties": { + "bindingComponentDirection": "input", + "componentType": "bindings", + "metadata": [ + { + "name": "containerName", + "description": "The name of the container to be used for Dapr state.", + "required": "true" + } + ], + "runtimeVersion": "1.10", + "version": "v1" + }, + "targetType": "MICROSOFT.STORAGE/STORAGEACCOUNTS/BLOBSERVICES" + } + } + ] + } + } + }, + "operationId": "Linkers_ListDaprConfigurations", + "title": "GetDaprConfigurations" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GetDryrun.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GetDryrun.json new file mode 100644 index 000000000000..8ceadc414c76 --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GetDryrun.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview", + "dryrunName": "dryrunName", + "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app" + }, + "responses": { + "200": { + "body": { + "name": "dryrunName", + "type": "Microsoft.ServiceLinker/dryruns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/dryruns/dryrunName", + "properties": { + "parameters": { + "actionName": "createOrUpdate", + "authInfo": { + "name": "username", + "authType": "secret" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + } + }, + "systemData": { + "createdAt": "2020-07-12T22:05:09Z" + } + } + } + }, + "operationId": "Linkers_GetDryrun", + "title": "GetDryrun" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/Linker.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/Linker.json new file mode 100644 index 000000000000..1566be855291 --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/Linker.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview", + "linkerName": "linkName", + "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app" + }, + "responses": { + "200": { + "body": { + "name": "linkName", + "type": "Microsoft.ServiceLinker/links", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", + "properties": { + "authInfo": { + "name": "name", + "authType": "secret" + }, + "clientType": "dotnet", + "configurationInfo": { + "additionalConfigurations": { + "throttlingLimit": "100" + }, + "customizedKeys": { + "AZURE_MYSQL_CONNECTIONSTRING": "myConnectionstring", + "AZURE_MYSQL_SSLMODE": "mySslmode" + }, + "deleteOrUpdateBehavior": "ForcedCleanup" + }, + "publicNetworkSolution": { + "action": "enable" + }, + "scope": "AKS-Namespace", + "secretStore": { + "keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.KeyVault/vaults/kvname" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + }, + "systemData": { + "createdAt": "2020-07-12T22:05:09Z" + } + } + } + }, + "operationId": "Linker_Get", + "title": "Linker" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/LinkerGenerateConfigurations.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/LinkerGenerateConfigurations.json new file mode 100644 index 000000000000..3f6728e42407 --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/LinkerGenerateConfigurations.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview", + "linkerName": "linkName", + "parameters": { + "customizedKeys": { + "ASL_DocumentDb_ConnectionString": "MyConnectionstring" + } + }, + "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app" + }, + "responses": { + "200": { + "body": { + "configurations": [ + { + "name": "MyConnectionstring", + "value": "ConnectionString" + } + ] + } + } + }, + "operationId": "Linkers_GenerateConfigurations", + "title": "GenerateConfiguration" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/LinkerList.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/LinkerList.json new file mode 100644 index 000000000000..7a58e614a517 --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/LinkerList.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview", + "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "linkName", + "type": "Microsoft.ServiceLinker/links", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ServiceLinker/links/linkName", + "properties": { + "authInfo": { + "name": "username", + "authType": "secret" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + }, + "systemData": { + "createdAt": "2020-07-12T22:05:09Z" + } + } + ] + } + } + }, + "operationId": "Linker_List", + "title": "LinkerList" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ListDryrun.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ListDryrun.json new file mode 100644 index 000000000000..f8aaf9595078 --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ListDryrun.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview", + "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "dryrunName", + "type": "Microsoft.ServiceLinker/dryruns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/dryruns/dryrunName", + "properties": { + "parameters": { + "actionName": "createOrUpdate", + "authInfo": { + "name": "username", + "authType": "secret" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + } + }, + "systemData": { + "createdAt": "2020-07-12T22:05:09Z" + } + } + ] + } + } + }, + "operationId": "Linkers_ListDryrun", + "title": "ListDryrun" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/OperationsList.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/OperationsList.json new file mode 100644 index 000000000000..d5ee1ae02a92 --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/OperationsList.json @@ -0,0 +1,186 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview", + "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.ServiceLinker/register/action", + "display": { + "description": "Register the subscription for Microsoft.ServiceLinker", + "operation": "Register the Microsoft.ServiceLinker", + "provider": "Microsoft.ServiceLinker", + "resource": "Microsoft.ServiceLinker" + }, + "isDataAction": false + }, + { + "name": "Microsoft.ServiceLinker/unregister/action", + "display": { + "description": "Unregister the subscription for Microsoft.ServiceLinker", + "operation": "Unregister the Microsoft.ServiceLinker", + "provider": "Microsoft.ServiceLinker", + "resource": "Microsoft.ServiceLinker" + }, + "isDataAction": false + }, + { + "name": "Microsoft.ServiceLinker/operations/read", + "display": { + "description": "read operations", + "operation": "read_operations", + "provider": "Microsoft.ServiceLinker", + "resource": "operations" + }, + "isDataAction": false + }, + { + "name": "Microsoft.ServiceLinker/dryruns/read", + "display": { + "description": "list dryrun jobs", + "operation": "Dryrun_List", + "provider": "Microsoft.ServiceLinker", + "resource": "dryruns" + }, + "isDataAction": false + }, + { + "name": "Microsoft.ServiceLinker/dryruns/read", + "display": { + "description": "get a dryrun job", + "operation": "Dryrun_Get", + "provider": "Microsoft.ServiceLinker", + "resource": "dryruns" + }, + "isDataAction": false + }, + { + "name": "Microsoft.ServiceLinker/dryruns/write", + "display": { + "description": "create a dryrun job to do necessary check before actual creation", + "operation": "Dryrun_Create", + "provider": "Microsoft.ServiceLinker", + "resource": "dryruns" + }, + "isDataAction": false + }, + { + "name": "Microsoft.ServiceLinker/dryruns/delete", + "display": { + "description": "delete a dryrun job", + "operation": "Dryrun_Delete", + "provider": "Microsoft.ServiceLinker", + "resource": "dryruns" + }, + "isDataAction": false + }, + { + "name": "Microsoft.ServiceLinker/dryruns/write", + "display": { + "description": "add a dryrun job to do necessary check before actual creation", + "operation": "Dryrun_Update", + "provider": "Microsoft.ServiceLinker", + "resource": "dryruns" + }, + "isDataAction": false + }, + { + "name": "Microsoft.ServiceLinker/locations/operationStatuses/read", + "display": { + "description": "read operationStatuses", + "operation": "read_operationStatuses", + "provider": "Microsoft.ServiceLinker", + "resource": "locations/operationStatuses" + }, + "isDataAction": false + }, + { + "name": "Microsoft.ServiceLinker/locations/operationStatuses/write", + "display": { + "description": "write operationStatuses", + "operation": "write_operationStatuses", + "provider": "Microsoft.ServiceLinker", + "resource": "locations/operationStatuses" + }, + "isDataAction": false + }, + { + "name": "Microsoft.ServiceLinker/linkers/read", + "display": { + "description": "Returns list of Linkers which connects to the resource.", + "operation": "Linker_List", + "provider": "Microsoft.ServiceLinker", + "resource": "linkers" + }, + "isDataAction": false + }, + { + "name": "Microsoft.ServiceLinker/linkers/read", + "display": { + "description": "Returns Linker resource for a given name.", + "operation": "Linker_Get", + "provider": "Microsoft.ServiceLinker", + "resource": "linkers" + }, + "isDataAction": false + }, + { + "name": "Microsoft.ServiceLinker/linkers/write", + "display": { + "description": "Create or update linker resource.", + "operation": "Linker_CreateOrUpdate", + "provider": "Microsoft.ServiceLinker", + "resource": "linkers" + }, + "isDataAction": false + }, + { + "name": "Microsoft.ServiceLinker/linkers/delete", + "display": { + "description": "Delete a link.", + "operation": "Linker_Delete", + "provider": "Microsoft.ServiceLinker", + "resource": "linkers" + }, + "isDataAction": false + }, + { + "name": "Microsoft.ServiceLinker/linkers/write", + "display": { + "description": "Operation to update an existing link.", + "operation": "Linker_Update", + "provider": "Microsoft.ServiceLinker", + "resource": "linkers" + }, + "isDataAction": false + }, + { + "name": "Microsoft.ServiceLinker/linkers/validateLinker/action", + "display": { + "description": "Validate a link.", + "operation": "Linker_Validate", + "provider": "Microsoft.ServiceLinker", + "resource": "linkers" + }, + "isDataAction": false + }, + { + "name": "Microsoft.ServiceLinker/linkers/listConfigurations/action", + "display": { + "description": "list source configurations for a linker.", + "operation": "Linker_ListConfigurations", + "provider": "Microsoft.ServiceLinker", + "resource": "linkers" + }, + "isDataAction": false + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "GetConfiguration" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PatchConnector.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PatchConnector.json new file mode 100644 index 000000000000..5798698b7d36 --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PatchConnector.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview", + "connectorName": "connectorName", + "location": "westus", + "parameters": { + "properties": { + "authInfo": { + "authType": "servicePrincipalSecret", + "clientId": "name", + "principalId": "id", + "secret": "secret" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + } + }, + "resourceGroupName": "test-rg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "linkName", + "type": "Microsoft.ServiceLinker/links", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", + "properties": { + "authInfo": { + "authType": "servicePrincipalSecret", + "clientId": "name", + "principalId": "id" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + } + } + }, + "202": { + "body": { + "name": "linkName", + "type": "Microsoft.ServiceLinker/links", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", + "properties": { + "authInfo": { + "authType": "servicePrincipalSecret", + "clientId": "name", + "principalId": "id" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + } + }, + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + } + } + }, + "operationId": "Connector_Update", + "title": "PatchConnector" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PatchDryrun.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PatchDryrun.json new file mode 100644 index 000000000000..ab56a39003bf --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PatchDryrun.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview", + "dryrunName": "dryrunName", + "parameters": { + "properties": { + "parameters": { + "actionName": "createOrUpdate", + "authInfo": { + "name": "name", + "authType": "secret", + "secretInfo": { + "secretType": "rawValue", + "value": "secret" + } + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + } + } + }, + "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app" + }, + "responses": { + "200": { + "body": { + "name": "dryrunName", + "type": "Microsoft.ServiceLinker/dryruns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/dryruns/dryrunName", + "properties": { + "operationPreviews": [ + { + "name": "configFirewallRule", + "description": "Config firewall rule for target service to allow source service access", + "action": "Microsoft.DocumentDb/databaseAccounts/write", + "operationType": "configNetwork", + "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc" + } + ], + "parameters": { + "actionName": "createOrUpdate", + "authInfo": { + "name": "name", + "authType": "secret" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + }, + "prerequisiteResults": [ + { + "type": "basicError", + "code": "ResourceNotFound", + "message": "Target resource is not found" + }, + { + "type": "permissionsMissing", + "permissions": [ + "Microsoft.DocumentDb/databaseAccounts/write" + ], + "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc" + } + ], + "provisioningState": "Succeeded" + } + } + }, + "202": { + "headers": { + "azure-AsyncOperation": "http://azure.async.operation/status" + } + } + }, + "operationId": "Linkers_UpdateDryrun", + "title": "PatchDryrun" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PatchLinker.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PatchLinker.json new file mode 100644 index 000000000000..21c2ce1c2afe --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PatchLinker.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview", + "linkerName": "linkName", + "parameters": { + "properties": { + "authInfo": { + "authType": "servicePrincipalSecret", + "clientId": "name", + "principalId": "id", + "secret": "secret" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + } + }, + "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app" + }, + "responses": { + "200": { + "body": { + "name": "linkName", + "type": "Microsoft.ServiceLinker/links", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", + "properties": { + "authInfo": { + "authType": "servicePrincipalSecret", + "clientId": "name", + "principalId": "id" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + } + } + }, + "201": { + "body": { + "name": "linkName", + "type": "Microsoft.ServiceLinker/links", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", + "properties": { + "authInfo": { + "authType": "servicePrincipalSecret", + "clientId": "name", + "principalId": "id" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + } + } + } + }, + "operationId": "Linker_Update", + "title": "PatchLinker" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PutConnector.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PutConnector.json new file mode 100644 index 000000000000..298b5712c1db --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PutConnector.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview", + "connectorName": "connectorName", + "location": "westus", + "parameters": { + "properties": { + "authInfo": { + "authType": "secret" + }, + "secretStore": { + "keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.KeyVault/vaults/test-kv" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + } + }, + "resourceGroupName": "test-rg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "linkName", + "type": "Microsoft.ServiceLinker/links", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", + "properties": { + "authInfo": { + "authType": "secret" + }, + "secretStore": { + "keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.KeyVault/vaults/test-kv" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + } + } + }, + "201": { + "body": { + "name": "linkName", + "type": "Microsoft.ServiceLinker/links", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", + "properties": { + "authInfo": { + "authType": "secret" + }, + "secretStore": { + "keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.KeyVault/vaults/test-kv" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + } + } + } + }, + "operationId": "Connector_CreateOrUpdate", + "title": "PutConnector" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PutDryrun.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PutDryrun.json new file mode 100644 index 000000000000..fd0ae0d3ff2a --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PutDryrun.json @@ -0,0 +1,118 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview", + "dryrunName": "dryrunName", + "parameters": { + "properties": { + "parameters": { + "actionName": "createOrUpdate", + "authInfo": { + "name": "name", + "authType": "secret", + "secretInfo": { + "secretType": "rawValue", + "value": "secret" + } + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + } + } + }, + "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app" + }, + "responses": { + "200": { + "body": { + "name": "dryrunName", + "type": "Microsoft.ServiceLinker/dryruns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/dryruns/dryrunName", + "properties": { + "operationPreviews": [ + { + "name": "configFirewallRule", + "description": "Config firewall rule for target service to allow source service access", + "action": "Microsoft.DocumentDb/databaseAccounts/write", + "operationType": "configNetwork", + "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc" + } + ], + "parameters": { + "actionName": "createOrUpdate", + "authInfo": { + "name": "name", + "authType": "secret" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + }, + "prerequisiteResults": [ + { + "type": "basicError", + "code": "ResourceNotFound", + "message": "Target resource is not found" + }, + { + "type": "permissionsMissing", + "permissions": [ + "Microsoft.DocumentDb/databaseAccounts/write" + ], + "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc" + } + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "dryrunName", + "type": "Microsoft.ServiceLinker/dryruns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/dryruns/dryrunName", + "properties": { + "operationPreviews": [ + { + "name": "configFirewallRule", + "description": "Config firewall rule for target service to allow source service access", + "action": "Microsoft.DocumentDb/databaseAccounts/write", + "operationType": "configNetwork", + "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc" + } + ], + "parameters": { + "actionName": "createOrUpdate", + "authInfo": { + "name": "name", + "authType": "secret" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + }, + "prerequisiteResults": [ + { + "type": "basicError", + "code": "ResourceNotFound", + "message": "Target resource is not found" + }, + { + "type": "permissionsMissing", + "permissions": [ + "Microsoft.DocumentDb/databaseAccounts/write" + ], + "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc" + } + ], + "provisioningState": "Updating" + } + } + } + }, + "operationId": "Linkers_CreateDryrun", + "title": "PutDryrun" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PutLinker.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PutLinker.json new file mode 100644 index 000000000000..d3f649280a07 --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PutLinker.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview", + "linkerName": "linkName", + "parameters": { + "properties": { + "authInfo": { + "name": "name", + "authType": "secret", + "secretInfo": { + "secretType": "rawValue", + "value": "secret" + } + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DBforPostgreSQL/servers/test-pg/databases/test-db" + }, + "vNetSolution": { + "type": "serviceEndpoint" + } + } + }, + "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app" + }, + "responses": { + "200": { + "body": { + "name": "linkName", + "type": "Microsoft.ServiceLinker/links", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", + "properties": { + "authInfo": { + "name": "name", + "authType": "secret" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DBforPostgreSQL/servers/test-pg/databases/test-db" + }, + "vNetSolution": { + "type": "serviceEndpoint" + } + } + } + }, + "201": { + "body": { + "name": "linkName", + "type": "Microsoft.ServiceLinker/links", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", + "properties": { + "authInfo": { + "name": "name", + "authType": "secret" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DBforPostgreSQL/servers/test-pg/databases/test-db" + }, + "vNetSolution": { + "type": "serviceEndpoint" + } + } + } + } + }, + "operationId": "Linker_CreateOrUpdate", + "title": "PutLinker" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ValidateConnectorSuccess.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ValidateConnectorSuccess.json new file mode 100644 index 000000000000..ad6e0f543bfa --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ValidateConnectorSuccess.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview", + "connectorName": "connectorName", + "location": "westus", + "resourceGroupName": "test-rg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "properties": { + "authType": "secret", + "isConnectionAvailable": true, + "reportEndTimeUtc": "2020-07-12T22:06:09Z", + "reportStartTimeUtc": "2020-07-12T22:05:09Z", + "validationDetail": [ + { + "name": "TargetExistence", + "description": "The target existence is validated", + "result": "success" + }, + { + "name": "TargetNetworkAccess", + "description": "Deny public network access is set to yes. Please confirm you are using private endpoint connection to access target resource.", + "result": "warning" + } + ] + } + } + }, + "202": { + "headers": { + "azure-AsyncOperation": "http://azure.async.operation/status" + } + } + }, + "operationId": "Connector_Validate", + "title": "ValidateConnectorSuccess" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ValidateLinkerSuccess.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ValidateLinkerSuccess.json new file mode 100644 index 000000000000..fc9eda565c90 --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ValidateLinkerSuccess.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2024-07-01-preview", + "linkerName": "linkName", + "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app" + }, + "responses": { + "200": { + "body": { + "properties": { + "authType": "secret", + "isConnectionAvailable": true, + "reportEndTimeUtc": "2020-07-12T22:06:09Z", + "reportStartTimeUtc": "2020-07-12T22:05:09Z", + "sourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db", + "targetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db", + "validationDetail": [ + { + "name": "TargetExistence", + "description": "The target existence is validated", + "result": "success" + }, + { + "name": "TargetNetworkAccess", + "description": "Deny public network access is set to yes. Please confirm you are using private endpoint connection to access target resource.", + "result": "warning" + } + ] + } + } + }, + "202": { + "headers": { + "azure-AsyncOperation": "http://azure.async.operation/status" + } + } + }, + "operationId": "Linker_Validate", + "title": "ValidateLinkerSuccess" +} \ No newline at end of file diff --git a/specification/servicelinker/ServiceLinker.Management/legacy.tsp b/specification/servicelinker/ServiceLinker.Management/legacy.tsp new file mode 100644 index 000000000000..05225f6ce221 --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/legacy.tsp @@ -0,0 +1,326 @@ +import "@typespec/http"; +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; + +namespace Azure.ResourceManager.Legacy { + interface LegacyOperations< + ParentParameters extends {}, + ResourceTypeParameter extends {}, + ErrorType extends {} = ErrorResponse + > { + /** + * @dev A long-running resource CreateOrUpdate (PUT) + * @template Resource the resource being created or updated + * @template LroHeaders Optional. Allows overriding the lro headers returned on resource create + * @template Parameters Optional. Additional parameters after the path parameters + * @template Response Optional. The success response(s) for the PUT operation + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" + @autoRoute + @doc("Create a {name}", Resource) + @armResourceCreateOrUpdate(Resource) + @Azure.Core.Foundations.Private.defaultFinalStateVia(#[ + "location", + "azure-async-operation" + ]) + @put + CreateOrUpdateAsync< + Resource extends Azure.ResourceManager.CommonTypes.Resource, + LroHeaders extends TypeSpec.Reflection.Model = ArmAsyncOperationHeader & + Azure.Core.Foundations.RetryAfterHeader, + Parameters extends {} = {}, + Response extends {} = ArmResourceUpdatedResponse | ArmResourceCreatedResponse< + Resource, + LroHeaders + > + >( + ...ParentParameters, + ...ResourceTypeParameter, + ...Parameters, + @doc("Resource create parameters.") @bodyRoot resource: Resource, + ): Response | ErrorType; + + /** + * @dev A synchronous resource CreateOrUpdate (PUT) + * @template Resource the resource being created or updated + * @template Parameters Optional. Additional parameters after the path parameters + * @template Response Optional. The success response(s) for the PUT operation + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" + @autoRoute + @doc("Create a {name}", Resource) + @armResourceCreateOrUpdate(Resource) + @put + CreateOrUpdateSync< + Resource extends Azure.ResourceManager.CommonTypes.Resource, + Parameters extends {} = {}, + Response extends {} = ArmResourceUpdatedResponse | ArmResourceCreatedSyncResponse + >( + ...ParentParameters, + ...ResourceTypeParameter, + ...Parameters, + @doc("Resource create parameters.") @bodyRoot resource: Resource, + ): Response | ErrorType; + + /** + * @dev A long-running resource Update (PATCH) + * @template Resource the resource being created or updated + * @template PatchModel the PATCH request model + * @template LroHeaders Optional. Allows overriding the lro headers returned on resource create + * @template Parameters Optional. Additional parameters after the path parameters + * @template Response Optional. The success response(s) for the PATCH operation + */ + @autoRoute + @doc("Update a {name}", Resource) + @armResourceUpdate(Resource) + @patch + CustomPatchAsync< + Resource extends Azure.ResourceManager.CommonTypes.Resource, + PatchModel extends {} = Azure.ResourceManager.Foundations.TagsUpdateModel, + LroHeaders extends TypeSpec.Reflection.Model = ArmLroLocationHeader< + Azure.Core.StatusMonitorPollingOptions, + Resource, + string + > & + Azure.Core.Foundations.RetryAfterHeader, + Parameters extends {} = {}, + Response extends {} = ArmResponse | ArmAcceptedLroResponse< + "Resource update request accepted.", + LroHeaders + > + >( + ...ParentParameters, + ...ResourceTypeParameter, + ...Parameters, + @doc("Resource create parameters.") @bodyRoot properties: PatchModel, + ): Response | ErrorType; + + /** + * @dev A synchronous resource Update (PATCH) + * @template Resource the resource being created or updated + * @template PatchModel the PATCH request model + * @template Parameters Optional. Additional parameters after the path parameters + * @template Response Optional. The success response(s) for the PATCH operation + */ + @autoRoute + @doc("Update a {name}", Resource) + @armResourceUpdate(Resource) + @patch + CustomPatchSync< + Resource extends Azure.ResourceManager.CommonTypes.Resource, + PatchModel extends {} = Azure.ResourceManager.Foundations.TagsUpdateModel, + Parameters extends {} = {}, + Response extends {} = ArmResponse + >( + ...ParentParameters, + ...ResourceTypeParameter, + ...Parameters, + @doc("Resource create parameters.") @bodyRoot properties: PatchModel, + ): Response | ErrorType; + + /** + * @dev Delete a resource asynchronously + * @template Resource The resource being deleted + * @template LroHeaders The lro headers for the operation + * @template Parameters Optional. Additional parameters after the path parameters + * @template Response Optional. The success response(s) for the delete operation + */ + #suppress "@azure-tools/typespec-azure-core/no-response-body" "Valid" + @autoRoute + @doc("Delete a {name}", Resource) + @delete + @deletesResource(Resource) + @armResourceDelete(Resource) + DeleteWithoutOkAsync< + Resource extends Azure.ResourceManager.CommonTypes.Resource, + LroHeaders extends TypeSpec.Reflection.Model = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, + Parameters extends {} = {}, + Response extends {} = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse + >( + ...ParentParameters, + ...ResourceTypeParameter, + ...Parameters, + ): Response | ErrorType; + + /** + * @dev Delete a resource synchronously + * @template Resource The resource being deleted + * @template Parameters Optional. Additional parameters after the path parameters + * @template Response Optional. The success response(s) for the delete operation + */ + #suppress "@azure-tools/typespec-azure-core/no-response-body" "Valid" + @autoRoute + @doc("Delete a {name}", Resource) + @delete + @deletesResource(Resource) + @armResourceDelete(Resource) + DeleteSync< + Resource extends Azure.ResourceManager.CommonTypes.Resource, + Parameters extends {} = {}, + Response extends {} = ArmDeletedResponse | ArmDeletedNoContentResponse + >( + ...ParentParameters, + ...ResourceTypeParameter, + ...Parameters, + ): Response | ErrorType; + + /** + * @dev Get a resource + * @template Resource The resource being read + * @template Parameters Optional. Additional parameters after the path parameters + * @template Response Optional. The success response for a get operation. + */ + @autoRoute + @doc("Get a {name}", Resource) + @get + @readsResource(Resource) + @armResourceRead(Resource) + Read< + Resource extends Azure.ResourceManager.CommonTypes.Resource, + Parameters extends {} = {}, + Response extends {} = ArmResponse + >( + ...ParentParameters, + ...ResourceTypeParameter, + ...Parameters, + ): Response | ErrorType; + + /** + * @dev Get a resource + * @template Resource The resource being read + * @template Parameters Optional. Additional parameters after the path parameters + * @template Response Optional. The success response for a get operation. + */ + @doc("Get a {name}", Resource) + @get + @readsResource(Resource) + @armResourceRead(Resource) + ReadRoute< + Resource extends Azure.ResourceManager.CommonTypes.Resource, + Parameters extends {} = {}, + Response extends {} = ArmResponse + >( + ...ParentParameters, + ...ResourceTypeParameter, + ...Parameters, + ): Response | ErrorType; + + /** + * @dev List a resource + * @template Resource The resource being listed + * @template Parameters Optional. Additional parameters after the path parameters + * @template Response Optional. The response returned by the list + */ + @autoRoute + @doc("List {name} resources", Resource) + @get + @listsResource(Resource) + @segmentOf(Resource) + @armResourceList(Resource) + List< + Resource extends Azure.ResourceManager.CommonTypes.Resource, + Parameters extends {} = {}, + Response extends {} = ArmResponse> + >(...ParentParameters, ...Parameters): Response | ErrorType; + + /** + * @dev List a resource + * @template Resource The resource being listed + * @template Parameters Optional. Additional parameters after the path parameters + * @template Response Optional. The response returned by the list + */ + @doc("List {name} resources", Resource) + @get + @listsResource(Resource) + @armResourceList(Resource) + ListRoute< + Resource extends Azure.ResourceManager.CommonTypes.Resource, + Parameters extends {} = {}, + Response extends {} = ArmResponse> + >(...ParentParameters, ...Parameters): Response | ErrorType; + + /** + * A synchronous resource action. + * @template Resource The resource being acted upon + * @template Request The request model for the action + * @template Response The response model for the action + * @template Parameters Optional. Additional parameters after the path parameters + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" + @autoRoute + @armResourceAction(Resource) + @Private.enforceConstraint(Resource, Foundations.Resource) + @post + @returnsDoc("Azure operation completed successfully.") + ActionSync< + Resource extends Foundations.Resource, + Request extends TypeSpec.Reflection.Model | void, + Response extends TypeSpec.Reflection.Model | void, + Parameters extends {} = {} + >( + ...ParentParameters, + ...ResourceTypeParameter, + ...Parameters, + + @doc("The content of the action request") + @bodyRoot + body: Request, + ): Response | ErrorType; + + /** + * A long-running resource action. + * @template Resource The resource being acted upon + * @template Request The request model for the action + * @template LroHeaders Optional. Allows overriding the headers returned in the Accepted response + * @template Response The response model for the action + * @template Parameters Optional. Additional parameters after the path parameters + */ + #suppress "@azure-tools/typespec-azure-core/no-response-body" "ARM" + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "template" + @autoRoute + @armResourceAction(Resource) + @Private.enforceConstraint(Resource, Foundations.Resource) + @post + @returnsDoc("Azure operation completed successfully.") + ActionAsync< + Resource extends Foundations.Resource, + Request extends TypeSpec.Reflection.Model | void, + Result extends TypeSpec.Reflection.Model | void, + LroHeaders extends TypeSpec.Reflection.Model = ArmLroLocationHeader< + Azure.Core.StatusMonitorPollingOptions, + Result, + string + > & + Azure.Core.Foundations.RetryAfterHeader, + Parameters extends {} = {}, + Response extends {} | void = ArmAcceptedLroResponse< + "Resource operation accepted.", + LroHeaders + > | Result + >( + ...ParentParameters, + ...ResourceTypeParameter, + ...Parameters, + + @doc("The content of the action request") + @bodyRoot + body: Request, + ): Response | ErrorType; + } + /** + * @dev Get the provider namespace key-value pair + * @template Resource Optional. The resource to get the provider namespace for. + */ + model Provider { + ...ProviderNamespace; + } +} diff --git a/specification/servicelinker/ServiceLinker.Management/main.tsp b/specification/servicelinker/ServiceLinker.Management/main.tsp new file mode 100644 index 000000000000..e7a1fb1e2f20 --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/main.tsp @@ -0,0 +1,48 @@ +/** + * PLEASE DO NOT REMOVE - USED FOR CONVERTER METRICS + * Generated by package: @autorest/openapi-to-typespec + * Parameters used: + * isFullCompatible: true + * guessResourceKey: false + * Version: 0.10.14 + * Date: 2025-04-29T07:23:07.547Z + */ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./models.tsp"; +import "./DryrunResource.tsp"; +import "./LinkerResource.tsp"; +import "./routes.tsp"; +import "./legacy.tsp"; +import "./back-compatible.tsp"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager.Foundations; +using Azure.Core; +using Azure.ResourceManager; +using TypeSpec.Versioning; +/** + * Microsoft.ServiceLinker provider + */ +@armProviderNamespace +@service(#{ title: "ServiceLinkerManagementClient" }) +@versioned(Versions) +@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v3) +namespace Microsoft.ServiceLinker; + +/** + * The available API versions. + */ +enum Versions { + /** + * The 2024-07-01-preview API version. + */ + @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @useDependency(Azure.Core.Versions.v1_0_Preview_1) + v2024_07_01_preview: "2024-07-01-preview", +} + +interface Operations extends Azure.ResourceManager.Operations {} diff --git a/specification/servicelinker/ServiceLinker.Management/models.tsp b/specification/servicelinker/ServiceLinker.Management/models.tsp new file mode 100644 index 000000000000..7cc1b7d521e4 --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/models.tsp @@ -0,0 +1,1392 @@ +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.ResourceManager; +using Azure.ResourceManager.Foundations; + +namespace Microsoft.ServiceLinker; + +/** + * The name of action for you dryrun job. + */ +union DryrunActionName { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + createOrUpdate: "createOrUpdate", +} + +/** + * The type of dryrun result. + */ +union DryrunPrerequisiteResultType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + basicError: "basicError", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + permissionsMissing: "permissionsMissing", +} + +/** + * The operation type + */ +union DryrunPreviewOperationType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + configConnection: "configConnection", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + configNetwork: "configNetwork", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + configAuth: "configAuth", +} + +/** + * The target service type. + */ +union TargetServiceType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + AzureResource: "AzureResource", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + ConfluentBootstrapServer: "ConfluentBootstrapServer", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + ConfluentSchemaRegistry: "ConfluentSchemaRegistry", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + SelfHostedServer: "SelfHostedServer", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + FabricPlatform: "FabricPlatform", +} + +/** + * The authentication type. + */ +union AuthType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + systemAssignedIdentity: "systemAssignedIdentity", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + userAssignedIdentity: "userAssignedIdentity", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + servicePrincipalSecret: "servicePrincipalSecret", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + servicePrincipalCertificate: "servicePrincipalCertificate", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + secret: "secret", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + accessKey: "accessKey", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + userAccount: "userAccount", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + easyAuthMicrosoftEntraID: "easyAuthMicrosoftEntraID", +} + +/** + * Indicates how to apply the authentication configuration operations. + */ +union AuthMode { + string, + + /** + * Default authentication configuration according to the authentication type. + */ + optInAllAuth: "optInAllAuth", + + /** + * Skip all authentication configuration such as enabling managed identity and granting RBAC roles + */ + optOutAllAuth: "optOutAllAuth", +} + +/** + * The application client type + */ +union ClientType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + none: "none", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + dotnet: "dotnet", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + java: "java", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + python: "python", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + go: "go", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + php: "php", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + ruby: "ruby", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + django: "django", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + nodejs: "nodejs", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + springBoot: "springBoot", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + `kafka-springBoot`: "kafka-springBoot", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + `jms-springBoot`: "jms-springBoot", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + dapr: "dapr", +} + +/** + * Type of VNet solution. + */ +union VNetSolutionType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + serviceEndpoint: "serviceEndpoint", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + privateLink: "privateLink", +} + +/** + * The cleanup behavior to indicate whether clean up operation when resource is deleted or updated + */ +union DeleteOrUpdateBehavior { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Default: "Default", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + ForcedCleanup: "ForcedCleanup", +} + +/** + * Whether to allow firewall rules. + */ +union AllowType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + `true`: "true", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + `false`: "false", +} + +/** + * The value indicating whether the metadata is required or not + */ +union DaprMetadataRequired { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + `true`: "true", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + `false`: "false", +} + +/** + * The direction supported by the dapr binding component + */ +union DaprBindingComponentDirection { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + input: "input", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + output: "output", +} + +/** + * The result of validation + */ +union ValidationResultStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + success: "success", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + failure: "failure", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + warning: "warning", +} + +/** + * Type of configuration to determine whether the configuration can be modified after creation. KeyvaultSecret means the configuration references a key vault secret, such as App Service/ACA key vault reference. Default means the configuration is real value, such as user name, raw secret, etc. + */ +union LinkerConfigurationType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Default: "Default", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + KeyVaultSecret: "KeyVaultSecret", +} + +/** + * The type of secret source. + */ +union SecretSourceType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + rawValue: "rawValue", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + keyVaultSecret: "keyVaultSecret", +} + +/** + * The azure resource type. + */ +union AzureResourceType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + KeyVault: "KeyVault", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + AppConfig: "AppConfig", +} + +/** + * The secret type. + */ +union SecretType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + rawValue: "rawValue", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + keyVaultSecretUri: "keyVaultSecretUri", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + keyVaultSecretReference: "keyVaultSecretReference", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +union AccessKeyPermissions { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Read: "Read", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Write: "Write", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Listen: "Listen", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Send: "Send", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Manage: "Manage", +} + +/** + * The list of dryrun. + */ +model DryrunList is Azure.Core.Page; + +/** + * The properties of the dryrun job + */ +model DryrunProperties { + /** + * The parameters of the dryrun + */ + parameters?: DryrunParameters; + + /** + * the result of the dryrun + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #[]) + prerequisiteResults?: DryrunPrerequisiteResult[]; + + /** + * the preview of the operations for creation + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #[]) + operationPreviews?: DryrunOperationPreview[]; + + /** + * The provisioning state. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "For backward compatibility" + @visibility(Lifecycle.Read) + provisioningState?: string; +} + +/** + * The parameters of the dryrun + */ +@discriminator("actionName") +model DryrunParameters { + /** + * The name of action for you dryrun job. + */ + actionName: DryrunActionName; +} + +/** + * A result of dryrun + */ +@discriminator("type") +model DryrunPrerequisiteResult { + /** + * The type of dryrun result. + */ + type: DryrunPrerequisiteResultType; +} + +/** + * The preview of the operations for creation + */ +model DryrunOperationPreview { + /** + * The operation name + */ + name?: string; + + /** + * The operation type + */ + operationType?: DryrunPreviewOperationType; + + /** + * The description of the operation + */ + description?: string; + + /** + * The action defined by RBAC, refer https://docs.microsoft.com/azure/role-based-access-control/role-definitions#actions-format + */ + action?: string; + + /** + * The scope of the operation, refer https://docs.microsoft.com/azure/role-based-access-control/scope-overview + */ + scope?: string; +} + +/** + * Common fields that are returned in the response for all Azure Resource Manager resources + */ +model Resource { + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + @visibility(Lifecycle.Read) + id?: string; + + /** + * The name of the resource + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + @visibility(Lifecycle.Read) + type?: string; + + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + @visibility(Lifecycle.Read) + systemData?: SystemData; +} + +/** + * a dryrun job to be updated. + */ +model DryrunPatch { + /** + * The properties of the dryrun job. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + @Azure.ResourceManager.Private.conditionalClientFlatten + properties?: DryrunProperties; +} + +/** + * The list of Linker. + */ +model ResourceList is Azure.Core.Page; + +/** + * The properties of the Linker. + */ +model LinkerProperties { + /** + * The target service properties + */ + targetService?: TargetServiceBase; + + /** + * The authentication type. + */ + authInfo?: AuthInfoBase; + + /** + * The application client type + */ + clientType?: ClientType; + + /** + * The provisioning state. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "For backward compatibility" + @visibility(Lifecycle.Read) + provisioningState?: string; + + /** + * The VNet solution. + */ + vNetSolution?: VNetSolution; + + /** + * An option to store secret value in secure place + */ + secretStore?: SecretStore; + + /** + * connection scope in source service. + */ + scope?: string; + + /** + * The network solution. + */ + publicNetworkSolution?: PublicNetworkSolution; + + /** + * The connection information consumed by applications, including secrets, connection strings. + */ + configurationInfo?: ConfigurationInfo; +} + +/** + * The target service properties + */ +@discriminator("type") +model TargetServiceBase { + /** + * The target service type. + */ + type: TargetServiceType; +} + +/** + * The authentication info + */ +@discriminator("authType") +model AuthInfoBase { + /** + * The authentication type. + */ + authType: AuthType; + + /** + * Optional. Indicates how to configure authentication. If optInAllAuth, service linker configures authentication such as enabling identity on source resource and granting RBAC roles. If optOutAllAuth, opt out authentication setup. Default is optInAllAuth. + */ + authMode?: AuthMode; +} + +/** + * The VNet solution for linker + */ +model VNetSolution { + /** + * Type of VNet solution. + */ + type?: VNetSolutionType; + + /** + * Indicates whether to clean up previous operation when Linker is updating or deleting + */ + deleteOrUpdateBehavior?: DeleteOrUpdateBehavior; +} + +/** + * An option to store secret value in secure place + */ +model SecretStore { + /** + * The key vault id to store secret + */ + keyVaultId?: string; + + /** + * The key vault secret name to store secret, only valid when storing one secret + */ + keyVaultSecretName?: string; +} + +/** + * Indicates public network solution, include firewall rules + */ +model PublicNetworkSolution { + /** + * Indicates whether to clean up previous operation(such as firewall rules) when Linker is updating or deleting + */ + deleteOrUpdateBehavior?: DeleteOrUpdateBehavior; + + /** + * Optional. Indicates public network solution. If enable, enable public network access of target service with best try. Default is enable. If optOut, opt out public network access configuration. + */ + action?: ActionType; + + /** + * Describe firewall rules of target service to make sure source application could connect to the target. + */ + firewallRules?: FirewallRules; +} + +/** + * Target service's firewall rules. to allow connections from source service. + */ +model FirewallRules { + /** + * This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account. + */ + ipRanges?: string[]; + + /** + * Allow Azure services to access the target service if true. + */ + azureServices?: AllowType; + + /** + * Allow caller client IP to access the target service if true. the property is used when connecting local application to target service. + */ + callerClientIP?: AllowType; +} + +/** + * The configuration information, used to generate configurations or save to applications + */ +model ConfigurationInfo { + /** + * Indicates whether to clean up previous operation when Linker is updating or deleting + */ + deleteOrUpdateBehavior?: DeleteOrUpdateBehavior; + + /** + * Optional, indicate whether to apply configurations on source application. If enable, generate configurations and applied to the source application. Default is enable. If optOut, no configuration change will be made on source. + */ + action?: ActionType; + + /** + * Optional. A dictionary of default key name and customized key name mapping. If not specified, default key name will be used for generate configurations + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + customizedKeys?: Record; + + /** + * Indicates some additional properties for dapr client type + */ + daprProperties?: DaprProperties; + + /** + * A dictionary of additional configurations to be added. Service will auto generate a set of basic configurations and this property is to full fill more customized configurations + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + additionalConfigurations?: Record; + + /** + * A dictionary of additional properties to be added in the end of connection string. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + additionalConnectionStringProperties?: Record; + + /** + * An option to store configuration into different place + */ + configurationStore?: ConfigurationStore; +} + +/** + * Indicates some additional properties for dapr client type + */ +model DaprProperties { + /** + * The dapr component version + */ + version?: string; + + /** + * The dapr component type + */ + componentType?: string; + + /** + * The name of a secret store dapr to retrieve secret + */ + secretStoreComponent?: string; + + /** + * Additional dapr metadata + */ + @OpenAPI.extension("x-ms-identifiers", #["name"]) + metadata?: DaprMetadata[]; + + /** + * The dapr component scopes + */ + scopes?: string[]; + + /** + * The runtime version supported by the properties + */ + @visibility(Lifecycle.Read) + runtimeVersion?: string; + + /** + * The direction supported by the dapr binding component + */ + @visibility(Lifecycle.Read) + bindingComponentDirection?: DaprBindingComponentDirection; +} + +/** + * The dapr component metadata. + */ +model DaprMetadata { + /** + * Metadata property name. + */ + name?: string; + + /** + * Metadata property value. + */ + value?: string; + + /** + * The secret name where dapr could get value + */ + secretRef?: string; + + /** + * The description of the metadata, returned from configuration api + */ + description?: string; + + /** + * The value indicating whether the metadata is required or not + */ + required?: DaprMetadataRequired; +} + +/** + * An option to store configuration into different place + */ +model ConfigurationStore { + /** + * The app configuration id to store configuration + */ + appConfigurationId?: string; +} + +/** + * A Linker to be updated. + */ +model LinkerPatch { + /** + * Linker properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + @Azure.ResourceManager.Private.conditionalClientFlatten + properties?: LinkerProperties; +} + +/** + * The validation operation result for a Linker. + */ +model ValidateOperationResult { + /** + * The validation result detail. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + @Azure.ResourceManager.Private.conditionalClientFlatten + properties?: ValidateResult; + + /** + * Validated Linker id. + */ + resourceId?: string; + + /** + * Validation operation status. + */ + status?: string; +} + +/** + * The validation result for a Linker. + */ +model ValidateResult { + /** + * The linker name. + */ + linkerName?: string; + + /** + * A boolean value indicating whether the connection is available or not + */ + isConnectionAvailable?: boolean; + + /** + * The start time of the validation report. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + reportStartTimeUtc?: utcDateTime; + + /** + * The end time of the validation report. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + reportEndTimeUtc?: utcDateTime; + + /** + * The resource id of the Linker source application. + */ + sourceId?: string; + + /** + * The resource Id of target service. + */ + targetId?: string; + + /** + * The authentication type. + */ + authType?: AuthType; + + /** + * The detail of validation result + */ + @OpenAPI.extension("x-ms-identifiers", #["name"]) + validationDetail?: ValidationResultItem[]; +} + +/** + * The validation item for a Linker. + */ +model ValidationResultItem { + /** + * The validation item name. + */ + name?: string; + + /** + * The display name of validation item + */ + description?: string; + + /** + * The result of validation + */ + result?: ValidationResultStatus; + + /** + * The error message of validation result + */ + errorMessage?: string; + + /** + * The error code of validation result + */ + errorCode?: string; +} + +/** + * Configurations for source resource, include appSettings, connectionString and serviceBindings + */ +model ConfigurationResult { + /** + * The configuration properties for source resource. + */ + @OpenAPI.extension("x-ms-identifiers", #["name"]) + configurations?: SourceConfiguration[]; +} + +/** + * A configuration item for source resource + */ +model SourceConfiguration { + /** + * The name of setting. + */ + name?: string; + + /** + * The value of setting + */ + value?: string; + + /** + * The type of setting + */ + @visibility(Lifecycle.Read) + configType?: LinkerConfigurationType; + + /** + * The identity for key vault reference, system or user-assigned managed identity ID + */ + keyVaultReferenceIdentity?: string; + + /** + * Descriptive information for the configuration + */ + description?: string; +} + +/** + * Configuration Name list which will be set based on different target resource, client type, auth type. + */ +model ConfigurationNameResult is Azure.Core.Page; + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +model ConfigurationNameItem { + /** + * The result detail. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + @Azure.ResourceManager.Private.conditionalClientFlatten + properties?: ConfigurationNames; +} + +/** + * The configuration names which will be set based on specific target resource, client type, auth type. + */ +model ConfigurationNames { + /** + * The target service provider name and resource name. + */ + targetService?: string; + + /** + * The client type for configuration names. + */ + clientType?: ClientType; + + /** + * The auth type. + */ + authType?: AuthType; + + /** + * Indicates where the secrets in configuration from. Used when secrets are from Keyvault. + */ + secretType?: SecretSourceType; + + /** + * Deprecated, please use #/definitions/DaprConfigurationList instead + */ + daprProperties?: DaprProperties; + + /** + * The configuration names to be set in compute service environment. + */ + names?: ConfigurationName[]; +} + +/** + * The configuration names. + */ +model ConfigurationName { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + value?: string; + + /** + * Description for the configuration name. + */ + description?: string; + + /** + * Represent the configuration is required or not + */ + required?: boolean; +} + +/** + * Dapr configuration list supported by Service Connector + */ +model DaprConfigurationList is Azure.Core.Page; + +/** + * Represent one resource of the dapr configuration list + */ +model DaprConfigurationResource { + /** + * The properties of the dapr configuration. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + @Azure.ResourceManager.Private.conditionalClientFlatten + properties?: DaprConfigurationProperties; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +model DaprConfigurationProperties { + /** + * Supported target resource type, extract from resource id, uppercase + */ + targetType?: string; + + /** + * The authentication type. + */ + authType?: AuthType; + + /** + * Indicates some additional properties for dapr client type + */ + daprProperties?: DaprProperties; +} + +/** + * The azure resource properties + */ +@discriminator("type") +model AzureResourcePropertiesBase { + /** + * The azure resource type. + */ + type: AzureResourceType; +} + +/** + * The azure resource info when target service type is AzureResource + */ +model AzureResource extends TargetServiceBase { + /** + * The Id of azure resource. + */ + id?: string; + + /** + * The azure resource connection related properties. + */ + resourceProperties?: AzureResourcePropertiesBase; + + /** + * The target service type. + */ + type: "AzureResource"; +} + +/** + * The resource properties when type is Azure Key Vault + */ +model AzureKeyVaultProperties extends AzureResourcePropertiesBase { + /** + * True if connect via Kubernetes CSI Driver. + */ + connectAsKubernetesCsiDriver?: boolean; + + /** + * The azure resource type. + */ + type: "KeyVault"; +} + +/** + * The resource properties when type is Azure App Configuration + */ +model AzureAppConfigProperties extends AzureResourcePropertiesBase { + /** + * True if connection enables app configuration kubernetes extension. + */ + connectWithKubernetesExtension?: boolean; + + /** + * The azure resource type. + */ + type: "AppConfig"; +} + +/** + * The service properties when target service type is ConfluentBootstrapServer + */ +model ConfluentBootstrapServer extends TargetServiceBase { + /** + * The endpoint of service. + */ + endpoint?: string; + + /** + * The target service type. + */ + type: "ConfluentBootstrapServer"; +} + +/** + * The service properties when target service type is FabricPlatform + */ +model FabricPlatform extends TargetServiceBase { + /** + * The endpoint of service. + */ + endpoint?: string; + + /** + * The target service type. + */ + type: "FabricPlatform"; +} + +/** + * The service properties when target service type is SelfHostedServer + */ +model SelfHostedServer extends TargetServiceBase { + /** + * The endpoint of service. + */ + endpoint?: string; + + /** + * The target service type. + */ + type: "SelfHostedServer"; +} + +/** + * The service properties when target service type is ConfluentSchemaRegistry + */ +model ConfluentSchemaRegistry extends TargetServiceBase { + /** + * The endpoint of service. + */ + endpoint?: string; + + /** + * The target service type. + */ + type: "ConfluentSchemaRegistry"; +} + +/** + * The secret info + */ +@discriminator("secretType") +model SecretInfoBase { + /** + * The secret type. + */ + secretType: SecretType; +} + +/** + * The secret info when type is rawValue. It's for scenarios that user input the secret. + */ +model ValueSecretInfo extends SecretInfoBase { + /** + * The actual value of the secret. + */ + value?: string; + + /** + * The secret type. + */ + secretType: "rawValue"; +} + +/** + * The secret info when type is keyVaultSecretReference. It's for scenario that user provides a secret stored in user's keyvault and source is Azure Kubernetes. The key Vault's resource id is linked to secretStore.keyVaultId. + */ +model KeyVaultSecretReferenceSecretInfo extends SecretInfoBase { + /** + * Name of the Key Vault secret. + */ + name?: string; + + /** + * Version of the Key Vault secret. + */ + version?: string; + + /** + * The secret type. + */ + secretType: "keyVaultSecretReference"; +} + +/** + * The secret info when type is keyVaultSecretUri. It's for scenario that user provides a secret stored in user's keyvault and source is Web App, Spring Cloud or Container App. + */ +model KeyVaultSecretUriSecretInfo extends SecretInfoBase { + /** + * URI to the keyvault secret + */ + value?: string; + + /** + * The secret type. + */ + secretType: "keyVaultSecretUri"; +} + +/** + * The access key directly from target resource properties, which target service is Azure Resource, such as Microsoft.Storage + */ +model AccessKeyInfoBase extends AuthInfoBase { + /** + * Permissions of the accessKey. `Read` and `Write` are for Azure Cosmos DB and Azure App Configuration, `Listen`, `Send` and `Manage` are for Azure Event Hub and Azure Service Bus. + */ + permissions?: AccessKeyPermissions[]; + + /** + * The authentication type. + */ + authType: "accessKey"; +} + +/** + * The extra auth info required by Database AAD authentication. + */ +model DatabaseAadAuthInfo { + /** + * Username created in the database which is mapped to a user in AAD. + */ + userName?: string; +} + +/** + * The authentication info when authType is secret + */ +model SecretAuthInfo extends AuthInfoBase { + /** + * Username or account name for secret auth. + */ + name?: string; + + /** + * Password or key vault secret for secret auth. + */ + secretInfo?: SecretInfoBase; + + /** + * The authentication type. + */ + authType: "secret"; +} + +/** + * The authentication info when authType is userAssignedIdentity + */ +model UserAssignedIdentityAuthInfo extends AuthInfoBase { + ...DatabaseAadAuthInfo; + + /** + * Client Id for userAssignedIdentity. + */ + clientId?: string; + + /** + * Subscription id for userAssignedIdentity. + */ + subscriptionId?: string; + + /** + * Indicates whether to clean up previous operation when Linker is updating or deleting + */ + deleteOrUpdateBehavior?: DeleteOrUpdateBehavior; + + /** + * Optional, this value specifies the Azure role to be assigned + */ + roles?: string[]; + + /** + * The authentication type. + */ + authType: "userAssignedIdentity"; +} + +/** + * The authentication info when authType is systemAssignedIdentity + */ +model SystemAssignedIdentityAuthInfo extends AuthInfoBase { + ...DatabaseAadAuthInfo; + + /** + * Indicates whether to clean up previous operation when Linker is updating or deleting + */ + deleteOrUpdateBehavior?: DeleteOrUpdateBehavior; + + /** + * Optional, this value specifies the Azure role to be assigned + */ + roles?: string[]; + + /** + * The authentication type. + */ + authType: "systemAssignedIdentity"; +} + +/** + * The authentication info when authType is servicePrincipal secret + */ +model ServicePrincipalSecretAuthInfo extends AuthInfoBase { + ...DatabaseAadAuthInfo; + + /** + * ServicePrincipal application clientId for servicePrincipal auth. + */ + clientId: string; + + /** + * Principal Id for servicePrincipal auth. + */ + principalId: string; + + /** + * Secret for servicePrincipal auth. + */ + secret: string; + + /** + * Indicates whether to clean up previous operation when Linker is updating or deleting + */ + deleteOrUpdateBehavior?: DeleteOrUpdateBehavior; + + /** + * Optional, this value specifies the Azure roles to be assigned. Automatically + */ + roles?: string[]; + + /** + * The authentication type. + */ + authType: "servicePrincipalSecret"; +} + +/** + * The authentication info when authType is servicePrincipal certificate + */ +model ServicePrincipalCertificateAuthInfo extends AuthInfoBase { + /** + * Application clientId for servicePrincipal auth. + */ + clientId: string; + + /** + * Principal Id for servicePrincipal auth. + */ + principalId: string; + + /** + * ServicePrincipal certificate for servicePrincipal auth. + */ + certificate: string; + + /** + * Indicates whether to clean up previous operation when Linker is updating or deleting + */ + deleteOrUpdateBehavior?: DeleteOrUpdateBehavior; + + /** + * Optional, this value specifies the Azure roles to be assigned. Automatically + */ + roles?: string[]; + + /** + * The authentication type. + */ + authType: "servicePrincipalCertificate"; +} + +/** + * The authentication info when authType is user account + */ +model UserAccountAuthInfo extends AuthInfoBase { + ...DatabaseAadAuthInfo; + + /** + * Principal Id for user account. + */ + principalId?: string; + + /** + * Indicates whether to clean up previous operation when Linker is updating or deleting + */ + deleteOrUpdateBehavior?: DeleteOrUpdateBehavior; + + /** + * Optional, this value specifies the Azure roles to be assigned. Automatically + */ + roles?: string[]; + + /** + * The authentication type. + */ + authType: "userAccount"; +} + +/** + * The authentication info when authType is EasyAuth Microsoft Entra ID + */ +model EasyAuthMicrosoftEntraIDAuthInfo extends AuthInfoBase { + /** + * Application clientId for EasyAuth Microsoft Entra ID. + */ + clientId?: string; + + /** + * Application Secret for EasyAuth Microsoft Entra ID. + */ + secret?: string; + + /** + * Indicates whether to clean up previous operation when Linker is updating or deleting + */ + deleteOrUpdateBehavior?: DeleteOrUpdateBehavior; + + /** + * The authentication type. + */ + authType: "easyAuthMicrosoftEntraID"; +} + +/** + * The dryrun parameters for creation or update a linker + */ +model CreateOrUpdateDryrunParameters extends DryrunParameters { + ...LinkerProperties; + + /** + * The name of action for you dryrun job. + */ + actionName: "createOrUpdate"; +} + +/** + * The represent of basic error + */ +model BasicErrorDryrunPrerequisiteResult extends DryrunPrerequisiteResult { + /** + * The error code. + */ + code?: string; + + /** + * The error message. + */ + message?: string; + + /** + * The type of dryrun result. + */ + type: "basicError"; +} + +/** + * The represent of missing permissions + */ +model PermissionsMissingDryrunPrerequisiteResult + extends DryrunPrerequisiteResult { + /** + * The permission scope + */ + scope?: string; + + /** + * The permission list + */ + permissions?: string[]; + + /** + * The recommended role to resolve permissions missing + */ + recommendedRole?: string; + + /** + * The type of dryrun result. + */ + type: "permissionsMissing"; +} diff --git a/specification/servicelinker/ServiceLinker.Management/routes.tsp b/specification/servicelinker/ServiceLinker.Management/routes.tsp new file mode 100644 index 000000000000..4c2aa807c7fe --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/routes.tsp @@ -0,0 +1,62 @@ +// FIXME: Operations in this file are not detected as a resource operation, please confirm the conversion result manually + +import "@azure-tools/typespec-azure-core"; +import "@typespec/rest"; +import "./models.tsp"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; +using TypeSpec.OpenAPI; + +namespace Microsoft.ServiceLinker; + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "For backward compatibility" +interface LinkersOperationGroup { + /** + * List the dapr configuration supported by Service Connector. + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + @operationId("Linkers_ListDaprConfigurations") + @route("/{resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations") + @get + listDaprConfigurations( + ...ApiVersionParameter, + + /** + * The fully qualified Azure Resource manager identifier of the resource to be connected. + */ + @path + resourceUri: string, + ): ArmResponse | ErrorResponse; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "For backward compatibility" +interface ConfigurationNamesOperationGroup { + /** + * Lists the configuration names generated by Service Connector for all target, client types, auth types. + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + @operationId("ConfigurationNames_List") + @autoRoute + @get + @action("configurationNames") + list is ArmProviderActionSync< + Response = ConfigurationNameResult, + Parameters = { + /** + * OData filter options. + */ + @query("$filter") + $filter?: string; + + /** + * OData skipToken option for pagination. + */ + @query("$skipToken") + $skipToken?: string; + } + >; +} diff --git a/specification/servicelinker/ServiceLinker.Management/tspconfig.yaml b/specification/servicelinker/ServiceLinker.Management/tspconfig.yaml new file mode 100644 index 000000000000..94b16b0a4034 --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/tspconfig.yaml @@ -0,0 +1,14 @@ +emit: + - "@azure-tools/typespec-autorest" +options: + "@azure-tools/typespec-autorest": + use-read-only-status-schema: true + omit-unreachable-types: true + emitter-output-dir: "{project-root}/.." + azure-resource-provider-folder: "resource-manager" + output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/servicelinker.json" + examples-dir: "{project-root}/examples" + arm-resource-flattening: true +linter: + extends: + - "@azure-tools/typespec-azure-rulesets/resource-manager" From 90045ba2c19ad5020d22e0bb2d1915339d270681 Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Tue, 29 Apr 2025 15:58:20 +0800 Subject: [PATCH 02/37] generate swagger --- .../DryrunResource.tsp | 12 +- .../examples/ConfigurationNamesList.json | 42 +- .../examples/ConnectorDryrunCreate.json | 80 +- .../examples/ConnectorDryrunDelete.json | 12 +- .../examples/ConnectorDryrunGet.json | 16 +- .../examples/ConnectorDryrunList.json | 14 +- .../examples/ConnectorDryrunUpdate.json | 52 +- .../examples/ConnectorList.json | 16 +- .../examples/Connectors.json | 32 +- .../examples/DeleteConnector.json | 16 +- .../examples/DeleteDryrun.json | 10 +- .../examples/DeleteLinker.json | 14 +- .../examples/GenerateConfigurations.json | 14 +- .../examples/GetConfigurations.json | 30 +- .../examples/GetDaprConfigurations.json | 18 +- .../examples/GetDryrun.json | 16 +- .../2024-07-01-preview/examples/Linker.json | 46 +- .../LinkerGenerateConfigurations.json | 10 +- .../examples/LinkerList.json | 12 +- .../examples/ListDryrun.json | 12 +- .../examples/OperationsList.json | 74 +- .../examples/PatchConnector.json | 36 +- .../examples/PatchDryrun.json | 52 +- .../examples/PatchLinker.json | 26 +- .../examples/PutConnector.json | 30 +- .../examples/PutDryrun.json | 84 +- .../examples/PutLinker.json | 50 +- .../examples/ValidateConnectorSuccess.json | 16 +- .../examples/ValidateLinkerSuccess.json | 14 +- .../2024-07-01-preview/servicelinker.json | 4216 ++++++++++------- 30 files changed, 2916 insertions(+), 2156 deletions(-) diff --git a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp index d704005b6012..2608a11f8439 100644 --- a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp @@ -89,7 +89,7 @@ interface DryrunResources { >; } @armResourceOperations -interface LinkerOps +interface LinkersOps extends Azure.ResourceManager.Legacy.LegacyOperations< { ...ApiVersionParameter, @@ -110,7 +110,7 @@ interface Linkers { /** * get a dryrun job */ - getDryrun is LinkerOps.Read< + getDryrun is LinkersOps.Read< DryrunResource, Parameters = { /** @@ -130,7 +130,7 @@ interface Linkers { /** * create a dryrun job to do necessary check before actual creation */ - createDryrun is LinkerOps.CreateOrUpdateAsync< + createDryrun is LinkersOps.CreateOrUpdateAsync< DryrunResource, Parameters = { /** @@ -151,7 +151,7 @@ interface Linkers { * add a dryrun job to do necessary check before actual creation */ @patch(#{ implicitOptionality: false }) - updateDryrun is LinkerOps.CustomPatchAsync< + updateDryrun is LinkersOps.CustomPatchAsync< DryrunResource, PatchModel = DryrunPatch, Parameters = { @@ -174,7 +174,7 @@ interface Linkers { /** * delete a dryrun job */ - deleteDryrun is LinkerOps.DeleteSync< + deleteDryrun is LinkersOps.DeleteSync< DryrunResource, Parameters = { /** @@ -194,7 +194,7 @@ interface Linkers { /** * list dryrun jobs */ - listDryrun is LinkerOps.List< + listDryrun is LinkersOps.List< DryrunResource, Parameters = { /** diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConfigurationNamesList.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConfigurationNamesList.json index 57c406a4b875..bf974e1fa880 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConfigurationNamesList.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConfigurationNamesList.json @@ -5,48 +5,50 @@ "responses": { "200": { "body": { + "nextLink": null, "value": [ { "properties": { - "targetService": "MICROSOFT.APPCONFIGURATION/CONFIGURATIONSTORES", - "clientType": "none", "authType": "systemAssignedIdentity", + "clientType": "none", "names": [ { - "value": "AZURE_APPCONFIGURATION_ENDPOINT", - "description": "App configuration endpoint" + "description": "App configuration endpoint", + "value": "AZURE_APPCONFIGURATION_ENDPOINT" }, { - "value": "AZURE_APPCONFIGURATION_SCOPE", - "description": "The scopes required for the token." + "description": "The scopes required for the token.", + "value": "AZURE_APPCONFIGURATION_SCOPE" } - ] + ], + "targetService": "MICROSOFT.APPCONFIGURATION/CONFIGURATIONSTORES" } }, { "properties": { - "targetService": "MICROSOFT.APPCONFIGURATION/CONFIGURATIONSTORES", - "clientType": "none", "authType": "userAssignedIdentity", + "clientType": "none", "names": [ { - "value": "AZURE_APPCONFIGURATION_ENDPOINT", - "description": "App configuration endpoint" + "description": "App configuration endpoint", + "value": "AZURE_APPCONFIGURATION_ENDPOINT" }, { - "value": "AZURE_APPCONFIGURATION_CLIENTID", - "description": "The client(application) ID of the user identity." + "description": "The client(application) ID of the user identity.", + "value": "AZURE_APPCONFIGURATION_CLIENTID" }, { - "value": "AZURE_APPCONFIGURATION_SCOPE", - "description": "The scopes required for getting token." + "description": "The scopes required for getting token.", + "value": "AZURE_APPCONFIGURATION_SCOPE" } - ] + ], + "targetService": "MICROSOFT.APPCONFIGURATION/CONFIGURATIONSTORES" } } - ], - "nextLink": null + ] } } - } -} + }, + "operationId": "ConfigurationNames_List", + "title": "GetConfigurationNames" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunCreate.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunCreate.json index d4103f9d88e4..48964481f4ae 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunCreate.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunCreate.json @@ -1,29 +1,29 @@ { "parameters": { "api-version": "2024-07-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "test-rg", - "location": "westus", "dryrunName": "dryrunName", + "location": "westus", "parameters": { "properties": { "parameters": { "actionName": "createOrUpdate", - "targetService": { - "type": "AzureResource", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" - }, "authInfo": { - "authType": "secret", "name": "name", + "authType": "secret", "secretInfo": { "secretType": "rawValue", "value": "secret" } + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" } } } - } + }, + "resourceGroupName": "test-rg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -31,15 +31,24 @@ "name": "dryrunName", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ServiceLinker/locations/westus/dryruns/dryrunName", "properties": { + "operationPreviews": [ + { + "name": "configFirewallRule", + "description": "Config firewall rule for target service to allow source service access", + "action": "Microsoft.DocumentDb/databaseAccounts/write", + "operationType": "configNetwork", + "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc" + } + ], "parameters": { "actionName": "createOrUpdate", + "authInfo": { + "name": "name", + "authType": "secret" + }, "targetService": { "type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" - }, - "authInfo": { - "authType": "secret", - "name": "name" } }, "prerequisiteResults": [ @@ -50,18 +59,9 @@ }, { "type": "permissionsMissing", - "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc", "permissions": [ "Microsoft.DocumentDb/databaseAccounts/write" - ] - } - ], - "operationPreviews": [ - { - "name": "configFirewallRule", - "operationType": "configNetwork", - "description": "Config firewall rule for target service to allow source service access", - "action": "Microsoft.DocumentDb/databaseAccounts/write", + ], "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc" } ], @@ -74,15 +74,24 @@ "name": "dryrunName", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ServiceLinker/locations/westus/dryruns/dryrunName", "properties": { + "operationPreviews": [ + { + "name": "configFirewallRule", + "description": "Config firewall rule for target service to allow source service access", + "action": "Microsoft.DocumentDb/databaseAccounts/write", + "operationType": "configNetwork", + "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc" + } + ], "parameters": { "actionName": "createOrUpdate", + "authInfo": { + "name": "name", + "authType": "secret" + }, "targetService": { "type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" - }, - "authInfo": { - "authType": "secret", - "name": "name" } }, "prerequisiteResults": [ @@ -93,18 +102,9 @@ }, { "type": "permissionsMissing", - "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc", "permissions": [ "Microsoft.DocumentDb/databaseAccounts/write" - ] - } - ], - "operationPreviews": [ - { - "name": "configFirewallRule", - "operationType": "configNetwork", - "description": "Config firewall rule for target service to allow source service access", - "action": "Microsoft.DocumentDb/databaseAccounts/write", + ], "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc" } ], @@ -112,5 +112,7 @@ } } } - } -} + }, + "operationId": "Connector_CreateDryrun", + "title": "ConnectorDryrunCreate" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunDelete.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunDelete.json index d1cd053dfdf2..b4bc6bd522f6 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunDelete.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunDelete.json @@ -1,13 +1,15 @@ { "parameters": { "api-version": "2024-07-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "test-rg", + "dryrunName": "dryrunName", "location": "westus", - "dryrunName": "dryrunName" + "resourceGroupName": "test-rg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, "204": {} - } -} + }, + "operationId": "Connector_DeleteDryrun", + "title": "ConnectorDryrunDelete" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunGet.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunGet.json index e9fab0f0d0fb..c9e199bef533 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunGet.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunGet.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2024-07-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "test-rg", + "dryrunName": "dryrunName", "location": "westus", - "dryrunName": "dryrunName" + "resourceGroupName": "test-rg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -15,8 +15,8 @@ "parameters": { "actionName": "createOrUpdate", "authInfo": { - "authType": "secret", - "name": "username" + "name": "username", + "authType": "secret" }, "targetService": { "type": "AzureResource", @@ -29,5 +29,7 @@ } } } - } -} + }, + "operationId": "Connector_GetDryrun", + "title": "ConnectorDryrunGet" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunList.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunList.json index b0d6cb39937d..ba43d5885965 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunList.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunList.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2024-07-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "westus", "resourceGroupName": "test-rg", - "location": "westus" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -16,8 +16,8 @@ "parameters": { "actionName": "createOrUpdate", "authInfo": { - "authType": "secret", - "name": "username" + "name": "username", + "authType": "secret" }, "targetService": { "type": "AzureResource", @@ -32,5 +32,7 @@ ] } } - } -} + }, + "operationId": "Connector_ListDryrun", + "title": "ConnectorDryrunList" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunUpdate.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunUpdate.json index 3f87be091230..b7409c90d935 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunUpdate.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunUpdate.json @@ -1,29 +1,29 @@ { "parameters": { "api-version": "2024-07-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "test-rg", - "location": "westus", "dryrunName": "dryrunName", + "location": "westus", "parameters": { "properties": { "parameters": { "actionName": "createOrUpdate", - "targetService": { - "type": "AzureResource", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" - }, "authInfo": { - "authType": "secret", "name": "name", + "authType": "secret", "secretInfo": { "secretType": "rawValue", "value": "secret" } + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" } } } - } + }, + "resourceGroupName": "test-rg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -31,15 +31,24 @@ "name": "dryrunName", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ServiceLinker/locations/westus/dryruns/dryrunName", "properties": { + "operationPreviews": [ + { + "name": "configFirewallRule", + "description": "Config firewall rule for target service to allow source service access", + "action": "Microsoft.DocumentDb/databaseAccounts/write", + "operationType": "configNetwork", + "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc" + } + ], "parameters": { "actionName": "createOrUpdate", + "authInfo": { + "name": "name", + "authType": "secret" + }, "targetService": { "type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" - }, - "authInfo": { - "authType": "secret", - "name": "name" } }, "prerequisiteResults": [ @@ -50,18 +59,9 @@ }, { "type": "permissionsMissing", - "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc", "permissions": [ "Microsoft.DocumentDb/databaseAccounts/write" - ] - } - ], - "operationPreviews": [ - { - "name": "configFirewallRule", - "operationType": "configNetwork", - "description": "Config firewall rule for target service to allow source service access", - "action": "Microsoft.DocumentDb/databaseAccounts/write", + ], "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc" } ], @@ -74,5 +74,7 @@ "azure-AsyncOperation": "http://azure.async.operation/status" } } - } -} + }, + "operationId": "Connector_UpdateDryrun", + "title": "ConnectorDryrunUpdate" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorList.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorList.json index ac02963e6953..750d3149c47f 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorList.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorList.json @@ -1,22 +1,22 @@ { "parameters": { "api-version": "2024-07-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "westus", "resourceGroupName": "test-rg", - "location": "westus" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ServiceLinker/linkers/linkName", "name": "linkName", "type": "Microsoft.ServiceLinker/devConnectors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ServiceLinker/linkers/linkName", "properties": { "authInfo": { - "authType": "secret", - "name": "username" + "name": "username", + "authType": "secret" }, "targetService": { "type": "AzureResource", @@ -30,5 +30,7 @@ ] } } - } -} + }, + "operationId": "Connector_List", + "title": "ConnectorList" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/Connectors.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/Connectors.json index b774d9142b09..4c560b43b977 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/Connectors.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/Connectors.json @@ -1,17 +1,17 @@ { "parameters": { "api-version": "2024-07-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "test-rg", + "connectorName": "connectorName", "location": "westus", - "connectorName": "connectorName" + "resourceGroupName": "test-rg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ServiceLinker/devConnnectors/linkName", "name": "linkName", "type": "Microsoft.ServiceLinker/devConnectors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ServiceLinker/devConnnectors/linkName", "properties": { "authInfo": { "authType": "systemAssignedIdentity", @@ -19,19 +19,19 @@ "customizedOwner" ] }, - "targetService": { - "type": "AzureResource", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" - }, "publicNetworkSolution": { + "action": "enable", + "deleteOrUpdateBehavior": "ForcedCleanup", "firewallRules": { + "callerClientIP": "true", "ipRanges": [ "182.22.120" - ], - "callerClientIP": "true" - }, - "action": "enable", - "deleteOrUpdateBehavior": "ForcedCleanup" + ] + } + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" } }, "systemData": { @@ -39,5 +39,7 @@ } } } - } -} + }, + "operationId": "Connector_Get", + "title": "Connector" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/DeleteConnector.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/DeleteConnector.json index 1dc02aed0953..3eb4294d6c1f 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/DeleteConnector.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/DeleteConnector.json @@ -1,18 +1,20 @@ { "parameters": { "api-version": "2024-07-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "test-rg", + "connectorName": "connectorName", "location": "westus", - "connectorName": "connectorName" + "resourceGroupName": "test-rg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, - "204": {}, "202": { "headers": { "azure-AsyncOperation": "http://azure.async.operation/status" } - } - } -} + }, + "204": {} + }, + "operationId": "Connector_Delete", + "title": "DeleteConnector" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/DeleteDryrun.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/DeleteDryrun.json index b6d84517cba6..e1eaaf7f1eed 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/DeleteDryrun.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/DeleteDryrun.json @@ -1,11 +1,13 @@ { "parameters": { "api-version": "2024-07-01-preview", - "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app", - "dryrunName": "dryrunName" + "dryrunName": "dryrunName", + "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app" }, "responses": { "200": {}, "204": {} - } -} + }, + "operationId": "Linkers_DeleteDryrun", + "title": "DeleteDryrun" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/DeleteLinker.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/DeleteLinker.json index a2eb35ce6361..af186058a0a4 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/DeleteLinker.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/DeleteLinker.json @@ -1,16 +1,18 @@ { "parameters": { "api-version": "2024-07-01-preview", - "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app", - "linkerName": "linkName" + "linkerName": "linkName", + "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app" }, "responses": { "200": {}, - "204": {}, "202": { "headers": { "azure-AsyncOperation": "http://azure.async.operation/status" } - } - } -} + }, + "204": {} + }, + "operationId": "Linker_Delete", + "title": "DeleteLinker" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GenerateConfigurations.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GenerateConfigurations.json index b51f80725ab6..ca5f8fe20531 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GenerateConfigurations.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GenerateConfigurations.json @@ -1,15 +1,15 @@ { "parameters": { "api-version": "2024-07-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "test-rg", - "location": "westus", "connectorName": "connectorName", + "location": "westus", "parameters": { "customizedKeys": { "ASL_DocumentDb_ConnectionString": "MyConnectionstring" } - } + }, + "resourceGroupName": "test-rg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -22,5 +22,7 @@ ] } } - } -} + }, + "operationId": "Connector_GenerateConfigurations", + "title": "GenerateConfiguration" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GetConfigurations.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GetConfigurations.json index 39d787a2211d..3d6bd602fc50 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GetConfigurations.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GetConfigurations.json @@ -1,8 +1,8 @@ { "parameters": { "api-version": "2024-07-01-preview", - "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.App/containerApps/test-app", - "linkerName": "linkName" + "linkerName": "linkName", + "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.App/containerApps/test-app" }, "responses": { "200": { @@ -10,32 +10,34 @@ "configurations": [ { "name": "AZURE_POSTGRESQL_HOST", - "value": "Host", - "configType": "Default" + "configType": "Default", + "value": "Host" }, { "name": "AZURE_POSTGRESQL_USER", - "value": "Username", - "configType": "Default" + "configType": "Default", + "value": "Username" }, { "name": "AZURE_POSTGRESQL_DATABASE", - "value": "DatabaseName", - "configType": "Default" + "configType": "Default", + "value": "DatabaseName" }, { "name": "AZURE_POSTGRESQL_PORT", - "value": "Port", - "configType": "Default" + "configType": "Default", + "value": "Port" }, { "name": "AZURE_POSTGRESQL_PASSWORD", - "value": "SecretUri", "configType": "KeyVaultSecret", - "keyVaultReferenceIdentity": "system" + "keyVaultReferenceIdentity": "system", + "value": "SecretUri" } ] } } - } -} + }, + "operationId": "Linker_ListConfigurations", + "title": "GetConfiguration" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GetDaprConfigurations.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GetDaprConfigurations.json index cdbc03e325fc..077fe2b82140 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GetDaprConfigurations.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GetDaprConfigurations.json @@ -9,25 +9,27 @@ "value": [ { "properties": { - "targetType": "MICROSOFT.STORAGE/STORAGEACCOUNTS/BLOBSERVICES", "authType": "secret", "daprProperties": { - "version": "v1", - "componentType": "bindings", - "runtimeVersion": "1.10", "bindingComponentDirection": "input", + "componentType": "bindings", "metadata": [ { "name": "containerName", "description": "The name of the container to be used for Dapr state.", "required": "true" } - ] - } + ], + "runtimeVersion": "1.10", + "version": "v1" + }, + "targetType": "MICROSOFT.STORAGE/STORAGEACCOUNTS/BLOBSERVICES" } } ] } } - } -} + }, + "operationId": "Linkers_ListDaprConfigurations", + "title": "GetDaprConfigurations" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GetDryrun.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GetDryrun.json index 6545c44b1163..8ceadc414c76 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GetDryrun.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GetDryrun.json @@ -1,21 +1,21 @@ { "parameters": { "api-version": "2024-07-01-preview", - "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app", - "dryrunName": "dryrunName" + "dryrunName": "dryrunName", + "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/dryruns/dryrunName", "name": "dryrunName", "type": "Microsoft.ServiceLinker/dryruns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/dryruns/dryrunName", "properties": { "parameters": { "actionName": "createOrUpdate", "authInfo": { - "authType": "secret", - "name": "username" + "name": "username", + "authType": "secret" }, "targetService": { "type": "AzureResource", @@ -28,5 +28,7 @@ } } } - } -} + }, + "operationId": "Linkers_GetDryrun", + "title": "GetDryrun" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/Linker.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/Linker.json index eabc04aa76e7..1566be855291 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/Linker.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/Linker.json @@ -1,41 +1,41 @@ { "parameters": { "api-version": "2024-07-01-preview", - "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app", - "linkerName": "linkName" + "linkerName": "linkName", + "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", "name": "linkName", "type": "Microsoft.ServiceLinker/links", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", "properties": { "authInfo": { - "authType": "secret", - "name": "name" - }, - "targetService": { - "type": "AzureResource", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + "name": "name", + "authType": "secret" }, - "secretStore": { - "keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.KeyVault/vaults/kvname" - }, - "scope": "AKS-Namespace", "clientType": "dotnet", - "publicNetworkSolution": { - "action": "enable" - }, "configurationInfo": { - "deleteOrUpdateBehavior": "ForcedCleanup", + "additionalConfigurations": { + "throttlingLimit": "100" + }, "customizedKeys": { "AZURE_MYSQL_CONNECTIONSTRING": "myConnectionstring", "AZURE_MYSQL_SSLMODE": "mySslmode" }, - "additionalConfigurations": { - "throttlingLimit": "100" - } + "deleteOrUpdateBehavior": "ForcedCleanup" + }, + "publicNetworkSolution": { + "action": "enable" + }, + "scope": "AKS-Namespace", + "secretStore": { + "keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.KeyVault/vaults/kvname" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" } }, "systemData": { @@ -43,5 +43,7 @@ } } } - } -} + }, + "operationId": "Linker_Get", + "title": "Linker" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/LinkerGenerateConfigurations.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/LinkerGenerateConfigurations.json index 20077dc3ba0b..3f6728e42407 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/LinkerGenerateConfigurations.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/LinkerGenerateConfigurations.json @@ -1,13 +1,13 @@ { "parameters": { "api-version": "2024-07-01-preview", - "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app", "linkerName": "linkName", "parameters": { "customizedKeys": { "ASL_DocumentDb_ConnectionString": "MyConnectionstring" } - } + }, + "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app" }, "responses": { "200": { @@ -20,5 +20,7 @@ ] } } - } -} + }, + "operationId": "Linkers_GenerateConfigurations", + "title": "GenerateConfiguration" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/LinkerList.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/LinkerList.json index 99a8f52427c4..7a58e614a517 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/LinkerList.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/LinkerList.json @@ -8,13 +8,13 @@ "body": { "value": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ServiceLinker/links/linkName", "name": "linkName", "type": "Microsoft.ServiceLinker/links", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ServiceLinker/links/linkName", "properties": { "authInfo": { - "authType": "secret", - "name": "username" + "name": "username", + "authType": "secret" }, "targetService": { "type": "AzureResource", @@ -28,5 +28,7 @@ ] } } - } -} + }, + "operationId": "Linker_List", + "title": "LinkerList" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ListDryrun.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ListDryrun.json index 4a8dde8c63f0..f8aaf9595078 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ListDryrun.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ListDryrun.json @@ -8,15 +8,15 @@ "body": { "value": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/dryruns/dryrunName", "name": "dryrunName", "type": "Microsoft.ServiceLinker/dryruns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/dryruns/dryrunName", "properties": { "parameters": { "actionName": "createOrUpdate", "authInfo": { - "authType": "secret", - "name": "username" + "name": "username", + "authType": "secret" }, "targetService": { "type": "AzureResource", @@ -31,5 +31,7 @@ ] } } - } -} + }, + "operationId": "Linkers_ListDryrun", + "title": "ListDryrun" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/OperationsList.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/OperationsList.json index 905bfe616da0..d5ee1ae02a92 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/OperationsList.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/OperationsList.json @@ -8,177 +8,179 @@ "body": { "value": [ { + "name": "Microsoft.ServiceLinker/register/action", "display": { "description": "Register the subscription for Microsoft.ServiceLinker", "operation": "Register the Microsoft.ServiceLinker", "provider": "Microsoft.ServiceLinker", "resource": "Microsoft.ServiceLinker" }, - "isDataAction": false, - "name": "Microsoft.ServiceLinker/register/action" + "isDataAction": false }, { + "name": "Microsoft.ServiceLinker/unregister/action", "display": { "description": "Unregister the subscription for Microsoft.ServiceLinker", "operation": "Unregister the Microsoft.ServiceLinker", "provider": "Microsoft.ServiceLinker", "resource": "Microsoft.ServiceLinker" }, - "isDataAction": false, - "name": "Microsoft.ServiceLinker/unregister/action" + "isDataAction": false }, { + "name": "Microsoft.ServiceLinker/operations/read", "display": { "description": "read operations", "operation": "read_operations", "provider": "Microsoft.ServiceLinker", "resource": "operations" }, - "isDataAction": false, - "name": "Microsoft.ServiceLinker/operations/read" + "isDataAction": false }, { + "name": "Microsoft.ServiceLinker/dryruns/read", "display": { "description": "list dryrun jobs", "operation": "Dryrun_List", "provider": "Microsoft.ServiceLinker", "resource": "dryruns" }, - "isDataAction": false, - "name": "Microsoft.ServiceLinker/dryruns/read" + "isDataAction": false }, { + "name": "Microsoft.ServiceLinker/dryruns/read", "display": { "description": "get a dryrun job", "operation": "Dryrun_Get", "provider": "Microsoft.ServiceLinker", "resource": "dryruns" }, - "isDataAction": false, - "name": "Microsoft.ServiceLinker/dryruns/read" + "isDataAction": false }, { + "name": "Microsoft.ServiceLinker/dryruns/write", "display": { "description": "create a dryrun job to do necessary check before actual creation", "operation": "Dryrun_Create", "provider": "Microsoft.ServiceLinker", "resource": "dryruns" }, - "isDataAction": false, - "name": "Microsoft.ServiceLinker/dryruns/write" + "isDataAction": false }, { + "name": "Microsoft.ServiceLinker/dryruns/delete", "display": { "description": "delete a dryrun job", "operation": "Dryrun_Delete", "provider": "Microsoft.ServiceLinker", "resource": "dryruns" }, - "isDataAction": false, - "name": "Microsoft.ServiceLinker/dryruns/delete" + "isDataAction": false }, { + "name": "Microsoft.ServiceLinker/dryruns/write", "display": { "description": "add a dryrun job to do necessary check before actual creation", "operation": "Dryrun_Update", "provider": "Microsoft.ServiceLinker", "resource": "dryruns" }, - "isDataAction": false, - "name": "Microsoft.ServiceLinker/dryruns/write" + "isDataAction": false }, { + "name": "Microsoft.ServiceLinker/locations/operationStatuses/read", "display": { "description": "read operationStatuses", "operation": "read_operationStatuses", "provider": "Microsoft.ServiceLinker", "resource": "locations/operationStatuses" }, - "isDataAction": false, - "name": "Microsoft.ServiceLinker/locations/operationStatuses/read" + "isDataAction": false }, { + "name": "Microsoft.ServiceLinker/locations/operationStatuses/write", "display": { "description": "write operationStatuses", "operation": "write_operationStatuses", "provider": "Microsoft.ServiceLinker", "resource": "locations/operationStatuses" }, - "isDataAction": false, - "name": "Microsoft.ServiceLinker/locations/operationStatuses/write" + "isDataAction": false }, { + "name": "Microsoft.ServiceLinker/linkers/read", "display": { "description": "Returns list of Linkers which connects to the resource.", "operation": "Linker_List", "provider": "Microsoft.ServiceLinker", "resource": "linkers" }, - "isDataAction": false, - "name": "Microsoft.ServiceLinker/linkers/read" + "isDataAction": false }, { + "name": "Microsoft.ServiceLinker/linkers/read", "display": { "description": "Returns Linker resource for a given name.", "operation": "Linker_Get", "provider": "Microsoft.ServiceLinker", "resource": "linkers" }, - "isDataAction": false, - "name": "Microsoft.ServiceLinker/linkers/read" + "isDataAction": false }, { + "name": "Microsoft.ServiceLinker/linkers/write", "display": { "description": "Create or update linker resource.", "operation": "Linker_CreateOrUpdate", "provider": "Microsoft.ServiceLinker", "resource": "linkers" }, - "isDataAction": false, - "name": "Microsoft.ServiceLinker/linkers/write" + "isDataAction": false }, { + "name": "Microsoft.ServiceLinker/linkers/delete", "display": { "description": "Delete a link.", "operation": "Linker_Delete", "provider": "Microsoft.ServiceLinker", "resource": "linkers" }, - "isDataAction": false, - "name": "Microsoft.ServiceLinker/linkers/delete" + "isDataAction": false }, { + "name": "Microsoft.ServiceLinker/linkers/write", "display": { "description": "Operation to update an existing link.", "operation": "Linker_Update", "provider": "Microsoft.ServiceLinker", "resource": "linkers" }, - "isDataAction": false, - "name": "Microsoft.ServiceLinker/linkers/write" + "isDataAction": false }, { + "name": "Microsoft.ServiceLinker/linkers/validateLinker/action", "display": { "description": "Validate a link.", "operation": "Linker_Validate", "provider": "Microsoft.ServiceLinker", "resource": "linkers" }, - "isDataAction": false, - "name": "Microsoft.ServiceLinker/linkers/validateLinker/action" + "isDataAction": false }, { + "name": "Microsoft.ServiceLinker/linkers/listConfigurations/action", "display": { "description": "list source configurations for a linker.", "operation": "Linker_ListConfigurations", "provider": "Microsoft.ServiceLinker", "resource": "linkers" }, - "isDataAction": false, - "name": "Microsoft.ServiceLinker/linkers/listConfigurations/action" + "isDataAction": false } ] } } - } -} + }, + "operationId": "Operations_List", + "title": "GetConfiguration" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PatchConnector.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PatchConnector.json index a302ac667d38..5798698b7d36 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PatchConnector.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PatchConnector.json @@ -1,31 +1,31 @@ { "parameters": { "api-version": "2024-07-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "test-rg", - "location": "westus", "connectorName": "connectorName", + "location": "westus", "parameters": { "properties": { - "targetService": { - "type": "AzureResource", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" - }, "authInfo": { "authType": "servicePrincipalSecret", "clientId": "name", "principalId": "id", "secret": "secret" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" } } - } + }, + "resourceGroupName": "test-rg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", - "type": "Microsoft.ServiceLinker/links", "name": "linkName", + "type": "Microsoft.ServiceLinker/links", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", "properties": { "authInfo": { "authType": "servicePrincipalSecret", @@ -40,13 +40,10 @@ } }, "202": { - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" - }, "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", - "type": "Microsoft.ServiceLinker/links", "name": "linkName", + "type": "Microsoft.ServiceLinker/links", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", "properties": { "authInfo": { "authType": "servicePrincipalSecret", @@ -58,7 +55,12 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" } } + }, + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" } } - } -} + }, + "operationId": "Connector_Update", + "title": "PatchConnector" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PatchDryrun.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PatchDryrun.json index c7da10d3eac5..ab56a39003bf 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PatchDryrun.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PatchDryrun.json @@ -1,44 +1,53 @@ { "parameters": { "api-version": "2024-07-01-preview", - "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app", "dryrunName": "dryrunName", "parameters": { "properties": { "parameters": { "actionName": "createOrUpdate", - "targetService": { - "type": "AzureResource", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" - }, "authInfo": { - "authType": "secret", "name": "name", + "authType": "secret", "secretInfo": { "secretType": "rawValue", "value": "secret" } + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" } } } - } + }, + "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/dryruns/dryrunName", - "type": "Microsoft.ServiceLinker/dryruns", "name": "dryrunName", + "type": "Microsoft.ServiceLinker/dryruns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/dryruns/dryrunName", "properties": { + "operationPreviews": [ + { + "name": "configFirewallRule", + "description": "Config firewall rule for target service to allow source service access", + "action": "Microsoft.DocumentDb/databaseAccounts/write", + "operationType": "configNetwork", + "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc" + } + ], "parameters": { "actionName": "createOrUpdate", + "authInfo": { + "name": "name", + "authType": "secret" + }, "targetService": { "type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" - }, - "authInfo": { - "authType": "secret", - "name": "name" } }, "prerequisiteResults": [ @@ -49,18 +58,9 @@ }, { "type": "permissionsMissing", - "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc", "permissions": [ "Microsoft.DocumentDb/databaseAccounts/write" - ] - } - ], - "operationPreviews": [ - { - "name": "configFirewallRule", - "operationType": "configNetwork", - "description": "Config firewall rule for target service to allow source service access", - "action": "Microsoft.DocumentDb/databaseAccounts/write", + ], "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc" } ], @@ -73,5 +73,7 @@ "azure-AsyncOperation": "http://azure.async.operation/status" } } - } -} + }, + "operationId": "Linkers_UpdateDryrun", + "title": "PatchDryrun" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PatchLinker.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PatchLinker.json index 6a85c703e63b..21c2ce1c2afe 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PatchLinker.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PatchLinker.json @@ -1,29 +1,29 @@ { "parameters": { "api-version": "2024-07-01-preview", - "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app", "linkerName": "linkName", "parameters": { "properties": { - "targetService": { - "type": "AzureResource", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" - }, "authInfo": { "authType": "servicePrincipalSecret", "clientId": "name", "principalId": "id", "secret": "secret" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" } } - } + }, + "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", - "type": "Microsoft.ServiceLinker/links", "name": "linkName", + "type": "Microsoft.ServiceLinker/links", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", "properties": { "authInfo": { "authType": "servicePrincipalSecret", @@ -39,9 +39,9 @@ }, "201": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", - "type": "Microsoft.ServiceLinker/links", "name": "linkName", + "type": "Microsoft.ServiceLinker/links", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", "properties": { "authInfo": { "authType": "servicePrincipalSecret", @@ -55,5 +55,7 @@ } } } - } -} + }, + "operationId": "Linker_Update", + "title": "PatchLinker" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PutConnector.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PutConnector.json index b85bfd26ae2e..298b5712c1db 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PutConnector.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PutConnector.json @@ -1,31 +1,31 @@ { "parameters": { "api-version": "2024-07-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "test-rg", - "location": "westus", "connectorName": "connectorName", + "location": "westus", "parameters": { "properties": { - "targetService": { - "type": "AzureResource", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" - }, "authInfo": { "authType": "secret" }, "secretStore": { "keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.KeyVault/vaults/test-kv" + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" } } - } + }, + "resourceGroupName": "test-rg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", - "type": "Microsoft.ServiceLinker/links", "name": "linkName", + "type": "Microsoft.ServiceLinker/links", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", "properties": { "authInfo": { "authType": "secret" @@ -42,9 +42,9 @@ }, "201": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", - "type": "Microsoft.ServiceLinker/links", "name": "linkName", + "type": "Microsoft.ServiceLinker/links", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", "properties": { "authInfo": { "authType": "secret" @@ -59,5 +59,7 @@ } } } - } -} + }, + "operationId": "Connector_CreateOrUpdate", + "title": "PutConnector" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PutDryrun.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PutDryrun.json index 65e6713bb9c6..fd0ae0d3ff2a 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PutDryrun.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PutDryrun.json @@ -1,44 +1,53 @@ { "parameters": { "api-version": "2024-07-01-preview", - "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app", "dryrunName": "dryrunName", "parameters": { "properties": { "parameters": { "actionName": "createOrUpdate", - "targetService": { - "type": "AzureResource", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" - }, "authInfo": { - "authType": "secret", "name": "name", + "authType": "secret", "secretInfo": { "secretType": "rawValue", "value": "secret" } + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" } } } - } + }, + "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/dryruns/dryrunName", - "type": "Microsoft.ServiceLinker/dryruns", "name": "dryrunName", + "type": "Microsoft.ServiceLinker/dryruns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/dryruns/dryrunName", "properties": { + "operationPreviews": [ + { + "name": "configFirewallRule", + "description": "Config firewall rule for target service to allow source service access", + "action": "Microsoft.DocumentDb/databaseAccounts/write", + "operationType": "configNetwork", + "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc" + } + ], "parameters": { "actionName": "createOrUpdate", + "authInfo": { + "name": "name", + "authType": "secret" + }, "targetService": { "type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" - }, - "authInfo": { - "authType": "secret", - "name": "name" } }, "prerequisiteResults": [ @@ -49,18 +58,9 @@ }, { "type": "permissionsMissing", - "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc", "permissions": [ "Microsoft.DocumentDb/databaseAccounts/write" - ] - } - ], - "operationPreviews": [ - { - "name": "configFirewallRule", - "operationType": "configNetwork", - "description": "Config firewall rule for target service to allow source service access", - "action": "Microsoft.DocumentDb/databaseAccounts/write", + ], "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc" } ], @@ -70,19 +70,28 @@ }, "201": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/dryruns/dryrunName", - "type": "Microsoft.ServiceLinker/dryruns", "name": "dryrunName", + "type": "Microsoft.ServiceLinker/dryruns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/dryruns/dryrunName", "properties": { + "operationPreviews": [ + { + "name": "configFirewallRule", + "description": "Config firewall rule for target service to allow source service access", + "action": "Microsoft.DocumentDb/databaseAccounts/write", + "operationType": "configNetwork", + "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc" + } + ], "parameters": { "actionName": "createOrUpdate", + "authInfo": { + "name": "name", + "authType": "secret" + }, "targetService": { "type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" - }, - "authInfo": { - "authType": "secret", - "name": "name" } }, "prerequisiteResults": [ @@ -93,18 +102,9 @@ }, { "type": "permissionsMissing", - "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc", "permissions": [ "Microsoft.DocumentDb/databaseAccounts/write" - ] - } - ], - "operationPreviews": [ - { - "name": "configFirewallRule", - "operationType": "configNetwork", - "description": "Config firewall rule for target service to allow source service access", - "action": "Microsoft.DocumentDb/databaseAccounts/write", + ], "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc" } ], @@ -112,5 +112,7 @@ } } } - } -} + }, + "operationId": "Linkers_CreateDryrun", + "title": "PutDryrun" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PutLinker.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PutLinker.json index f678acb875be..d3f649280a07 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PutLinker.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PutLinker.json @@ -1,68 +1,70 @@ { "parameters": { "api-version": "2024-07-01-preview", - "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app", "linkerName": "linkName", "parameters": { "properties": { - "targetService": { - "type": "AzureResource", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DBforPostgreSQL/servers/test-pg/databases/test-db" - }, - "vNetSolution": { - "type": "serviceEndpoint" - }, "authInfo": { - "authType": "secret", "name": "name", + "authType": "secret", "secretInfo": { "secretType": "rawValue", "value": "secret" } + }, + "targetService": { + "type": "AzureResource", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DBforPostgreSQL/servers/test-pg/databases/test-db" + }, + "vNetSolution": { + "type": "serviceEndpoint" } } - } + }, + "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app" }, "responses": { "200": { "body": { - "type": "Microsoft.ServiceLinker/links", "name": "linkName", + "type": "Microsoft.ServiceLinker/links", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", "properties": { "authInfo": { - "authType": "secret", - "name": "name" - }, - "vNetSolution": { - "type": "serviceEndpoint" + "name": "name", + "authType": "secret" }, "targetService": { "type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DBforPostgreSQL/servers/test-pg/databases/test-db" + }, + "vNetSolution": { + "type": "serviceEndpoint" } } } }, "201": { "body": { - "type": "Microsoft.ServiceLinker/links", "name": "linkName", + "type": "Microsoft.ServiceLinker/links", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", "properties": { "authInfo": { - "authType": "secret", - "name": "name" - }, - "vNetSolution": { - "type": "serviceEndpoint" + "name": "name", + "authType": "secret" }, "targetService": { "type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DBforPostgreSQL/servers/test-pg/databases/test-db" + }, + "vNetSolution": { + "type": "serviceEndpoint" } } } } - } -} + }, + "operationId": "Linker_CreateOrUpdate", + "title": "PutLinker" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ValidateConnectorSuccess.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ValidateConnectorSuccess.json index a2e570267b75..ad6e0f543bfa 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ValidateConnectorSuccess.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ValidateConnectorSuccess.json @@ -1,19 +1,19 @@ { "parameters": { "api-version": "2024-07-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "test-rg", + "connectorName": "connectorName", "location": "westus", - "connectorName": "connectorName" + "resourceGroupName": "test-rg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "properties": { + "authType": "secret", "isConnectionAvailable": true, - "reportStartTimeUtc": "2020-07-12T22:05:09Z", "reportEndTimeUtc": "2020-07-12T22:06:09Z", - "authType": "secret", + "reportStartTimeUtc": "2020-07-12T22:05:09Z", "validationDetail": [ { "name": "TargetExistence", @@ -34,5 +34,7 @@ "azure-AsyncOperation": "http://azure.async.operation/status" } } - } -} + }, + "operationId": "Connector_Validate", + "title": "ValidateConnectorSuccess" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ValidateLinkerSuccess.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ValidateLinkerSuccess.json index 3bb0f31ce67f..fc9eda565c90 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ValidateLinkerSuccess.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ValidateLinkerSuccess.json @@ -1,19 +1,19 @@ { "parameters": { "api-version": "2024-07-01-preview", - "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app", - "linkerName": "linkName" + "linkerName": "linkName", + "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app" }, "responses": { "200": { "body": { "properties": { + "authType": "secret", "isConnectionAvailable": true, - "reportStartTimeUtc": "2020-07-12T22:05:09Z", "reportEndTimeUtc": "2020-07-12T22:06:09Z", + "reportStartTimeUtc": "2020-07-12T22:05:09Z", "sourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db", "targetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db", - "authType": "secret", "validationDetail": [ { "name": "TargetExistence", @@ -34,5 +34,7 @@ "azure-AsyncOperation": "http://azure.async.operation/status" } } - } -} + }, + "operationId": "Linker_Validate", + "title": "ValidateLinkerSuccess" +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json index 3be7908389ae..1e76f496bcb4 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json @@ -1,18 +1,23 @@ { "swagger": "2.0", "info": { - "title": "Microsoft.ServiceLinker", + "title": "ServiceLinkerManagementClient", + "version": "2024-07-01-preview", "description": "Microsoft.ServiceLinker provider", - "version": "2024-07-01-preview" + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] }, - "host": "management.azure.com", "schemes": [ "https" ], - "consumes": [ + "host": "management.azure.com", + "produces": [ "application/json" ], - "produces": [ + "consumes": [ "application/json" ], "security": [ @@ -25,149 +30,234 @@ "securityDefinitions": { "azure_auth": { "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", "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": "DryrunResources" + }, + { + "name": "Linkers" + }, + { + "name": "LinkerResources" + }, + { + "name": "Linker" + } + ], "paths": { - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns": { + "/{resourceUri}/{providers}/{resourceUri}/connectors": { "get": { + "operationId": "Linker_List", "tags": [ - "Connector" + "Linker" ], - "operationId": "Connector_ListDryrun", - "description": "list dryrun jobs", - "x-ms-examples": { - "ConnectorDryrunList": { - "$ref": "./examples/ConnectorDryrunList.json" - } - }, + "description": "Returns list of Linkers which connects to the resource. which supports to config both application and target service during the resource provision.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "name": "providers", + "in": "path", + "description": "{resourceUri}", + "required": true, + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + "name": "resourceUri", + "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ResourceList" + } }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "LinkerList": { + "$ref": "./examples/LinkerList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/{providers}/{resourceUri}/dryruns": { + "get": { + "operationId": "Linkers_ListDryrun", + "tags": [ + "Linkers" + ], + "description": "list dryrun jobs", + "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "providers", + "in": "path", + "description": "{resourceUri}", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "OK. The request has succeeded.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/DryrunList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, + "x-ms-examples": { + "ListDryrun": { + "$ref": "./examples/ListDryrun.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}": { + "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{dryruns}/{resourceUri}/{dryrunName}": { "get": { + "operationId": "Linkers_GetDryrun", "tags": [ - "Connector" + "Linkers" ], - "operationId": "Connector_GetDryrun", "description": "get a dryrun job", - "x-ms-examples": { - "ConnectorDryrunGet": { - "$ref": "./examples/ConnectorDryrunGet.json" - } - }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "name": "providers", + "in": "path", + "description": "{resourceUri}", + "required": true, + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + "name": "dryruns", + "in": "path", + "description": "The name of the DryrunResource", + "required": true, + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "name": "resourceUri", + "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", + "required": true, + "type": "string" }, { "name": "dryrunName", "in": "path", - "required": true, - "type": "string", "description": "The name of dryrun.", - "x-ms-parameter-location": "method" + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "OK. The request has succeeded.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/DryrunResource" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "GetDryrun": { + "$ref": "./examples/GetDryrun.json" + } } }, "put": { + "operationId": "Linkers_CreateDryrun", "tags": [ - "Connector" + "Linkers" ], - "operationId": "Connector_CreateDryrun", "description": "create a dryrun job to do necessary check before actual creation", - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-examples": { - "ConnectorDryrunCreate": { - "$ref": "./examples/ConnectorDryrunCreate.json" - } - }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "name": "providers", + "in": "path", + "description": "{resourceUri}", + "required": true, + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + "name": "dryruns", + "in": "path", + "description": "The name of the DryrunResource", + "required": true, + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "name": "resourceUri", + "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", + "required": true, + "type": "string" }, { "name": "dryrunName", "in": "path", - "required": true, - "type": "string", "description": "The name of dryrun.", - "x-ms-parameter-location": "method" + "required": true, + "type": "string" }, { "name": "parameters", - "description": "dryrun resource.", "in": "body", + "description": "dryrun resource.", "required": true, "schema": { "$ref": "#/definitions/DryrunResource" @@ -176,65 +266,87 @@ ], "responses": { "200": { - "description": "OK. The request has succeeded.", + "description": "Resource 'DryrunResource' update operation succeeded", "schema": { "$ref": "#/definitions/DryrunResource" } }, "201": { - "description": "Long running operation", + "description": "Resource 'DryrunResource' create operation succeeded", "schema": { "$ref": "#/definitions/DryrunResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - } - }, - "patch": { - "tags": [ - "Connector" - ], - "operationId": "Connector_UpdateDryrun", - "description": "update a dryrun job to do necessary check before actual creation", - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" }, "x-ms-examples": { - "ConnectorDryrunUpdate": { - "$ref": "./examples/ConnectorDryrunUpdate.json" + "PutDryrun": { + "$ref": "./examples/PutDryrun.json" } }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Linkers_UpdateDryrun", + "tags": [ + "Linkers" + ], + "description": "add a dryrun job to do necessary check before actual creation", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "name": "providers", + "in": "path", + "description": "{resourceUri}", + "required": true, + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + "name": "dryruns", + "in": "path", + "description": "The name of the DryrunResource", + "required": true, + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "name": "resourceUri", + "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", + "required": true, + "type": "string" }, { "name": "dryrunName", "in": "path", - "required": true, - "type": "string", "description": "The name of dryrun.", - "x-ms-parameter-location": "method" + "required": true, + "type": "string" }, { "name": "parameters", - "description": "dryrun resource.", "in": "body", + "description": "dryrun resource.", "required": true, "schema": { "$ref": "#/definitions/DryrunPatch" @@ -243,860 +355,1299 @@ ], "responses": { "200": { - "description": "OK. The request has succeeded.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/DryrunResource" } }, "202": { - "description": "Accepted - Returns this status until the asynchronous operation has completed." + "description": "Resource update request accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - } + }, + "x-ms-examples": { + "PatchDryrun": { + "$ref": "./examples/PatchDryrun.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "Linkers_DeleteDryrun", "tags": [ - "Connector" + "Linkers" ], - "operationId": "Connector_DeleteDryrun", "description": "delete a dryrun job", - "x-ms-examples": { - "ConnectorDryrunDelete": { - "$ref": "./examples/ConnectorDryrunDelete.json" - } - }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "name": "providers", + "in": "path", + "description": "{resourceUri}", + "required": true, + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + "name": "dryruns", + "in": "path", + "description": "The name of the DryrunResource", + "required": true, + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "name": "resourceUri", + "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", + "required": true, + "type": "string" }, { "name": "dryrunName", "in": "path", - "required": true, - "type": "string", "description": "The name of dryrun.", - "x-ms-parameter-location": "method" + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "OK. The job is deleted." + "description": "Resource deleted successfully." }, "204": { - "description": "Deleted. The job is not found." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "DeleteDryrun": { + "$ref": "./examples/DeleteDryrun.json" + } } } }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors": { + "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}": { "get": { - "deprecated": false, - "description": "Returns list of connector which connects to the resource, which supports to config the target service during the resource provision.", - "operationId": "Connector_List", - "x-ms-examples": { - "ConnectorList": { - "$ref": "./examples/ConnectorList.json" - } - }, + "operationId": "Linker_Get", + "tags": [ + "Linker" + ], + "description": "Returns Linker resource for a given name.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "name": "providers", + "in": "path", + "description": "{resourceUri}", + "required": true, + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + "name": "linkers", + "in": "path", + "description": "The name of the LinkerResource", + "required": true, + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "name": "resourceUri", + "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", + "required": true, + "type": "string" + }, + { + "name": "linkerName", + "in": "path", + "description": "The name Linker resource.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Connector details.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ResourceList" + "$ref": "#/definitions/LinkerResource" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}": { - "get": { - "description": "Returns Connector resource for a given name.", - "operationId": "Connector_Get", "x-ms-examples": { - "Connector": { - "$ref": "./examples/Connectors.json" + "Linker": { + "$ref": "./examples/Linker.json" } - }, + } + }, + "put": { + "operationId": "Linker_CreateOrUpdate", + "tags": [ + "Linker" + ], + "description": "Create or update Linker resource.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "name": "providers", + "in": "path", + "description": "{resourceUri}", + "required": true, + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + "name": "linkers", + "in": "path", + "description": "The name of the LinkerResource", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/ConnectorNameParameter" + "name": "resourceUri", + "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", + "required": true, + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "name": "linkerName", + "in": "path", + "description": "The name Linker resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Linker details.", + "required": true, + "schema": { + "$ref": "#/definitions/LinkerResource" + } } ], "responses": { "200": { - "description": "Connector details.", + "description": "Resource 'LinkerResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "201": { + "description": "Resource 'LinkerResource' create operation succeeded", "schema": { "$ref": "#/definitions/LinkerResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - } - }, - "put": { - "description": "Create or update Connector resource.", - "operationId": "Connector_CreateOrUpdate", - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" }, "x-ms-examples": { - "PutConnector": { - "$ref": "./examples/PutConnector.json" + "PutLinker": { + "$ref": "./examples/PutLinker.json" } }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Linker_Update", + "tags": [ + "Linker" + ], + "description": "Operation to update an existing Linker.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "name": "providers", + "in": "path", + "description": "{resourceUri}", + "required": true, + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + "name": "linkers", + "in": "path", + "description": "The name of the LinkerResource", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/ConnectorNameParameter" + "name": "resourceUri", + "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", + "required": true, + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "name": "linkerName", + "in": "path", + "description": "The name Linker resource.", + "required": true, + "type": "string" }, { "name": "parameters", - "description": "Connector details.", "in": "body", + "description": "Linker details.", "required": true, "schema": { - "$ref": "#/definitions/LinkerResource" + "$ref": "#/definitions/LinkerPatch" } } ], "responses": { "200": { - "description": "Successful.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/LinkerResource" } }, "201": { - "description": "Long running operation.", + "description": "Resource 'LinkerResource' create operation succeeded", "schema": { "$ref": "#/definitions/LinkerResource" + }, + "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": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "PatchLinker": { + "$ref": "./examples/PatchLinker.json" + } } }, "delete": { + "operationId": "Linker_Delete", "tags": [ - "Connector" + "Linker" ], - "operationId": "Connector_Delete", - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "description": "Delete a Connector.", - "x-ms-examples": { - "DeleteConnector": { - "$ref": "./examples/DeleteConnector.json" - } - }, + "description": "Delete a Linker.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "name": "providers", + "in": "path", + "description": "{resourceUri}", + "required": true, + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + "name": "linkers", + "in": "path", + "description": "The name of the LinkerResource", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/ConnectorNameParameter" + "name": "resourceUri", + "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", + "required": true, + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "name": "linkerName", + "in": "path", + "description": "The name Linker resource.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "OK. The Connector is deleted." + "description": "Resource deleted successfully." }, "202": { - "description": "Long running operation." + "description": "Resource deletion accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "204": { - "description": "Deleted. The Connector is not found." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - } - }, - "patch": { - "tags": [ - "Connector" - ], - "operationId": "Connector_Update", - "description": "Operation to update an existing Connector.", - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" }, "x-ms-examples": { - "PatchConnector": { - "$ref": "./examples/PatchConnector.json" + "DeleteLinker": { + "$ref": "./examples/DeleteLinker.json" } }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/generateConfigurations": { + "post": { + "operationId": "Linkers_GenerateConfigurations", + "tags": [ + "Linker" + ], + "description": "Generate configurations for a Linker.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "name": "providers", + "in": "path", + "description": "{resourceUri}", + "required": true, + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + "name": "linkers", + "in": "path", + "description": "The name of the LinkerResource", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/ConnectorNameParameter" + "name": "resourceUri", + "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", + "required": true, + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "name": "linkerName", + "in": "path", + "description": "The name Linker resource.", + "required": true, + "type": "string" }, { "name": "parameters", - "description": "Connector details.", "in": "body", - "required": true, + "description": "Connection Info, including format, secret store, etc", + "required": false, "schema": { - "$ref": "#/definitions/LinkerPatch" + "$ref": "#/definitions/ConfigurationInfo" } } ], "responses": { "200": { - "description": "Success. The response describes a Connector.", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "202": { - "description": "Long running operation.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/LinkerResource" + "$ref": "#/definitions/ConfigurationResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "GenerateConfiguration": { + "$ref": "./examples/LinkerGenerateConfigurations.json" + } } } }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/validate": { + "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/listConfigurations": { "post": { + "operationId": "Linker_ListConfigurations", "tags": [ - "Connector" + "Linker" ], - "operationId": "Connector_Validate", - "description": "Validate a Connector.", - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-examples": { - "ValidateConnectorSuccess": { - "$ref": "./examples/ValidateConnectorSuccess.json" - } - }, + "description": "list source configurations for a Linker.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "name": "providers", + "in": "path", + "description": "{resourceUri}", + "required": true, + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + "name": "linkers", + "in": "path", + "description": "The name of the LinkerResource", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/ConnectorNameParameter" + "name": "resourceUri", + "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", + "required": true, + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "name": "linkerName", + "in": "path", + "description": "The name Linker resource.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "OK. The request has succeeded.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ValidateOperationResult" + "$ref": "#/definitions/ConfigurationResult" } }, - "202": { - "description": "Accepted - Returns this status until the asynchronous operation has completed." - }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "GetConfiguration": { + "$ref": "./examples/GetConfigurations.json" + } } } }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/generateConfigurations": { + "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/validateLinker": { "post": { + "operationId": "Linker_Validate", "tags": [ - "Connector" + "Linker" ], - "operationId": "Connector_GenerateConfigurations", - "description": "Generate configurations for a Connector.", - "x-ms-examples": { - "GenerateConfiguration": { - "$ref": "./examples/GenerateConfigurations.json" - } - }, + "description": "Validate a Linker.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + "name": "providers", + "in": "path", + "description": "{resourceUri}", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/ConnectorNameParameter" + "name": "linkers", + "in": "path", + "description": "The name of the LinkerResource", + "required": true, + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "name": "resourceUri", + "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", + "required": true, + "type": "string" }, { - "name": "parameters", - "description": "Connection Info, including format, secret store, etc", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/ConfigurationInfo" - } + "name": "linkerName", + "in": "path", + "description": "The name Linker resource.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "OK. The request has succeeded.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ConfigurationResult" + "$ref": "#/definitions/ValidateOperationResult" } }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers": { - "get": { - "deprecated": false, - "description": "Returns list of Linkers which connects to the resource. which supports to config both application and target service during the resource provision.", - "operationId": "Linker_List", + }, "x-ms-examples": { - "LinkerList": { - "$ref": "./examples/LinkerList.json" + "ValidateLinkerSuccess": { + "$ref": "./examples/ValidateLinkerSuccess.json" } }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations": { + "get": { + "operationId": "Linkers_ListDaprConfigurations", + "description": "List the dapr configuration supported by Service Connector.", "parameters": [ { - "$ref": "#/parameters/ResourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "name": "resourceUri", + "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Linker details.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ResourceList" + "$ref": "#/definitions/DaprConfigurationList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, + "x-ms-examples": { + "GetDaprConfigurations": { + "$ref": "./examples/GetDaprConfigurations.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}": { + "/providers/Microsoft.ServiceLinker/configurationNames": { "get": { - "description": "Returns Linker resource for a given name.", - "operationId": "Linker_Get", - "x-ms-examples": { - "Linker": { - "$ref": "./examples/Linker.json" - } - }, + "operationId": "ConfigurationNames_List", + "description": "Lists the configuration names generated by Service Connector for all target, client types, auth types.", "parameters": [ { - "$ref": "#/parameters/ResourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "name": "$filter", + "in": "query", + "description": "OData filter options.", + "required": false, + "type": "string" }, { - "$ref": "#/parameters/LinkerNameParameter" + "name": "$skipToken", + "in": "query", + "description": "OData skipToken option for pagination.", + "required": false, + "type": "string" } ], "responses": { "200": { - "description": "Linker details.", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/LinkerResource" + "$ref": "#/definitions/ConfigurationNameResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - } - }, - "put": { - "description": "Create or update Linker resource.", - "operationId": "Linker_CreateOrUpdate", - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" }, "x-ms-examples": { - "PutLinker": { - "$ref": "./examples/PutLinker.json" + "GetConfigurationNames": { + "$ref": "./examples/ConfigurationNamesList.json" } }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.ServiceLinker/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", "parameters": [ { - "$ref": "#/parameters/ResourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetConfiguration": { + "$ref": "./examples/OperationsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors": { + "get": { + "operationId": "Connector_List", + "tags": [ + "LinkerResources" + ], + "description": "Returns list of connector which connects to the resource, which supports to config the target service during the resource provision.", + "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/LinkerNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "name": "parameters", - "description": "Linker details.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LinkerResource" - } + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" } ], "responses": { "200": { - "description": "Successful.", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "201": { - "description": "Long running operation.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/LinkerResource" + "$ref": "#/definitions/ResourceList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - } - }, - "delete": { - "tags": [ - "Linkers" - ], - "operationId": "Linker_Delete", - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" }, - "description": "Delete a Linker.", "x-ms-examples": { - "DeleteLinker": { - "$ref": "./examples/DeleteLinker.json" + "ConnectorList": { + "$ref": "./examples/ConnectorList.json" } }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}": { + "get": { + "operationId": "Connector_Get", + "tags": [ + "LinkerResources" + ], + "description": "Returns Connector resource for a given name.", "parameters": [ { - "$ref": "#/parameters/ResourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/LinkerNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "description": "The name of the LinkerResource", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "OK. The Linker is deleted." - }, - "202": { - "description": "Long running operation." - }, - "204": { - "description": "Deleted. The Linker is not found." + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LinkerResource" + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Connector": { + "$ref": "./examples/Connectors.json" + } } }, - "patch": { + "put": { + "operationId": "Connector_CreateOrUpdate", "tags": [ - "Linkers" + "LinkerResources" ], - "operationId": "Linker_Update", - "description": "Operation to update an existing Linker.", - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-examples": { - "PatchLinker": { - "$ref": "./examples/PatchLinker.json" - } - }, + "description": "Create or update Connector resource.", "parameters": [ { - "$ref": "#/parameters/ResourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" }, { - "$ref": "#/parameters/LinkerNameParameter" + "name": "connectorName", + "in": "path", + "description": "The name of the LinkerResource", + "required": true, + "type": "string" }, { "name": "parameters", - "description": "Linker details.", "in": "body", + "description": "Connector details.", "required": true, "schema": { - "$ref": "#/definitions/LinkerPatch" + "$ref": "#/definitions/LinkerResource" } } ], "responses": { "200": { - "description": "Success. The response describes a Linker.", + "description": "Resource 'LinkerResource' update operation succeeded", "schema": { "$ref": "#/definitions/LinkerResource" } }, "201": { - "description": "Long running operation.", + "description": "Resource 'LinkerResource' create operation succeeded", "schema": { "$ref": "#/definitions/LinkerResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/validateLinker": { - "post": { - "tags": [ - "Linkers" - ], - "operationId": "Linker_Validate", - "description": "Validate a Linker.", - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" }, "x-ms-examples": { - "ValidateLinkerSuccess": { - "$ref": "./examples/ValidateLinkerSuccess.json" + "PutConnector": { + "$ref": "./examples/PutConnector.json" } }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Connector_Update", + "tags": [ + "LinkerResources" + ], + "description": "Operation to update an existing Connector.", "parameters": [ { - "$ref": "#/parameters/ResourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" }, { - "$ref": "#/parameters/LinkerNameParameter" + "name": "connectorName", + "in": "path", + "description": "The name of the LinkerResource", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Connector details.", + "required": true, + "schema": { + "$ref": "#/definitions/LinkerPatch" + } } ], "responses": { "200": { - "description": "OK. The request has succeeded.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ValidateOperationResult" + "$ref": "#/definitions/LinkerResource" } }, "202": { - "description": "Accepted - Returns this status until the asynchronous operation has completed." - }, - "default": { - "description": "Error response describing why the operation failed.", + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/LinkerResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + } + } + }, + "default": { + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/listConfigurations": { - "post": { + }, + "x-ms-examples": { + "PatchConnector": { + "$ref": "./examples/PatchConnector.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Connector_Delete", "tags": [ - "Linkers" + "LinkerResources" ], - "operationId": "Linker_ListConfigurations", - "description": "list source configurations for a Linker.", + "description": "Delete a Connector.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "description": "The name of the LinkerResource", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, "x-ms-examples": { - "GetConfiguration": { - "$ref": "./examples/GetConfigurations.json" + "DeleteConnector": { + "$ref": "./examples/DeleteConnector.json" } }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/generateConfigurations": { + "post": { + "operationId": "Connector_GenerateConfigurations", + "tags": [ + "LinkerResources" + ], + "description": "Generate configurations for a Connector.", "parameters": [ { - "$ref": "#/parameters/ResourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "description": "The name of the LinkerResource", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/LinkerNameParameter" + "name": "parameters", + "in": "body", + "description": "Connection Info, including format, secret store, etc", + "required": false, + "schema": { + "$ref": "#/definitions/ConfigurationInfo" + } } ], "responses": { "200": { - "description": "OK. The request has succeeded.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ConfigurationResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "GenerateConfiguration": { + "$ref": "./examples/GenerateConfigurations.json" + } } } }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/validate": { + "post": { + "operationId": "Connector_Validate", "tags": [ - "Linkers" + "LinkerResources" ], - "operationId": "Linkers_ListDryrun", - "description": "list dryrun jobs", + "description": "Validate a Connector.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "description": "The name of the LinkerResource", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ValidateOperationResult" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, "x-ms-examples": { - "ListDryrun": { - "$ref": "./examples/ListDryrun.json" + "ValidateConnectorSuccess": { + "$ref": "./examples/ValidateConnectorSuccess.json" } }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns": { + "get": { + "operationId": "Connector_ListDryrun", + "tags": [ + "DryrunResources" + ], + "description": "list dryrun jobs", "parameters": [ { - "$ref": "#/parameters/ResourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" } ], "responses": { "200": { - "description": "OK. The request has succeeded.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/DryrunList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, + "x-ms-examples": { + "ConnectorDryrunList": { + "$ref": "./examples/ConnectorDryrunList.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns/{dryrunName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}": { "get": { + "operationId": "Connector_GetDryrun", "tags": [ - "Linkers" + "DryrunResources" ], - "operationId": "Linkers_GetDryrun", "description": "get a dryrun job", - "x-ms-examples": { - "GetDryrun": { - "$ref": "./examples/GetDryrun.json" - } - }, "parameters": [ { - "$ref": "#/parameters/ResourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" }, { "name": "dryrunName", "in": "path", + "description": "The name of the DryrunResource", "required": true, - "type": "string", - "description": "The name of dryrun.", - "x-ms-parameter-location": "method" + "type": "string" } ], "responses": { "200": { - "description": "OK. The request has succeeded.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/DryrunResource" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "ConnectorDryrunGet": { + "$ref": "./examples/ConnectorDryrunGet.json" + } } }, "put": { + "operationId": "Connector_CreateDryrun", "tags": [ - "Linkers" + "DryrunResources" ], - "operationId": "Linkers_CreateDryrun", "description": "create a dryrun job to do necessary check before actual creation", - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-examples": { - "PutDryrun": { - "$ref": "./examples/PutDryrun.json" - } - }, "parameters": [ { - "$ref": "#/parameters/ResourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" }, { "name": "dryrunName", "in": "path", + "description": "The name of the DryrunResource", "required": true, - "type": "string", - "description": "The name of dryrun.", - "x-ms-parameter-location": "method" + "type": "string" }, { "name": "parameters", - "description": "dryrun resource.", "in": "body", + "description": "dryrun resource.", "required": true, "schema": { "$ref": "#/definitions/DryrunResource" @@ -1105,59 +1656,75 @@ ], "responses": { "200": { - "description": "OK. The request has succeeded.", + "description": "Resource 'DryrunResource' update operation succeeded", "schema": { "$ref": "#/definitions/DryrunResource" } }, "201": { - "description": "Long running operation", + "description": "Resource 'DryrunResource' create operation succeeded", "schema": { "$ref": "#/definitions/DryrunResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - } - }, - "patch": { - "tags": [ - "Linkers" - ], - "operationId": "Linkers_UpdateDryrun", - "description": "add a dryrun job to do necessary check before actual creation", - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" }, "x-ms-examples": { - "PatchDryrun": { - "$ref": "./examples/PatchDryrun.json" + "ConnectorDryrunCreate": { + "$ref": "./examples/ConnectorDryrunCreate.json" } }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Connector_UpdateDryrun", + "tags": [ + "DryrunResources" + ], + "description": "update a dryrun job to do necessary check before actual creation", "parameters": [ { - "$ref": "#/parameters/ResourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" }, { "name": "dryrunName", "in": "path", + "description": "The name of the DryrunResource", "required": true, - "type": "string", - "description": "The name of dryrun.", - "x-ms-parameter-location": "method" + "type": "string" }, { "name": "parameters", - "description": "dryrun resource.", "in": "body", + "description": "dryrun resource.", "required": true, "schema": { "$ref": "#/definitions/DryrunPatch" @@ -1166,429 +1733,418 @@ ], "responses": { "200": { - "description": "OK. The request has succeeded.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/DryrunResource" } }, "202": { - "description": "Accepted - Returns this status until the asynchronous operation has completed." + "description": "Resource update request accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - } + }, + "x-ms-examples": { + "ConnectorDryrunUpdate": { + "$ref": "./examples/ConnectorDryrunUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "Connector_DeleteDryrun", "tags": [ - "Linkers" + "DryrunResources" ], - "operationId": "Linkers_DeleteDryrun", "description": "delete a dryrun job", - "x-ms-examples": { - "DeleteDryrun": { - "$ref": "./examples/DeleteDryrun.json" - } - }, "parameters": [ { - "$ref": "#/parameters/ResourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" }, { "name": "dryrunName", "in": "path", + "description": "The name of the DryrunResource", "required": true, - "type": "string", - "description": "The name of dryrun.", - "x-ms-parameter-location": "method" + "type": "string" } ], "responses": { "200": { - "description": "OK. The job is deleted." + "description": "Resource deleted successfully." }, "204": { - "description": "Deleted. The job is not found." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/generateConfigurations": { - "post": { - "tags": [ - "Linkers" - ], - "operationId": "Linkers_GenerateConfigurations", - "description": "Generate configurations for a Linker.", - "x-ms-examples": { - "GenerateConfiguration": { - "$ref": "./examples/LinkerGenerateConfigurations.json" - } }, - "parameters": [ - { - "$ref": "#/parameters/ResourceUriParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/LinkerNameParameter" - }, - { - "name": "parameters", - "description": "Connection Info, including format, secret store, etc", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/ConfigurationInfo" - } - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/ConfigurationResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } + "x-ms-examples": { + "ConnectorDryrunDelete": { + "$ref": "./examples/ConnectorDryrunDelete.json" } } } - }, - "/providers/Microsoft.ServiceLinker/operations": { - "get": { - "tags": [ - "Operations" - ], - "operationId": "Operations_List", - "description": "Lists the available ServiceLinker REST API operations.", - "x-ms-examples": { - "GetConfiguration": { - "$ref": "./examples/OperationsList.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } + } + }, + "definitions": { + "AccessKeyInfoBase": { + "type": "object", + "description": "The access key directly from target resource properties, which target service is Azure Resource, such as Microsoft.Storage", + "properties": { + "permissions": { + "type": "array", + "description": "Permissions of the accessKey. `Read` and `Write` are for Azure Cosmos DB and Azure App Configuration, `Listen`, `Send` and `Manage` are for Azure Event Hub and Azure Service Bus.", + "items": { + "$ref": "#/definitions/AccessKeyPermissions" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } - } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "accessKey" }, - "/providers/Microsoft.ServiceLinker/configurationNames": { - "get": { - "tags": [ - "ConfigurationNames" - ], - "operationId": "ConfigurationNames_List", - "description": "Lists the configuration names generated by Service Connector for all target, client types, auth types.", - "x-ms-examples": { - "GetConfigurationNames": { - "$ref": "./examples/ConfigurationNamesList.json" - } - }, - "parameters": [ + "AccessKeyPermissions": { + "type": "string", + "enum": [ + "Read", + "Write", + "Listen", + "Send", + "Manage" + ], + "x-ms-enum": { + "name": "AccessKeyPermissions", + "modelAsString": true, + "values": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "name": "Read", + "value": "Read" }, { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "OData filter options." + "name": "Write", + "value": "Write" }, { - "name": "$skipToken", - "in": "query", - "required": false, - "type": "string", - "description": "OData skipToken option for pagination." - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/ConfigurationNameResult" - } + "name": "Listen", + "value": "Listen" }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations": { - "get": { - "tags": [ - "Linkers" - ], - "operationId": "Linkers_ListDaprConfigurations", - "description": "List the dapr configuration supported by Service Connector.", - "x-ms-examples": { - "GetDaprConfigurations": { - "$ref": "./examples/GetDaprConfigurations.json" - } - }, - "parameters": [ { - "$ref": "#/parameters/ResourceUriParameter" + "name": "Send", + "value": "Send" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/DaprConfigurationList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } + "name": "Manage", + "value": "Manage" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } + ] } - } - }, - "definitions": { - "TargetServiceType": { - "description": "The target service type.", + }, + "AllowType": { "type": "string", + "description": "Whether to allow firewall rules.", "enum": [ - "AzureResource", - "ConfluentBootstrapServer", - "ConfluentSchemaRegistry", - "SelfHostedServer", - "FabricPlatform" + "true", + "false" ], "x-ms-enum": { - "name": "targetServiceType", - "modelAsString": true + "name": "AllowType", + "modelAsString": true, + "values": [ + { + "name": "true", + "value": "true" + }, + { + "name": "false", + "value": "false" + } + ] } }, - "TargetServiceBase": { - "description": "The target service properties", - "discriminator": "type", + "AuthInfoBase": { "type": "object", + "description": "The authentication info", "properties": { - "type": { - "description": "The target service type.", - "$ref": "#/definitions/TargetServiceType" + "authType": { + "$ref": "#/definitions/AuthType", + "description": "The authentication type." + }, + "authMode": { + "$ref": "#/definitions/AuthMode", + "description": "Optional. Indicates how to configure authentication. If optInAllAuth, service linker configures authentication such as enabling identity on source resource and granting RBAC roles. If optOutAllAuth, opt out authentication setup. Default is optInAllAuth." } }, + "discriminator": "authType", "required": [ - "type" + "authType" ] }, - "AzureResourceType": { - "description": "The azure resource type.", + "AuthMode": { "type": "string", + "description": "Indicates how to apply the authentication configuration operations.", "enum": [ - "KeyVault", - "AppConfig" + "optInAllAuth", + "optOutAllAuth" ], "x-ms-enum": { - "name": "azureResourceType", - "modelAsString": true + "name": "AuthMode", + "modelAsString": true, + "values": [ + { + "name": "optInAllAuth", + "value": "optInAllAuth", + "description": "Default authentication configuration according to the authentication type." + }, + { + "name": "optOutAllAuth", + "value": "optOutAllAuth", + "description": "Skip all authentication configuration such as enabling managed identity and granting RBAC roles" + } + ] } }, - "AzureResourcePropertiesBase": { - "description": "The azure resource properties", - "discriminator": "type", - "type": "object", - "properties": { - "type": { - "description": "The azure resource type.", - "$ref": "#/definitions/AzureResourceType" - } - }, - "required": [ - "type" - ] - }, - "AzureResource": { - "x-ms-discriminator-value": "AzureResource", - "type": "object", - "description": "The azure resource info when target service type is AzureResource", - "allOf": [ - { - "$ref": "#/definitions/TargetServiceBase" - } - ], - "properties": { - "id": { - "description": "The Id of azure resource.", - "type": "string" - }, - "resourceProperties": { - "x-nullable": true, - "description": "The azure resource connection related properties.", - "$ref": "#/definitions/AzureResourcePropertiesBase" - } + "AuthType": { + "type": "string", + "description": "The authentication type.", + "enum": [ + "systemAssignedIdentity", + "userAssignedIdentity", + "servicePrincipalSecret", + "servicePrincipalCertificate", + "secret", + "accessKey", + "userAccount", + "easyAuthMicrosoftEntraID" + ], + "x-ms-enum": { + "name": "AuthType", + "modelAsString": true, + "values": [ + { + "name": "systemAssignedIdentity", + "value": "systemAssignedIdentity" + }, + { + "name": "userAssignedIdentity", + "value": "userAssignedIdentity" + }, + { + "name": "servicePrincipalSecret", + "value": "servicePrincipalSecret" + }, + { + "name": "servicePrincipalCertificate", + "value": "servicePrincipalCertificate" + }, + { + "name": "secret", + "value": "secret" + }, + { + "name": "accessKey", + "value": "accessKey" + }, + { + "name": "userAccount", + "value": "userAccount" + }, + { + "name": "easyAuthMicrosoftEntraID", + "value": "easyAuthMicrosoftEntraID" + } + ] } }, - "AzureKeyVaultProperties": { - "x-ms-discriminator-value": "KeyVault", + "Azure.ResourceManager.ArmResponse": { "type": "object", - "description": "The resource properties when type is Azure Key Vault", - "allOf": [ - { - "$ref": "#/definitions/AzureResourcePropertiesBase" + "description": "Azure operation completed successfully.", + "properties": { + "body": { + "$ref": "#/definitions/DryrunResource", + "description": "The body type of the operation request or response." } - ], + }, + "required": [ + "body" + ] + }, + "Azure.ResourceManager.ArmResponse": { + "type": "object", + "description": "Azure operation completed successfully.", "properties": { - "connectAsKubernetesCsiDriver": { - "x-nullable": true, - "description": "True if connect via Kubernetes CSI Driver.", - "type": "boolean" + "body": { + "$ref": "#/definitions/ValidateOperationResult", + "description": "The body type of the operation request or response." } + }, + "required": [ + "body" + ] + }, + "Azure.ResourceManager.CommonTypes.ActionType": { + "type": "string", + "description": "Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.", + "enum": [ + "Internal" + ], + "x-ms-enum": { + "name": "ActionType", + "modelAsString": true, + "values": [ + { + "name": "Internal", + "value": "Internal", + "description": "Actions are for internal-only APIs." + } + ] } }, "AzureAppConfigProperties": { - "x-ms-discriminator-value": "AppConfig", "type": "object", "description": "The resource properties when type is Azure App Configuration", - "allOf": [ - { - "$ref": "#/definitions/AzureResourcePropertiesBase" - } - ], "properties": { "connectWithKubernetesExtension": { - "x-nullable": true, - "description": "True if connection enables app configuration kubernetes extension.", - "type": "boolean" + "type": "boolean", + "description": "True if connection enables app configuration kubernetes extension." } - } - }, - "ConfluentBootstrapServer": { - "x-ms-discriminator-value": "ConfluentBootstrapServer", - "type": "object", - "description": "The service properties when target service type is ConfluentBootstrapServer", + }, "allOf": [ { - "$ref": "#/definitions/TargetServiceBase" + "$ref": "#/definitions/AzureResourcePropertiesBase" } ], - "properties": { - "endpoint": { - "description": "The endpoint of service.", - "type": "string" - } - } + "x-ms-discriminator-value": "AppConfig" }, - "FabricPlatform": { - "x-ms-discriminator-value": "FabricPlatform", + "AzureKeyVaultProperties": { "type": "object", - "description": "The service properties when target service type is FabricPlatform", - "allOf": [ - { - "$ref": "#/definitions/TargetServiceBase" - } - ], + "description": "The resource properties when type is Azure Key Vault", "properties": { - "endpoint": { - "description": "The endpoint of service.", - "type": "string" + "connectAsKubernetesCsiDriver": { + "type": "boolean", + "description": "True if connect via Kubernetes CSI Driver." } - } - }, - "SelfHostedServer": { - "x-ms-discriminator-value": "SelfHostedServer", - "type": "object", - "description": "The service properties when target service type is SelfHostedServer", + }, "allOf": [ { - "$ref": "#/definitions/TargetServiceBase" + "$ref": "#/definitions/AzureResourcePropertiesBase" } ], - "properties": { - "endpoint": { - "description": "The endpoint of service.", - "type": "string" - } - } + "x-ms-discriminator-value": "KeyVault" }, - "ConfluentSchemaRegistry": { - "x-ms-discriminator-value": "ConfluentSchemaRegistry", + "AzureResource": { "type": "object", - "description": "The service properties when target service type is ConfluentSchemaRegistry", + "description": "The azure resource info when target service type is AzureResource", + "properties": { + "id": { + "type": "string", + "description": "The Id of azure resource." + }, + "resourceProperties": { + "$ref": "#/definitions/AzureResourcePropertiesBase", + "description": "The azure resource connection related properties." + } + }, "allOf": [ { "$ref": "#/definitions/TargetServiceBase" } ], + "x-ms-discriminator-value": "AzureResource" + }, + "AzureResourcePropertiesBase": { + "type": "object", + "description": "The azure resource properties", "properties": { - "endpoint": { - "description": "The endpoint of service.", - "type": "string" + "type": { + "$ref": "#/definitions/AzureResourceType", + "description": "The azure resource type." } - } + }, + "discriminator": "type", + "required": [ + "type" + ] }, - "DeleteOrUpdateBehavior": { - "description": "The cleanup behavior to indicate whether clean up operation when resource is deleted or updated", + "AzureResourceType": { "type": "string", + "description": "The azure resource type.", "enum": [ - "Default", - "ForcedCleanup" + "KeyVault", + "AppConfig" ], "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true + "name": "AzureResourceType", + "modelAsString": true, + "values": [ + { + "name": "KeyVault", + "value": "KeyVault" + }, + { + "name": "AppConfig", + "value": "AppConfig" + } + ] } }, + "BasicErrorDryrunPrerequisiteResult": { + "type": "object", + "description": "The represent of basic error", + "properties": { + "code": { + "type": "string", + "description": "The error code." + }, + "message": { + "type": "string", + "description": "The error message." + } + }, + "allOf": [ + { + "$ref": "#/definitions/DryrunPrerequisiteResult" + } + ], + "x-ms-discriminator-value": "basicError" + }, "ClientType": { - "description": "The application client type", "type": "string", + "description": "The application client type", "enum": [ "none", "dotnet", @@ -1605,799 +2161,724 @@ "dapr" ], "x-ms-enum": { - "name": "clientType", - "modelAsString": true - } - }, - "AuthType": { - "description": "The authentication type.", - "type": "string", - "enum": [ - "systemAssignedIdentity", - "userAssignedIdentity", - "servicePrincipalSecret", - "servicePrincipalCertificate", - "secret", - "accessKey", - "userAccount", - "easyAuthMicrosoftEntraID" - ], - "x-ms-enum": { - "name": "AuthType", - "modelAsString": true - } - }, - "SecretType": { - "description": "The secret type.", - "type": "string", - "enum": [ - "rawValue", - "keyVaultSecretUri", - "keyVaultSecretReference" - ], - "x-ms-enum": { - "name": "SecretType", - "modelAsString": true - } - }, - "SecretSourceType": { - "description": "The type of secret source.", - "type": "string", - "enum": [ - "rawValue", - "keyVaultSecret" - ], - "x-ms-enum": { - "name": "SecretSourceType", - "modelAsString": true + "name": "ClientType", + "modelAsString": true, + "values": [ + { + "name": "none", + "value": "none" + }, + { + "name": "dotnet", + "value": "dotnet" + }, + { + "name": "java", + "value": "java" + }, + { + "name": "python", + "value": "python" + }, + { + "name": "go", + "value": "go" + }, + { + "name": "php", + "value": "php" + }, + { + "name": "ruby", + "value": "ruby" + }, + { + "name": "django", + "value": "django" + }, + { + "name": "nodejs", + "value": "nodejs" + }, + { + "name": "springBoot", + "value": "springBoot" + }, + { + "name": "kafka-springBoot", + "value": "kafka-springBoot" + }, + { + "name": "jms-springBoot", + "value": "jms-springBoot" + }, + { + "name": "dapr", + "value": "dapr" + } + ] } }, - "SecretInfoBase": { - "description": "The secret info", - "discriminator": "secretType", + "ConfigurationInfo": { "type": "object", + "description": "The configuration information, used to generate configurations or save to applications", "properties": { - "secretType": { - "description": "The secret type.", - "$ref": "#/definitions/SecretType" - } - }, - "required": [ - "secretType" - ] - }, - "ValueSecretInfo": { - "x-ms-discriminator-value": "rawValue", - "type": "object", - "description": "The secret info when type is rawValue. It's for scenarios that user input the secret.", - "allOf": [ - { - "$ref": "#/definitions/SecretInfoBase" - } - ], - "properties": { - "value": { - "x-nullable": true, - "description": "The actual value of the secret.", - "type": "string", - "x-ms-secret": true + "deleteOrUpdateBehavior": { + "$ref": "#/definitions/DeleteOrUpdateBehavior", + "description": "Indicates whether to clean up previous operation when Linker is updating or deleting" + }, + "action": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ActionType", + "description": "Optional, indicate whether to apply configurations on source application. If enable, generate configurations and applied to the source application. Default is enable. If optOut, no configuration change will be made on source." + }, + "customizedKeys": { + "type": "object", + "description": "Optional. A dictionary of default key name and customized key name mapping. If not specified, default key name will be used for generate configurations", + "additionalProperties": { + "type": "string" + } + }, + "daprProperties": { + "$ref": "#/definitions/DaprProperties", + "description": "Indicates some additional properties for dapr client type" + }, + "additionalConfigurations": { + "type": "object", + "description": "A dictionary of additional configurations to be added. Service will auto generate a set of basic configurations and this property is to full fill more customized configurations", + "additionalProperties": { + "type": "string" + } + }, + "additionalConnectionStringProperties": { + "type": "object", + "description": "A dictionary of additional properties to be added in the end of connection string.", + "additionalProperties": { + "type": "string" + } + }, + "configurationStore": { + "$ref": "#/definitions/ConfigurationStore", + "description": "An option to store configuration into different place" } } }, - "KeyVaultSecretReferenceSecretInfo": { - "x-ms-discriminator-value": "keyVaultSecretReference", + "ConfigurationName": { "type": "object", - "description": "The secret info when type is keyVaultSecretReference. It's for scenario that user provides a secret stored in user's keyvault and source is Azure Kubernetes. The key Vault's resource id is linked to secretStore.keyVaultId.", - "allOf": [ - { - "$ref": "#/definitions/SecretInfoBase" - } - ], + "description": "The configuration names.", "properties": { - "name": { - "description": "Name of the Key Vault secret.", + "value": { "type": "string" }, - "version": { - "x-nullable": true, - "description": "Version of the Key Vault secret.", - "type": "string" + "description": { + "type": "string", + "description": "Description for the configuration name." + }, + "required": { + "type": "boolean", + "description": "Represent the configuration is required or not" } } }, - "KeyVaultSecretUriSecretInfo": { - "x-ms-discriminator-value": "keyVaultSecretUri", + "ConfigurationNameItem": { "type": "object", - "description": "The secret info when type is keyVaultSecretUri. It's for scenario that user provides a secret stored in user's keyvault and source is Web App, Spring Cloud or Container App.", - "allOf": [ - { - "$ref": "#/definitions/SecretInfoBase" - } - ], "properties": { - "value": { - "description": "URI to the keyvault secret", - "type": "string" + "properties": { + "$ref": "#/definitions/ConfigurationNames", + "description": "The result detail.", + "x-ms-client-flatten": true } } }, - "AuthInfoBase": { - "description": "The authentication info", - "discriminator": "authType", + "ConfigurationNameResult": { "type": "object", + "description": "Configuration Name list which will be set based on different target resource, client type, auth type.", "properties": { - "authType": { - "description": "The authentication type.", - "$ref": "#/definitions/AuthType" + "value": { + "type": "array", + "description": "The ConfigurationNameItem items on this page", + "items": { + "$ref": "#/definitions/ConfigurationNameItem" + }, + "x-ms-identifiers": [] }, - "authMode": { - "description": "Optional. Indicates how to configure authentication. If optInAllAuth, service linker configures authentication such as enabling identity on source resource and granting RBAC roles. If optOutAllAuth, opt out authentication setup. Default is optInAllAuth.", - "$ref": "#/definitions/AuthMode" + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" } }, "required": [ - "authType" + "value" ] }, - "AccessKeyInfoBase": { - "description": "The access key directly from target resource properties, which target service is Azure Resource, such as Microsoft.Storage", - "x-ms-discriminator-value": "accessKey", + "ConfigurationNames": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - } - ], + "description": "The configuration names which will be set based on specific target resource, client type, auth type.", "properties": { - "permissions": { - "description": "Permissions of the accessKey. `Read` and `Write` are for Azure Cosmos DB and Azure App Configuration, `Listen`, `Send` and `Manage` are for Azure Event Hub and Azure Service Bus.", + "targetService": { + "type": "string", + "description": "The target service provider name and resource name." + }, + "clientType": { + "$ref": "#/definitions/ClientType", + "description": "The client type for configuration names." + }, + "authType": { + "$ref": "#/definitions/AuthType", + "description": "The auth type." + }, + "secretType": { + "$ref": "#/definitions/SecretSourceType", + "description": "Indicates where the secrets in configuration from. Used when secrets are from Keyvault." + }, + "daprProperties": { + "$ref": "#/definitions/DaprProperties", + "description": "Deprecated, please use #/definitions/DaprConfigurationList instead" + }, + "names": { "type": "array", + "description": "The configuration names to be set in compute service environment.", "items": { - "type": "string", - "enum": [ - "Read", - "Write", - "Listen", - "Send", - "Manage" - ], - "x-ms-enum": { - "name": "accessKeyPermissions", - "modelAsString": true - } - } + "$ref": "#/definitions/ConfigurationName" + }, + "x-ms-identifiers": [] } } }, - "DatabaseAadAuthInfo": { - "description": "The extra auth info required by Database AAD authentication.", + "ConfigurationResult": { "type": "object", + "description": "Configurations for source resource, include appSettings, connectionString and serviceBindings", "properties": { - "userName": { - "x-nullable": true, - "description": "Username created in the database which is mapped to a user in AAD.", - "type": "string" + "configurations": { + "type": "array", + "description": "The configuration properties for source resource.", + "items": { + "$ref": "#/definitions/SourceConfiguration" + }, + "x-ms-identifiers": [ + "name" + ] } } }, - "SecretAuthInfo": { - "x-ms-discriminator-value": "secret", + "ConfigurationStore": { "type": "object", - "description": "The authentication info when authType is secret", - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - } - ], + "description": "An option to store configuration into different place", "properties": { - "name": { - "x-nullable": true, - "description": "Username or account name for secret auth.", - "type": "string" - }, - "secretInfo": { - "x-nullable": true, - "description": "Password or key vault secret for secret auth.", - "$ref": "#/definitions/SecretInfoBase" + "appConfigurationId": { + "type": "string", + "description": "The app configuration id to store configuration" } } }, - "UserAssignedIdentityAuthInfo": { - "x-ms-discriminator-value": "userAssignedIdentity", + "ConfluentBootstrapServer": { "type": "object", - "description": "The authentication info when authType is userAssignedIdentity", - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - }, - { - "$ref": "#/definitions/DatabaseAadAuthInfo" - } - ], + "description": "The service properties when target service type is ConfluentBootstrapServer", "properties": { - "clientId": { - "description": "Client Id for userAssignedIdentity.", - "type": "string" - }, - "subscriptionId": { - "description": "Subscription id for userAssignedIdentity.", - "type": "string" - }, - "deleteOrUpdateBehavior": { - "description": "Indicates whether to clean up previous operation when Linker is updating or deleting", - "$ref": "#/definitions/DeleteOrUpdateBehavior" - }, - "roles": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Optional, this value specifies the Azure role to be assigned" + "endpoint": { + "type": "string", + "description": "The endpoint of service." } - } - }, - "SystemAssignedIdentityAuthInfo": { - "x-ms-discriminator-value": "systemAssignedIdentity", - "type": "object", - "description": "The authentication info when authType is systemAssignedIdentity", + }, "allOf": [ { - "$ref": "#/definitions/AuthInfoBase" - }, - { - "$ref": "#/definitions/DatabaseAadAuthInfo" + "$ref": "#/definitions/TargetServiceBase" } ], - "properties": { - "deleteOrUpdateBehavior": { - "description": "Indicates whether to clean up previous operation when Linker is updating or deleting", - "$ref": "#/definitions/DeleteOrUpdateBehavior" - }, - "roles": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Optional, this value specifies the Azure role to be assigned" - } - } + "x-ms-discriminator-value": "ConfluentBootstrapServer" }, - "ServicePrincipalSecretAuthInfo": { - "x-ms-discriminator-value": "servicePrincipalSecret", + "ConfluentSchemaRegistry": { "type": "object", - "description": "The authentication info when authType is servicePrincipal secret", + "description": "The service properties when target service type is ConfluentSchemaRegistry", + "properties": { + "endpoint": { + "type": "string", + "description": "The endpoint of service." + } + }, "allOf": [ { - "$ref": "#/definitions/AuthInfoBase" - }, - { - "$ref": "#/definitions/DatabaseAadAuthInfo" + "$ref": "#/definitions/TargetServiceBase" } ], + "x-ms-discriminator-value": "ConfluentSchemaRegistry" + }, + "CreateOrUpdateDryrunParameters": { + "type": "object", + "description": "The dryrun parameters for creation or update a linker", "properties": { - "clientId": { - "description": "ServicePrincipal application clientId for servicePrincipal auth.", - "type": "string" + "targetService": { + "$ref": "#/definitions/TargetServiceBase", + "description": "The target service properties" }, - "principalId": { - "description": "Principal Id for servicePrincipal auth.", - "type": "string" + "authInfo": { + "$ref": "#/definitions/AuthInfoBase", + "description": "The authentication type." }, - "secret": { - "description": "Secret for servicePrincipal auth.", + "clientType": { + "$ref": "#/definitions/ClientType", + "description": "The application client type" + }, + "provisioningState": { "type": "string", - "x-ms-secret": true + "description": "The provisioning state.", + "readOnly": true }, - "deleteOrUpdateBehavior": { - "description": "Indicates whether to clean up previous operation when Linker is updating or deleting", - "$ref": "#/definitions/DeleteOrUpdateBehavior" + "vNetSolution": { + "$ref": "#/definitions/VNetSolution", + "description": "The VNet solution." }, - "roles": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Optional, this value specifies the Azure roles to be assigned. Automatically " + "secretStore": { + "$ref": "#/definitions/SecretStore", + "description": "An option to store secret value in secure place" + }, + "scope": { + "type": "string", + "description": "connection scope in source service." + }, + "publicNetworkSolution": { + "$ref": "#/definitions/PublicNetworkSolution", + "description": "The network solution." + }, + "configurationInfo": { + "$ref": "#/definitions/ConfigurationInfo", + "description": "The connection information consumed by applications, including secrets, connection strings." } }, - "required": [ - "clientId", - "principalId", - "secret" - ] - }, - "ServicePrincipalCertificateAuthInfo": { - "x-ms-discriminator-value": "servicePrincipalCertificate", - "type": "object", - "description": "The authentication info when authType is servicePrincipal certificate", "allOf": [ { - "$ref": "#/definitions/AuthInfoBase" + "$ref": "#/definitions/DryrunParameters" } ], - "properties": { - "clientId": { - "description": "Application clientId for servicePrincipal auth.", - "type": "string" - }, - "principalId": { - "description": "Principal Id for servicePrincipal auth.", - "type": "string" - }, - "certificate": { - "description": "ServicePrincipal certificate for servicePrincipal auth.", - "type": "string", - "x-ms-secret": true - }, - "deleteOrUpdateBehavior": { - "description": "Indicates whether to clean up previous operation when Linker is updating or deleting", - "$ref": "#/definitions/DeleteOrUpdateBehavior" - }, - "roles": { - "type": "array", - "items": { - "type": "string" + "x-ms-discriminator-value": "createOrUpdate" + }, + "DaprBindingComponentDirection": { + "type": "string", + "description": "The direction supported by the dapr binding component", + "enum": [ + "input", + "output" + ], + "x-ms-enum": { + "name": "DaprBindingComponentDirection", + "modelAsString": true, + "values": [ + { + "name": "input", + "value": "input" }, - "description": "Optional, this value specifies the Azure roles to be assigned. Automatically " - } - }, - "required": [ - "clientId", - "principalId", - "certificate" - ] + { + "name": "output", + "value": "output" + } + ] + } }, - "UserAccountAuthInfo": { - "x-ms-discriminator-value": "userAccount", + "DaprConfigurationList": { "type": "object", - "description": "The authentication info when authType is user account", - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - }, - { - "$ref": "#/definitions/DatabaseAadAuthInfo" - } - ], + "description": "Dapr configuration list supported by Service Connector", "properties": { - "principalId": { - "description": "Principal Id for user account.", - "type": "string" - }, - "deleteOrUpdateBehavior": { - "description": "Indicates whether to clean up previous operation when Linker is updating or deleting", - "$ref": "#/definitions/DeleteOrUpdateBehavior" - }, - "roles": { + "value": { "type": "array", + "description": "The DaprConfigurationResource items on this page", "items": { - "type": "string" + "$ref": "#/definitions/DaprConfigurationResource" }, - "description": "Optional, this value specifies the Azure roles to be assigned. Automatically " + "x-ms-identifiers": [] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, - "EasyAuthMicrosoftEntraIDAuthInfo": { - "x-ms-discriminator-value": "easyAuthMicrosoftEntraID", + "DaprConfigurationProperties": { "type": "object", - "description": "The authentication info when authType is EasyAuth Microsoft Entra ID", - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - } - ], "properties": { - "clientId": { - "description": "Application clientId for EasyAuth Microsoft Entra ID.", - "type": "string" - }, - "secret": { - "description": "Application Secret for EasyAuth Microsoft Entra ID.", + "targetType": { "type": "string", - "x-ms-secret": true + "description": "Supported target resource type, extract from resource id, uppercase" }, - "deleteOrUpdateBehavior": { - "description": "Indicates whether to clean up previous operation when Linker is updating or deleting", - "$ref": "#/definitions/DeleteOrUpdateBehavior" + "authType": { + "$ref": "#/definitions/AuthType", + "description": "The authentication type." + }, + "daprProperties": { + "$ref": "#/definitions/DaprProperties", + "description": "Indicates some additional properties for dapr client type" } } }, - "LinkerResource": { + "DaprConfigurationResource": { "type": "object", - "description": "Linker of source and target resource", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource", - "description": "The resource model definition for an Azure Resource Manager proxy resource." - } - ], - "required": [ - "properties" - ], + "description": "Represent one resource of the dapr configuration list", "properties": { "properties": { - "description": "The properties of the Linker.", - "$ref": "#/definitions/LinkerProperties", + "$ref": "#/definitions/DaprConfigurationProperties", + "description": "The properties of the dapr configuration.", "x-ms-client-flatten": true - }, - "systemData": { - "x-nullable": true, - "readOnly": true, - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", - "description": "The system data." } } }, - "LinkerPatch": { - "description": "A Linker to be updated.", + "DaprMetadata": { "type": "object", + "description": "The dapr component metadata.", "properties": { - "properties": { - "description": "Linker properties", - "type": "object", - "x-ms-client-flatten": true, - "$ref": "#/definitions/LinkerProperties" + "name": { + "type": "string", + "description": "Metadata property name." + }, + "value": { + "type": "string", + "description": "Metadata property value." + }, + "secretRef": { + "type": "string", + "description": "The secret name where dapr could get value" + }, + "description": { + "type": "string", + "description": "The description of the metadata, returned from configuration api" + }, + "required": { + "$ref": "#/definitions/DaprMetadataRequired", + "description": "The value indicating whether the metadata is required or not" } } }, - "ResourceList": { - "description": "The list of Linker.", - "type": "object", - "properties": { - "nextLink": { - "x-nullable": true, - "description": "The Linker used to get the next page of Linker list.", - "type": "string" - }, - "value": { - "description": "The list of Linkers.", - "type": "array", - "items": { - "$ref": "#/definitions/LinkerResource" + "DaprMetadataRequired": { + "type": "string", + "description": "The value indicating whether the metadata is required or not", + "enum": [ + "true", + "false" + ], + "x-ms-enum": { + "name": "DaprMetadataRequired", + "modelAsString": true, + "values": [ + { + "name": "true", + "value": "true" + }, + { + "name": "false", + "value": "false" } - } + ] } }, - "LinkerProperties": { - "description": "The properties of the Linker.", + "DaprProperties": { "type": "object", + "description": "Indicates some additional properties for dapr client type", "properties": { - "targetService": { - "$ref": "#/definitions/TargetServiceBase", - "description": "The target service properties" - }, - "authInfo": { - "description": "The authentication type.", - "$ref": "#/definitions/AuthInfoBase" + "version": { + "type": "string", + "description": "The dapr component version" }, - "clientType": { - "description": "The application client type", - "$ref": "#/definitions/ClientType" + "componentType": { + "type": "string", + "description": "The dapr component type" }, - "provisioningState": { - "readOnly": true, + "secretStoreComponent": { "type": "string", - "description": "The provisioning state. " + "description": "The name of a secret store dapr to retrieve secret" }, - "vNetSolution": { - "x-nullable": true, - "description": "The VNet solution.", - "$ref": "#/definitions/VNetSolution" + "metadata": { + "type": "array", + "description": "Additional dapr metadata", + "items": { + "$ref": "#/definitions/DaprMetadata" + }, + "x-ms-identifiers": [ + "name" + ] }, - "secretStore": { - "x-nullable": true, - "description": "An option to store secret value in secure place", - "$ref": "#/definitions/SecretStore" + "scopes": { + "type": "array", + "description": "The dapr component scopes", + "items": { + "type": "string" + } }, - "scope": { - "x-nullable": true, + "runtimeVersion": { "type": "string", - "description": "connection scope in source service." - }, - "publicNetworkSolution": { - "x-nullable": true, - "description": "The network solution.", - "$ref": "#/definitions/PublicNetworkSolution" + "description": "The runtime version supported by the properties", + "readOnly": true }, - "configurationInfo": { - "x-nullable": true, - "description": "The connection information consumed by applications, including secrets, connection strings.", - "$ref": "#/definitions/ConfigurationInfo" + "bindingComponentDirection": { + "$ref": "#/definitions/DaprBindingComponentDirection", + "description": "The direction supported by the dapr binding component", + "readOnly": true } } }, - "LinkerConfigurationType": { - "description": "Type of configuration to determine whether the configuration can be modified after creation. KeyvaultSecret means the configuration references a key vault secret, such as App Service/ACA key vault reference. Default means the configuration is real value, such as user name, raw secret, etc.", + "DeleteOrUpdateBehavior": { "type": "string", + "description": "The cleanup behavior to indicate whether clean up operation when resource is deleted or updated", "enum": [ "Default", - "KeyVaultSecret" + "ForcedCleanup" ], "x-ms-enum": { - "name": "LinkerConfigurationType", - "modelAsString": true + "name": "DeleteOrUpdateBehavior", + "modelAsString": true, + "values": [ + { + "name": "Default", + "value": "Default" + }, + { + "name": "ForcedCleanup", + "value": "ForcedCleanup" + } + ] } }, - "SourceConfiguration": { - "description": "A configuration item for source resource", + "DryrunActionName": { + "type": "string", + "description": "The name of action for you dryrun job.", + "enum": [ + "createOrUpdate" + ], + "x-ms-enum": { + "name": "DryrunActionName", + "modelAsString": true, + "values": [ + { + "name": "createOrUpdate", + "value": "createOrUpdate" + } + ] + } + }, + "DryrunList": { "type": "object", + "description": "The list of dryrun.", "properties": { - "name": { - "description": "The name of setting.", - "type": "string" - }, "value": { - "x-nullable": true, - "description": "The value of setting", - "type": "string" - }, - "configType": { - "description": "The type of setting", - "readOnly": true, - "$ref": "#/definitions/LinkerConfigurationType" - }, - "keyVaultReferenceIdentity": { - "x-nullable": true, - "description": "The identity for key vault reference, system or user-assigned managed identity ID", - "type": "string" + "type": "array", + "description": "The DryrunResource items on this page", + "items": { + "$ref": "#/definitions/DryrunResource" + } }, - "description": { - "x-nullable": true, - "description": "Descriptive information for the configuration", - "type": "string" + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, - "ConfigurationNameItem": { + "DryrunOperationPreview": { "type": "object", + "description": "The preview of the operations for creation", "properties": { - "properties": { - "x-nullable": true, - "description": "The result detail.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/ConfigurationNames" - } - } - }, - "ConfigurationNames": { - "type": "object", - "description": "The configuration names which will be set based on specific target resource, client type, auth type.", - "properties": { - "targetService": { + "name": { "type": "string", - "description": "The target service provider name and resource name." - }, - "clientType": { - "$ref": "#/definitions/ClientType", - "description": "The client type for configuration names." + "description": "The operation name" }, - "authType": { - "$ref": "#/definitions/AuthType", - "description": "The auth type." + "operationType": { + "$ref": "#/definitions/DryrunPreviewOperationType", + "description": "The operation type" }, - "secretType": { - "$ref": "#/definitions/SecretSourceType", - "description": "Indicates where the secrets in configuration from. Used when secrets are from Keyvault." + "description": { + "type": "string", + "description": "The description of the operation" }, - "daprProperties": { - "description": "Deprecated, please use #/definitions/DaprConfigurationList instead", - "$ref": "#/definitions/DaprProperties" + "action": { + "type": "string", + "description": "The action defined by RBAC, refer https://docs.microsoft.com/azure/role-based-access-control/role-definitions#actions-format" }, - "names": { - "type": "array", - "description": "The configuration names to be set in compute service environment.", - "items": { - "$ref": "#/definitions/ConfigurationName" - } + "scope": { + "type": "string", + "description": "The scope of the operation, refer https://docs.microsoft.com/azure/role-based-access-control/scope-overview" } } }, - "ConfigurationName": { + "DryrunParameters": { "type": "object", - "description": "The configuration names.", + "description": "The parameters of the dryrun", "properties": { - "value": { - "type": "string" - }, - "description": { - "type": "string", - "description": "Description for the configuration name." - }, - "required": { - "type": "boolean", - "description": "Represent the configuration is required or not" + "actionName": { + "$ref": "#/definitions/DryrunActionName", + "description": "The name of action for you dryrun job." } - } + }, + "discriminator": "actionName", + "required": [ + "actionName" + ] }, - "ConfigurationNameResult": { - "description": "Configuration Name list which will be set based on different target resource, client type, auth type.", + "DryrunPatch": { "type": "object", + "description": "a dryrun job to be updated.", "properties": { - "value": { - "description": "Expected configuration names for each target service.", - "type": "array", - "items": { - "$ref": "#/definitions/ConfigurationNameItem" - }, - "x-ms-identifiers": [] - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true + "properties": { + "$ref": "#/definitions/DryrunProperties", + "description": "The properties of the dryrun job.", + "x-ms-client-flatten": true } } }, - "ConfigurationResult": { - "description": "Configurations for source resource, include appSettings, connectionString and serviceBindings", + "DryrunPrerequisiteResult": { "type": "object", + "description": "A result of dryrun", "properties": { - "configurations": { - "description": "The configuration properties for source resource.", - "type": "array", - "items": { - "$ref": "#/definitions/SourceConfiguration" - }, - "x-ms-identifiers": [ - "name" - ] + "type": { + "$ref": "#/definitions/DryrunPrerequisiteResultType", + "description": "The type of dryrun result." } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "DryrunPrerequisiteResultType": { + "type": "string", + "description": "The type of dryrun result.", + "enum": [ + "basicError", + "permissionsMissing" + ], + "x-ms-enum": { + "name": "DryrunPrerequisiteResultType", + "modelAsString": true, + "values": [ + { + "name": "basicError", + "value": "basicError" + }, + { + "name": "permissionsMissing", + "value": "permissionsMissing" + } + ] } }, - "ValidateOperationResult": { - "description": "The validation operation result for a Linker.", - "type": "object", - "properties": { - "properties": { - "x-nullable": true, - "description": "The validation result detail.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/ValidateResult" - }, - "resourceId": { - "x-nullable": true, - "description": "Validated Linker id.", - "type": "string" - }, - "status": { - "x-nullable": true, - "description": "Validation operation status.", - "type": "string" - } + "DryrunPreviewOperationType": { + "type": "string", + "description": "The operation type", + "enum": [ + "configConnection", + "configNetwork", + "configAuth" + ], + "x-ms-enum": { + "name": "DryrunPreviewOperationType", + "modelAsString": true, + "values": [ + { + "name": "configConnection", + "value": "configConnection" + }, + { + "name": "configNetwork", + "value": "configNetwork" + }, + { + "name": "configAuth", + "value": "configAuth" + } + ] } }, - "ValidateResult": { - "description": "The validation result for a Linker.", + "DryrunProperties": { "type": "object", + "description": "The properties of the dryrun job", "properties": { - "linkerName": { - "x-nullable": true, - "description": "The linker name.", - "type": "string" - }, - "isConnectionAvailable": { - "x-nullable": true, - "description": "A boolean value indicating whether the connection is available or not", - "type": "boolean" - }, - "reportStartTimeUtc": { - "x-nullable": true, - "type": "string", - "format": "date-time", - "description": "The start time of the validation report." - }, - "reportEndTimeUtc": { - "x-nullable": true, - "type": "string", - "format": "date-time", - "description": "The end time of the validation report." - }, - "sourceId": { - "x-nullable": true, - "description": "The resource id of the Linker source application.", - "type": "string" - }, - "targetId": { - "x-nullable": true, - "description": "The resource Id of target service.", - "type": "string" + "parameters": { + "$ref": "#/definitions/DryrunParameters", + "description": "The parameters of the dryrun" }, - "authType": { - "x-nullable": true, - "description": "The authentication type.", - "$ref": "#/definitions/AuthType" + "prerequisiteResults": { + "type": "array", + "description": "the result of the dryrun", + "items": { + "$ref": "#/definitions/DryrunPrerequisiteResult" + }, + "readOnly": true, + "x-ms-identifiers": [] }, - "validationDetail": { - "description": "The detail of validation result", + "operationPreviews": { "type": "array", + "description": "the preview of the operations for creation", "items": { - "$ref": "#/definitions/ValidationResultItem" + "$ref": "#/definitions/DryrunOperationPreview" }, - "x-ms-identifiers": [ - "name" - ] + "readOnly": true, + "x-ms-identifiers": [] + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state.", + "readOnly": true } } }, - "ValidationResultItem": { - "description": "The validation item for a Linker.", + "DryrunResource": { "type": "object", + "description": "a dryrun job resource", "properties": { - "name": { - "description": "The validation item name.", - "type": "string" - }, - "description": { - "x-nullable": true, - "description": "The display name of validation item", - "type": "string" - }, - "result": { - "x-nullable": true, - "description": "The result of validation", - "type": "string", - "enum": [ - "success", - "failure", - "warning" - ], - "x-ms-enum": { - "name": "ValidationResultStatus", - "modelAsString": true - } - }, - "errorMessage": { - "x-nullable": true, - "description": "The error message of validation result", - "type": "string" - }, - "errorCode": { - "x-nullable": true, - "description": "The error code of validation result", - "type": "string" + "properties": { + "$ref": "#/definitions/DryrunProperties", + "description": "The properties of the dryrun job.", + "x-ms-client-flatten": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, - "VNetSolution": { + "EasyAuthMicrosoftEntraIDAuthInfo": { "type": "object", - "description": "The VNet solution for linker", + "description": "The authentication info when authType is EasyAuth Microsoft Entra ID", "properties": { - "type": { - "x-nullable": true, - "description": "Type of VNet solution.", + "clientId": { "type": "string", - "enum": [ - "serviceEndpoint", - "privateLink" - ], - "x-ms-enum": { - "name": "vNetSolutionType", - "modelAsString": true - } + "description": "Application clientId for EasyAuth Microsoft Entra ID." + }, + "secret": { + "type": "string", + "description": "Application Secret for EasyAuth Microsoft Entra ID." }, "deleteOrUpdateBehavior": { - "description": "Indicates whether to clean up previous operation when Linker is updating or deleting", - "$ref": "#/definitions/DeleteOrUpdateBehavior" + "$ref": "#/definitions/DeleteOrUpdateBehavior", + "description": "Indicates whether to clean up previous operation when Linker is updating or deleting" } - } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "easyAuthMicrosoftEntraID" }, - "PublicNetworkSolution": { + "FabricPlatform": { "type": "object", - "description": "Indicates public network solution, include firewall rules", + "description": "The service properties when target service type is FabricPlatform", "properties": { - "deleteOrUpdateBehavior": { - "description": "Indicates whether to clean up previous operation(such as firewall rules) when Linker is updating or deleting", - "$ref": "#/definitions/DeleteOrUpdateBehavior" - }, - "action": { - "description": "Optional. Indicates public network solution. If enable, enable public network access of target service with best try. Default is enable. If optOut, opt out public network access configuration.", - "$ref": "#/definitions/ActionType" - }, - "firewallRules": { - "description": "Describe firewall rules of target service to make sure source application could connect to the target.", - "$ref": "#/definitions/FirewallRules" + "endpoint": { + "type": "string", + "description": "The endpoint of service." } - } + }, + "allOf": [ + { + "$ref": "#/definitions/TargetServiceBase" + } + ], + "x-ms-discriminator-value": "FabricPlatform" }, "FirewallRules": { "type": "object", @@ -2405,533 +2886,756 @@ "properties": { "ipRanges": { "type": "array", + "description": "This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account.", "items": { "type": "string" - }, - "description": "This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account." + } }, "azureServices": { - "description": "Allow Azure services to access the target service if true.", - "$ref": "#/definitions/AllowType" + "$ref": "#/definitions/AllowType", + "description": "Allow Azure services to access the target service if true." }, "callerClientIP": { - "description": "Allow caller client IP to access the target service if true. the property is used when connecting local application to target service.", - "$ref": "#/definitions/AllowType" + "$ref": "#/definitions/AllowType", + "description": "Allow caller client IP to access the target service if true. the property is used when connecting local application to target service." } } }, - "ConfigurationInfo": { + "KeyVaultSecretReferenceSecretInfo": { "type": "object", - "description": "The configuration information, used to generate configurations or save to applications", + "description": "The secret info when type is keyVaultSecretReference. It's for scenario that user provides a secret stored in user's keyvault and source is Azure Kubernetes. The key Vault's resource id is linked to secretStore.keyVaultId.", "properties": { - "deleteOrUpdateBehavior": { - "description": "Indicates whether to clean up previous operation when Linker is updating or deleting", - "$ref": "#/definitions/DeleteOrUpdateBehavior" - }, - "action": { - "description": "Optional, indicate whether to apply configurations on source application. If enable, generate configurations and applied to the source application. Default is enable. If optOut, no configuration change will be made on source.", - "$ref": "#/definitions/ActionType" + "name": { + "type": "string", + "description": "Name of the Key Vault secret." }, - "customizedKeys": { - "description": "Optional. A dictionary of default key name and customized key name mapping. If not specified, default key name will be used for generate configurations", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "daprProperties": { - "description": "Indicates some additional properties for dapr client type", - "$ref": "#/definitions/DaprProperties" - }, - "additionalConfigurations": { - "description": "A dictionary of additional configurations to be added. Service will auto generate a set of basic configurations and this property is to full fill more customized configurations", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "additionalConnectionStringProperties": { - "description": "A dictionary of additional properties to be added in the end of connection string.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "configurationStore": { - "x-nullable": true, - "description": "An option to store configuration into different place", - "$ref": "#/definitions/ConfigurationStore" + "version": { + "type": "string", + "description": "Version of the Key Vault secret." } - } + }, + "allOf": [ + { + "$ref": "#/definitions/SecretInfoBase" + } + ], + "x-ms-discriminator-value": "keyVaultSecretReference" }, - "ConfigurationStore": { + "KeyVaultSecretUriSecretInfo": { "type": "object", - "description": "An option to store configuration into different place", + "description": "The secret info when type is keyVaultSecretUri. It's for scenario that user provides a secret stored in user's keyvault and source is Web App, Spring Cloud or Container App.", "properties": { - "appConfigurationId": { - "x-nullable": true, + "value": { "type": "string", - "description": "The app configuration id to store configuration" + "description": "URI to the keyvault secret" } + }, + "allOf": [ + { + "$ref": "#/definitions/SecretInfoBase" + } + ], + "x-ms-discriminator-value": "keyVaultSecretUri" + }, + "LinkerConfigurationType": { + "type": "string", + "description": "Type of configuration to determine whether the configuration can be modified after creation. KeyvaultSecret means the configuration references a key vault secret, such as App Service/ACA key vault reference. Default means the configuration is real value, such as user name, raw secret, etc.", + "enum": [ + "Default", + "KeyVaultSecret" + ], + "x-ms-enum": { + "name": "LinkerConfigurationType", + "modelAsString": true, + "values": [ + { + "name": "Default", + "value": "Default" + }, + { + "name": "KeyVaultSecret", + "value": "KeyVaultSecret" + } + ] } }, - "DaprProperties": { + "LinkerPatch": { "type": "object", - "description": "Indicates some additional properties for dapr client type", + "description": "A Linker to be updated.", "properties": { - "version": { - "x-nullable": true, - "type": "string", - "description": "The dapr component version" + "properties": { + "$ref": "#/definitions/LinkerProperties", + "description": "Linker properties", + "x-ms-client-flatten": true + } + } + }, + "LinkerProperties": { + "type": "object", + "description": "The properties of the Linker.", + "properties": { + "targetService": { + "$ref": "#/definitions/TargetServiceBase", + "description": "The target service properties" }, - "componentType": { - "x-nullable": true, - "type": "string", - "description": "The dapr component type" + "authInfo": { + "$ref": "#/definitions/AuthInfoBase", + "description": "The authentication type." }, - "secretStoreComponent": { - "x-nullable": true, + "clientType": { + "$ref": "#/definitions/ClientType", + "description": "The application client type" + }, + "provisioningState": { "type": "string", - "description": "The name of a secret store dapr to retrieve secret" + "description": "The provisioning state.", + "readOnly": true }, - "metadata": { - "description": "Additional dapr metadata", - "type": "array", - "items": { - "$ref": "#/definitions/DaprMetadata" - }, - "x-ms-identifiers": [ - "name" - ] + "vNetSolution": { + "$ref": "#/definitions/VNetSolution", + "description": "The VNet solution." }, - "scopes": { - "description": "The dapr component scopes", - "type": "array", - "items": { - "type": "string" - } + "secretStore": { + "$ref": "#/definitions/SecretStore", + "description": "An option to store secret value in secure place" }, - "runtimeVersion": { - "x-nullable": true, + "scope": { "type": "string", - "readOnly": true, - "description": "The runtime version supported by the properties" + "description": "connection scope in source service." }, - "bindingComponentDirection": { - "x-nullable": true, - "type": "string", - "enum": [ - "input", - "output" - ], - "x-ms-enum": { - "name": "DaprBindingComponentDirection", - "modelAsString": true - }, - "readOnly": true, - "description": "The direction supported by the dapr binding component" + "publicNetworkSolution": { + "$ref": "#/definitions/PublicNetworkSolution", + "description": "The network solution." + }, + "configurationInfo": { + "$ref": "#/definitions/ConfigurationInfo", + "description": "The connection information consumed by applications, including secrets, connection strings." } } }, - "DaprMetadata": { - "description": "The dapr component metadata.", + "LinkerResource": { "type": "object", + "description": "Linker of source and target resource", "properties": { - "name": { - "description": "Metadata property name.", - "type": "string" - }, - "value": { - "description": "Metadata property value.", - "type": "string" - }, - "secretRef": { - "description": "The secret name where dapr could get value", - "type": "string" + "properties": { + "$ref": "#/definitions/LinkerProperties", + "description": "The properties of the Linker.", + "x-ms-client-flatten": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "PermissionsMissingDryrunPrerequisiteResult": { + "type": "object", + "description": "The represent of missing permissions", + "properties": { + "scope": { + "type": "string", + "description": "The permission scope" }, - "description": { - "description": "The description of the metadata, returned from configuration api", - "type": "string" + "permissions": { + "type": "array", + "description": "The permission list", + "items": { + "type": "string" + } }, - "required": { - "description": "The value indicating whether the metadata is required or not", + "recommendedRole": { "type": "string", - "enum": [ - "true", - "false" - ], - "x-ms-enum": { - "name": "DaprMetadataRequired", - "modelAsString": true - } + "description": "The recommended role to resolve permissions missing" } - } + }, + "allOf": [ + { + "$ref": "#/definitions/DryrunPrerequisiteResult" + } + ], + "x-ms-discriminator-value": "permissionsMissing" }, - "SecretStore": { + "PublicNetworkSolution": { "type": "object", - "description": "An option to store secret value in secure place", + "description": "Indicates public network solution, include firewall rules", "properties": { - "keyVaultId": { - "x-nullable": true, - "type": "string", - "description": "The key vault id to store secret" + "deleteOrUpdateBehavior": { + "$ref": "#/definitions/DeleteOrUpdateBehavior", + "description": "Indicates whether to clean up previous operation(such as firewall rules) when Linker is updating or deleting" }, - "keyVaultSecretName": { - "x-nullable": true, - "type": "string", - "description": "The key vault secret name to store secret, only valid when storing one secret" + "action": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ActionType", + "description": "Optional. Indicates public network solution. If enable, enable public network access of target service with best try. Default is enable. If optOut, opt out public network access configuration." + }, + "firewallRules": { + "$ref": "#/definitions/FirewallRules", + "description": "Describe firewall rules of target service to make sure source application could connect to the target." } } }, - "DryrunList": { - "description": "The list of dryrun.", + "ResourceList": { "type": "object", + "description": "The list of Linker.", "properties": { - "nextLink": { - "x-nullable": true, - "description": "The link used to get the next page of dryrun list.", - "type": "string" - }, "value": { - "description": "The list of dryrun.", "type": "array", + "description": "The LinkerResource items on this page", "items": { - "$ref": "#/definitions/DryrunResource" + "$ref": "#/definitions/LinkerResource" } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, - "DryrunResource": { + "SecretAuthInfo": { "type": "object", - "description": "a dryrun job resource", + "description": "The authentication info when authType is secret", + "properties": { + "name": { + "type": "string", + "description": "Username or account name for secret auth." + }, + "secretInfo": { + "$ref": "#/definitions/SecretInfoBase", + "description": "Password or key vault secret for secret auth." + } + }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource", - "description": "The resource model definition for an Azure Resource Manager proxy resource." + "$ref": "#/definitions/AuthInfoBase" } ], - "properties": { - "properties": { - "description": "The properties of the dryrun job.", - "$ref": "#/definitions/DryrunProperties", - "x-ms-client-flatten": true - } - } + "x-ms-discriminator-value": "secret" }, - "DryrunPatch": { + "SecretInfoBase": { "type": "object", - "description": "a dryrun job to be updated.", + "description": "The secret info", "properties": { - "properties": { - "description": "The properties of the dryrun job.", - "$ref": "#/definitions/DryrunProperties", - "x-ms-client-flatten": true + "secretType": { + "$ref": "#/definitions/SecretType", + "description": "The secret type." } + }, + "discriminator": "secretType", + "required": [ + "secretType" + ] + }, + "SecretSourceType": { + "type": "string", + "description": "The type of secret source.", + "enum": [ + "rawValue", + "keyVaultSecret" + ], + "x-ms-enum": { + "name": "SecretSourceType", + "modelAsString": true, + "values": [ + { + "name": "rawValue", + "value": "rawValue" + }, + { + "name": "keyVaultSecret", + "value": "keyVaultSecret" + } + ] } }, - "DryrunProperties": { - "description": "The properties of the dryrun job", + "SecretStore": { "type": "object", + "description": "An option to store secret value in secure place", "properties": { - "parameters": { - "description": "The parameters of the dryrun", - "$ref": "#/definitions/DryrunParameters" - }, - "prerequisiteResults": { - "readOnly": true, - "description": "the result of the dryrun", - "type": "array", - "items": { - "$ref": "#/definitions/DryrunPrerequisiteResult" - }, - "x-ms-identifiers": [] - }, - "operationPreviews": { - "readOnly": true, - "description": "the preview of the operations for creation", - "type": "array", - "items": { - "$ref": "#/definitions/DryrunOperationPreview" - }, - "x-ms-identifiers": [] + "keyVaultId": { + "type": "string", + "description": "The key vault id to store secret" }, - "provisioningState": { - "readOnly": true, + "keyVaultSecretName": { "type": "string", - "description": "The provisioning state. " + "description": "The key vault secret name to store secret, only valid when storing one secret" } } }, - "DryrunActionName": { - "description": "The name of action for you dryrun job.", + "SecretType": { "type": "string", + "description": "The secret type.", "enum": [ - "createOrUpdate" + "rawValue", + "keyVaultSecretUri", + "keyVaultSecretReference" ], "x-ms-enum": { - "name": "DryrunActionName", - "modelAsString": true + "name": "SecretType", + "modelAsString": true, + "values": [ + { + "name": "rawValue", + "value": "rawValue" + }, + { + "name": "keyVaultSecretUri", + "value": "keyVaultSecretUri" + }, + { + "name": "keyVaultSecretReference", + "value": "keyVaultSecretReference" + } + ] } }, - "DryrunParameters": { - "description": "The parameters of the dryrun", - "discriminator": "actionName", + "SelfHostedServer": { "type": "object", + "description": "The service properties when target service type is SelfHostedServer", "properties": { - "actionName": { - "$ref": "#/definitions/DryrunActionName" + "endpoint": { + "type": "string", + "description": "The endpoint of service." } }, - "required": [ - "actionName" - ] + "allOf": [ + { + "$ref": "#/definitions/TargetServiceBase" + } + ], + "x-ms-discriminator-value": "SelfHostedServer" }, - "CreateOrUpdateDryrunParameters": { - "x-ms-discriminator-value": "createOrUpdate", + "ServicePrincipalCertificateAuthInfo": { "type": "object", - "description": "The dryrun parameters for creation or update a linker", + "description": "The authentication info when authType is servicePrincipal certificate", + "properties": { + "clientId": { + "type": "string", + "description": "Application clientId for servicePrincipal auth." + }, + "principalId": { + "type": "string", + "description": "Principal Id for servicePrincipal auth." + }, + "certificate": { + "type": "string", + "description": "ServicePrincipal certificate for servicePrincipal auth." + }, + "deleteOrUpdateBehavior": { + "$ref": "#/definitions/DeleteOrUpdateBehavior", + "description": "Indicates whether to clean up previous operation when Linker is updating or deleting" + }, + "roles": { + "type": "array", + "description": "Optional, this value specifies the Azure roles to be assigned. Automatically", + "items": { + "type": "string" + } + } + }, + "required": [ + "clientId", + "principalId", + "certificate" + ], "allOf": [ { - "$ref": "#/definitions/DryrunParameters" + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "servicePrincipalCertificate" + }, + "ServicePrincipalSecretAuthInfo": { + "type": "object", + "description": "The authentication info when authType is servicePrincipal secret", + "properties": { + "userName": { + "type": "string", + "description": "Username created in the database which is mapped to a user in AAD." + }, + "clientId": { + "type": "string", + "description": "ServicePrincipal application clientId for servicePrincipal auth." + }, + "principalId": { + "type": "string", + "description": "Principal Id for servicePrincipal auth." + }, + "secret": { + "type": "string", + "description": "Secret for servicePrincipal auth." }, + "deleteOrUpdateBehavior": { + "$ref": "#/definitions/DeleteOrUpdateBehavior", + "description": "Indicates whether to clean up previous operation when Linker is updating or deleting" + }, + "roles": { + "type": "array", + "description": "Optional, this value specifies the Azure roles to be assigned. Automatically", + "items": { + "type": "string" + } + } + }, + "required": [ + "clientId", + "principalId", + "secret" + ], + "allOf": [ { - "$ref": "#/definitions/LinkerProperties" + "$ref": "#/definitions/AuthInfoBase" } - ] + ], + "x-ms-discriminator-value": "servicePrincipalSecret" }, - "DryrunPrerequisiteResultType": { - "description": "The type of dryrun result.", - "type": "string", - "enum": [ - "basicError", - "permissionsMissing" + "SourceConfiguration": { + "type": "object", + "description": "A configuration item for source resource", + "properties": { + "name": { + "type": "string", + "description": "The name of setting." + }, + "value": { + "type": "string", + "description": "The value of setting" + }, + "configType": { + "$ref": "#/definitions/LinkerConfigurationType", + "description": "The type of setting", + "readOnly": true + }, + "keyVaultReferenceIdentity": { + "type": "string", + "description": "The identity for key vault reference, system or user-assigned managed identity ID" + }, + "description": { + "type": "string", + "description": "Descriptive information for the configuration" + } + } + }, + "SystemAssignedIdentityAuthInfo": { + "type": "object", + "description": "The authentication info when authType is systemAssignedIdentity", + "properties": { + "userName": { + "type": "string", + "description": "Username created in the database which is mapped to a user in AAD." + }, + "deleteOrUpdateBehavior": { + "$ref": "#/definitions/DeleteOrUpdateBehavior", + "description": "Indicates whether to clean up previous operation when Linker is updating or deleting" + }, + "roles": { + "type": "array", + "description": "Optional, this value specifies the Azure role to be assigned", + "items": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } ], - "x-ms-enum": { - "name": "DryrunPrerequisiteResultType", - "modelAsString": true - } + "x-ms-discriminator-value": "systemAssignedIdentity" }, - "DryrunPrerequisiteResult": { - "description": "A result of dryrun", - "discriminator": "type", + "TargetServiceBase": { "type": "object", + "description": "The target service properties", "properties": { "type": { - "$ref": "#/definitions/DryrunPrerequisiteResultType" + "$ref": "#/definitions/TargetServiceType", + "description": "The target service type." } }, + "discriminator": "type", "required": [ "type" ] }, - "BasicErrorDryrunPrerequisiteResult": { - "x-ms-discriminator-value": "basicError", - "description": "The represent of basic error", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DryrunPrerequisiteResult" - } + "TargetServiceType": { + "type": "string", + "description": "The target service type.", + "enum": [ + "AzureResource", + "ConfluentBootstrapServer", + "ConfluentSchemaRegistry", + "SelfHostedServer", + "FabricPlatform" ], + "x-ms-enum": { + "name": "TargetServiceType", + "modelAsString": true, + "values": [ + { + "name": "AzureResource", + "value": "AzureResource" + }, + { + "name": "ConfluentBootstrapServer", + "value": "ConfluentBootstrapServer" + }, + { + "name": "ConfluentSchemaRegistry", + "value": "ConfluentSchemaRegistry" + }, + { + "name": "SelfHostedServer", + "value": "SelfHostedServer" + }, + { + "name": "FabricPlatform", + "value": "FabricPlatform" + } + ] + } + }, + "UserAccountAuthInfo": { + "type": "object", + "description": "The authentication info when authType is user account", "properties": { - "code": { + "userName": { "type": "string", - "description": "The error code." + "description": "Username created in the database which is mapped to a user in AAD." }, - "message": { + "principalId": { "type": "string", - "description": "The error message." + "description": "Principal Id for user account." + }, + "deleteOrUpdateBehavior": { + "$ref": "#/definitions/DeleteOrUpdateBehavior", + "description": "Indicates whether to clean up previous operation when Linker is updating or deleting" + }, + "roles": { + "type": "array", + "description": "Optional, this value specifies the Azure roles to be assigned. Automatically", + "items": { + "type": "string" + } } - } - }, - "PermissionsMissingDryrunPrerequisiteResult": { - "x-ms-discriminator-value": "permissionsMissing", - "description": "The represent of missing permissions", - "type": "object", + }, "allOf": [ { - "$ref": "#/definitions/DryrunPrerequisiteResult" + "$ref": "#/definitions/AuthInfoBase" } ], + "x-ms-discriminator-value": "userAccount" + }, + "UserAssignedIdentityAuthInfo": { + "type": "object", + "description": "The authentication info when authType is userAssignedIdentity", "properties": { - "scope": { - "description": "The permission scope", - "type": "string" + "userName": { + "type": "string", + "description": "Username created in the database which is mapped to a user in AAD." }, - "permissions": { - "description": "The permission list", + "clientId": { + "type": "string", + "description": "Client Id for userAssignedIdentity." + }, + "subscriptionId": { + "type": "string", + "description": "Subscription id for userAssignedIdentity." + }, + "deleteOrUpdateBehavior": { + "$ref": "#/definitions/DeleteOrUpdateBehavior", + "description": "Indicates whether to clean up previous operation when Linker is updating or deleting" + }, + "roles": { "type": "array", + "description": "Optional, this value specifies the Azure role to be assigned", "items": { "type": "string" } - }, - "recommendedRole": { - "description": "The recommended role to resolve permissions missing", - "type": "string" } - } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "userAssignedIdentity" }, - "DryrunOperationPreview": { - "description": "The preview of the operations for creation", + "VNetSolution": { "type": "object", + "description": "The VNet solution for linker", "properties": { - "name": { - "description": "The operation name", - "type": "string" - }, - "operationType": { - "description": "The operation type", - "type": "string", - "enum": [ - "configConnection", - "configNetwork", - "configAuth" - ], - "x-ms-enum": { - "name": "DryrunPreviewOperationType", - "modelAsString": true - } - }, - "description": { - "description": "The description of the operation", - "type": "string" - }, - "action": { - "description": "The action defined by RBAC, refer https://docs.microsoft.com/azure/role-based-access-control/role-definitions#actions-format", - "type": "string" + "type": { + "$ref": "#/definitions/VNetSolutionType", + "description": "Type of VNet solution." }, - "scope": { - "description": "The scope of the operation, refer https://docs.microsoft.com/azure/role-based-access-control/scope-overview", - "type": "string" + "deleteOrUpdateBehavior": { + "$ref": "#/definitions/DeleteOrUpdateBehavior", + "description": "Indicates whether to clean up previous operation when Linker is updating or deleting" } } }, - "ActionType": { - "description": "Indicates how to apply the connector operations, such as opt out network configuration, opt in configuration.", - "type": "string", - "enum": [ - "enable", - "optOut" - ], - "x-ms-enum": { - "name": "actionType", - "modelAsString": true - } - }, - "AuthMode": { - "description": "Indicates how to apply the authentication configuration operations.", + "VNetSolutionType": { "type": "string", + "description": "Type of VNet solution.", "enum": [ - "optInAllAuth", - "optOutAllAuth" + "serviceEndpoint", + "privateLink" ], "x-ms-enum": { - "name": "authMode", + "name": "VNetSolutionType", "modelAsString": true, "values": [ { - "value": "optInAllAuth", - "description": "Default authentication configuration according to the authentication type." + "name": "serviceEndpoint", + "value": "serviceEndpoint" }, { - "value": "optOutAllAuth", - "description": "Skip all authentication configuration such as enabling managed identity and granting RBAC roles" + "name": "privateLink", + "value": "privateLink" } ] } }, - "AllowType": { - "description": "Whether to allow firewall rules.", - "type": "string", - "enum": [ - "true", - "false" - ], - "x-ms-enum": { - "name": "allowType", - "modelAsString": true - } - }, - "DaprConfigurationList": { - "description": "Dapr configuration list supported by Service Connector", + "ValidateOperationResult": { "type": "object", + "description": "The validation operation result for a Linker.", "properties": { - "value": { - "description": "The list of dapr configurations", - "type": "array", - "items": { - "$ref": "#/definitions/DaprConfigurationResource" - }, - "x-ms-identifiers": [] + "properties": { + "$ref": "#/definitions/ValidateResult", + "description": "The validation result detail.", + "x-ms-client-flatten": true }, - "nextLink": { - "description": "Link to next page of resources.", + "resourceId": { "type": "string", - "readOnly": true + "description": "Validated Linker id." + }, + "status": { + "type": "string", + "description": "Validation operation status." } } }, - "DaprConfigurationResource": { - "description": "Represent one resource of the dapr configuration list", + "ValidateResult": { "type": "object", + "description": "The validation result for a Linker.", "properties": { - "properties": { - "description": "The properties of the dapr configuration.", - "$ref": "#/definitions/DaprConfigurationProperties", - "x-ms-client-flatten": true + "linkerName": { + "type": "string", + "description": "The linker name." + }, + "isConnectionAvailable": { + "type": "boolean", + "description": "A boolean value indicating whether the connection is available or not" + }, + "reportStartTimeUtc": { + "type": "string", + "format": "date-time", + "description": "The start time of the validation report." + }, + "reportEndTimeUtc": { + "type": "string", + "format": "date-time", + "description": "The end time of the validation report." + }, + "sourceId": { + "type": "string", + "description": "The resource id of the Linker source application." + }, + "targetId": { + "type": "string", + "description": "The resource Id of target service." + }, + "authType": { + "$ref": "#/definitions/AuthType", + "description": "The authentication type." + }, + "validationDetail": { + "type": "array", + "description": "The detail of validation result", + "items": { + "$ref": "#/definitions/ValidationResultItem" + }, + "x-ms-identifiers": [ + "name" + ] } } }, - "DaprConfigurationProperties": { + "ValidationResultItem": { "type": "object", + "description": "The validation item for a Linker.", "properties": { - "targetType": { + "name": { "type": "string", - "description": "Supported target resource type, extract from resource id, uppercase" + "description": "The validation item name." }, - "authType": { - "$ref": "#/definitions/AuthType" + "description": { + "type": "string", + "description": "The display name of validation item" }, - "daprProperties": { - "$ref": "#/definitions/DaprProperties" + "result": { + "$ref": "#/definitions/ValidationResultStatus", + "description": "The result of validation" + }, + "errorMessage": { + "type": "string", + "description": "The error message of validation result" + }, + "errorCode": { + "type": "string", + "description": "The error code of validation result" } } - } - }, - "parameters": { - "LinkerNameParameter": { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string", - "description": "The name Linker resource.", - "x-ms-parameter-location": "method" }, - "ConnectorNameParameter": { - "name": "connectorName", - "in": "path", - "required": true, + "ValidationResultStatus": { "type": "string", - "description": "The name of resource.", - "x-ms-parameter-location": "method" + "description": "The result of validation", + "enum": [ + "success", + "failure", + "warning" + ], + "x-ms-enum": { + "name": "ValidationResultStatus", + "modelAsString": true, + "values": [ + { + "name": "success", + "value": "success" + }, + { + "name": "failure", + "value": "failure" + }, + { + "name": "warning", + "value": "warning" + } + ] + } }, - "ResourceUriParameter": { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", - "x-ms-skip-url-encoding": true, - "x-ms-parameter-location": "method" - }, - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The ID of the target subscription.", - "minLength": 1, - "x-ms-parameter-location": "method" + "ValueSecretInfo": { + "type": "object", + "description": "The secret info when type is rawValue. It's for scenarios that user input the secret.", + "properties": { + "value": { + "type": "string", + "description": "The actual value of the secret." + } + }, + "allOf": [ + { + "$ref": "#/definitions/SecretInfoBase" + } + ], + "x-ms-discriminator-value": "rawValue" } - } + }, + "parameters": {} } From 9389cb6d4a5556dd64ed9b81c985b0bd0fe6b53d Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Tue, 6 May 2025 16:38:11 +0800 Subject: [PATCH 03/37] generate diff --- specification/servicelinker/output/diff.json | 1 + .../servicelinker/output/newSwagger.json | 2716 +++++++++++++++++ .../servicelinker/output/oldSwagger.json | 2594 ++++++++++++++++ 3 files changed, 5311 insertions(+) create mode 100644 specification/servicelinker/output/diff.json create mode 100644 specification/servicelinker/output/newSwagger.json create mode 100644 specification/servicelinker/output/oldSwagger.json diff --git a/specification/servicelinker/output/diff.json b/specification/servicelinker/output/diff.json new file mode 100644 index 000000000000..b0029b087261 --- /dev/null +++ b/specification/servicelinker/output/diff.json @@ -0,0 +1 @@ +" {\n info: {\n\u001b[32m+ x-typespec-generated: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ emitter: \"@azure-tools/typespec-autorest\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[31m- title: \"Microsoft.ServiceLinker\"\u001b[39m\n\u001b[32m+ title: \"ServiceLinkerManagementClient\"\u001b[39m\n }\n paths: {\n\u001b[31m- /{resourceUri}/providers/Microsoft.ServiceLinker/dryruns: {\u001b[39m\n\u001b[31m- get: {\u001b[39m\n\u001b[31m- operationId: \"Linkers_ListDryrun\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"resourceUri\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunList\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- ListDryrun: {\u001b[39m\n\u001b[31m- $ref: \"./examples/ListDryrun.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-pageable: {\u001b[39m\n\u001b[31m- nextLinkName: \"nextLink\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- /{resourceUri}/providers/Microsoft.ServiceLinker/dryruns/{dryrunName}: {\u001b[39m\n\u001b[31m- get: {\u001b[39m\n\u001b[31m- operationId: \"Linkers_GetDryrun\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"resourceUri\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"dryrunName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- GetDryrun: {\u001b[39m\n\u001b[31m- $ref: \"./examples/GetDryrun.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- put: {\u001b[39m\n\u001b[31m- operationId: \"Linkers_CreateDryrun\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"resourceUri\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"dryrunName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"parameters\"\u001b[39m\n\u001b[31m- in: \"body\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 201: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- PutDryrun: {\u001b[39m\n\u001b[31m- $ref: \"./examples/PutDryrun.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation-options: {\u001b[39m\n\u001b[31m- final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- patch: {\u001b[39m\n\u001b[31m- operationId: \"Linkers_UpdateDryrun\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"resourceUri\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"dryrunName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"parameters\"\u001b[39m\n\u001b[31m- in: \"body\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunPatch\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 202: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- PatchDryrun: {\u001b[39m\n\u001b[31m- $ref: \"./examples/PatchDryrun.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation-options: {\u001b[39m\n\u001b[31m- final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- delete: {\u001b[39m\n\u001b[31m- operationId: \"Linkers_DeleteDryrun\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"resourceUri\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"dryrunName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 204: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- DeleteDryrun: {\u001b[39m\n\u001b[31m- $ref: \"./examples/DeleteDryrun.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- /{resourceUri}/providers/Microsoft.ServiceLinker/linkers: {\u001b[39m\n\u001b[31m- get: {\u001b[39m\n\u001b[31m- operationId: \"Linker_List\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"resourceUri\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/ResourceList\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- deprecated: false\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- LinkerList: {\u001b[39m\n\u001b[31m- $ref: \"./examples/LinkerList.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-pageable: {\u001b[39m\n\u001b[31m- nextLinkName: \"nextLink\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}: {\u001b[39m\n\u001b[31m- get: {\u001b[39m\n\u001b[31m- operationId: \"Linker_Get\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"resourceUri\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"linkerName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- Linker: {\u001b[39m\n\u001b[31m- $ref: \"./examples/Linker.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- put: {\u001b[39m\n\u001b[31m- operationId: \"Linker_CreateOrUpdate\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"resourceUri\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"linkerName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"parameters\"\u001b[39m\n\u001b[31m- in: \"body\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 201: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- PutLinker: {\u001b[39m\n\u001b[31m- $ref: \"./examples/PutLinker.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation-options: {\u001b[39m\n\u001b[31m- final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- patch: {\u001b[39m\n\u001b[31m- operationId: \"Linker_Update\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"resourceUri\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"linkerName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"parameters\"\u001b[39m\n\u001b[31m- in: \"body\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerPatch\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 201: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- PatchLinker: {\u001b[39m\n\u001b[31m- $ref: \"./examples/PatchLinker.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation-options: {\u001b[39m\n\u001b[31m- final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- delete: {\u001b[39m\n\u001b[31m- operationId: \"Linker_Delete\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"resourceUri\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"linkerName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 202: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 204: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- DeleteLinker: {\u001b[39m\n\u001b[31m- $ref: \"./examples/DeleteLinker.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation-options: {\u001b[39m\n\u001b[31m- final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/generateConfigurations: {\u001b[39m\n\u001b[31m- post: {\u001b[39m\n\u001b[31m- operationId: \"Linkers_GenerateConfigurations\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"resourceUri\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"linkerName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"parameters\"\u001b[39m\n\u001b[31m- in: \"body\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/ConfigurationInfo\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/ConfigurationResult\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- GenerateConfiguration: {\u001b[39m\n\u001b[31m- $ref: \"./examples/LinkerGenerateConfigurations.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/listConfigurations: {\u001b[39m\n\u001b[31m- post: {\u001b[39m\n\u001b[31m- operationId: \"Linker_ListConfigurations\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"resourceUri\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"linkerName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/ConfigurationResult\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- GetConfiguration: {\u001b[39m\n\u001b[31m- $ref: \"./examples/GetConfigurations.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/validateLinker: {\u001b[39m\n\u001b[31m- post: {\u001b[39m\n\u001b[31m- operationId: \"Linker_Validate\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"resourceUri\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"linkerName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/ValidateOperationResult\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 202: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- ValidateLinkerSuccess: {\u001b[39m\n\u001b[31m- $ref: \"./examples/ValidateLinkerSuccess.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors: {\u001b[39m\n\u001b[31m- get: {\u001b[39m\n\u001b[31m- operationId: \"Connector_List\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/ResourceList\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- deprecated: false\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- ConnectorList: {\u001b[39m\n\u001b[31m- $ref: \"./examples/ConnectorList.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-pageable: {\u001b[39m\n\u001b[31m- nextLinkName: \"nextLink\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}: {\u001b[39m\n\u001b[31m- get: {\u001b[39m\n\u001b[31m- operationId: \"Connector_Get\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"connectorName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- Connector: {\u001b[39m\n\u001b[31m- $ref: \"./examples/Connectors.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- put: {\u001b[39m\n\u001b[31m- operationId: \"Connector_CreateOrUpdate\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"connectorName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"parameters\"\u001b[39m\n\u001b[31m- in: \"body\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 201: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- PutConnector: {\u001b[39m\n\u001b[31m- $ref: \"./examples/PutConnector.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation-options: {\u001b[39m\n\u001b[31m- final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- patch: {\u001b[39m\n\u001b[31m- operationId: \"Connector_Update\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"connectorName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"parameters\"\u001b[39m\n\u001b[31m- in: \"body\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerPatch\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 202: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- PatchConnector: {\u001b[39m\n\u001b[31m- $ref: \"./examples/PatchConnector.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation-options: {\u001b[39m\n\u001b[31m- final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- delete: {\u001b[39m\n\u001b[31m- operationId: \"Connector_Delete\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"connectorName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 202: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 204: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- DeleteConnector: {\u001b[39m\n\u001b[31m- $ref: \"./examples/DeleteConnector.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation-options: {\u001b[39m\n\u001b[31m- final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/generateConfigurations: {\u001b[39m\n\u001b[31m- post: {\u001b[39m\n\u001b[31m- operationId: \"Connector_GenerateConfigurations\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"connectorName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"parameters\"\u001b[39m\n\u001b[31m- in: \"body\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/ConfigurationInfo\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/ConfigurationResult\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- GenerateConfiguration: {\u001b[39m\n\u001b[31m- $ref: \"./examples/GenerateConfigurations.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/validate: {\u001b[39m\n\u001b[31m- post: {\u001b[39m\n\u001b[31m- operationId: \"Connector_Validate\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"connectorName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/ValidateOperationResult\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 202: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- ValidateConnectorSuccess: {\u001b[39m\n\u001b[31m- $ref: \"./examples/ValidateConnectorSuccess.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns: {\u001b[39m\n\u001b[31m- get: {\u001b[39m\n\u001b[31m- operationId: \"Connector_ListDryrun\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunList\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- ConnectorDryrunList: {\u001b[39m\n\u001b[31m- $ref: \"./examples/ConnectorDryrunList.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-pageable: {\u001b[39m\n\u001b[31m- nextLinkName: \"nextLink\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}: {\u001b[39m\n\u001b[31m- get: {\u001b[39m\n\u001b[31m- operationId: \"Connector_GetDryrun\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"dryrunName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- ConnectorDryrunGet: {\u001b[39m\n\u001b[31m- $ref: \"./examples/ConnectorDryrunGet.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- put: {\u001b[39m\n\u001b[31m- operationId: \"Connector_CreateDryrun\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"dryrunName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"parameters\"\u001b[39m\n\u001b[31m- in: \"body\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 201: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- ConnectorDryrunCreate: {\u001b[39m\n\u001b[31m- $ref: \"./examples/ConnectorDryrunCreate.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation-options: {\u001b[39m\n\u001b[31m- final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- patch: {\u001b[39m\n\u001b[31m- operationId: \"Connector_UpdateDryrun\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"dryrunName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"parameters\"\u001b[39m\n\u001b[31m- in: \"body\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunPatch\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 202: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- ConnectorDryrunUpdate: {\u001b[39m\n\u001b[31m- $ref: \"./examples/ConnectorDryrunUpdate.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation-options: {\u001b[39m\n\u001b[31m- final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- delete: {\u001b[39m\n\u001b[31m- operationId: \"Connector_DeleteDryrun\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"dryrunName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 204: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- ConnectorDryrunDelete: {\u001b[39m\n\u001b[31m- $ref: \"./examples/ConnectorDryrunDelete.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[32m+ /{resourceUri}/{providers}/{resourceUri}/connectors: {\u001b[39m\n\u001b[32m+ get: {\u001b[39m\n\u001b[32m+ operationId: \"Linker_List\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"providers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"resourceUri\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/ResourceList\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ LinkerList: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/LinkerList.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-pageable: {\u001b[39m\n\u001b[32m+ nextLinkName: \"nextLink\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ /{resourceUri}/{providers}/{resourceUri}/dryruns: {\u001b[39m\n\u001b[32m+ get: {\u001b[39m\n\u001b[32m+ operationId: \"Linkers_ListDryrun\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"providers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"resourceUri\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunList\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ ListDryrun: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/ListDryrun.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-pageable: {\u001b[39m\n\u001b[32m+ nextLinkName: \"nextLink\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ /{resourceUri}/{providers}/Microsoft.ServiceLinker/{dryruns}/{resourceUri}/{dryrunName}: {\u001b[39m\n\u001b[32m+ get: {\u001b[39m\n\u001b[32m+ operationId: \"Linkers_GetDryrun\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"providers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"dryruns\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"resourceUri\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"dryrunName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ GetDryrun: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/GetDryrun.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ put: {\u001b[39m\n\u001b[32m+ operationId: \"Linkers_CreateDryrun\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"providers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"dryruns\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"resourceUri\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"dryrunName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"parameters\"\u001b[39m\n\u001b[32m+ in: \"body\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 201: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ PutDryrun: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/PutDryrun.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation-options: {\u001b[39m\n\u001b[32m+ final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation: true\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ patch: {\u001b[39m\n\u001b[32m+ operationId: \"Linkers_UpdateDryrun\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"providers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"dryruns\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"resourceUri\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"dryrunName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"parameters\"\u001b[39m\n\u001b[32m+ in: \"body\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunPatch\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 202: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ PatchDryrun: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/PatchDryrun.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation-options: {\u001b[39m\n\u001b[32m+ final-state-via: \"original-uri\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation: true\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ delete: {\u001b[39m\n\u001b[32m+ operationId: \"Linkers_DeleteDryrun\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"providers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"dryruns\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"resourceUri\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"dryrunName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 204: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ DeleteDryrun: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/DeleteDryrun.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ /{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}: {\u001b[39m\n\u001b[32m+ get: {\u001b[39m\n\u001b[32m+ operationId: \"Linker_Get\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"providers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"resourceUri\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkerName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ Linker: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/Linker.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ put: {\u001b[39m\n\u001b[32m+ operationId: \"Linker_CreateOrUpdate\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"providers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"resourceUri\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkerName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"parameters\"\u001b[39m\n\u001b[32m+ in: \"body\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 201: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ PutLinker: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/PutLinker.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation-options: {\u001b[39m\n\u001b[32m+ final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation: true\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ patch: {\u001b[39m\n\u001b[32m+ operationId: \"Linker_Update\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"providers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"resourceUri\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkerName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"parameters\"\u001b[39m\n\u001b[32m+ in: \"body\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerPatch\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 201: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ PatchLinker: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/PatchLinker.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ delete: {\u001b[39m\n\u001b[32m+ operationId: \"Linker_Delete\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"providers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"resourceUri\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkerName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 202: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 204: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ DeleteLinker: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/DeleteLinker.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation-options: {\u001b[39m\n\u001b[32m+ final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation: true\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ /{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/generateConfigurations: {\u001b[39m\n\u001b[32m+ post: {\u001b[39m\n\u001b[32m+ operationId: \"Linkers_GenerateConfigurations\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"providers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"resourceUri\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkerName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"parameters\"\u001b[39m\n\u001b[32m+ in: \"body\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/ConfigurationInfo\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/ConfigurationResult\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ GenerateConfiguration: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/LinkerGenerateConfigurations.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ /{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/listConfigurations: {\u001b[39m\n\u001b[32m+ post: {\u001b[39m\n\u001b[32m+ operationId: \"Linker_ListConfigurations\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"providers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"resourceUri\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkerName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/ConfigurationResult\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ GetConfiguration: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/GetConfigurations.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ /{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/validateLinker: {\u001b[39m\n\u001b[32m+ post: {\u001b[39m\n\u001b[32m+ operationId: \"Linker_Validate\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"providers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"resourceUri\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkerName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/ValidateOperationResult\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 202: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ ValidateLinkerSuccess: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/ValidateLinkerSuccess.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation: true\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors: {\u001b[39m\n\u001b[32m+ get: {\u001b[39m\n\u001b[32m+ operationId: \"Connector_List\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/ResourceList\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ ConnectorList: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/ConnectorList.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-pageable: {\u001b[39m\n\u001b[32m+ nextLinkName: \"nextLink\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}: {\u001b[39m\n\u001b[32m+ get: {\u001b[39m\n\u001b[32m+ operationId: \"Connector_Get\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"connectorName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ Connector: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/Connectors.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ put: {\u001b[39m\n\u001b[32m+ operationId: \"Connector_CreateOrUpdate\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"connectorName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"parameters\"\u001b[39m\n\u001b[32m+ in: \"body\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 201: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ PutConnector: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/PutConnector.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation-options: {\u001b[39m\n\u001b[32m+ final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation: true\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ patch: {\u001b[39m\n\u001b[32m+ operationId: \"Connector_Update\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"connectorName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"parameters\"\u001b[39m\n\u001b[32m+ in: \"body\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerPatch\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 202: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ PatchConnector: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/PatchConnector.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation-options: {\u001b[39m\n\u001b[32m+ final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation: true\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ delete: {\u001b[39m\n\u001b[32m+ operationId: \"Connector_Delete\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"connectorName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 202: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 204: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ DeleteConnector: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/DeleteConnector.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation-options: {\u001b[39m\n\u001b[32m+ final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation: true\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/generateConfigurations: {\u001b[39m\n\u001b[32m+ post: {\u001b[39m\n\u001b[32m+ operationId: \"Connector_GenerateConfigurations\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"connectorName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"parameters\"\u001b[39m\n\u001b[32m+ in: \"body\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/ConfigurationInfo\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/ConfigurationResult\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ GenerateConfiguration: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/GenerateConfigurations.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/validate: {\u001b[39m\n\u001b[32m+ post: {\u001b[39m\n\u001b[32m+ operationId: \"Connector_Validate\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"connectorName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/ValidateOperationResult\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 202: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ ValidateConnectorSuccess: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/ValidateConnectorSuccess.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation: true\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns: {\u001b[39m\n\u001b[32m+ get: {\u001b[39m\n\u001b[32m+ operationId: \"Connector_ListDryrun\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunList\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ ConnectorDryrunList: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/ConnectorDryrunList.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-pageable: {\u001b[39m\n\u001b[32m+ nextLinkName: \"nextLink\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}: {\u001b[39m\n\u001b[32m+ get: {\u001b[39m\n\u001b[32m+ operationId: \"Connector_GetDryrun\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"dryrunName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ ConnectorDryrunGet: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/ConnectorDryrunGet.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ put: {\u001b[39m\n\u001b[32m+ operationId: \"Connector_CreateDryrun\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"dryrunName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"parameters\"\u001b[39m\n\u001b[32m+ in: \"body\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 201: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ ConnectorDryrunCreate: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/ConnectorDryrunCreate.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation-options: {\u001b[39m\n\u001b[32m+ final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation: true\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ patch: {\u001b[39m\n\u001b[32m+ operationId: \"Connector_UpdateDryrun\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"dryrunName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"parameters\"\u001b[39m\n\u001b[32m+ in: \"body\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunPatch\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 202: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ ConnectorDryrunUpdate: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/ConnectorDryrunUpdate.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation-options: {\u001b[39m\n\u001b[32m+ final-state-via: \"original-uri\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation: true\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ delete: {\u001b[39m\n\u001b[32m+ operationId: \"Connector_DeleteDryrun\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"dryrunName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 204: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ ConnectorDryrunDelete: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/ConnectorDryrunDelete.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n /{resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations: {\n get: {\n parameters: [\n {\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n }\n ]\n }\n }\n }\n definitions: {\n\u001b[31m- DatabaseAadAuthInfo: {\u001b[39m\n\u001b[31m- type: \"object\"\u001b[39m\n\u001b[31m- properties: {\u001b[39m\n\u001b[31m- userName: {\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-nullable: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[32m+ Azure.ResourceManager.ArmResponse: {\u001b[39m\n\u001b[32m+ type: \"object\"\u001b[39m\n\u001b[32m+ properties: {\u001b[39m\n\u001b[32m+ body: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ required: [\u001b[39m\n\u001b[32m+ \"body\"\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ Azure.ResourceManager.ArmResponse: {\u001b[39m\n\u001b[32m+ type: \"object\"\u001b[39m\n\u001b[32m+ properties: {\u001b[39m\n\u001b[32m+ body: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/ValidateOperationResult\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ required: [\u001b[39m\n\u001b[32m+ \"body\"\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ }\u001b[39m\n AccessKeyInfoBase: {\n properties: {\n permissions: {\n items: {\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- enum: [\u001b[39m\n\u001b[31m- \"Read\"\u001b[39m\n\u001b[31m- \"Write\"\u001b[39m\n\u001b[31m- \"Listen\"\u001b[39m\n\u001b[31m- \"Send\"\u001b[39m\n\u001b[31m- \"Manage\"\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- x-ms-enum: {\u001b[39m\n\u001b[31m- name: \"accessKeyPermissions\"\u001b[39m\n\u001b[31m- modelAsString: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/AccessKeyPermissions\"\u001b[39m\n }\n }\n }\n }\n AzureAppConfigProperties: {\n properties: {\n connectWithKubernetesExtension: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n AzureKeyVaultProperties: {\n properties: {\n connectAsKubernetesCsiDriver: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n AzureResource: {\n properties: {\n resourceProperties: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n ConfigurationInfo: {\n properties: {\n action: {\n enum: [\n\u001b[31m- \"enable\"\u001b[39m\n\u001b[31m- \"optOut\"\u001b[39m\n\u001b[32m+ \"Internal\"\u001b[39m\n ]\n }\n configurationStore: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n ConfigurationNameItem: {\n properties: {\n properties: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n ConfigurationNames: {\n properties: {\n names: {\n\u001b[32m+ x-ms-identifiers: [\u001b[39m\n\u001b[32m+ ]\u001b[39m\n }\n }\n }\n ConfigurationStore: {\n properties: {\n appConfigurationId: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n CreateOrUpdateDryrunParameters: {\n\u001b[32m+ properties: {\u001b[39m\n\u001b[32m+ targetService: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/TargetServiceBase\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ authInfo: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/AuthInfoBase\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ clientType: {\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ enum: [\u001b[39m\n\u001b[32m+ \"none\"\u001b[39m\n\u001b[32m+ \"dotnet\"\u001b[39m\n\u001b[32m+ \"java\"\u001b[39m\n\u001b[32m+ \"python\"\u001b[39m\n\u001b[32m+ \"go\"\u001b[39m\n\u001b[32m+ \"php\"\u001b[39m\n\u001b[32m+ \"ruby\"\u001b[39m\n\u001b[32m+ \"django\"\u001b[39m\n\u001b[32m+ \"nodejs\"\u001b[39m\n\u001b[32m+ \"springBoot\"\u001b[39m\n\u001b[32m+ \"kafka-springBoot\"\u001b[39m\n\u001b[32m+ \"jms-springBoot\"\u001b[39m\n\u001b[32m+ \"dapr\"\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ x-ms-enum: {\u001b[39m\n\u001b[32m+ name: \"ClientType\"\u001b[39m\n\u001b[32m+ modelAsString: true\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ provisioningState: {\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ readOnly: true\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ vNetSolution: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/VNetSolution\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ secretStore: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/SecretStore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ scope: {\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ publicNetworkSolution: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/PublicNetworkSolution\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ configurationInfo: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/ConfigurationInfo\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n allOf: [\n ...\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerProperties\"\u001b[39m\n\u001b[31m- }\u001b[39m\n ]\n }\n DaprProperties: {\n properties: {\n version: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n componentType: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n secretStoreComponent: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n runtimeVersion: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n bindingComponentDirection: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n DryrunList: {\n properties: {\n nextLink: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n DryrunResource: {\n allOf: [\n {\n\u001b[31m- description: \"The resource model definition for an Azure Resource Manager proxy resource.\"\u001b[39m\n }\n ]\n }\n EasyAuthMicrosoftEntraIDAuthInfo: {\n properties: {\n secret: {\n\u001b[31m- x-ms-secret: true\u001b[39m\n }\n }\n }\n KeyVaultSecretReferenceSecretInfo: {\n properties: {\n version: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n LinkerPatch: {\n properties: {\n properties: {\n\u001b[31m- type: \"object\"\u001b[39m\n }\n }\n }\n LinkerProperties: {\n properties: {\n vNetSolution: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n secretStore: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n scope: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n publicNetworkSolution: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n configurationInfo: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n LinkerResource: {\n properties: {\n\u001b[31m- systemData: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/systemData\"\u001b[39m\n\u001b[31m- x-nullable: true\u001b[39m\n\u001b[31m- readOnly: true\u001b[39m\n\u001b[31m- }\u001b[39m\n }\n allOf: [\n {\n\u001b[31m- description: \"The resource model definition for an Azure Resource Manager proxy resource.\"\u001b[39m\n }\n ]\n }\n PublicNetworkSolution: {\n properties: {\n action: {\n enum: [\n\u001b[31m- \"enable\"\u001b[39m\n\u001b[31m- \"optOut\"\u001b[39m\n\u001b[32m+ \"Internal\"\u001b[39m\n ]\n }\n }\n }\n ResourceList: {\n properties: {\n nextLink: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n SecretAuthInfo: {\n properties: {\n name: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n secretInfo: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n SecretStore: {\n properties: {\n keyVaultId: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n keyVaultSecretName: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n ServicePrincipalCertificateAuthInfo: {\n properties: {\n certificate: {\n\u001b[31m- x-ms-secret: true\u001b[39m\n }\n }\n }\n ServicePrincipalSecretAuthInfo: {\n properties: {\n\u001b[32m+ userName: {\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n secret: {\n\u001b[31m- x-ms-secret: true\u001b[39m\n }\n }\n allOf: [\n ...\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DatabaseAadAuthInfo\"\u001b[39m\n\u001b[31m- }\u001b[39m\n ]\n }\n SourceConfiguration: {\n properties: {\n value: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n keyVaultReferenceIdentity: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n description: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n SystemAssignedIdentityAuthInfo: {\n properties: {\n\u001b[32m+ userName: {\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n }\n allOf: [\n ...\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DatabaseAadAuthInfo\"\u001b[39m\n\u001b[31m- }\u001b[39m\n ]\n }\n UserAccountAuthInfo: {\n properties: {\n\u001b[32m+ userName: {\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n }\n allOf: [\n ...\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DatabaseAadAuthInfo\"\u001b[39m\n\u001b[31m- }\u001b[39m\n ]\n }\n UserAssignedIdentityAuthInfo: {\n properties: {\n\u001b[32m+ userName: {\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n }\n allOf: [\n ...\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DatabaseAadAuthInfo\"\u001b[39m\n\u001b[31m- }\u001b[39m\n ]\n }\n VNetSolution: {\n properties: {\n type: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n ValidateOperationResult: {\n properties: {\n properties: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n resourceId: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n status: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n ValidateResult: {\n properties: {\n linkerName: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n isConnectionAvailable: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n reportStartTimeUtc: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n reportEndTimeUtc: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n sourceId: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n targetId: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n authType: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n ValidationResultItem: {\n properties: {\n description: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n result: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n errorMessage: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n errorCode: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n ValueSecretInfo: {\n properties: {\n value: {\n\u001b[31m- x-nullable: true\u001b[39m\n\u001b[31m- x-ms-secret: true\u001b[39m\n }\n }\n }\n }\n }\n" \ No newline at end of file diff --git a/specification/servicelinker/output/newSwagger.json b/specification/servicelinker/output/newSwagger.json new file mode 100644 index 000000000000..f561bc9b65ac --- /dev/null +++ b/specification/servicelinker/output/newSwagger.json @@ -0,0 +1,2716 @@ +{ + "swagger": "2.0", + "info": { + "title": "ServiceLinkerManagementClient", + "version": "2024-07-01-preview", + "description": "Microsoft.ServiceLinker provider", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "paths": { + "/{resourceUri}/{providers}/{resourceUri}/connectors": { + "get": { + "operationId": "Linker_List", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ResourceList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "LinkerList": { + "$ref": "./examples/LinkerList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/{providers}/{resourceUri}/dryruns": { + "get": { + "operationId": "Linkers_ListDryrun", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListDryrun": { + "$ref": "./examples/ListDryrun.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{dryruns}/{resourceUri}/{dryrunName}": { + "get": { + "operationId": "Linkers_GetDryrun", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "dryruns", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetDryrun": { + "$ref": "./examples/GetDryrun.json" + } + } + }, + "put": { + "operationId": "Linkers_CreateDryrun", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "dryruns", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DryrunResource" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PutDryrun": { + "$ref": "./examples/PutDryrun.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Linkers_UpdateDryrun", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "dryruns", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DryrunPatch" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PatchDryrun": { + "$ref": "./examples/PatchDryrun.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Linkers_DeleteDryrun", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "dryruns", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteDryrun": { + "$ref": "./examples/DeleteDryrun.json" + } + } + } + }, + "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}": { + "get": { + "operationId": "Linker_Get", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Linker": { + "$ref": "./examples/Linker.json" + } + } + }, + "put": { + "operationId": "Linker_CreateOrUpdate", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LinkerResource" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PutLinker": { + "$ref": "./examples/PutLinker.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Linker_Update", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LinkerPatch" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PatchLinker": { + "$ref": "./examples/PatchLinker.json" + } + } + }, + "delete": { + "operationId": "Linker_Delete", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore" + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteLinker": { + "$ref": "./examples/DeleteLinker.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/generateConfigurations": { + "post": { + "operationId": "Linkers_GenerateConfigurations", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/ConfigurationInfo" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConfigurationResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GenerateConfiguration": { + "$ref": "./examples/LinkerGenerateConfigurations.json" + } + } + } + }, + "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/listConfigurations": { + "post": { + "operationId": "Linker_ListConfigurations", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConfigurationResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetConfiguration": { + "$ref": "./examples/GetConfigurations.json" + } + } + } + }, + "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/validateLinker": { + "post": { + "operationId": "Linker_Validate", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ValidateOperationResult" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ValidateLinkerSuccess": { + "$ref": "./examples/ValidateLinkerSuccess.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations": { + "get": { + "operationId": "Linkers_ListDaprConfigurations", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DaprConfigurationList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetDaprConfigurations": { + "$ref": "./examples/GetDaprConfigurations.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.ServiceLinker/configurationNames": { + "get": { + "operationId": "ConfigurationNames_List", + "parameters": [ + { + "name": "$filter", + "in": "query", + "type": "string" + }, + { + "name": "$skipToken", + "in": "query", + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConfigurationNameResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetConfigurationNames": { + "$ref": "./examples/ConfigurationNamesList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.ServiceLinker/operations": { + "get": { + "operationId": "Operations_List", + "parameters": [], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetConfiguration": { + "$ref": "./examples/OperationsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors": { + "get": { + "operationId": "Connector_List", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ResourceList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorList": { + "$ref": "./examples/ConnectorList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}": { + "get": { + "operationId": "Connector_Get", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Connector": { + "$ref": "./examples/Connectors.json" + } + } + }, + "put": { + "operationId": "Connector_CreateOrUpdate", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LinkerResource" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PutConnector": { + "$ref": "./examples/PutConnector.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Connector_Update", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LinkerPatch" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "202": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PatchConnector": { + "$ref": "./examples/PatchConnector.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Connector_Delete", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore" + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteConnector": { + "$ref": "./examples/DeleteConnector.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/generateConfigurations": { + "post": { + "operationId": "Connector_GenerateConfigurations", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/ConfigurationInfo" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConfigurationResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GenerateConfiguration": { + "$ref": "./examples/GenerateConfigurations.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/validate": { + "post": { + "operationId": "Connector_Validate", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ValidateOperationResult" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ValidateConnectorSuccess": { + "$ref": "./examples/ValidateConnectorSuccess.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns": { + "get": { + "operationId": "Connector_ListDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunList": { + "$ref": "./examples/ConnectorDryrunList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}": { + "get": { + "operationId": "Connector_GetDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunGet": { + "$ref": "./examples/ConnectorDryrunGet.json" + } + } + }, + "put": { + "operationId": "Connector_CreateDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DryrunResource" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunCreate": { + "$ref": "./examples/ConnectorDryrunCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Connector_UpdateDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DryrunPatch" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunUpdate": { + "$ref": "./examples/ConnectorDryrunUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Connector_DeleteDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunDelete": { + "$ref": "./examples/ConnectorDryrunDelete.json" + } + } + } + } + }, + "definitions": { + "AccessKeyInfoBase": { + "type": "object", + "properties": { + "permissions": { + "type": "array", + "items": { + "$ref": "#/definitions/AccessKeyPermissions" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "accessKey" + }, + "AuthInfoBase": { + "type": "object", + "properties": { + "authType": { + "type": "string", + "enum": [ + "systemAssignedIdentity", + "userAssignedIdentity", + "servicePrincipalSecret", + "servicePrincipalCertificate", + "secret", + "accessKey", + "userAccount", + "easyAuthMicrosoftEntraID" + ], + "x-ms-enum": { + "name": "AuthType", + "modelAsString": true + } + }, + "authMode": { + "type": "string", + "enum": [ + "optInAllAuth", + "optOutAllAuth" + ], + "x-ms-enum": { + "name": "AuthMode", + "modelAsString": true + } + } + }, + "discriminator": "authType", + "required": [ + "authType" + ] + }, + "Azure.ResourceManager.ArmResponse": { + "type": "object", + "properties": { + "body": { + "$ref": "#/definitions/DryrunResource" + } + }, + "required": [ + "body" + ] + }, + "Azure.ResourceManager.ArmResponse": { + "type": "object", + "properties": { + "body": { + "$ref": "#/definitions/ValidateOperationResult" + } + }, + "required": [ + "body" + ] + }, + "AzureAppConfigProperties": { + "type": "object", + "properties": { + "connectWithKubernetesExtension": { + "type": "boolean" + } + }, + "allOf": [ + { + "$ref": "#/definitions/AzureResourcePropertiesBase" + } + ], + "x-ms-discriminator-value": "AppConfig" + }, + "AzureKeyVaultProperties": { + "type": "object", + "properties": { + "connectAsKubernetesCsiDriver": { + "type": "boolean" + } + }, + "allOf": [ + { + "$ref": "#/definitions/AzureResourcePropertiesBase" + } + ], + "x-ms-discriminator-value": "KeyVault" + }, + "AzureResource": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "resourceProperties": { + "$ref": "#/definitions/AzureResourcePropertiesBase" + } + }, + "allOf": [ + { + "$ref": "#/definitions/TargetServiceBase" + } + ], + "x-ms-discriminator-value": "AzureResource" + }, + "AzureResourcePropertiesBase": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "KeyVault", + "AppConfig" + ], + "x-ms-enum": { + "name": "AzureResourceType", + "modelAsString": true + } + } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "BasicErrorDryrunPrerequisiteResult": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/DryrunPrerequisiteResult" + } + ], + "x-ms-discriminator-value": "basicError" + }, + "ConfigurationInfo": { + "type": "object", + "properties": { + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "action": { + "type": "string", + "enum": [ + "Internal" + ], + "x-ms-enum": { + "name": "ActionType", + "modelAsString": true + } + }, + "customizedKeys": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "daprProperties": { + "$ref": "#/definitions/DaprProperties" + }, + "additionalConfigurations": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "additionalConnectionStringProperties": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "configurationStore": { + "$ref": "#/definitions/ConfigurationStore" + } + } + }, + "ConfigurationName": { + "type": "object", + "properties": { + "value": { + "type": "string" + }, + "description": { + "type": "string" + }, + "required": { + "type": "boolean" + } + } + }, + "ConfigurationNameItem": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ConfigurationNames", + "x-ms-client-flatten": true + } + } + }, + "ConfigurationNameResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/ConfigurationNameItem" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + }, + "required": [ + "value" + ] + }, + "ConfigurationNames": { + "type": "object", + "properties": { + "targetService": { + "type": "string" + }, + "clientType": { + "type": "string", + "enum": [ + "none", + "dotnet", + "java", + "python", + "go", + "php", + "ruby", + "django", + "nodejs", + "springBoot", + "kafka-springBoot", + "jms-springBoot", + "dapr" + ], + "x-ms-enum": { + "name": "ClientType", + "modelAsString": true + } + }, + "authType": { + "type": "string", + "enum": [ + "systemAssignedIdentity", + "userAssignedIdentity", + "servicePrincipalSecret", + "servicePrincipalCertificate", + "secret", + "accessKey", + "userAccount", + "easyAuthMicrosoftEntraID" + ], + "x-ms-enum": { + "name": "AuthType", + "modelAsString": true + } + }, + "secretType": { + "type": "string", + "enum": [ + "rawValue", + "keyVaultSecret" + ], + "x-ms-enum": { + "name": "SecretSourceType", + "modelAsString": true + } + }, + "daprProperties": { + "$ref": "#/definitions/DaprProperties" + }, + "names": { + "type": "array", + "items": { + "$ref": "#/definitions/ConfigurationName" + }, + "x-ms-identifiers": [] + } + } + }, + "ConfigurationResult": { + "type": "object", + "properties": { + "configurations": { + "type": "array", + "items": { + "$ref": "#/definitions/SourceConfiguration" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "ConfigurationStore": { + "type": "object", + "properties": { + "appConfigurationId": { + "type": "string" + } + } + }, + "ConfluentBootstrapServer": { + "type": "object", + "properties": { + "endpoint": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/TargetServiceBase" + } + ], + "x-ms-discriminator-value": "ConfluentBootstrapServer" + }, + "ConfluentSchemaRegistry": { + "type": "object", + "properties": { + "endpoint": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/TargetServiceBase" + } + ], + "x-ms-discriminator-value": "ConfluentSchemaRegistry" + }, + "CreateOrUpdateDryrunParameters": { + "type": "object", + "properties": { + "targetService": { + "$ref": "#/definitions/TargetServiceBase" + }, + "authInfo": { + "$ref": "#/definitions/AuthInfoBase" + }, + "clientType": { + "type": "string", + "enum": [ + "none", + "dotnet", + "java", + "python", + "go", + "php", + "ruby", + "django", + "nodejs", + "springBoot", + "kafka-springBoot", + "jms-springBoot", + "dapr" + ], + "x-ms-enum": { + "name": "ClientType", + "modelAsString": true + } + }, + "provisioningState": { + "type": "string", + "readOnly": true + }, + "vNetSolution": { + "$ref": "#/definitions/VNetSolution" + }, + "secretStore": { + "$ref": "#/definitions/SecretStore" + }, + "scope": { + "type": "string" + }, + "publicNetworkSolution": { + "$ref": "#/definitions/PublicNetworkSolution" + }, + "configurationInfo": { + "$ref": "#/definitions/ConfigurationInfo" + } + }, + "allOf": [ + { + "$ref": "#/definitions/DryrunParameters" + } + ], + "x-ms-discriminator-value": "createOrUpdate" + }, + "DaprConfigurationList": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/DaprConfigurationResource" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + }, + "required": [ + "value" + ] + }, + "DaprConfigurationProperties": { + "type": "object", + "properties": { + "targetType": { + "type": "string" + }, + "authType": { + "type": "string", + "enum": [ + "systemAssignedIdentity", + "userAssignedIdentity", + "servicePrincipalSecret", + "servicePrincipalCertificate", + "secret", + "accessKey", + "userAccount", + "easyAuthMicrosoftEntraID" + ], + "x-ms-enum": { + "name": "AuthType", + "modelAsString": true + } + }, + "daprProperties": { + "$ref": "#/definitions/DaprProperties" + } + } + }, + "DaprConfigurationResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/DaprConfigurationProperties", + "x-ms-client-flatten": true + } + } + }, + "DaprMetadata": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "secretRef": { + "type": "string" + }, + "description": { + "type": "string" + }, + "required": { + "type": "string", + "enum": [ + "true", + "false" + ], + "x-ms-enum": { + "name": "DaprMetadataRequired", + "modelAsString": true + } + } + } + }, + "DaprProperties": { + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "componentType": { + "type": "string" + }, + "secretStoreComponent": { + "type": "string" + }, + "metadata": { + "type": "array", + "items": { + "$ref": "#/definitions/DaprMetadata" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "scopes": { + "type": "array", + "items": { + "type": "string" + } + }, + "runtimeVersion": { + "type": "string", + "readOnly": true + }, + "bindingComponentDirection": { + "type": "string", + "enum": [ + "input", + "output" + ], + "x-ms-enum": { + "name": "DaprBindingComponentDirection", + "modelAsString": true + }, + "readOnly": true + } + } + }, + "DryrunList": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/DryrunResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + }, + "required": [ + "value" + ] + }, + "DryrunOperationPreview": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "operationType": { + "type": "string", + "enum": [ + "configConnection", + "configNetwork", + "configAuth" + ], + "x-ms-enum": { + "name": "DryrunPreviewOperationType", + "modelAsString": true + } + }, + "description": { + "type": "string" + }, + "action": { + "type": "string" + }, + "scope": { + "type": "string" + } + } + }, + "DryrunParameters": { + "type": "object", + "properties": { + "actionName": { + "type": "string", + "enum": [ + "createOrUpdate" + ], + "x-ms-enum": { + "name": "DryrunActionName", + "modelAsString": true + } + } + }, + "discriminator": "actionName", + "required": [ + "actionName" + ] + }, + "DryrunPatch": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/DryrunProperties", + "x-ms-client-flatten": true + } + } + }, + "DryrunPrerequisiteResult": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "basicError", + "permissionsMissing" + ], + "x-ms-enum": { + "name": "DryrunPrerequisiteResultType", + "modelAsString": true + } + } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "DryrunProperties": { + "type": "object", + "properties": { + "parameters": { + "$ref": "#/definitions/DryrunParameters" + }, + "prerequisiteResults": { + "type": "array", + "items": { + "$ref": "#/definitions/DryrunPrerequisiteResult" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "operationPreviews": { + "type": "array", + "items": { + "$ref": "#/definitions/DryrunOperationPreview" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "provisioningState": { + "type": "string", + "readOnly": true + } + } + }, + "DryrunResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/DryrunProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "EasyAuthMicrosoftEntraIDAuthInfo": { + "type": "object", + "properties": { + "clientId": { + "type": "string" + }, + "secret": { + "type": "string" + }, + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "easyAuthMicrosoftEntraID" + }, + "FabricPlatform": { + "type": "object", + "properties": { + "endpoint": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/TargetServiceBase" + } + ], + "x-ms-discriminator-value": "FabricPlatform" + }, + "FirewallRules": { + "type": "object", + "properties": { + "ipRanges": { + "type": "array", + "items": { + "type": "string" + } + }, + "azureServices": { + "type": "string", + "enum": [ + "true", + "false" + ], + "x-ms-enum": { + "name": "AllowType", + "modelAsString": true + } + }, + "callerClientIP": { + "type": "string", + "enum": [ + "true", + "false" + ], + "x-ms-enum": { + "name": "AllowType", + "modelAsString": true + } + } + } + }, + "KeyVaultSecretReferenceSecretInfo": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/SecretInfoBase" + } + ], + "x-ms-discriminator-value": "keyVaultSecretReference" + }, + "KeyVaultSecretUriSecretInfo": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/SecretInfoBase" + } + ], + "x-ms-discriminator-value": "keyVaultSecretUri" + }, + "LinkerPatch": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/LinkerProperties", + "x-ms-client-flatten": true + } + } + }, + "LinkerProperties": { + "type": "object", + "properties": { + "targetService": { + "$ref": "#/definitions/TargetServiceBase" + }, + "authInfo": { + "$ref": "#/definitions/AuthInfoBase" + }, + "clientType": { + "type": "string", + "enum": [ + "none", + "dotnet", + "java", + "python", + "go", + "php", + "ruby", + "django", + "nodejs", + "springBoot", + "kafka-springBoot", + "jms-springBoot", + "dapr" + ], + "x-ms-enum": { + "name": "ClientType", + "modelAsString": true + } + }, + "provisioningState": { + "type": "string", + "readOnly": true + }, + "vNetSolution": { + "$ref": "#/definitions/VNetSolution" + }, + "secretStore": { + "$ref": "#/definitions/SecretStore" + }, + "scope": { + "type": "string" + }, + "publicNetworkSolution": { + "$ref": "#/definitions/PublicNetworkSolution" + }, + "configurationInfo": { + "$ref": "#/definitions/ConfigurationInfo" + } + } + }, + "LinkerResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/LinkerProperties", + "x-ms-client-flatten": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "PermissionsMissingDryrunPrerequisiteResult": { + "type": "object", + "properties": { + "scope": { + "type": "string" + }, + "permissions": { + "type": "array", + "items": { + "type": "string" + } + }, + "recommendedRole": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/DryrunPrerequisiteResult" + } + ], + "x-ms-discriminator-value": "permissionsMissing" + }, + "PublicNetworkSolution": { + "type": "object", + "properties": { + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "action": { + "type": "string", + "enum": [ + "Internal" + ], + "x-ms-enum": { + "name": "ActionType", + "modelAsString": true + } + }, + "firewallRules": { + "$ref": "#/definitions/FirewallRules" + } + } + }, + "ResourceList": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/LinkerResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + }, + "required": [ + "value" + ] + }, + "SecretAuthInfo": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "secretInfo": { + "$ref": "#/definitions/SecretInfoBase" + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "secret" + }, + "SecretInfoBase": { + "type": "object", + "properties": { + "secretType": { + "type": "string", + "enum": [ + "rawValue", + "keyVaultSecretUri", + "keyVaultSecretReference" + ], + "x-ms-enum": { + "name": "SecretType", + "modelAsString": true + } + } + }, + "discriminator": "secretType", + "required": [ + "secretType" + ] + }, + "SecretStore": { + "type": "object", + "properties": { + "keyVaultId": { + "type": "string" + }, + "keyVaultSecretName": { + "type": "string" + } + } + }, + "SelfHostedServer": { + "type": "object", + "properties": { + "endpoint": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/TargetServiceBase" + } + ], + "x-ms-discriminator-value": "SelfHostedServer" + }, + "ServicePrincipalCertificateAuthInfo": { + "type": "object", + "properties": { + "clientId": { + "type": "string" + }, + "principalId": { + "type": "string" + }, + "certificate": { + "type": "string" + }, + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "certificate", + "clientId", + "principalId" + ], + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "servicePrincipalCertificate" + }, + "ServicePrincipalSecretAuthInfo": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "clientId": { + "type": "string" + }, + "principalId": { + "type": "string" + }, + "secret": { + "type": "string" + }, + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "clientId", + "principalId", + "secret" + ], + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "servicePrincipalSecret" + }, + "SourceConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "configType": { + "type": "string", + "enum": [ + "Default", + "KeyVaultSecret" + ], + "x-ms-enum": { + "name": "LinkerConfigurationType", + "modelAsString": true + }, + "readOnly": true + }, + "keyVaultReferenceIdentity": { + "type": "string" + }, + "description": { + "type": "string" + } + } + }, + "SystemAssignedIdentityAuthInfo": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "systemAssignedIdentity" + }, + "TargetServiceBase": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "AzureResource", + "ConfluentBootstrapServer", + "ConfluentSchemaRegistry", + "SelfHostedServer", + "FabricPlatform" + ], + "x-ms-enum": { + "name": "TargetServiceType", + "modelAsString": true + } + } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "UserAccountAuthInfo": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "principalId": { + "type": "string" + }, + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "userAccount" + }, + "UserAssignedIdentityAuthInfo": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "clientId": { + "type": "string" + }, + "subscriptionId": { + "type": "string" + }, + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "userAssignedIdentity" + }, + "VNetSolution": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "serviceEndpoint", + "privateLink" + ], + "x-ms-enum": { + "name": "VNetSolutionType", + "modelAsString": true + } + }, + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + } + } + }, + "ValidateOperationResult": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ValidateResult", + "x-ms-client-flatten": true + }, + "resourceId": { + "type": "string" + }, + "status": { + "type": "string" + } + } + }, + "ValidateResult": { + "type": "object", + "properties": { + "linkerName": { + "type": "string" + }, + "isConnectionAvailable": { + "type": "boolean" + }, + "reportStartTimeUtc": { + "type": "string", + "format": "date-time" + }, + "reportEndTimeUtc": { + "type": "string", + "format": "date-time" + }, + "sourceId": { + "type": "string" + }, + "targetId": { + "type": "string" + }, + "authType": { + "type": "string", + "enum": [ + "systemAssignedIdentity", + "userAssignedIdentity", + "servicePrincipalSecret", + "servicePrincipalCertificate", + "secret", + "accessKey", + "userAccount", + "easyAuthMicrosoftEntraID" + ], + "x-ms-enum": { + "name": "AuthType", + "modelAsString": true + } + }, + "validationDetail": { + "type": "array", + "items": { + "$ref": "#/definitions/ValidationResultItem" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "ValidationResultItem": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "result": { + "type": "string", + "enum": [ + "success", + "failure", + "warning" + ], + "x-ms-enum": { + "name": "ValidationResultStatus", + "modelAsString": true + } + }, + "errorMessage": { + "type": "string" + }, + "errorCode": { + "type": "string" + } + } + }, + "ValueSecretInfo": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/SecretInfoBase" + } + ], + "x-ms-discriminator-value": "rawValue" + } + }, + "parameters": {} +} \ No newline at end of file diff --git a/specification/servicelinker/output/oldSwagger.json b/specification/servicelinker/output/oldSwagger.json new file mode 100644 index 000000000000..ddd9a95c5687 --- /dev/null +++ b/specification/servicelinker/output/oldSwagger.json @@ -0,0 +1,2594 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft.ServiceLinker", + "version": "2024-07-01-preview", + "description": "Microsoft.ServiceLinker provider" + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "paths": { + "/{resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations": { + "get": { + "operationId": "Linkers_ListDaprConfigurations", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DaprConfigurationList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetDaprConfigurations": { + "$ref": "./examples/GetDaprConfigurations.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns": { + "get": { + "operationId": "Linkers_ListDryrun", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListDryrun": { + "$ref": "./examples/ListDryrun.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns/{dryrunName}": { + "get": { + "operationId": "Linkers_GetDryrun", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetDryrun": { + "$ref": "./examples/GetDryrun.json" + } + } + }, + "put": { + "operationId": "Linkers_CreateDryrun", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DryrunResource" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PutDryrun": { + "$ref": "./examples/PutDryrun.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Linkers_UpdateDryrun", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DryrunPatch" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PatchDryrun": { + "$ref": "./examples/PatchDryrun.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Linkers_DeleteDryrun", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteDryrun": { + "$ref": "./examples/DeleteDryrun.json" + } + } + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers": { + "get": { + "operationId": "Linker_List", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ResourceList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "LinkerList": { + "$ref": "./examples/LinkerList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}": { + "get": { + "operationId": "Linker_Get", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Linker": { + "$ref": "./examples/Linker.json" + } + } + }, + "put": { + "operationId": "Linker_CreateOrUpdate", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LinkerResource" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PutLinker": { + "$ref": "./examples/PutLinker.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Linker_Update", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LinkerPatch" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PatchLinker": { + "$ref": "./examples/PatchLinker.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Linker_Delete", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore" + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteLinker": { + "$ref": "./examples/DeleteLinker.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/generateConfigurations": { + "post": { + "operationId": "Linkers_GenerateConfigurations", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/ConfigurationInfo" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConfigurationResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GenerateConfiguration": { + "$ref": "./examples/LinkerGenerateConfigurations.json" + } + } + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/listConfigurations": { + "post": { + "operationId": "Linker_ListConfigurations", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConfigurationResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetConfiguration": { + "$ref": "./examples/GetConfigurations.json" + } + } + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/validateLinker": { + "post": { + "operationId": "Linker_Validate", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ValidateOperationResult" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ValidateLinkerSuccess": { + "$ref": "./examples/ValidateLinkerSuccess.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/providers/Microsoft.ServiceLinker/configurationNames": { + "get": { + "operationId": "ConfigurationNames_List", + "parameters": [ + { + "name": "$filter", + "in": "query", + "type": "string" + }, + { + "name": "$skipToken", + "in": "query", + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConfigurationNameResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetConfigurationNames": { + "$ref": "./examples/ConfigurationNamesList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.ServiceLinker/operations": { + "get": { + "operationId": "Operations_List", + "parameters": [], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetConfiguration": { + "$ref": "./examples/OperationsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors": { + "get": { + "operationId": "Connector_List", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ResourceList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "ConnectorList": { + "$ref": "./examples/ConnectorList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}": { + "get": { + "operationId": "Connector_Get", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Connector": { + "$ref": "./examples/Connectors.json" + } + } + }, + "put": { + "operationId": "Connector_CreateOrUpdate", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LinkerResource" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PutConnector": { + "$ref": "./examples/PutConnector.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Connector_Update", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LinkerPatch" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "202": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PatchConnector": { + "$ref": "./examples/PatchConnector.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Connector_Delete", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore" + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteConnector": { + "$ref": "./examples/DeleteConnector.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/generateConfigurations": { + "post": { + "operationId": "Connector_GenerateConfigurations", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/ConfigurationInfo" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConfigurationResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GenerateConfiguration": { + "$ref": "./examples/GenerateConfigurations.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/validate": { + "post": { + "operationId": "Connector_Validate", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ValidateOperationResult" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ValidateConnectorSuccess": { + "$ref": "./examples/ValidateConnectorSuccess.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns": { + "get": { + "operationId": "Connector_ListDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunList": { + "$ref": "./examples/ConnectorDryrunList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}": { + "get": { + "operationId": "Connector_GetDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunGet": { + "$ref": "./examples/ConnectorDryrunGet.json" + } + } + }, + "put": { + "operationId": "Connector_CreateDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DryrunResource" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunCreate": { + "$ref": "./examples/ConnectorDryrunCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Connector_UpdateDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DryrunPatch" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunUpdate": { + "$ref": "./examples/ConnectorDryrunUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Connector_DeleteDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunDelete": { + "$ref": "./examples/ConnectorDryrunDelete.json" + } + } + } + } + }, + "definitions": { + "AccessKeyInfoBase": { + "type": "object", + "properties": { + "permissions": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Read", + "Write", + "Listen", + "Send", + "Manage" + ], + "x-ms-enum": { + "name": "accessKeyPermissions", + "modelAsString": true + } + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "accessKey" + }, + "AuthInfoBase": { + "type": "object", + "properties": { + "authType": { + "type": "string", + "enum": [ + "systemAssignedIdentity", + "userAssignedIdentity", + "servicePrincipalSecret", + "servicePrincipalCertificate", + "secret", + "accessKey", + "userAccount", + "easyAuthMicrosoftEntraID" + ], + "x-ms-enum": { + "name": "AuthType", + "modelAsString": true + } + }, + "authMode": { + "type": "string", + "enum": [ + "optInAllAuth", + "optOutAllAuth" + ], + "x-ms-enum": { + "name": "AuthMode", + "modelAsString": true + } + } + }, + "discriminator": "authType", + "required": [ + "authType" + ] + }, + "AzureAppConfigProperties": { + "type": "object", + "properties": { + "connectWithKubernetesExtension": { + "type": "boolean", + "x-nullable": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/AzureResourcePropertiesBase" + } + ], + "x-ms-discriminator-value": "AppConfig" + }, + "AzureKeyVaultProperties": { + "type": "object", + "properties": { + "connectAsKubernetesCsiDriver": { + "type": "boolean", + "x-nullable": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/AzureResourcePropertiesBase" + } + ], + "x-ms-discriminator-value": "KeyVault" + }, + "AzureResource": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "resourceProperties": { + "$ref": "#/definitions/AzureResourcePropertiesBase", + "x-nullable": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/TargetServiceBase" + } + ], + "x-ms-discriminator-value": "AzureResource" + }, + "AzureResourcePropertiesBase": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "KeyVault", + "AppConfig" + ], + "x-ms-enum": { + "name": "AzureResourceType", + "modelAsString": true + } + } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "BasicErrorDryrunPrerequisiteResult": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/DryrunPrerequisiteResult" + } + ], + "x-ms-discriminator-value": "basicError" + }, + "ConfigurationInfo": { + "type": "object", + "properties": { + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "action": { + "type": "string", + "enum": [ + "enable", + "optOut" + ], + "x-ms-enum": { + "name": "ActionType", + "modelAsString": true + } + }, + "customizedKeys": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "daprProperties": { + "$ref": "#/definitions/DaprProperties" + }, + "additionalConfigurations": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "additionalConnectionStringProperties": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "configurationStore": { + "$ref": "#/definitions/ConfigurationStore", + "x-nullable": true + } + } + }, + "ConfigurationName": { + "type": "object", + "properties": { + "value": { + "type": "string" + }, + "description": { + "type": "string" + }, + "required": { + "type": "boolean" + } + } + }, + "ConfigurationNameItem": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ConfigurationNames", + "x-nullable": true, + "x-ms-client-flatten": true + } + } + }, + "ConfigurationNameResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/ConfigurationNameItem" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + }, + "required": [ + "value" + ] + }, + "ConfigurationNames": { + "type": "object", + "properties": { + "targetService": { + "type": "string" + }, + "clientType": { + "type": "string", + "enum": [ + "none", + "dotnet", + "java", + "python", + "go", + "php", + "ruby", + "django", + "nodejs", + "springBoot", + "kafka-springBoot", + "jms-springBoot", + "dapr" + ], + "x-ms-enum": { + "name": "ClientType", + "modelAsString": true + } + }, + "authType": { + "type": "string", + "enum": [ + "systemAssignedIdentity", + "userAssignedIdentity", + "servicePrincipalSecret", + "servicePrincipalCertificate", + "secret", + "accessKey", + "userAccount", + "easyAuthMicrosoftEntraID" + ], + "x-ms-enum": { + "name": "AuthType", + "modelAsString": true + } + }, + "secretType": { + "type": "string", + "enum": [ + "rawValue", + "keyVaultSecret" + ], + "x-ms-enum": { + "name": "SecretSourceType", + "modelAsString": true + } + }, + "daprProperties": { + "$ref": "#/definitions/DaprProperties" + }, + "names": { + "type": "array", + "items": { + "$ref": "#/definitions/ConfigurationName" + } + } + } + }, + "ConfigurationResult": { + "type": "object", + "properties": { + "configurations": { + "type": "array", + "items": { + "$ref": "#/definitions/SourceConfiguration" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "ConfigurationStore": { + "type": "object", + "properties": { + "appConfigurationId": { + "type": "string", + "x-nullable": true + } + } + }, + "ConfluentBootstrapServer": { + "type": "object", + "properties": { + "endpoint": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/TargetServiceBase" + } + ], + "x-ms-discriminator-value": "ConfluentBootstrapServer" + }, + "ConfluentSchemaRegistry": { + "type": "object", + "properties": { + "endpoint": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/TargetServiceBase" + } + ], + "x-ms-discriminator-value": "ConfluentSchemaRegistry" + }, + "CreateOrUpdateDryrunParameters": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DryrunParameters" + }, + { + "$ref": "#/definitions/LinkerProperties" + } + ], + "x-ms-discriminator-value": "createOrUpdate" + }, + "DaprConfigurationList": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/DaprConfigurationResource" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + }, + "required": [ + "value" + ] + }, + "DaprConfigurationProperties": { + "type": "object", + "properties": { + "targetType": { + "type": "string" + }, + "authType": { + "type": "string", + "enum": [ + "systemAssignedIdentity", + "userAssignedIdentity", + "servicePrincipalSecret", + "servicePrincipalCertificate", + "secret", + "accessKey", + "userAccount", + "easyAuthMicrosoftEntraID" + ], + "x-ms-enum": { + "name": "AuthType", + "modelAsString": true + } + }, + "daprProperties": { + "$ref": "#/definitions/DaprProperties" + } + } + }, + "DaprConfigurationResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/DaprConfigurationProperties", + "x-ms-client-flatten": true + } + } + }, + "DaprMetadata": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "secretRef": { + "type": "string" + }, + "description": { + "type": "string" + }, + "required": { + "type": "string", + "enum": [ + "true", + "false" + ], + "x-ms-enum": { + "name": "DaprMetadataRequired", + "modelAsString": true + } + } + } + }, + "DaprProperties": { + "type": "object", + "properties": { + "version": { + "type": "string", + "x-nullable": true + }, + "componentType": { + "type": "string", + "x-nullable": true + }, + "secretStoreComponent": { + "type": "string", + "x-nullable": true + }, + "metadata": { + "type": "array", + "items": { + "$ref": "#/definitions/DaprMetadata" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "scopes": { + "type": "array", + "items": { + "type": "string" + } + }, + "runtimeVersion": { + "type": "string", + "x-nullable": true, + "readOnly": true + }, + "bindingComponentDirection": { + "type": "string", + "enum": [ + "input", + "output" + ], + "x-ms-enum": { + "name": "DaprBindingComponentDirection", + "modelAsString": true + }, + "x-nullable": true, + "readOnly": true + } + } + }, + "DatabaseAadAuthInfo": { + "type": "object", + "properties": { + "userName": { + "type": "string", + "x-nullable": true + } + } + }, + "DryrunList": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property", + "x-nullable": true + }, + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/DryrunResource" + } + } + }, + "required": [ + "value" + ] + }, + "DryrunOperationPreview": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "operationType": { + "type": "string", + "enum": [ + "configConnection", + "configNetwork", + "configAuth" + ], + "x-ms-enum": { + "name": "DryrunPreviewOperationType", + "modelAsString": true + } + }, + "description": { + "type": "string" + }, + "action": { + "type": "string" + }, + "scope": { + "type": "string" + } + } + }, + "DryrunParameters": { + "type": "object", + "properties": { + "actionName": { + "type": "string", + "enum": [ + "createOrUpdate" + ], + "x-ms-enum": { + "name": "DryrunActionName", + "modelAsString": true + } + } + }, + "discriminator": "actionName", + "required": [ + "actionName" + ] + }, + "DryrunPatch": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/DryrunProperties", + "x-ms-client-flatten": true + } + } + }, + "DryrunPrerequisiteResult": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "basicError", + "permissionsMissing" + ], + "x-ms-enum": { + "name": "DryrunPrerequisiteResultType", + "modelAsString": true + } + } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "DryrunProperties": { + "type": "object", + "properties": { + "parameters": { + "$ref": "#/definitions/DryrunParameters" + }, + "prerequisiteResults": { + "type": "array", + "items": { + "$ref": "#/definitions/DryrunPrerequisiteResult" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "operationPreviews": { + "type": "array", + "items": { + "$ref": "#/definitions/DryrunOperationPreview" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "provisioningState": { + "type": "string", + "readOnly": true + } + } + }, + "DryrunResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/DryrunProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource", + "description": "The resource model definition for an Azure Resource Manager proxy resource." + } + ] + }, + "EasyAuthMicrosoftEntraIDAuthInfo": { + "type": "object", + "properties": { + "clientId": { + "type": "string" + }, + "secret": { + "type": "string", + "x-ms-secret": true + }, + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "easyAuthMicrosoftEntraID" + }, + "FabricPlatform": { + "type": "object", + "properties": { + "endpoint": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/TargetServiceBase" + } + ], + "x-ms-discriminator-value": "FabricPlatform" + }, + "FirewallRules": { + "type": "object", + "properties": { + "ipRanges": { + "type": "array", + "items": { + "type": "string" + } + }, + "azureServices": { + "type": "string", + "enum": [ + "true", + "false" + ], + "x-ms-enum": { + "name": "AllowType", + "modelAsString": true + } + }, + "callerClientIP": { + "type": "string", + "enum": [ + "true", + "false" + ], + "x-ms-enum": { + "name": "AllowType", + "modelAsString": true + } + } + } + }, + "KeyVaultSecretReferenceSecretInfo": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "version": { + "type": "string", + "x-nullable": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/SecretInfoBase" + } + ], + "x-ms-discriminator-value": "keyVaultSecretReference" + }, + "KeyVaultSecretUriSecretInfo": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/SecretInfoBase" + } + ], + "x-ms-discriminator-value": "keyVaultSecretUri" + }, + "LinkerPatch": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/LinkerProperties", + "type": "object", + "x-ms-client-flatten": true + } + } + }, + "LinkerProperties": { + "type": "object", + "properties": { + "targetService": { + "$ref": "#/definitions/TargetServiceBase" + }, + "authInfo": { + "$ref": "#/definitions/AuthInfoBase" + }, + "clientType": { + "type": "string", + "enum": [ + "none", + "dotnet", + "java", + "python", + "go", + "php", + "ruby", + "django", + "nodejs", + "springBoot", + "kafka-springBoot", + "jms-springBoot", + "dapr" + ], + "x-ms-enum": { + "name": "ClientType", + "modelAsString": true + } + }, + "provisioningState": { + "type": "string", + "readOnly": true + }, + "vNetSolution": { + "$ref": "#/definitions/VNetSolution", + "x-nullable": true + }, + "secretStore": { + "$ref": "#/definitions/SecretStore", + "x-nullable": true + }, + "scope": { + "type": "string", + "x-nullable": true + }, + "publicNetworkSolution": { + "$ref": "#/definitions/PublicNetworkSolution", + "x-nullable": true + }, + "configurationInfo": { + "$ref": "#/definitions/ConfigurationInfo", + "x-nullable": true + } + } + }, + "LinkerResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/LinkerProperties", + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "x-nullable": true, + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource", + "description": "The resource model definition for an Azure Resource Manager proxy resource." + } + ] + }, + "PermissionsMissingDryrunPrerequisiteResult": { + "type": "object", + "properties": { + "scope": { + "type": "string" + }, + "permissions": { + "type": "array", + "items": { + "type": "string" + } + }, + "recommendedRole": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/DryrunPrerequisiteResult" + } + ], + "x-ms-discriminator-value": "permissionsMissing" + }, + "PublicNetworkSolution": { + "type": "object", + "properties": { + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "action": { + "type": "string", + "enum": [ + "enable", + "optOut" + ], + "x-ms-enum": { + "name": "ActionType", + "modelAsString": true + } + }, + "firewallRules": { + "$ref": "#/definitions/FirewallRules" + } + } + }, + "ResourceList": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property", + "x-nullable": true + }, + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/LinkerResource" + } + } + }, + "required": [ + "value" + ] + }, + "SecretAuthInfo": { + "type": "object", + "properties": { + "name": { + "type": "string", + "x-nullable": true + }, + "secretInfo": { + "$ref": "#/definitions/SecretInfoBase", + "x-nullable": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "secret" + }, + "SecretInfoBase": { + "type": "object", + "properties": { + "secretType": { + "type": "string", + "enum": [ + "rawValue", + "keyVaultSecretUri", + "keyVaultSecretReference" + ], + "x-ms-enum": { + "name": "SecretType", + "modelAsString": true + } + } + }, + "discriminator": "secretType", + "required": [ + "secretType" + ] + }, + "SecretStore": { + "type": "object", + "properties": { + "keyVaultId": { + "type": "string", + "x-nullable": true + }, + "keyVaultSecretName": { + "type": "string", + "x-nullable": true + } + } + }, + "SelfHostedServer": { + "type": "object", + "properties": { + "endpoint": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/TargetServiceBase" + } + ], + "x-ms-discriminator-value": "SelfHostedServer" + }, + "ServicePrincipalCertificateAuthInfo": { + "type": "object", + "properties": { + "clientId": { + "type": "string" + }, + "principalId": { + "type": "string" + }, + "certificate": { + "type": "string", + "x-ms-secret": true + }, + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "certificate", + "clientId", + "principalId" + ], + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "servicePrincipalCertificate" + }, + "ServicePrincipalSecretAuthInfo": { + "type": "object", + "properties": { + "clientId": { + "type": "string" + }, + "principalId": { + "type": "string" + }, + "secret": { + "type": "string", + "x-ms-secret": true + }, + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "clientId", + "principalId", + "secret" + ], + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + }, + { + "$ref": "#/definitions/DatabaseAadAuthInfo" + } + ], + "x-ms-discriminator-value": "servicePrincipalSecret" + }, + "SourceConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string", + "x-nullable": true + }, + "configType": { + "type": "string", + "enum": [ + "Default", + "KeyVaultSecret" + ], + "x-ms-enum": { + "name": "LinkerConfigurationType", + "modelAsString": true + }, + "readOnly": true + }, + "keyVaultReferenceIdentity": { + "type": "string", + "x-nullable": true + }, + "description": { + "type": "string", + "x-nullable": true + } + } + }, + "SystemAssignedIdentityAuthInfo": { + "type": "object", + "properties": { + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + }, + { + "$ref": "#/definitions/DatabaseAadAuthInfo" + } + ], + "x-ms-discriminator-value": "systemAssignedIdentity" + }, + "TargetServiceBase": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "AzureResource", + "ConfluentBootstrapServer", + "ConfluentSchemaRegistry", + "SelfHostedServer", + "FabricPlatform" + ], + "x-ms-enum": { + "name": "TargetServiceType", + "modelAsString": true + } + } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "UserAccountAuthInfo": { + "type": "object", + "properties": { + "principalId": { + "type": "string" + }, + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + }, + { + "$ref": "#/definitions/DatabaseAadAuthInfo" + } + ], + "x-ms-discriminator-value": "userAccount" + }, + "UserAssignedIdentityAuthInfo": { + "type": "object", + "properties": { + "clientId": { + "type": "string" + }, + "subscriptionId": { + "type": "string" + }, + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + }, + { + "$ref": "#/definitions/DatabaseAadAuthInfo" + } + ], + "x-ms-discriminator-value": "userAssignedIdentity" + }, + "VNetSolution": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "serviceEndpoint", + "privateLink" + ], + "x-ms-enum": { + "name": "VNetSolutionType", + "modelAsString": true + }, + "x-nullable": true + }, + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + } + } + }, + "ValidateOperationResult": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ValidateResult", + "x-nullable": true, + "x-ms-client-flatten": true + }, + "resourceId": { + "type": "string", + "x-nullable": true + }, + "status": { + "type": "string", + "x-nullable": true + } + } + }, + "ValidateResult": { + "type": "object", + "properties": { + "linkerName": { + "type": "string", + "x-nullable": true + }, + "isConnectionAvailable": { + "type": "boolean", + "x-nullable": true + }, + "reportStartTimeUtc": { + "type": "string", + "format": "date-time", + "x-nullable": true + }, + "reportEndTimeUtc": { + "type": "string", + "format": "date-time", + "x-nullable": true + }, + "sourceId": { + "type": "string", + "x-nullable": true + }, + "targetId": { + "type": "string", + "x-nullable": true + }, + "authType": { + "type": "string", + "enum": [ + "systemAssignedIdentity", + "userAssignedIdentity", + "servicePrincipalSecret", + "servicePrincipalCertificate", + "secret", + "accessKey", + "userAccount", + "easyAuthMicrosoftEntraID" + ], + "x-ms-enum": { + "name": "AuthType", + "modelAsString": true + }, + "x-nullable": true + }, + "validationDetail": { + "type": "array", + "items": { + "$ref": "#/definitions/ValidationResultItem" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "ValidationResultItem": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string", + "x-nullable": true + }, + "result": { + "type": "string", + "enum": [ + "success", + "failure", + "warning" + ], + "x-ms-enum": { + "name": "ValidationResultStatus", + "modelAsString": true + }, + "x-nullable": true + }, + "errorMessage": { + "type": "string", + "x-nullable": true + }, + "errorCode": { + "type": "string", + "x-nullable": true + } + } + }, + "ValueSecretInfo": { + "type": "object", + "properties": { + "value": { + "type": "string", + "x-nullable": true, + "x-ms-secret": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/SecretInfoBase" + } + ], + "x-ms-discriminator-value": "rawValue" + } + }, + "parameters": {} +} \ No newline at end of file From 16439d7b42467e24c026ab22fedbc23856069924 Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Tue, 20 May 2025 11:32:51 +0800 Subject: [PATCH 04/37] fix --- .../ServiceLinker.Management/models.tsp | 84 +- specification/servicelinker/output/diff.json | 2608 +++++++++++++++- .../output/newNormalizedSwagger.json | 2764 +++++++++++++++++ .../output/oldNormalizedSwagger.json | 2578 +++++++++++++++ .../2024-07-01-preview/servicelinker.json | 141 +- 5 files changed, 8090 insertions(+), 85 deletions(-) create mode 100644 specification/servicelinker/output/newNormalizedSwagger.json create mode 100644 specification/servicelinker/output/oldNormalizedSwagger.json diff --git a/specification/servicelinker/ServiceLinker.Management/models.tsp b/specification/servicelinker/ServiceLinker.Management/models.tsp index 7cc1b7d521e4..2907005f3a51 100644 --- a/specification/servicelinker/ServiceLinker.Management/models.tsp +++ b/specification/servicelinker/ServiceLinker.Management/models.tsp @@ -425,27 +425,27 @@ model LinkerProperties { /** * The VNet solution. */ - vNetSolution?: VNetSolution; + vNetSolution?: VNetSolution | null; /** * An option to store secret value in secure place */ - secretStore?: SecretStore; + secretStore?: SecretStore | null; /** * connection scope in source service. */ - scope?: string; + scope?: string | null; /** * The network solution. */ - publicNetworkSolution?: PublicNetworkSolution; + publicNetworkSolution?: PublicNetworkSolution | null; /** * The connection information consumed by applications, including secrets, connection strings. */ - configurationInfo?: ConfigurationInfo; + configurationInfo?: ConfigurationInfo | null; } /** @@ -482,7 +482,7 @@ model VNetSolution { /** * Type of VNet solution. */ - type?: VNetSolutionType; + type?: VNetSolutionType | null; /** * Indicates whether to clean up previous operation when Linker is updating or deleting @@ -497,12 +497,12 @@ model SecretStore { /** * The key vault id to store secret */ - keyVaultId?: string; + keyVaultId?: string | null; /** * The key vault secret name to store secret, only valid when storing one secret */ - keyVaultSecretName?: string; + keyVaultSecretName?: string | null; } /** @@ -585,7 +585,7 @@ model ConfigurationInfo { /** * An option to store configuration into different place */ - configurationStore?: ConfigurationStore; + configurationStore?: ConfigurationStore | null; } /** @@ -595,17 +595,17 @@ model DaprProperties { /** * The dapr component version */ - version?: string; + version?: string | null; /** * The dapr component type */ - componentType?: string; + componentType?: string | null; /** * The name of a secret store dapr to retrieve secret */ - secretStoreComponent?: string; + secretStoreComponent?: string | null; /** * Additional dapr metadata @@ -622,13 +622,13 @@ model DaprProperties { * The runtime version supported by the properties */ @visibility(Lifecycle.Read) - runtimeVersion?: string; + runtimeVersion?: string | null; /** * The direction supported by the dapr binding component */ @visibility(Lifecycle.Read) - bindingComponentDirection?: DaprBindingComponentDirection; + bindingComponentDirection?: DaprBindingComponentDirection | null; } /** @@ -668,7 +668,7 @@ model ConfigurationStore { /** * The app configuration id to store configuration */ - appConfigurationId?: string; + appConfigurationId?: string | null; } /** @@ -692,17 +692,17 @@ model ValidateOperationResult { */ #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" @Azure.ResourceManager.Private.conditionalClientFlatten - properties?: ValidateResult; + properties?: ValidateResult | null; /** * Validated Linker id. */ - resourceId?: string; + resourceId?: string | null; /** * Validation operation status. */ - status?: string; + status?: string | null; } /** @@ -712,39 +712,39 @@ model ValidateResult { /** * The linker name. */ - linkerName?: string; + linkerName?: string | null; /** * A boolean value indicating whether the connection is available or not */ - isConnectionAvailable?: boolean; + isConnectionAvailable?: boolean | null; /** * The start time of the validation report. */ // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. - reportStartTimeUtc?: utcDateTime; + reportStartTimeUtc?: utcDateTime | null; /** * The end time of the validation report. */ // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. - reportEndTimeUtc?: utcDateTime; + reportEndTimeUtc?: utcDateTime | null; /** * The resource id of the Linker source application. */ - sourceId?: string; + sourceId?: string | null; /** * The resource Id of target service. */ - targetId?: string; + targetId?: string | null; /** * The authentication type. */ - authType?: AuthType; + authType?: AuthType | null; /** * The detail of validation result @@ -765,22 +765,22 @@ model ValidationResultItem { /** * The display name of validation item */ - description?: string; + description?: string | null; /** * The result of validation */ - result?: ValidationResultStatus; + result?: ValidationResultStatus | null; /** * The error message of validation result */ - errorMessage?: string; + errorMessage?: string | null; /** * The error code of validation result */ - errorCode?: string; + errorCode?: string | null; } /** @@ -806,7 +806,7 @@ model SourceConfiguration { /** * The value of setting */ - value?: string; + value?: string | null; /** * The type of setting @@ -817,12 +817,12 @@ model SourceConfiguration { /** * The identity for key vault reference, system or user-assigned managed identity ID */ - keyVaultReferenceIdentity?: string; + keyVaultReferenceIdentity?: string | null; /** * Descriptive information for the configuration */ - description?: string; + description?: string | null; } /** @@ -837,7 +837,7 @@ model ConfigurationNameItem { */ #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" @Azure.ResourceManager.Private.conditionalClientFlatten - properties?: ConfigurationNames; + properties?: ConfigurationNames | null; } /** @@ -951,7 +951,7 @@ model AzureResource extends TargetServiceBase { /** * The azure resource connection related properties. */ - resourceProperties?: AzureResourcePropertiesBase; + resourceProperties?: AzureResourcePropertiesBase | null; /** * The target service type. @@ -966,7 +966,7 @@ model AzureKeyVaultProperties extends AzureResourcePropertiesBase { /** * True if connect via Kubernetes CSI Driver. */ - connectAsKubernetesCsiDriver?: boolean; + connectAsKubernetesCsiDriver?: boolean | null; /** * The azure resource type. @@ -981,7 +981,7 @@ model AzureAppConfigProperties extends AzureResourcePropertiesBase { /** * True if connection enables app configuration kubernetes extension. */ - connectWithKubernetesExtension?: boolean; + connectWithKubernetesExtension?: boolean | null; /** * The azure resource type. @@ -1067,7 +1067,8 @@ model ValueSecretInfo extends SecretInfoBase { /** * The actual value of the secret. */ - value?: string; + @secret + value?: string | null; /** * The secret type. @@ -1087,7 +1088,7 @@ model KeyVaultSecretReferenceSecretInfo extends SecretInfoBase { /** * Version of the Key Vault secret. */ - version?: string; + version?: string | null; /** * The secret type. @@ -1142,12 +1143,12 @@ model SecretAuthInfo extends AuthInfoBase { /** * Username or account name for secret auth. */ - name?: string; + name?: string | null; /** * Password or key vault secret for secret auth. */ - secretInfo?: SecretInfoBase; + secretInfo?: SecretInfoBase | null; /** * The authentication type. @@ -1228,6 +1229,7 @@ model ServicePrincipalSecretAuthInfo extends AuthInfoBase { /** * Secret for servicePrincipal auth. */ + @secret secret: string; /** @@ -1263,6 +1265,7 @@ model ServicePrincipalCertificateAuthInfo extends AuthInfoBase { /** * ServicePrincipal certificate for servicePrincipal auth. */ + @secret certificate: string; /** @@ -1320,6 +1323,7 @@ model EasyAuthMicrosoftEntraIDAuthInfo extends AuthInfoBase { /** * Application Secret for EasyAuth Microsoft Entra ID. */ + @secret secret?: string; /** diff --git a/specification/servicelinker/output/diff.json b/specification/servicelinker/output/diff.json index b0029b087261..4a6feb478403 100644 --- a/specification/servicelinker/output/diff.json +++ b/specification/servicelinker/output/diff.json @@ -1 +1,2607 @@ -" {\n info: {\n\u001b[32m+ x-typespec-generated: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ emitter: \"@azure-tools/typespec-autorest\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[31m- title: \"Microsoft.ServiceLinker\"\u001b[39m\n\u001b[32m+ title: \"ServiceLinkerManagementClient\"\u001b[39m\n }\n paths: {\n\u001b[31m- /{resourceUri}/providers/Microsoft.ServiceLinker/dryruns: {\u001b[39m\n\u001b[31m- get: {\u001b[39m\n\u001b[31m- operationId: \"Linkers_ListDryrun\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"resourceUri\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunList\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- ListDryrun: {\u001b[39m\n\u001b[31m- $ref: \"./examples/ListDryrun.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-pageable: {\u001b[39m\n\u001b[31m- nextLinkName: \"nextLink\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- /{resourceUri}/providers/Microsoft.ServiceLinker/dryruns/{dryrunName}: {\u001b[39m\n\u001b[31m- get: {\u001b[39m\n\u001b[31m- operationId: \"Linkers_GetDryrun\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"resourceUri\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"dryrunName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- GetDryrun: {\u001b[39m\n\u001b[31m- $ref: \"./examples/GetDryrun.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- put: {\u001b[39m\n\u001b[31m- operationId: \"Linkers_CreateDryrun\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"resourceUri\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"dryrunName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"parameters\"\u001b[39m\n\u001b[31m- in: \"body\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 201: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- PutDryrun: {\u001b[39m\n\u001b[31m- $ref: \"./examples/PutDryrun.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation-options: {\u001b[39m\n\u001b[31m- final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- patch: {\u001b[39m\n\u001b[31m- operationId: \"Linkers_UpdateDryrun\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"resourceUri\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"dryrunName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"parameters\"\u001b[39m\n\u001b[31m- in: \"body\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunPatch\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 202: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- PatchDryrun: {\u001b[39m\n\u001b[31m- $ref: \"./examples/PatchDryrun.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation-options: {\u001b[39m\n\u001b[31m- final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- delete: {\u001b[39m\n\u001b[31m- operationId: \"Linkers_DeleteDryrun\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"resourceUri\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"dryrunName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 204: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- DeleteDryrun: {\u001b[39m\n\u001b[31m- $ref: \"./examples/DeleteDryrun.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- /{resourceUri}/providers/Microsoft.ServiceLinker/linkers: {\u001b[39m\n\u001b[31m- get: {\u001b[39m\n\u001b[31m- operationId: \"Linker_List\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"resourceUri\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/ResourceList\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- deprecated: false\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- LinkerList: {\u001b[39m\n\u001b[31m- $ref: \"./examples/LinkerList.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-pageable: {\u001b[39m\n\u001b[31m- nextLinkName: \"nextLink\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}: {\u001b[39m\n\u001b[31m- get: {\u001b[39m\n\u001b[31m- operationId: \"Linker_Get\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"resourceUri\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"linkerName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- Linker: {\u001b[39m\n\u001b[31m- $ref: \"./examples/Linker.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- put: {\u001b[39m\n\u001b[31m- operationId: \"Linker_CreateOrUpdate\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"resourceUri\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"linkerName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"parameters\"\u001b[39m\n\u001b[31m- in: \"body\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 201: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- PutLinker: {\u001b[39m\n\u001b[31m- $ref: \"./examples/PutLinker.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation-options: {\u001b[39m\n\u001b[31m- final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- patch: {\u001b[39m\n\u001b[31m- operationId: \"Linker_Update\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"resourceUri\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"linkerName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"parameters\"\u001b[39m\n\u001b[31m- in: \"body\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerPatch\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 201: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- PatchLinker: {\u001b[39m\n\u001b[31m- $ref: \"./examples/PatchLinker.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation-options: {\u001b[39m\n\u001b[31m- final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- delete: {\u001b[39m\n\u001b[31m- operationId: \"Linker_Delete\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"resourceUri\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"linkerName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 202: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 204: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- DeleteLinker: {\u001b[39m\n\u001b[31m- $ref: \"./examples/DeleteLinker.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation-options: {\u001b[39m\n\u001b[31m- final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/generateConfigurations: {\u001b[39m\n\u001b[31m- post: {\u001b[39m\n\u001b[31m- operationId: \"Linkers_GenerateConfigurations\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"resourceUri\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"linkerName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"parameters\"\u001b[39m\n\u001b[31m- in: \"body\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/ConfigurationInfo\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/ConfigurationResult\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- GenerateConfiguration: {\u001b[39m\n\u001b[31m- $ref: \"./examples/LinkerGenerateConfigurations.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/listConfigurations: {\u001b[39m\n\u001b[31m- post: {\u001b[39m\n\u001b[31m- operationId: \"Linker_ListConfigurations\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"resourceUri\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"linkerName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/ConfigurationResult\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- GetConfiguration: {\u001b[39m\n\u001b[31m- $ref: \"./examples/GetConfigurations.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/validateLinker: {\u001b[39m\n\u001b[31m- post: {\u001b[39m\n\u001b[31m- operationId: \"Linker_Validate\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"resourceUri\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"linkerName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/ValidateOperationResult\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 202: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- ValidateLinkerSuccess: {\u001b[39m\n\u001b[31m- $ref: \"./examples/ValidateLinkerSuccess.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors: {\u001b[39m\n\u001b[31m- get: {\u001b[39m\n\u001b[31m- operationId: \"Connector_List\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/ResourceList\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- deprecated: false\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- ConnectorList: {\u001b[39m\n\u001b[31m- $ref: \"./examples/ConnectorList.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-pageable: {\u001b[39m\n\u001b[31m- nextLinkName: \"nextLink\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}: {\u001b[39m\n\u001b[31m- get: {\u001b[39m\n\u001b[31m- operationId: \"Connector_Get\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"connectorName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- Connector: {\u001b[39m\n\u001b[31m- $ref: \"./examples/Connectors.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- put: {\u001b[39m\n\u001b[31m- operationId: \"Connector_CreateOrUpdate\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"connectorName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"parameters\"\u001b[39m\n\u001b[31m- in: \"body\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 201: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- PutConnector: {\u001b[39m\n\u001b[31m- $ref: \"./examples/PutConnector.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation-options: {\u001b[39m\n\u001b[31m- final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- patch: {\u001b[39m\n\u001b[31m- operationId: \"Connector_Update\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"connectorName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"parameters\"\u001b[39m\n\u001b[31m- in: \"body\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerPatch\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 202: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- PatchConnector: {\u001b[39m\n\u001b[31m- $ref: \"./examples/PatchConnector.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation-options: {\u001b[39m\n\u001b[31m- final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- delete: {\u001b[39m\n\u001b[31m- operationId: \"Connector_Delete\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"connectorName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 202: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 204: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- DeleteConnector: {\u001b[39m\n\u001b[31m- $ref: \"./examples/DeleteConnector.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation-options: {\u001b[39m\n\u001b[31m- final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/generateConfigurations: {\u001b[39m\n\u001b[31m- post: {\u001b[39m\n\u001b[31m- operationId: \"Connector_GenerateConfigurations\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"connectorName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"parameters\"\u001b[39m\n\u001b[31m- in: \"body\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/ConfigurationInfo\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/ConfigurationResult\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- GenerateConfiguration: {\u001b[39m\n\u001b[31m- $ref: \"./examples/GenerateConfigurations.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/validate: {\u001b[39m\n\u001b[31m- post: {\u001b[39m\n\u001b[31m- operationId: \"Connector_Validate\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"connectorName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/ValidateOperationResult\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 202: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- ValidateConnectorSuccess: {\u001b[39m\n\u001b[31m- $ref: \"./examples/ValidateConnectorSuccess.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns: {\u001b[39m\n\u001b[31m- get: {\u001b[39m\n\u001b[31m- operationId: \"Connector_ListDryrun\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunList\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- ConnectorDryrunList: {\u001b[39m\n\u001b[31m- $ref: \"./examples/ConnectorDryrunList.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-pageable: {\u001b[39m\n\u001b[31m- nextLinkName: \"nextLink\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}: {\u001b[39m\n\u001b[31m- get: {\u001b[39m\n\u001b[31m- operationId: \"Connector_GetDryrun\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"dryrunName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- ConnectorDryrunGet: {\u001b[39m\n\u001b[31m- $ref: \"./examples/ConnectorDryrunGet.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- put: {\u001b[39m\n\u001b[31m- operationId: \"Connector_CreateDryrun\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"dryrunName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"parameters\"\u001b[39m\n\u001b[31m- in: \"body\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 201: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- ConnectorDryrunCreate: {\u001b[39m\n\u001b[31m- $ref: \"./examples/ConnectorDryrunCreate.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation-options: {\u001b[39m\n\u001b[31m- final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- patch: {\u001b[39m\n\u001b[31m- operationId: \"Connector_UpdateDryrun\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"dryrunName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"parameters\"\u001b[39m\n\u001b[31m- in: \"body\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunPatch\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 202: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- ConnectorDryrunUpdate: {\u001b[39m\n\u001b[31m- $ref: \"./examples/ConnectorDryrunUpdate.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation-options: {\u001b[39m\n\u001b[31m- final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-long-running-operation: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- delete: {\u001b[39m\n\u001b[31m- operationId: \"Connector_DeleteDryrun\"\u001b[39m\n\u001b[31m- parameters: [\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- {\u001b[39m\n\u001b[31m- name: \"dryrunName\"\u001b[39m\n\u001b[31m- in: \"path\"\u001b[39m\n\u001b[31m- required: true\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- responses: {\u001b[39m\n\u001b[31m- 200: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- 204: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- default: {\u001b[39m\n\u001b[31m- description: \"ignore\"\u001b[39m\n\u001b[31m- schema: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- x-ms-examples: {\u001b[39m\n\u001b[31m- ConnectorDryrunDelete: {\u001b[39m\n\u001b[31m- $ref: \"./examples/ConnectorDryrunDelete.json\"\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[32m+ /{resourceUri}/{providers}/{resourceUri}/connectors: {\u001b[39m\n\u001b[32m+ get: {\u001b[39m\n\u001b[32m+ operationId: \"Linker_List\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"providers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"resourceUri\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/ResourceList\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ LinkerList: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/LinkerList.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-pageable: {\u001b[39m\n\u001b[32m+ nextLinkName: \"nextLink\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ /{resourceUri}/{providers}/{resourceUri}/dryruns: {\u001b[39m\n\u001b[32m+ get: {\u001b[39m\n\u001b[32m+ operationId: \"Linkers_ListDryrun\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"providers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"resourceUri\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunList\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ ListDryrun: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/ListDryrun.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-pageable: {\u001b[39m\n\u001b[32m+ nextLinkName: \"nextLink\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ /{resourceUri}/{providers}/Microsoft.ServiceLinker/{dryruns}/{resourceUri}/{dryrunName}: {\u001b[39m\n\u001b[32m+ get: {\u001b[39m\n\u001b[32m+ operationId: \"Linkers_GetDryrun\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"providers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"dryruns\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"resourceUri\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"dryrunName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ GetDryrun: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/GetDryrun.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ put: {\u001b[39m\n\u001b[32m+ operationId: \"Linkers_CreateDryrun\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"providers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"dryruns\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"resourceUri\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"dryrunName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"parameters\"\u001b[39m\n\u001b[32m+ in: \"body\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 201: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ PutDryrun: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/PutDryrun.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation-options: {\u001b[39m\n\u001b[32m+ final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation: true\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ patch: {\u001b[39m\n\u001b[32m+ operationId: \"Linkers_UpdateDryrun\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"providers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"dryruns\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"resourceUri\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"dryrunName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"parameters\"\u001b[39m\n\u001b[32m+ in: \"body\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunPatch\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 202: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ PatchDryrun: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/PatchDryrun.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation-options: {\u001b[39m\n\u001b[32m+ final-state-via: \"original-uri\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation: true\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ delete: {\u001b[39m\n\u001b[32m+ operationId: \"Linkers_DeleteDryrun\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"providers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"dryruns\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"resourceUri\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"dryrunName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 204: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ DeleteDryrun: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/DeleteDryrun.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ /{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}: {\u001b[39m\n\u001b[32m+ get: {\u001b[39m\n\u001b[32m+ operationId: \"Linker_Get\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"providers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"resourceUri\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkerName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ Linker: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/Linker.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ put: {\u001b[39m\n\u001b[32m+ operationId: \"Linker_CreateOrUpdate\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"providers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"resourceUri\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkerName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"parameters\"\u001b[39m\n\u001b[32m+ in: \"body\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 201: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ PutLinker: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/PutLinker.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation-options: {\u001b[39m\n\u001b[32m+ final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation: true\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ patch: {\u001b[39m\n\u001b[32m+ operationId: \"Linker_Update\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"providers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"resourceUri\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkerName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"parameters\"\u001b[39m\n\u001b[32m+ in: \"body\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerPatch\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 201: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ PatchLinker: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/PatchLinker.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ delete: {\u001b[39m\n\u001b[32m+ operationId: \"Linker_Delete\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"providers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"resourceUri\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkerName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 202: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 204: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ DeleteLinker: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/DeleteLinker.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation-options: {\u001b[39m\n\u001b[32m+ final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation: true\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ /{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/generateConfigurations: {\u001b[39m\n\u001b[32m+ post: {\u001b[39m\n\u001b[32m+ operationId: \"Linkers_GenerateConfigurations\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"providers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"resourceUri\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkerName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"parameters\"\u001b[39m\n\u001b[32m+ in: \"body\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/ConfigurationInfo\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/ConfigurationResult\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ GenerateConfiguration: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/LinkerGenerateConfigurations.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ /{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/listConfigurations: {\u001b[39m\n\u001b[32m+ post: {\u001b[39m\n\u001b[32m+ operationId: \"Linker_ListConfigurations\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"providers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"resourceUri\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkerName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/ConfigurationResult\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ GetConfiguration: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/GetConfigurations.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ /{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/validateLinker: {\u001b[39m\n\u001b[32m+ post: {\u001b[39m\n\u001b[32m+ operationId: \"Linker_Validate\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"providers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkers\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"resourceUri\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"linkerName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/ValidateOperationResult\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 202: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ ValidateLinkerSuccess: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/ValidateLinkerSuccess.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation: true\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors: {\u001b[39m\n\u001b[32m+ get: {\u001b[39m\n\u001b[32m+ operationId: \"Connector_List\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/ResourceList\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ ConnectorList: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/ConnectorList.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-pageable: {\u001b[39m\n\u001b[32m+ nextLinkName: \"nextLink\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}: {\u001b[39m\n\u001b[32m+ get: {\u001b[39m\n\u001b[32m+ operationId: \"Connector_Get\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"connectorName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ Connector: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/Connectors.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ put: {\u001b[39m\n\u001b[32m+ operationId: \"Connector_CreateOrUpdate\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"connectorName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"parameters\"\u001b[39m\n\u001b[32m+ in: \"body\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 201: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ PutConnector: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/PutConnector.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation-options: {\u001b[39m\n\u001b[32m+ final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation: true\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ patch: {\u001b[39m\n\u001b[32m+ operationId: \"Connector_Update\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"connectorName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"parameters\"\u001b[39m\n\u001b[32m+ in: \"body\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerPatch\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 202: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/LinkerResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ PatchConnector: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/PatchConnector.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation-options: {\u001b[39m\n\u001b[32m+ final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation: true\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ delete: {\u001b[39m\n\u001b[32m+ operationId: \"Connector_Delete\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"connectorName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 202: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 204: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ DeleteConnector: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/DeleteConnector.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation-options: {\u001b[39m\n\u001b[32m+ final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation: true\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/generateConfigurations: {\u001b[39m\n\u001b[32m+ post: {\u001b[39m\n\u001b[32m+ operationId: \"Connector_GenerateConfigurations\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"connectorName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"parameters\"\u001b[39m\n\u001b[32m+ in: \"body\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/ConfigurationInfo\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/ConfigurationResult\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ GenerateConfiguration: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/GenerateConfigurations.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/validate: {\u001b[39m\n\u001b[32m+ post: {\u001b[39m\n\u001b[32m+ operationId: \"Connector_Validate\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"connectorName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/ValidateOperationResult\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 202: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ ValidateConnectorSuccess: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/ValidateConnectorSuccess.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation: true\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns: {\u001b[39m\n\u001b[32m+ get: {\u001b[39m\n\u001b[32m+ operationId: \"Connector_ListDryrun\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunList\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ ConnectorDryrunList: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/ConnectorDryrunList.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-pageable: {\u001b[39m\n\u001b[32m+ nextLinkName: \"nextLink\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}: {\u001b[39m\n\u001b[32m+ get: {\u001b[39m\n\u001b[32m+ operationId: \"Connector_GetDryrun\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"dryrunName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ ConnectorDryrunGet: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/ConnectorDryrunGet.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ put: {\u001b[39m\n\u001b[32m+ operationId: \"Connector_CreateDryrun\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"dryrunName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"parameters\"\u001b[39m\n\u001b[32m+ in: \"body\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 201: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ ConnectorDryrunCreate: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/ConnectorDryrunCreate.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation-options: {\u001b[39m\n\u001b[32m+ final-state-via: \"azure-async-operation\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation: true\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ patch: {\u001b[39m\n\u001b[32m+ operationId: \"Connector_UpdateDryrun\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"dryrunName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"parameters\"\u001b[39m\n\u001b[32m+ in: \"body\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunPatch\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 202: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ ConnectorDryrunUpdate: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/ConnectorDryrunUpdate.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation-options: {\u001b[39m\n\u001b[32m+ final-state-via: \"original-uri\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-long-running-operation: true\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ delete: {\u001b[39m\n\u001b[32m+ operationId: \"Connector_DeleteDryrun\"\u001b[39m\n\u001b[32m+ parameters: [\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ {\u001b[39m\n\u001b[32m+ name: \"dryrunName\"\u001b[39m\n\u001b[32m+ in: \"path\"\u001b[39m\n\u001b[32m+ required: true\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ responses: {\u001b[39m\n\u001b[32m+ 200: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ 204: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ default: {\u001b[39m\n\u001b[32m+ description: \"ignore\"\u001b[39m\n\u001b[32m+ schema: {\u001b[39m\n\u001b[32m+ $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ x-ms-examples: {\u001b[39m\n\u001b[32m+ ConnectorDryrunDelete: {\u001b[39m\n\u001b[32m+ $ref: \"./examples/ConnectorDryrunDelete.json\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n /{resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations: {\n get: {\n parameters: [\n {\n\u001b[31m- x-ms-skip-url-encoding: true\u001b[39m\n }\n ]\n }\n }\n }\n definitions: {\n\u001b[31m- DatabaseAadAuthInfo: {\u001b[39m\n\u001b[31m- type: \"object\"\u001b[39m\n\u001b[31m- properties: {\u001b[39m\n\u001b[31m- userName: {\u001b[39m\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- x-nullable: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[32m+ Azure.ResourceManager.ArmResponse: {\u001b[39m\n\u001b[32m+ type: \"object\"\u001b[39m\n\u001b[32m+ properties: {\u001b[39m\n\u001b[32m+ body: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/DryrunResource\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ required: [\u001b[39m\n\u001b[32m+ \"body\"\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ Azure.ResourceManager.ArmResponse: {\u001b[39m\n\u001b[32m+ type: \"object\"\u001b[39m\n\u001b[32m+ properties: {\u001b[39m\n\u001b[32m+ body: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/ValidateOperationResult\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ required: [\u001b[39m\n\u001b[32m+ \"body\"\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ }\u001b[39m\n AccessKeyInfoBase: {\n properties: {\n permissions: {\n items: {\n\u001b[31m- type: \"string\"\u001b[39m\n\u001b[31m- enum: [\u001b[39m\n\u001b[31m- \"Read\"\u001b[39m\n\u001b[31m- \"Write\"\u001b[39m\n\u001b[31m- \"Listen\"\u001b[39m\n\u001b[31m- \"Send\"\u001b[39m\n\u001b[31m- \"Manage\"\u001b[39m\n\u001b[31m- ]\u001b[39m\n\u001b[31m- x-ms-enum: {\u001b[39m\n\u001b[31m- name: \"accessKeyPermissions\"\u001b[39m\n\u001b[31m- modelAsString: true\u001b[39m\n\u001b[31m- }\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/AccessKeyPermissions\"\u001b[39m\n }\n }\n }\n }\n AzureAppConfigProperties: {\n properties: {\n connectWithKubernetesExtension: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n AzureKeyVaultProperties: {\n properties: {\n connectAsKubernetesCsiDriver: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n AzureResource: {\n properties: {\n resourceProperties: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n ConfigurationInfo: {\n properties: {\n action: {\n enum: [\n\u001b[31m- \"enable\"\u001b[39m\n\u001b[31m- \"optOut\"\u001b[39m\n\u001b[32m+ \"Internal\"\u001b[39m\n ]\n }\n configurationStore: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n ConfigurationNameItem: {\n properties: {\n properties: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n ConfigurationNames: {\n properties: {\n names: {\n\u001b[32m+ x-ms-identifiers: [\u001b[39m\n\u001b[32m+ ]\u001b[39m\n }\n }\n }\n ConfigurationStore: {\n properties: {\n appConfigurationId: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n CreateOrUpdateDryrunParameters: {\n\u001b[32m+ properties: {\u001b[39m\n\u001b[32m+ targetService: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/TargetServiceBase\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ authInfo: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/AuthInfoBase\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ clientType: {\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ enum: [\u001b[39m\n\u001b[32m+ \"none\"\u001b[39m\n\u001b[32m+ \"dotnet\"\u001b[39m\n\u001b[32m+ \"java\"\u001b[39m\n\u001b[32m+ \"python\"\u001b[39m\n\u001b[32m+ \"go\"\u001b[39m\n\u001b[32m+ \"php\"\u001b[39m\n\u001b[32m+ \"ruby\"\u001b[39m\n\u001b[32m+ \"django\"\u001b[39m\n\u001b[32m+ \"nodejs\"\u001b[39m\n\u001b[32m+ \"springBoot\"\u001b[39m\n\u001b[32m+ \"kafka-springBoot\"\u001b[39m\n\u001b[32m+ \"jms-springBoot\"\u001b[39m\n\u001b[32m+ \"dapr\"\u001b[39m\n\u001b[32m+ ]\u001b[39m\n\u001b[32m+ x-ms-enum: {\u001b[39m\n\u001b[32m+ name: \"ClientType\"\u001b[39m\n\u001b[32m+ modelAsString: true\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ provisioningState: {\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ readOnly: true\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ vNetSolution: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/VNetSolution\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ secretStore: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/SecretStore\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ scope: {\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ publicNetworkSolution: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/PublicNetworkSolution\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ configurationInfo: {\u001b[39m\n\u001b[32m+ $ref: \"#/definitions/ConfigurationInfo\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n\u001b[32m+ }\u001b[39m\n allOf: [\n ...\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/LinkerProperties\"\u001b[39m\n\u001b[31m- }\u001b[39m\n ]\n }\n DaprProperties: {\n properties: {\n version: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n componentType: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n secretStoreComponent: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n runtimeVersion: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n bindingComponentDirection: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n DryrunList: {\n properties: {\n nextLink: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n DryrunResource: {\n allOf: [\n {\n\u001b[31m- description: \"The resource model definition for an Azure Resource Manager proxy resource.\"\u001b[39m\n }\n ]\n }\n EasyAuthMicrosoftEntraIDAuthInfo: {\n properties: {\n secret: {\n\u001b[31m- x-ms-secret: true\u001b[39m\n }\n }\n }\n KeyVaultSecretReferenceSecretInfo: {\n properties: {\n version: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n LinkerPatch: {\n properties: {\n properties: {\n\u001b[31m- type: \"object\"\u001b[39m\n }\n }\n }\n LinkerProperties: {\n properties: {\n vNetSolution: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n secretStore: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n scope: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n publicNetworkSolution: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n configurationInfo: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n LinkerResource: {\n properties: {\n\u001b[31m- systemData: {\u001b[39m\n\u001b[31m- $ref: \"../../../../../common-types/resource-management/v3/types.json#/definitions/systemData\"\u001b[39m\n\u001b[31m- x-nullable: true\u001b[39m\n\u001b[31m- readOnly: true\u001b[39m\n\u001b[31m- }\u001b[39m\n }\n allOf: [\n {\n\u001b[31m- description: \"The resource model definition for an Azure Resource Manager proxy resource.\"\u001b[39m\n }\n ]\n }\n PublicNetworkSolution: {\n properties: {\n action: {\n enum: [\n\u001b[31m- \"enable\"\u001b[39m\n\u001b[31m- \"optOut\"\u001b[39m\n\u001b[32m+ \"Internal\"\u001b[39m\n ]\n }\n }\n }\n ResourceList: {\n properties: {\n nextLink: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n SecretAuthInfo: {\n properties: {\n name: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n secretInfo: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n SecretStore: {\n properties: {\n keyVaultId: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n keyVaultSecretName: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n ServicePrincipalCertificateAuthInfo: {\n properties: {\n certificate: {\n\u001b[31m- x-ms-secret: true\u001b[39m\n }\n }\n }\n ServicePrincipalSecretAuthInfo: {\n properties: {\n\u001b[32m+ userName: {\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n secret: {\n\u001b[31m- x-ms-secret: true\u001b[39m\n }\n }\n allOf: [\n ...\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DatabaseAadAuthInfo\"\u001b[39m\n\u001b[31m- }\u001b[39m\n ]\n }\n SourceConfiguration: {\n properties: {\n value: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n keyVaultReferenceIdentity: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n description: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n SystemAssignedIdentityAuthInfo: {\n properties: {\n\u001b[32m+ userName: {\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n }\n allOf: [\n ...\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DatabaseAadAuthInfo\"\u001b[39m\n\u001b[31m- }\u001b[39m\n ]\n }\n UserAccountAuthInfo: {\n properties: {\n\u001b[32m+ userName: {\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n }\n allOf: [\n ...\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DatabaseAadAuthInfo\"\u001b[39m\n\u001b[31m- }\u001b[39m\n ]\n }\n UserAssignedIdentityAuthInfo: {\n properties: {\n\u001b[32m+ userName: {\u001b[39m\n\u001b[32m+ type: \"string\"\u001b[39m\n\u001b[32m+ }\u001b[39m\n }\n allOf: [\n ...\n\u001b[31m- {\u001b[39m\n\u001b[31m- $ref: \"#/definitions/DatabaseAadAuthInfo\"\u001b[39m\n\u001b[31m- }\u001b[39m\n ]\n }\n VNetSolution: {\n properties: {\n type: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n ValidateOperationResult: {\n properties: {\n properties: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n resourceId: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n status: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n ValidateResult: {\n properties: {\n linkerName: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n isConnectionAvailable: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n reportStartTimeUtc: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n reportEndTimeUtc: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n sourceId: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n targetId: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n authType: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n ValidationResultItem: {\n properties: {\n description: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n result: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n errorMessage: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n errorCode: {\n\u001b[31m- x-nullable: true\u001b[39m\n }\n }\n }\n ValueSecretInfo: {\n properties: {\n value: {\n\u001b[31m- x-nullable: true\u001b[39m\n\u001b[31m- x-ms-secret: true\u001b[39m\n }\n }\n }\n }\n }\n" \ No newline at end of file +{ + "info": { + "x-typespec-generated__added": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ], + "title": { + "__old": "Microsoft.ServiceLinker", + "__new": "ServiceLinkerManagementClient" + } + }, + "paths": { + "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns__deleted": { + "get": { + "operationId": "Linkers_ListDryrun", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListDryrun": { + "$ref": "./examples/ListDryrun.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns/{dryrunName}__deleted": { + "get": { + "operationId": "Linkers_GetDryrun", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetDryrun": { + "$ref": "./examples/GetDryrun.json" + } + } + }, + "put": { + "operationId": "Linkers_CreateDryrun", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DryrunResource" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PutDryrun": { + "$ref": "./examples/PutDryrun.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Linkers_UpdateDryrun", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DryrunPatch" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PatchDryrun": { + "$ref": "./examples/PatchDryrun.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Linkers_DeleteDryrun", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteDryrun": { + "$ref": "./examples/DeleteDryrun.json" + } + } + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers__deleted": { + "get": { + "operationId": "Linker_List", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ResourceList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "LinkerList": { + "$ref": "./examples/LinkerList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}__deleted": { + "get": { + "operationId": "Linker_Get", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Linker": { + "$ref": "./examples/Linker.json" + } + } + }, + "put": { + "operationId": "Linker_CreateOrUpdate", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LinkerResource" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PutLinker": { + "$ref": "./examples/PutLinker.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Linker_Update", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LinkerPatch" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PatchLinker": { + "$ref": "./examples/PatchLinker.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Linker_Delete", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore" + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteLinker": { + "$ref": "./examples/DeleteLinker.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/generateConfigurations__deleted": { + "post": { + "operationId": "Linkers_GenerateConfigurations", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/ConfigurationInfo" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConfigurationResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GenerateConfiguration": { + "$ref": "./examples/LinkerGenerateConfigurations.json" + } + } + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/listConfigurations__deleted": { + "post": { + "operationId": "Linker_ListConfigurations", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConfigurationResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetConfiguration": { + "$ref": "./examples/GetConfigurations.json" + } + } + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/validateLinker__deleted": { + "post": { + "operationId": "Linker_Validate", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ValidateOperationResult" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ValidateLinkerSuccess": { + "$ref": "./examples/ValidateLinkerSuccess.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors__deleted": { + "get": { + "operationId": "Connector_List", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ResourceList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "ConnectorList": { + "$ref": "./examples/ConnectorList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}__deleted": { + "get": { + "operationId": "Connector_Get", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Connector": { + "$ref": "./examples/Connectors.json" + } + } + }, + "put": { + "operationId": "Connector_CreateOrUpdate", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LinkerResource" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PutConnector": { + "$ref": "./examples/PutConnector.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Connector_Update", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LinkerPatch" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "202": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PatchConnector": { + "$ref": "./examples/PatchConnector.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Connector_Delete", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore" + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteConnector": { + "$ref": "./examples/DeleteConnector.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/generateConfigurations__deleted": { + "post": { + "operationId": "Connector_GenerateConfigurations", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/ConfigurationInfo" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConfigurationResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GenerateConfiguration": { + "$ref": "./examples/GenerateConfigurations.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/validate__deleted": { + "post": { + "operationId": "Connector_Validate", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ValidateOperationResult" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ValidateConnectorSuccess": { + "$ref": "./examples/ValidateConnectorSuccess.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns__deleted": { + "get": { + "operationId": "Connector_ListDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunList": { + "$ref": "./examples/ConnectorDryrunList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}__deleted": { + "get": { + "operationId": "Connector_GetDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunGet": { + "$ref": "./examples/ConnectorDryrunGet.json" + } + } + }, + "put": { + "operationId": "Connector_CreateDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DryrunResource" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunCreate": { + "$ref": "./examples/ConnectorDryrunCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Connector_UpdateDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DryrunPatch" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunUpdate": { + "$ref": "./examples/ConnectorDryrunUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Connector_DeleteDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunDelete": { + "$ref": "./examples/ConnectorDryrunDelete.json" + } + } + } + }, + "/{resourceUri}/{providers}/{resourceUri}/connectors__added": { + "get": { + "operationId": "Linker_List", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ResourceList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "LinkerList": { + "$ref": "./examples/LinkerList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/{providers}/{resourceUri}/dryruns__added": { + "get": { + "operationId": "Linkers_ListDryrun", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListDryrun": { + "$ref": "./examples/ListDryrun.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{dryruns}/{resourceUri}/{dryrunName}__added": { + "get": { + "operationId": "Linkers_GetDryrun", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "dryruns", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetDryrun": { + "$ref": "./examples/GetDryrun.json" + } + } + }, + "put": { + "operationId": "Linkers_CreateDryrun", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "dryruns", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DryrunResource" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PutDryrun": { + "$ref": "./examples/PutDryrun.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Linkers_UpdateDryrun", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "dryruns", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DryrunPatch" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PatchDryrun": { + "$ref": "./examples/PatchDryrun.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Linkers_DeleteDryrun", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "dryruns", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteDryrun": { + "$ref": "./examples/DeleteDryrun.json" + } + } + } + }, + "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}__added": { + "get": { + "operationId": "Linker_Get", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Linker": { + "$ref": "./examples/Linker.json" + } + } + }, + "put": { + "operationId": "Linker_CreateOrUpdate", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LinkerResource" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PutLinker": { + "$ref": "./examples/PutLinker.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Linker_Update", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LinkerPatch" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PatchLinker": { + "$ref": "./examples/PatchLinker.json" + } + } + }, + "delete": { + "operationId": "Linker_Delete", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore" + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteLinker": { + "$ref": "./examples/DeleteLinker.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/generateConfigurations__added": { + "post": { + "operationId": "Linkers_GenerateConfigurations", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/ConfigurationInfo" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConfigurationResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GenerateConfiguration": { + "$ref": "./examples/LinkerGenerateConfigurations.json" + } + } + } + }, + "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/listConfigurations__added": { + "post": { + "operationId": "Linker_ListConfigurations", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConfigurationResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetConfiguration": { + "$ref": "./examples/GetConfigurations.json" + } + } + } + }, + "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/validateLinker__added": { + "post": { + "operationId": "Linker_Validate", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ValidateOperationResult" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ValidateLinkerSuccess": { + "$ref": "./examples/ValidateLinkerSuccess.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors__added": { + "get": { + "operationId": "Connector_List", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ResourceList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorList": { + "$ref": "./examples/ConnectorList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}__added": { + "get": { + "operationId": "Connector_Get", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Connector": { + "$ref": "./examples/Connectors.json" + } + } + }, + "put": { + "operationId": "Connector_CreateOrUpdate", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LinkerResource" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PutConnector": { + "$ref": "./examples/PutConnector.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Connector_Update", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LinkerPatch" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "202": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PatchConnector": { + "$ref": "./examples/PatchConnector.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Connector_Delete", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore" + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteConnector": { + "$ref": "./examples/DeleteConnector.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/generateConfigurations__added": { + "post": { + "operationId": "Connector_GenerateConfigurations", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/ConfigurationInfo" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConfigurationResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GenerateConfiguration": { + "$ref": "./examples/GenerateConfigurations.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/validate__added": { + "post": { + "operationId": "Connector_Validate", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ValidateOperationResult" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ValidateConnectorSuccess": { + "$ref": "./examples/ValidateConnectorSuccess.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns__added": { + "get": { + "operationId": "Connector_ListDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunList": { + "$ref": "./examples/ConnectorDryrunList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}__added": { + "get": { + "operationId": "Connector_GetDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunGet": { + "$ref": "./examples/ConnectorDryrunGet.json" + } + } + }, + "put": { + "operationId": "Connector_CreateDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DryrunResource" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunCreate": { + "$ref": "./examples/ConnectorDryrunCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Connector_UpdateDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DryrunPatch" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunUpdate": { + "$ref": "./examples/ConnectorDryrunUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Connector_DeleteDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunDelete": { + "$ref": "./examples/ConnectorDryrunDelete.json" + } + } + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations": { + "get": { + "parameters": [ + [ + "~", + { + "x-ms-skip-url-encoding__deleted": true + } + ] + ] + } + } + }, + "definitions": { + "DatabaseAadAuthInfo__deleted": { + "type": "object", + "properties": { + "userName": { + "type": "string", + "x-nullable": true + } + } + }, + "Azure.ResourceManager.ArmResponse__added": { + "type": "object", + "properties": { + "body": { + "$ref": "#/definitions/DryrunResource" + } + }, + "required": [ + "body" + ] + }, + "Azure.ResourceManager.ArmResponse__added": { + "type": "object", + "properties": { + "body": { + "$ref": "#/definitions/ValidateOperationResult" + } + }, + "required": [ + "body" + ] + }, + "AccessKeyInfoBase": { + "properties": { + "permissions": { + "items": { + "type__deleted": "string", + "enum__deleted": [ + "Read", + "Write", + "Listen", + "Send", + "Manage" + ], + "x-ms-enum__deleted": { + "name": "accessKeyPermissions", + "modelAsString": true + }, + "$ref__added": "#/definitions/AccessKeyPermissions" + } + } + } + }, + "ConfigurationInfo": { + "properties": { + "action": { + "enum": [ + [ + "-", + "enable" + ], + [ + "-", + "optOut" + ], + [ + "+", + "Internal" + ] + ] + } + } + }, + "ConfigurationNameResult": { + "required__added": [ + "value" + ] + }, + "CreateOrUpdateDryrunParameters": { + "properties__added": { + "targetService": { + "$ref": "#/definitions/TargetServiceBase" + }, + "authInfo": { + "$ref": "#/definitions/AuthInfoBase" + }, + "clientType": { + "type": "string", + "enum": [ + "none", + "dotnet", + "java", + "python", + "go", + "php", + "ruby", + "django", + "nodejs", + "springBoot", + "kafka-springBoot", + "jms-springBoot", + "dapr" + ], + "x-ms-enum": { + "name": "ClientType", + "modelAsString": true + } + }, + "provisioningState": { + "type": "string", + "readOnly": true + }, + "vNetSolution": { + "$ref": "#/definitions/VNetSolution", + "x-nullable": true + }, + "secretStore": { + "$ref": "#/definitions/SecretStore", + "x-nullable": true + }, + "scope": { + "type": "string", + "x-nullable": true + }, + "publicNetworkSolution": { + "$ref": "#/definitions/PublicNetworkSolution", + "x-nullable": true + }, + "configurationInfo": { + "$ref": "#/definitions/ConfigurationInfo", + "x-nullable": true + } + }, + "allOf": [ + [ + " " + ], + [ + "-", + { + "$ref": "#/definitions/LinkerProperties" + } + ] + ] + }, + "DaprConfigurationList": { + "required__added": [ + "value" + ] + }, + "DryrunList": { + "required__added": [ + "value" + ], + "properties": { + "nextLink": { + "x-nullable__deleted": true + } + } + }, + "DryrunResource": { + "allOf": [ + [ + "~", + { + "description__deleted": "The resource model definition for an Azure Resource Manager proxy resource." + } + ] + ] + }, + "EasyAuthMicrosoftEntraIDAuthInfo": { + "properties": { + "secret": { + "format__added": "password" + } + } + }, + "LinkerPatch": { + "properties": { + "properties": { + "type__deleted": "object" + } + } + }, + "LinkerResource": { + "properties": { + "systemData__deleted": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "x-nullable": true, + "readOnly": true + } + }, + "allOf": [ + [ + "~", + { + "description__deleted": "The resource model definition for an Azure Resource Manager proxy resource." + } + ] + ] + }, + "PublicNetworkSolution": { + "properties": { + "action": { + "enum": [ + [ + "-", + "enable" + ], + [ + "-", + "optOut" + ], + [ + "+", + "Internal" + ] + ] + } + } + }, + "ResourceList": { + "required__added": [ + "value" + ], + "properties": { + "nextLink": { + "x-nullable__deleted": true + } + } + }, + "ServicePrincipalCertificateAuthInfo": { + "properties": { + "certificate": { + "format__added": "password" + } + } + }, + "ServicePrincipalSecretAuthInfo": { + "properties": { + "userName__added": { + "type": "string" + }, + "secret": { + "format__added": "password" + } + }, + "allOf": [ + [ + " " + ], + [ + "-", + { + "$ref": "#/definitions/DatabaseAadAuthInfo" + } + ] + ] + }, + "SystemAssignedIdentityAuthInfo": { + "properties": { + "userName__added": { + "type": "string" + } + }, + "allOf": [ + [ + " " + ], + [ + "-", + { + "$ref": "#/definitions/DatabaseAadAuthInfo" + } + ] + ] + }, + "UserAccountAuthInfo": { + "properties": { + "userName__added": { + "type": "string" + } + }, + "allOf": [ + [ + " " + ], + [ + "-", + { + "$ref": "#/definitions/DatabaseAadAuthInfo" + } + ] + ] + }, + "UserAssignedIdentityAuthInfo": { + "properties": { + "userName__added": { + "type": "string" + } + }, + "allOf": [ + [ + " " + ], + [ + "-", + { + "$ref": "#/definitions/DatabaseAadAuthInfo" + } + ] + ] + }, + "ValueSecretInfo": { + "properties": { + "value": { + "format__added": "password" + } + } + } + } +} \ No newline at end of file diff --git a/specification/servicelinker/output/newNormalizedSwagger.json b/specification/servicelinker/output/newNormalizedSwagger.json new file mode 100644 index 000000000000..60e31390a2f5 --- /dev/null +++ b/specification/servicelinker/output/newNormalizedSwagger.json @@ -0,0 +1,2764 @@ +{ + "swagger": "2.0", + "info": { + "title": "ServiceLinkerManagementClient", + "version": "2024-07-01-preview", + "description": "Microsoft.ServiceLinker provider", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "paths": { + "/{resourceUri}/{providers}/{resourceUri}/connectors": { + "get": { + "operationId": "Linker_List", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ResourceList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "LinkerList": { + "$ref": "./examples/LinkerList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/{providers}/{resourceUri}/dryruns": { + "get": { + "operationId": "Linkers_ListDryrun", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListDryrun": { + "$ref": "./examples/ListDryrun.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{dryruns}/{resourceUri}/{dryrunName}": { + "get": { + "operationId": "Linkers_GetDryrun", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "dryruns", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetDryrun": { + "$ref": "./examples/GetDryrun.json" + } + } + }, + "put": { + "operationId": "Linkers_CreateDryrun", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "dryruns", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DryrunResource" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PutDryrun": { + "$ref": "./examples/PutDryrun.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Linkers_UpdateDryrun", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "dryruns", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DryrunPatch" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PatchDryrun": { + "$ref": "./examples/PatchDryrun.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Linkers_DeleteDryrun", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "dryruns", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteDryrun": { + "$ref": "./examples/DeleteDryrun.json" + } + } + } + }, + "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}": { + "get": { + "operationId": "Linker_Get", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Linker": { + "$ref": "./examples/Linker.json" + } + } + }, + "put": { + "operationId": "Linker_CreateOrUpdate", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LinkerResource" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PutLinker": { + "$ref": "./examples/PutLinker.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Linker_Update", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LinkerPatch" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PatchLinker": { + "$ref": "./examples/PatchLinker.json" + } + } + }, + "delete": { + "operationId": "Linker_Delete", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore" + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteLinker": { + "$ref": "./examples/DeleteLinker.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/generateConfigurations": { + "post": { + "operationId": "Linkers_GenerateConfigurations", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/ConfigurationInfo" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConfigurationResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GenerateConfiguration": { + "$ref": "./examples/LinkerGenerateConfigurations.json" + } + } + } + }, + "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/listConfigurations": { + "post": { + "operationId": "Linker_ListConfigurations", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConfigurationResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetConfiguration": { + "$ref": "./examples/GetConfigurations.json" + } + } + } + }, + "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/validateLinker": { + "post": { + "operationId": "Linker_Validate", + "parameters": [ + { + "name": "providers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkers", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ValidateOperationResult" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ValidateLinkerSuccess": { + "$ref": "./examples/ValidateLinkerSuccess.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations": { + "get": { + "operationId": "Linkers_ListDaprConfigurations", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DaprConfigurationList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetDaprConfigurations": { + "$ref": "./examples/GetDaprConfigurations.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.ServiceLinker/configurationNames": { + "get": { + "operationId": "ConfigurationNames_List", + "parameters": [ + { + "name": "$filter", + "in": "query", + "type": "string" + }, + { + "name": "$skipToken", + "in": "query", + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConfigurationNameResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetConfigurationNames": { + "$ref": "./examples/ConfigurationNamesList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.ServiceLinker/operations": { + "get": { + "operationId": "Operations_List", + "parameters": [], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetConfiguration": { + "$ref": "./examples/OperationsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors": { + "get": { + "operationId": "Connector_List", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ResourceList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorList": { + "$ref": "./examples/ConnectorList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}": { + "get": { + "operationId": "Connector_Get", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Connector": { + "$ref": "./examples/Connectors.json" + } + } + }, + "put": { + "operationId": "Connector_CreateOrUpdate", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LinkerResource" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PutConnector": { + "$ref": "./examples/PutConnector.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Connector_Update", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LinkerPatch" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "202": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PatchConnector": { + "$ref": "./examples/PatchConnector.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Connector_Delete", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore" + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteConnector": { + "$ref": "./examples/DeleteConnector.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/generateConfigurations": { + "post": { + "operationId": "Connector_GenerateConfigurations", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/ConfigurationInfo" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConfigurationResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GenerateConfiguration": { + "$ref": "./examples/GenerateConfigurations.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/validate": { + "post": { + "operationId": "Connector_Validate", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ValidateOperationResult" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ValidateConnectorSuccess": { + "$ref": "./examples/ValidateConnectorSuccess.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns": { + "get": { + "operationId": "Connector_ListDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunList": { + "$ref": "./examples/ConnectorDryrunList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}": { + "get": { + "operationId": "Connector_GetDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunGet": { + "$ref": "./examples/ConnectorDryrunGet.json" + } + } + }, + "put": { + "operationId": "Connector_CreateDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DryrunResource" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunCreate": { + "$ref": "./examples/ConnectorDryrunCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Connector_UpdateDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DryrunPatch" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunUpdate": { + "$ref": "./examples/ConnectorDryrunUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Connector_DeleteDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunDelete": { + "$ref": "./examples/ConnectorDryrunDelete.json" + } + } + } + } + }, + "definitions": { + "AccessKeyInfoBase": { + "type": "object", + "properties": { + "permissions": { + "type": "array", + "items": { + "$ref": "#/definitions/AccessKeyPermissions" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "accessKey" + }, + "AuthInfoBase": { + "type": "object", + "properties": { + "authType": { + "type": "string", + "enum": [ + "systemAssignedIdentity", + "userAssignedIdentity", + "servicePrincipalSecret", + "servicePrincipalCertificate", + "secret", + "accessKey", + "userAccount", + "easyAuthMicrosoftEntraID" + ], + "x-ms-enum": { + "name": "AuthType", + "modelAsString": true + } + }, + "authMode": { + "type": "string", + "enum": [ + "optInAllAuth", + "optOutAllAuth" + ], + "x-ms-enum": { + "name": "AuthMode", + "modelAsString": true + } + } + }, + "discriminator": "authType", + "required": [ + "authType" + ] + }, + "Azure.ResourceManager.ArmResponse": { + "type": "object", + "properties": { + "body": { + "$ref": "#/definitions/DryrunResource" + } + }, + "required": [ + "body" + ] + }, + "Azure.ResourceManager.ArmResponse": { + "type": "object", + "properties": { + "body": { + "$ref": "#/definitions/ValidateOperationResult" + } + }, + "required": [ + "body" + ] + }, + "AzureAppConfigProperties": { + "type": "object", + "properties": { + "connectWithKubernetesExtension": { + "type": "boolean", + "x-nullable": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/AzureResourcePropertiesBase" + } + ], + "x-ms-discriminator-value": "AppConfig" + }, + "AzureKeyVaultProperties": { + "type": "object", + "properties": { + "connectAsKubernetesCsiDriver": { + "type": "boolean", + "x-nullable": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/AzureResourcePropertiesBase" + } + ], + "x-ms-discriminator-value": "KeyVault" + }, + "AzureResource": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "resourceProperties": { + "$ref": "#/definitions/AzureResourcePropertiesBase", + "x-nullable": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/TargetServiceBase" + } + ], + "x-ms-discriminator-value": "AzureResource" + }, + "AzureResourcePropertiesBase": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "KeyVault", + "AppConfig" + ], + "x-ms-enum": { + "name": "AzureResourceType", + "modelAsString": true + } + } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "BasicErrorDryrunPrerequisiteResult": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/DryrunPrerequisiteResult" + } + ], + "x-ms-discriminator-value": "basicError" + }, + "ConfigurationInfo": { + "type": "object", + "properties": { + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "action": { + "type": "string", + "enum": [ + "Internal" + ], + "x-ms-enum": { + "name": "ActionType", + "modelAsString": true + } + }, + "customizedKeys": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "daprProperties": { + "$ref": "#/definitions/DaprProperties" + }, + "additionalConfigurations": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "additionalConnectionStringProperties": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "configurationStore": { + "$ref": "#/definitions/ConfigurationStore", + "x-nullable": true + } + } + }, + "ConfigurationName": { + "type": "object", + "properties": { + "value": { + "type": "string" + }, + "description": { + "type": "string" + }, + "required": { + "type": "boolean" + } + } + }, + "ConfigurationNameItem": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ConfigurationNames", + "x-nullable": true, + "x-ms-client-flatten": true + } + } + }, + "ConfigurationNameResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/ConfigurationNameItem" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + }, + "required": [ + "value" + ] + }, + "ConfigurationNames": { + "type": "object", + "properties": { + "targetService": { + "type": "string" + }, + "clientType": { + "type": "string", + "enum": [ + "none", + "dotnet", + "java", + "python", + "go", + "php", + "ruby", + "django", + "nodejs", + "springBoot", + "kafka-springBoot", + "jms-springBoot", + "dapr" + ], + "x-ms-enum": { + "name": "ClientType", + "modelAsString": true + } + }, + "authType": { + "type": "string", + "enum": [ + "systemAssignedIdentity", + "userAssignedIdentity", + "servicePrincipalSecret", + "servicePrincipalCertificate", + "secret", + "accessKey", + "userAccount", + "easyAuthMicrosoftEntraID" + ], + "x-ms-enum": { + "name": "AuthType", + "modelAsString": true + } + }, + "secretType": { + "type": "string", + "enum": [ + "rawValue", + "keyVaultSecret" + ], + "x-ms-enum": { + "name": "SecretSourceType", + "modelAsString": true + } + }, + "daprProperties": { + "$ref": "#/definitions/DaprProperties" + }, + "names": { + "type": "array", + "items": { + "$ref": "#/definitions/ConfigurationName" + } + } + } + }, + "ConfigurationResult": { + "type": "object", + "properties": { + "configurations": { + "type": "array", + "items": { + "$ref": "#/definitions/SourceConfiguration" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "ConfigurationStore": { + "type": "object", + "properties": { + "appConfigurationId": { + "type": "string", + "x-nullable": true + } + } + }, + "ConfluentBootstrapServer": { + "type": "object", + "properties": { + "endpoint": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/TargetServiceBase" + } + ], + "x-ms-discriminator-value": "ConfluentBootstrapServer" + }, + "ConfluentSchemaRegistry": { + "type": "object", + "properties": { + "endpoint": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/TargetServiceBase" + } + ], + "x-ms-discriminator-value": "ConfluentSchemaRegistry" + }, + "CreateOrUpdateDryrunParameters": { + "type": "object", + "properties": { + "targetService": { + "$ref": "#/definitions/TargetServiceBase" + }, + "authInfo": { + "$ref": "#/definitions/AuthInfoBase" + }, + "clientType": { + "type": "string", + "enum": [ + "none", + "dotnet", + "java", + "python", + "go", + "php", + "ruby", + "django", + "nodejs", + "springBoot", + "kafka-springBoot", + "jms-springBoot", + "dapr" + ], + "x-ms-enum": { + "name": "ClientType", + "modelAsString": true + } + }, + "provisioningState": { + "type": "string", + "readOnly": true + }, + "vNetSolution": { + "$ref": "#/definitions/VNetSolution", + "x-nullable": true + }, + "secretStore": { + "$ref": "#/definitions/SecretStore", + "x-nullable": true + }, + "scope": { + "type": "string", + "x-nullable": true + }, + "publicNetworkSolution": { + "$ref": "#/definitions/PublicNetworkSolution", + "x-nullable": true + }, + "configurationInfo": { + "$ref": "#/definitions/ConfigurationInfo", + "x-nullable": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/DryrunParameters" + } + ], + "x-ms-discriminator-value": "createOrUpdate" + }, + "DaprConfigurationList": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/DaprConfigurationResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + }, + "required": [ + "value" + ] + }, + "DaprConfigurationProperties": { + "type": "object", + "properties": { + "targetType": { + "type": "string" + }, + "authType": { + "type": "string", + "enum": [ + "systemAssignedIdentity", + "userAssignedIdentity", + "servicePrincipalSecret", + "servicePrincipalCertificate", + "secret", + "accessKey", + "userAccount", + "easyAuthMicrosoftEntraID" + ], + "x-ms-enum": { + "name": "AuthType", + "modelAsString": true + } + }, + "daprProperties": { + "$ref": "#/definitions/DaprProperties" + } + } + }, + "DaprConfigurationResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/DaprConfigurationProperties", + "x-ms-client-flatten": true + } + } + }, + "DaprMetadata": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "secretRef": { + "type": "string" + }, + "description": { + "type": "string" + }, + "required": { + "type": "string", + "enum": [ + "true", + "false" + ], + "x-ms-enum": { + "name": "DaprMetadataRequired", + "modelAsString": true + } + } + } + }, + "DaprProperties": { + "type": "object", + "properties": { + "version": { + "type": "string", + "x-nullable": true + }, + "componentType": { + "type": "string", + "x-nullable": true + }, + "secretStoreComponent": { + "type": "string", + "x-nullable": true + }, + "metadata": { + "type": "array", + "items": { + "$ref": "#/definitions/DaprMetadata" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "scopes": { + "type": "array", + "items": { + "type": "string" + } + }, + "runtimeVersion": { + "type": "string", + "x-nullable": true, + "readOnly": true + }, + "bindingComponentDirection": { + "type": "string", + "enum": [ + "input", + "output" + ], + "x-ms-enum": { + "name": "DaprBindingComponentDirection", + "modelAsString": true + }, + "x-nullable": true, + "readOnly": true + } + } + }, + "DryrunList": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/DryrunResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + }, + "required": [ + "value" + ] + }, + "DryrunOperationPreview": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "operationType": { + "type": "string", + "enum": [ + "configConnection", + "configNetwork", + "configAuth" + ], + "x-ms-enum": { + "name": "DryrunPreviewOperationType", + "modelAsString": true + } + }, + "description": { + "type": "string" + }, + "action": { + "type": "string" + }, + "scope": { + "type": "string" + } + } + }, + "DryrunParameters": { + "type": "object", + "properties": { + "actionName": { + "type": "string", + "enum": [ + "createOrUpdate" + ], + "x-ms-enum": { + "name": "DryrunActionName", + "modelAsString": true + } + } + }, + "discriminator": "actionName", + "required": [ + "actionName" + ] + }, + "DryrunPatch": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/DryrunProperties", + "x-ms-client-flatten": true + } + } + }, + "DryrunPrerequisiteResult": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "basicError", + "permissionsMissing" + ], + "x-ms-enum": { + "name": "DryrunPrerequisiteResultType", + "modelAsString": true + } + } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "DryrunProperties": { + "type": "object", + "properties": { + "parameters": { + "$ref": "#/definitions/DryrunParameters" + }, + "prerequisiteResults": { + "type": "array", + "items": { + "$ref": "#/definitions/DryrunPrerequisiteResult" + }, + "readOnly": true + }, + "operationPreviews": { + "type": "array", + "items": { + "$ref": "#/definitions/DryrunOperationPreview" + }, + "readOnly": true + }, + "provisioningState": { + "type": "string", + "readOnly": true + } + } + }, + "DryrunResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/DryrunProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "EasyAuthMicrosoftEntraIDAuthInfo": { + "type": "object", + "properties": { + "clientId": { + "type": "string" + }, + "secret": { + "type": "string", + "format": "password", + "x-ms-secret": true + }, + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "easyAuthMicrosoftEntraID" + }, + "FabricPlatform": { + "type": "object", + "properties": { + "endpoint": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/TargetServiceBase" + } + ], + "x-ms-discriminator-value": "FabricPlatform" + }, + "FirewallRules": { + "type": "object", + "properties": { + "ipRanges": { + "type": "array", + "items": { + "type": "string" + } + }, + "azureServices": { + "type": "string", + "enum": [ + "true", + "false" + ], + "x-ms-enum": { + "name": "AllowType", + "modelAsString": true + } + }, + "callerClientIP": { + "type": "string", + "enum": [ + "true", + "false" + ], + "x-ms-enum": { + "name": "AllowType", + "modelAsString": true + } + } + } + }, + "KeyVaultSecretReferenceSecretInfo": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "version": { + "type": "string", + "x-nullable": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/SecretInfoBase" + } + ], + "x-ms-discriminator-value": "keyVaultSecretReference" + }, + "KeyVaultSecretUriSecretInfo": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/SecretInfoBase" + } + ], + "x-ms-discriminator-value": "keyVaultSecretUri" + }, + "LinkerPatch": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/LinkerProperties", + "x-ms-client-flatten": true + } + } + }, + "LinkerProperties": { + "type": "object", + "properties": { + "targetService": { + "$ref": "#/definitions/TargetServiceBase" + }, + "authInfo": { + "$ref": "#/definitions/AuthInfoBase" + }, + "clientType": { + "type": "string", + "enum": [ + "none", + "dotnet", + "java", + "python", + "go", + "php", + "ruby", + "django", + "nodejs", + "springBoot", + "kafka-springBoot", + "jms-springBoot", + "dapr" + ], + "x-ms-enum": { + "name": "ClientType", + "modelAsString": true + } + }, + "provisioningState": { + "type": "string", + "readOnly": true + }, + "vNetSolution": { + "$ref": "#/definitions/VNetSolution", + "x-nullable": true + }, + "secretStore": { + "$ref": "#/definitions/SecretStore", + "x-nullable": true + }, + "scope": { + "type": "string", + "x-nullable": true + }, + "publicNetworkSolution": { + "$ref": "#/definitions/PublicNetworkSolution", + "x-nullable": true + }, + "configurationInfo": { + "$ref": "#/definitions/ConfigurationInfo", + "x-nullable": true + } + } + }, + "LinkerResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/LinkerProperties", + "x-ms-client-flatten": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "PermissionsMissingDryrunPrerequisiteResult": { + "type": "object", + "properties": { + "scope": { + "type": "string" + }, + "permissions": { + "type": "array", + "items": { + "type": "string" + } + }, + "recommendedRole": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/DryrunPrerequisiteResult" + } + ], + "x-ms-discriminator-value": "permissionsMissing" + }, + "PublicNetworkSolution": { + "type": "object", + "properties": { + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "action": { + "type": "string", + "enum": [ + "Internal" + ], + "x-ms-enum": { + "name": "ActionType", + "modelAsString": true + } + }, + "firewallRules": { + "$ref": "#/definitions/FirewallRules" + } + } + }, + "ResourceList": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/LinkerResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + }, + "required": [ + "value" + ] + }, + "SecretAuthInfo": { + "type": "object", + "properties": { + "name": { + "type": "string", + "x-nullable": true + }, + "secretInfo": { + "$ref": "#/definitions/SecretInfoBase", + "x-nullable": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "secret" + }, + "SecretInfoBase": { + "type": "object", + "properties": { + "secretType": { + "type": "string", + "enum": [ + "rawValue", + "keyVaultSecretUri", + "keyVaultSecretReference" + ], + "x-ms-enum": { + "name": "SecretType", + "modelAsString": true + } + } + }, + "discriminator": "secretType", + "required": [ + "secretType" + ] + }, + "SecretStore": { + "type": "object", + "properties": { + "keyVaultId": { + "type": "string", + "x-nullable": true + }, + "keyVaultSecretName": { + "type": "string", + "x-nullable": true + } + } + }, + "SelfHostedServer": { + "type": "object", + "properties": { + "endpoint": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/TargetServiceBase" + } + ], + "x-ms-discriminator-value": "SelfHostedServer" + }, + "ServicePrincipalCertificateAuthInfo": { + "type": "object", + "properties": { + "clientId": { + "type": "string" + }, + "principalId": { + "type": "string" + }, + "certificate": { + "type": "string", + "format": "password", + "x-ms-secret": true + }, + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "certificate", + "clientId", + "principalId" + ], + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "servicePrincipalCertificate" + }, + "ServicePrincipalSecretAuthInfo": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "clientId": { + "type": "string" + }, + "principalId": { + "type": "string" + }, + "secret": { + "type": "string", + "format": "password", + "x-ms-secret": true + }, + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "clientId", + "principalId", + "secret" + ], + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "servicePrincipalSecret" + }, + "SourceConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string", + "x-nullable": true + }, + "configType": { + "type": "string", + "enum": [ + "Default", + "KeyVaultSecret" + ], + "x-ms-enum": { + "name": "LinkerConfigurationType", + "modelAsString": true + }, + "readOnly": true + }, + "keyVaultReferenceIdentity": { + "type": "string", + "x-nullable": true + }, + "description": { + "type": "string", + "x-nullable": true + } + } + }, + "SystemAssignedIdentityAuthInfo": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "systemAssignedIdentity" + }, + "TargetServiceBase": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "AzureResource", + "ConfluentBootstrapServer", + "ConfluentSchemaRegistry", + "SelfHostedServer", + "FabricPlatform" + ], + "x-ms-enum": { + "name": "TargetServiceType", + "modelAsString": true + } + } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "UserAccountAuthInfo": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "principalId": { + "type": "string" + }, + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "userAccount" + }, + "UserAssignedIdentityAuthInfo": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "clientId": { + "type": "string" + }, + "subscriptionId": { + "type": "string" + }, + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "userAssignedIdentity" + }, + "VNetSolution": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "serviceEndpoint", + "privateLink" + ], + "x-ms-enum": { + "name": "VNetSolutionType", + "modelAsString": true + }, + "x-nullable": true + }, + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + } + } + }, + "ValidateOperationResult": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ValidateResult", + "x-nullable": true, + "x-ms-client-flatten": true + }, + "resourceId": { + "type": "string", + "x-nullable": true + }, + "status": { + "type": "string", + "x-nullable": true + } + } + }, + "ValidateResult": { + "type": "object", + "properties": { + "linkerName": { + "type": "string", + "x-nullable": true + }, + "isConnectionAvailable": { + "type": "boolean", + "x-nullable": true + }, + "reportStartTimeUtc": { + "type": "string", + "format": "date-time", + "x-nullable": true + }, + "reportEndTimeUtc": { + "type": "string", + "format": "date-time", + "x-nullable": true + }, + "sourceId": { + "type": "string", + "x-nullable": true + }, + "targetId": { + "type": "string", + "x-nullable": true + }, + "authType": { + "type": "string", + "enum": [ + "systemAssignedIdentity", + "userAssignedIdentity", + "servicePrincipalSecret", + "servicePrincipalCertificate", + "secret", + "accessKey", + "userAccount", + "easyAuthMicrosoftEntraID" + ], + "x-ms-enum": { + "name": "AuthType", + "modelAsString": true + }, + "x-nullable": true + }, + "validationDetail": { + "type": "array", + "items": { + "$ref": "#/definitions/ValidationResultItem" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "ValidationResultItem": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string", + "x-nullable": true + }, + "result": { + "type": "string", + "enum": [ + "success", + "failure", + "warning" + ], + "x-ms-enum": { + "name": "ValidationResultStatus", + "modelAsString": true + }, + "x-nullable": true + }, + "errorMessage": { + "type": "string", + "x-nullable": true + }, + "errorCode": { + "type": "string", + "x-nullable": true + } + } + }, + "ValueSecretInfo": { + "type": "object", + "properties": { + "value": { + "type": "string", + "format": "password", + "x-nullable": true, + "x-ms-secret": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/SecretInfoBase" + } + ], + "x-ms-discriminator-value": "rawValue" + } + }, + "parameters": {} +} \ No newline at end of file diff --git a/specification/servicelinker/output/oldNormalizedSwagger.json b/specification/servicelinker/output/oldNormalizedSwagger.json new file mode 100644 index 000000000000..b703dd9b2769 --- /dev/null +++ b/specification/servicelinker/output/oldNormalizedSwagger.json @@ -0,0 +1,2578 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft.ServiceLinker", + "version": "2024-07-01-preview", + "description": "Microsoft.ServiceLinker provider" + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "paths": { + "/{resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations": { + "get": { + "operationId": "Linkers_ListDaprConfigurations", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DaprConfigurationList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetDaprConfigurations": { + "$ref": "./examples/GetDaprConfigurations.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns": { + "get": { + "operationId": "Linkers_ListDryrun", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListDryrun": { + "$ref": "./examples/ListDryrun.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns/{dryrunName}": { + "get": { + "operationId": "Linkers_GetDryrun", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetDryrun": { + "$ref": "./examples/GetDryrun.json" + } + } + }, + "put": { + "operationId": "Linkers_CreateDryrun", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DryrunResource" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PutDryrun": { + "$ref": "./examples/PutDryrun.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Linkers_UpdateDryrun", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DryrunPatch" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PatchDryrun": { + "$ref": "./examples/PatchDryrun.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Linkers_DeleteDryrun", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteDryrun": { + "$ref": "./examples/DeleteDryrun.json" + } + } + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers": { + "get": { + "operationId": "Linker_List", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ResourceList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "LinkerList": { + "$ref": "./examples/LinkerList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}": { + "get": { + "operationId": "Linker_Get", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Linker": { + "$ref": "./examples/Linker.json" + } + } + }, + "put": { + "operationId": "Linker_CreateOrUpdate", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LinkerResource" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PutLinker": { + "$ref": "./examples/PutLinker.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Linker_Update", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LinkerPatch" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PatchLinker": { + "$ref": "./examples/PatchLinker.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Linker_Delete", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore" + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteLinker": { + "$ref": "./examples/DeleteLinker.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/generateConfigurations": { + "post": { + "operationId": "Linkers_GenerateConfigurations", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/ConfigurationInfo" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConfigurationResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GenerateConfiguration": { + "$ref": "./examples/LinkerGenerateConfigurations.json" + } + } + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/listConfigurations": { + "post": { + "operationId": "Linker_ListConfigurations", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConfigurationResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetConfiguration": { + "$ref": "./examples/GetConfigurations.json" + } + } + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/validateLinker": { + "post": { + "operationId": "Linker_Validate", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "linkerName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ValidateOperationResult" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ValidateLinkerSuccess": { + "$ref": "./examples/ValidateLinkerSuccess.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/providers/Microsoft.ServiceLinker/configurationNames": { + "get": { + "operationId": "ConfigurationNames_List", + "parameters": [ + { + "name": "$filter", + "in": "query", + "type": "string" + }, + { + "name": "$skipToken", + "in": "query", + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConfigurationNameResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetConfigurationNames": { + "$ref": "./examples/ConfigurationNamesList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.ServiceLinker/operations": { + "get": { + "operationId": "Operations_List", + "parameters": [], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetConfiguration": { + "$ref": "./examples/OperationsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors": { + "get": { + "operationId": "Connector_List", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ResourceList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "ConnectorList": { + "$ref": "./examples/ConnectorList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}": { + "get": { + "operationId": "Connector_Get", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Connector": { + "$ref": "./examples/Connectors.json" + } + } + }, + "put": { + "operationId": "Connector_CreateOrUpdate", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LinkerResource" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PutConnector": { + "$ref": "./examples/PutConnector.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Connector_Update", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LinkerPatch" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "202": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PatchConnector": { + "$ref": "./examples/PatchConnector.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Connector_Delete", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore" + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteConnector": { + "$ref": "./examples/DeleteConnector.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/generateConfigurations": { + "post": { + "operationId": "Connector_GenerateConfigurations", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/ConfigurationInfo" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConfigurationResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GenerateConfiguration": { + "$ref": "./examples/GenerateConfigurations.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/validate": { + "post": { + "operationId": "Connector_Validate", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "connectorName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ValidateOperationResult" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ValidateConnectorSuccess": { + "$ref": "./examples/ValidateConnectorSuccess.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns": { + "get": { + "operationId": "Connector_ListDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunList": { + "$ref": "./examples/ConnectorDryrunList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}": { + "get": { + "operationId": "Connector_GetDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunGet": { + "$ref": "./examples/ConnectorDryrunGet.json" + } + } + }, + "put": { + "operationId": "Connector_CreateDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DryrunResource" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunCreate": { + "$ref": "./examples/ConnectorDryrunCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Connector_UpdateDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DryrunPatch" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunUpdate": { + "$ref": "./examples/ConnectorDryrunUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Connector_DeleteDryrun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "dryrunName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectorDryrunDelete": { + "$ref": "./examples/ConnectorDryrunDelete.json" + } + } + } + } + }, + "definitions": { + "AccessKeyInfoBase": { + "type": "object", + "properties": { + "permissions": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Read", + "Write", + "Listen", + "Send", + "Manage" + ], + "x-ms-enum": { + "name": "accessKeyPermissions", + "modelAsString": true + } + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "accessKey" + }, + "AuthInfoBase": { + "type": "object", + "properties": { + "authType": { + "type": "string", + "enum": [ + "systemAssignedIdentity", + "userAssignedIdentity", + "servicePrincipalSecret", + "servicePrincipalCertificate", + "secret", + "accessKey", + "userAccount", + "easyAuthMicrosoftEntraID" + ], + "x-ms-enum": { + "name": "AuthType", + "modelAsString": true + } + }, + "authMode": { + "type": "string", + "enum": [ + "optInAllAuth", + "optOutAllAuth" + ], + "x-ms-enum": { + "name": "AuthMode", + "modelAsString": true + } + } + }, + "discriminator": "authType", + "required": [ + "authType" + ] + }, + "AzureAppConfigProperties": { + "type": "object", + "properties": { + "connectWithKubernetesExtension": { + "type": "boolean", + "x-nullable": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/AzureResourcePropertiesBase" + } + ], + "x-ms-discriminator-value": "AppConfig" + }, + "AzureKeyVaultProperties": { + "type": "object", + "properties": { + "connectAsKubernetesCsiDriver": { + "type": "boolean", + "x-nullable": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/AzureResourcePropertiesBase" + } + ], + "x-ms-discriminator-value": "KeyVault" + }, + "AzureResource": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "resourceProperties": { + "$ref": "#/definitions/AzureResourcePropertiesBase", + "x-nullable": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/TargetServiceBase" + } + ], + "x-ms-discriminator-value": "AzureResource" + }, + "AzureResourcePropertiesBase": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "KeyVault", + "AppConfig" + ], + "x-ms-enum": { + "name": "AzureResourceType", + "modelAsString": true + } + } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "BasicErrorDryrunPrerequisiteResult": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/DryrunPrerequisiteResult" + } + ], + "x-ms-discriminator-value": "basicError" + }, + "ConfigurationInfo": { + "type": "object", + "properties": { + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "action": { + "type": "string", + "enum": [ + "enable", + "optOut" + ], + "x-ms-enum": { + "name": "ActionType", + "modelAsString": true + } + }, + "customizedKeys": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "daprProperties": { + "$ref": "#/definitions/DaprProperties" + }, + "additionalConfigurations": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "additionalConnectionStringProperties": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "configurationStore": { + "$ref": "#/definitions/ConfigurationStore", + "x-nullable": true + } + } + }, + "ConfigurationName": { + "type": "object", + "properties": { + "value": { + "type": "string" + }, + "description": { + "type": "string" + }, + "required": { + "type": "boolean" + } + } + }, + "ConfigurationNameItem": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ConfigurationNames", + "x-nullable": true, + "x-ms-client-flatten": true + } + } + }, + "ConfigurationNameResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/ConfigurationNameItem" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "ConfigurationNames": { + "type": "object", + "properties": { + "targetService": { + "type": "string" + }, + "clientType": { + "type": "string", + "enum": [ + "none", + "dotnet", + "java", + "python", + "go", + "php", + "ruby", + "django", + "nodejs", + "springBoot", + "kafka-springBoot", + "jms-springBoot", + "dapr" + ], + "x-ms-enum": { + "name": "ClientType", + "modelAsString": true + } + }, + "authType": { + "type": "string", + "enum": [ + "systemAssignedIdentity", + "userAssignedIdentity", + "servicePrincipalSecret", + "servicePrincipalCertificate", + "secret", + "accessKey", + "userAccount", + "easyAuthMicrosoftEntraID" + ], + "x-ms-enum": { + "name": "AuthType", + "modelAsString": true + } + }, + "secretType": { + "type": "string", + "enum": [ + "rawValue", + "keyVaultSecret" + ], + "x-ms-enum": { + "name": "SecretSourceType", + "modelAsString": true + } + }, + "daprProperties": { + "$ref": "#/definitions/DaprProperties" + }, + "names": { + "type": "array", + "items": { + "$ref": "#/definitions/ConfigurationName" + } + } + } + }, + "ConfigurationResult": { + "type": "object", + "properties": { + "configurations": { + "type": "array", + "items": { + "$ref": "#/definitions/SourceConfiguration" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "ConfigurationStore": { + "type": "object", + "properties": { + "appConfigurationId": { + "type": "string", + "x-nullable": true + } + } + }, + "ConfluentBootstrapServer": { + "type": "object", + "properties": { + "endpoint": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/TargetServiceBase" + } + ], + "x-ms-discriminator-value": "ConfluentBootstrapServer" + }, + "ConfluentSchemaRegistry": { + "type": "object", + "properties": { + "endpoint": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/TargetServiceBase" + } + ], + "x-ms-discriminator-value": "ConfluentSchemaRegistry" + }, + "CreateOrUpdateDryrunParameters": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DryrunParameters" + }, + { + "$ref": "#/definitions/LinkerProperties" + } + ], + "x-ms-discriminator-value": "createOrUpdate" + }, + "DaprConfigurationList": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/DaprConfigurationResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "DaprConfigurationProperties": { + "type": "object", + "properties": { + "targetType": { + "type": "string" + }, + "authType": { + "type": "string", + "enum": [ + "systemAssignedIdentity", + "userAssignedIdentity", + "servicePrincipalSecret", + "servicePrincipalCertificate", + "secret", + "accessKey", + "userAccount", + "easyAuthMicrosoftEntraID" + ], + "x-ms-enum": { + "name": "AuthType", + "modelAsString": true + } + }, + "daprProperties": { + "$ref": "#/definitions/DaprProperties" + } + } + }, + "DaprConfigurationResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/DaprConfigurationProperties", + "x-ms-client-flatten": true + } + } + }, + "DaprMetadata": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "secretRef": { + "type": "string" + }, + "description": { + "type": "string" + }, + "required": { + "type": "string", + "enum": [ + "true", + "false" + ], + "x-ms-enum": { + "name": "DaprMetadataRequired", + "modelAsString": true + } + } + } + }, + "DaprProperties": { + "type": "object", + "properties": { + "version": { + "type": "string", + "x-nullable": true + }, + "componentType": { + "type": "string", + "x-nullable": true + }, + "secretStoreComponent": { + "type": "string", + "x-nullable": true + }, + "metadata": { + "type": "array", + "items": { + "$ref": "#/definitions/DaprMetadata" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "scopes": { + "type": "array", + "items": { + "type": "string" + } + }, + "runtimeVersion": { + "type": "string", + "x-nullable": true, + "readOnly": true + }, + "bindingComponentDirection": { + "type": "string", + "enum": [ + "input", + "output" + ], + "x-ms-enum": { + "name": "DaprBindingComponentDirection", + "modelAsString": true + }, + "x-nullable": true, + "readOnly": true + } + } + }, + "DatabaseAadAuthInfo": { + "type": "object", + "properties": { + "userName": { + "type": "string", + "x-nullable": true + } + } + }, + "DryrunList": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property", + "x-nullable": true + }, + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/DryrunResource" + } + } + } + }, + "DryrunOperationPreview": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "operationType": { + "type": "string", + "enum": [ + "configConnection", + "configNetwork", + "configAuth" + ], + "x-ms-enum": { + "name": "DryrunPreviewOperationType", + "modelAsString": true + } + }, + "description": { + "type": "string" + }, + "action": { + "type": "string" + }, + "scope": { + "type": "string" + } + } + }, + "DryrunParameters": { + "type": "object", + "properties": { + "actionName": { + "type": "string", + "enum": [ + "createOrUpdate" + ], + "x-ms-enum": { + "name": "DryrunActionName", + "modelAsString": true + } + } + }, + "discriminator": "actionName", + "required": [ + "actionName" + ] + }, + "DryrunPatch": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/DryrunProperties", + "x-ms-client-flatten": true + } + } + }, + "DryrunPrerequisiteResult": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "basicError", + "permissionsMissing" + ], + "x-ms-enum": { + "name": "DryrunPrerequisiteResultType", + "modelAsString": true + } + } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "DryrunProperties": { + "type": "object", + "properties": { + "parameters": { + "$ref": "#/definitions/DryrunParameters" + }, + "prerequisiteResults": { + "type": "array", + "items": { + "$ref": "#/definitions/DryrunPrerequisiteResult" + }, + "readOnly": true + }, + "operationPreviews": { + "type": "array", + "items": { + "$ref": "#/definitions/DryrunOperationPreview" + }, + "readOnly": true + }, + "provisioningState": { + "type": "string", + "readOnly": true + } + } + }, + "DryrunResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/DryrunProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource", + "description": "The resource model definition for an Azure Resource Manager proxy resource." + } + ] + }, + "EasyAuthMicrosoftEntraIDAuthInfo": { + "type": "object", + "properties": { + "clientId": { + "type": "string" + }, + "secret": { + "type": "string", + "x-ms-secret": true + }, + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "easyAuthMicrosoftEntraID" + }, + "FabricPlatform": { + "type": "object", + "properties": { + "endpoint": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/TargetServiceBase" + } + ], + "x-ms-discriminator-value": "FabricPlatform" + }, + "FirewallRules": { + "type": "object", + "properties": { + "ipRanges": { + "type": "array", + "items": { + "type": "string" + } + }, + "azureServices": { + "type": "string", + "enum": [ + "true", + "false" + ], + "x-ms-enum": { + "name": "AllowType", + "modelAsString": true + } + }, + "callerClientIP": { + "type": "string", + "enum": [ + "true", + "false" + ], + "x-ms-enum": { + "name": "AllowType", + "modelAsString": true + } + } + } + }, + "KeyVaultSecretReferenceSecretInfo": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "version": { + "type": "string", + "x-nullable": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/SecretInfoBase" + } + ], + "x-ms-discriminator-value": "keyVaultSecretReference" + }, + "KeyVaultSecretUriSecretInfo": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/SecretInfoBase" + } + ], + "x-ms-discriminator-value": "keyVaultSecretUri" + }, + "LinkerPatch": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/LinkerProperties", + "type": "object", + "x-ms-client-flatten": true + } + } + }, + "LinkerProperties": { + "type": "object", + "properties": { + "targetService": { + "$ref": "#/definitions/TargetServiceBase" + }, + "authInfo": { + "$ref": "#/definitions/AuthInfoBase" + }, + "clientType": { + "type": "string", + "enum": [ + "none", + "dotnet", + "java", + "python", + "go", + "php", + "ruby", + "django", + "nodejs", + "springBoot", + "kafka-springBoot", + "jms-springBoot", + "dapr" + ], + "x-ms-enum": { + "name": "ClientType", + "modelAsString": true + } + }, + "provisioningState": { + "type": "string", + "readOnly": true + }, + "vNetSolution": { + "$ref": "#/definitions/VNetSolution", + "x-nullable": true + }, + "secretStore": { + "$ref": "#/definitions/SecretStore", + "x-nullable": true + }, + "scope": { + "type": "string", + "x-nullable": true + }, + "publicNetworkSolution": { + "$ref": "#/definitions/PublicNetworkSolution", + "x-nullable": true + }, + "configurationInfo": { + "$ref": "#/definitions/ConfigurationInfo", + "x-nullable": true + } + } + }, + "LinkerResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/LinkerProperties", + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "x-nullable": true, + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource", + "description": "The resource model definition for an Azure Resource Manager proxy resource." + } + ] + }, + "PermissionsMissingDryrunPrerequisiteResult": { + "type": "object", + "properties": { + "scope": { + "type": "string" + }, + "permissions": { + "type": "array", + "items": { + "type": "string" + } + }, + "recommendedRole": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/DryrunPrerequisiteResult" + } + ], + "x-ms-discriminator-value": "permissionsMissing" + }, + "PublicNetworkSolution": { + "type": "object", + "properties": { + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "action": { + "type": "string", + "enum": [ + "enable", + "optOut" + ], + "x-ms-enum": { + "name": "ActionType", + "modelAsString": true + } + }, + "firewallRules": { + "$ref": "#/definitions/FirewallRules" + } + } + }, + "ResourceList": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property", + "x-nullable": true + }, + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/LinkerResource" + } + } + } + }, + "SecretAuthInfo": { + "type": "object", + "properties": { + "name": { + "type": "string", + "x-nullable": true + }, + "secretInfo": { + "$ref": "#/definitions/SecretInfoBase", + "x-nullable": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "secret" + }, + "SecretInfoBase": { + "type": "object", + "properties": { + "secretType": { + "type": "string", + "enum": [ + "rawValue", + "keyVaultSecretUri", + "keyVaultSecretReference" + ], + "x-ms-enum": { + "name": "SecretType", + "modelAsString": true + } + } + }, + "discriminator": "secretType", + "required": [ + "secretType" + ] + }, + "SecretStore": { + "type": "object", + "properties": { + "keyVaultId": { + "type": "string", + "x-nullable": true + }, + "keyVaultSecretName": { + "type": "string", + "x-nullable": true + } + } + }, + "SelfHostedServer": { + "type": "object", + "properties": { + "endpoint": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/TargetServiceBase" + } + ], + "x-ms-discriminator-value": "SelfHostedServer" + }, + "ServicePrincipalCertificateAuthInfo": { + "type": "object", + "properties": { + "clientId": { + "type": "string" + }, + "principalId": { + "type": "string" + }, + "certificate": { + "type": "string", + "x-ms-secret": true + }, + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "certificate", + "clientId", + "principalId" + ], + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + } + ], + "x-ms-discriminator-value": "servicePrincipalCertificate" + }, + "ServicePrincipalSecretAuthInfo": { + "type": "object", + "properties": { + "clientId": { + "type": "string" + }, + "principalId": { + "type": "string" + }, + "secret": { + "type": "string", + "x-ms-secret": true + }, + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "clientId", + "principalId", + "secret" + ], + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + }, + { + "$ref": "#/definitions/DatabaseAadAuthInfo" + } + ], + "x-ms-discriminator-value": "servicePrincipalSecret" + }, + "SourceConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string", + "x-nullable": true + }, + "configType": { + "type": "string", + "enum": [ + "Default", + "KeyVaultSecret" + ], + "x-ms-enum": { + "name": "LinkerConfigurationType", + "modelAsString": true + }, + "readOnly": true + }, + "keyVaultReferenceIdentity": { + "type": "string", + "x-nullable": true + }, + "description": { + "type": "string", + "x-nullable": true + } + } + }, + "SystemAssignedIdentityAuthInfo": { + "type": "object", + "properties": { + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + }, + { + "$ref": "#/definitions/DatabaseAadAuthInfo" + } + ], + "x-ms-discriminator-value": "systemAssignedIdentity" + }, + "TargetServiceBase": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "AzureResource", + "ConfluentBootstrapServer", + "ConfluentSchemaRegistry", + "SelfHostedServer", + "FabricPlatform" + ], + "x-ms-enum": { + "name": "TargetServiceType", + "modelAsString": true + } + } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "UserAccountAuthInfo": { + "type": "object", + "properties": { + "principalId": { + "type": "string" + }, + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + }, + { + "$ref": "#/definitions/DatabaseAadAuthInfo" + } + ], + "x-ms-discriminator-value": "userAccount" + }, + "UserAssignedIdentityAuthInfo": { + "type": "object", + "properties": { + "clientId": { + "type": "string" + }, + "subscriptionId": { + "type": "string" + }, + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + }, + { + "$ref": "#/definitions/DatabaseAadAuthInfo" + } + ], + "x-ms-discriminator-value": "userAssignedIdentity" + }, + "VNetSolution": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "serviceEndpoint", + "privateLink" + ], + "x-ms-enum": { + "name": "VNetSolutionType", + "modelAsString": true + }, + "x-nullable": true + }, + "deleteOrUpdateBehavior": { + "type": "string", + "enum": [ + "Default", + "ForcedCleanup" + ], + "x-ms-enum": { + "name": "DeleteOrUpdateBehavior", + "modelAsString": true + } + } + } + }, + "ValidateOperationResult": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ValidateResult", + "x-nullable": true, + "x-ms-client-flatten": true + }, + "resourceId": { + "type": "string", + "x-nullable": true + }, + "status": { + "type": "string", + "x-nullable": true + } + } + }, + "ValidateResult": { + "type": "object", + "properties": { + "linkerName": { + "type": "string", + "x-nullable": true + }, + "isConnectionAvailable": { + "type": "boolean", + "x-nullable": true + }, + "reportStartTimeUtc": { + "type": "string", + "format": "date-time", + "x-nullable": true + }, + "reportEndTimeUtc": { + "type": "string", + "format": "date-time", + "x-nullable": true + }, + "sourceId": { + "type": "string", + "x-nullable": true + }, + "targetId": { + "type": "string", + "x-nullable": true + }, + "authType": { + "type": "string", + "enum": [ + "systemAssignedIdentity", + "userAssignedIdentity", + "servicePrincipalSecret", + "servicePrincipalCertificate", + "secret", + "accessKey", + "userAccount", + "easyAuthMicrosoftEntraID" + ], + "x-ms-enum": { + "name": "AuthType", + "modelAsString": true + }, + "x-nullable": true + }, + "validationDetail": { + "type": "array", + "items": { + "$ref": "#/definitions/ValidationResultItem" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "ValidationResultItem": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string", + "x-nullable": true + }, + "result": { + "type": "string", + "enum": [ + "success", + "failure", + "warning" + ], + "x-ms-enum": { + "name": "ValidationResultStatus", + "modelAsString": true + }, + "x-nullable": true + }, + "errorMessage": { + "type": "string", + "x-nullable": true + }, + "errorCode": { + "type": "string", + "x-nullable": true + } + } + }, + "ValueSecretInfo": { + "type": "object", + "properties": { + "value": { + "type": "string", + "x-nullable": true, + "x-ms-secret": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/SecretInfoBase" + } + ], + "x-ms-discriminator-value": "rawValue" + } + }, + "parameters": {} +} \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json index 1e76f496bcb4..7db65e3496c4 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json @@ -2040,7 +2040,8 @@ "properties": { "connectWithKubernetesExtension": { "type": "boolean", - "description": "True if connection enables app configuration kubernetes extension." + "description": "True if connection enables app configuration kubernetes extension.", + "x-nullable": true } }, "allOf": [ @@ -2056,7 +2057,8 @@ "properties": { "connectAsKubernetesCsiDriver": { "type": "boolean", - "description": "True if connect via Kubernetes CSI Driver." + "description": "True if connect via Kubernetes CSI Driver.", + "x-nullable": true } }, "allOf": [ @@ -2076,7 +2078,8 @@ }, "resourceProperties": { "$ref": "#/definitions/AzureResourcePropertiesBase", - "description": "The azure resource connection related properties." + "description": "The azure resource connection related properties.", + "x-nullable": true } }, "allOf": [ @@ -2258,7 +2261,8 @@ }, "configurationStore": { "$ref": "#/definitions/ConfigurationStore", - "description": "An option to store configuration into different place" + "description": "An option to store configuration into different place", + "x-nullable": true } } }, @@ -2285,6 +2289,7 @@ "properties": { "$ref": "#/definitions/ConfigurationNames", "description": "The result detail.", + "x-nullable": true, "x-ms-client-flatten": true } } @@ -2367,7 +2372,8 @@ "properties": { "appConfigurationId": { "type": "string", - "description": "The app configuration id to store configuration" + "description": "The app configuration id to store configuration", + "x-nullable": true } } }, @@ -2426,23 +2432,28 @@ }, "vNetSolution": { "$ref": "#/definitions/VNetSolution", - "description": "The VNet solution." + "description": "The VNet solution.", + "x-nullable": true }, "secretStore": { "$ref": "#/definitions/SecretStore", - "description": "An option to store secret value in secure place" + "description": "An option to store secret value in secure place", + "x-nullable": true }, "scope": { "type": "string", - "description": "connection scope in source service." + "description": "connection scope in source service.", + "x-nullable": true }, "publicNetworkSolution": { "$ref": "#/definitions/PublicNetworkSolution", - "description": "The network solution." + "description": "The network solution.", + "x-nullable": true }, "configurationInfo": { "$ref": "#/definitions/ConfigurationInfo", - "description": "The connection information consumed by applications, including secrets, connection strings." + "description": "The connection information consumed by applications, including secrets, connection strings.", + "x-nullable": true } }, "allOf": [ @@ -2578,15 +2589,18 @@ "properties": { "version": { "type": "string", - "description": "The dapr component version" + "description": "The dapr component version", + "x-nullable": true }, "componentType": { "type": "string", - "description": "The dapr component type" + "description": "The dapr component type", + "x-nullable": true }, "secretStoreComponent": { "type": "string", - "description": "The name of a secret store dapr to retrieve secret" + "description": "The name of a secret store dapr to retrieve secret", + "x-nullable": true }, "metadata": { "type": "array", @@ -2608,11 +2622,13 @@ "runtimeVersion": { "type": "string", "description": "The runtime version supported by the properties", + "x-nullable": true, "readOnly": true }, "bindingComponentDirection": { "$ref": "#/definitions/DaprBindingComponentDirection", "description": "The direction supported by the dapr binding component", + "x-nullable": true, "readOnly": true } } @@ -2850,7 +2866,9 @@ }, "secret": { "type": "string", - "description": "Application Secret for EasyAuth Microsoft Entra ID." + "format": "password", + "description": "Application Secret for EasyAuth Microsoft Entra ID.", + "x-ms-secret": true }, "deleteOrUpdateBehavior": { "$ref": "#/definitions/DeleteOrUpdateBehavior", @@ -2911,7 +2929,8 @@ }, "version": { "type": "string", - "description": "Version of the Key Vault secret." + "description": "Version of the Key Vault secret.", + "x-nullable": true } }, "allOf": [ @@ -2993,23 +3012,28 @@ }, "vNetSolution": { "$ref": "#/definitions/VNetSolution", - "description": "The VNet solution." + "description": "The VNet solution.", + "x-nullable": true }, "secretStore": { "$ref": "#/definitions/SecretStore", - "description": "An option to store secret value in secure place" + "description": "An option to store secret value in secure place", + "x-nullable": true }, "scope": { "type": "string", - "description": "connection scope in source service." + "description": "connection scope in source service.", + "x-nullable": true }, "publicNetworkSolution": { "$ref": "#/definitions/PublicNetworkSolution", - "description": "The network solution." + "description": "The network solution.", + "x-nullable": true }, "configurationInfo": { "$ref": "#/definitions/ConfigurationInfo", - "description": "The connection information consumed by applications, including secrets, connection strings." + "description": "The connection information consumed by applications, including secrets, connection strings.", + "x-nullable": true } } }, @@ -3104,11 +3128,13 @@ "properties": { "name": { "type": "string", - "description": "Username or account name for secret auth." + "description": "Username or account name for secret auth.", + "x-nullable": true }, "secretInfo": { "$ref": "#/definitions/SecretInfoBase", - "description": "Password or key vault secret for secret auth." + "description": "Password or key vault secret for secret auth.", + "x-nullable": true } }, "allOf": [ @@ -3160,11 +3186,13 @@ "properties": { "keyVaultId": { "type": "string", - "description": "The key vault id to store secret" + "description": "The key vault id to store secret", + "x-nullable": true }, "keyVaultSecretName": { "type": "string", - "description": "The key vault secret name to store secret, only valid when storing one secret" + "description": "The key vault secret name to store secret, only valid when storing one secret", + "x-nullable": true } } }, @@ -3225,7 +3253,9 @@ }, "certificate": { "type": "string", - "description": "ServicePrincipal certificate for servicePrincipal auth." + "format": "password", + "description": "ServicePrincipal certificate for servicePrincipal auth.", + "x-ms-secret": true }, "deleteOrUpdateBehavior": { "$ref": "#/definitions/DeleteOrUpdateBehavior", @@ -3269,7 +3299,9 @@ }, "secret": { "type": "string", - "description": "Secret for servicePrincipal auth." + "format": "password", + "description": "Secret for servicePrincipal auth.", + "x-ms-secret": true }, "deleteOrUpdateBehavior": { "$ref": "#/definitions/DeleteOrUpdateBehavior", @@ -3305,7 +3337,8 @@ }, "value": { "type": "string", - "description": "The value of setting" + "description": "The value of setting", + "x-nullable": true }, "configType": { "$ref": "#/definitions/LinkerConfigurationType", @@ -3314,11 +3347,13 @@ }, "keyVaultReferenceIdentity": { "type": "string", - "description": "The identity for key vault reference, system or user-assigned managed identity ID" + "description": "The identity for key vault reference, system or user-assigned managed identity ID", + "x-nullable": true }, "description": { "type": "string", - "description": "Descriptive information for the configuration" + "description": "Descriptive information for the configuration", + "x-nullable": true } } }, @@ -3472,7 +3507,8 @@ "properties": { "type": { "$ref": "#/definitions/VNetSolutionType", - "description": "Type of VNet solution." + "description": "Type of VNet solution.", + "x-nullable": true }, "deleteOrUpdateBehavior": { "$ref": "#/definitions/DeleteOrUpdateBehavior", @@ -3509,15 +3545,18 @@ "properties": { "$ref": "#/definitions/ValidateResult", "description": "The validation result detail.", + "x-nullable": true, "x-ms-client-flatten": true }, "resourceId": { "type": "string", - "description": "Validated Linker id." + "description": "Validated Linker id.", + "x-nullable": true }, "status": { "type": "string", - "description": "Validation operation status." + "description": "Validation operation status.", + "x-nullable": true } } }, @@ -3527,33 +3566,40 @@ "properties": { "linkerName": { "type": "string", - "description": "The linker name." + "description": "The linker name.", + "x-nullable": true }, "isConnectionAvailable": { "type": "boolean", - "description": "A boolean value indicating whether the connection is available or not" + "description": "A boolean value indicating whether the connection is available or not", + "x-nullable": true }, "reportStartTimeUtc": { "type": "string", "format": "date-time", - "description": "The start time of the validation report." + "description": "The start time of the validation report.", + "x-nullable": true }, "reportEndTimeUtc": { "type": "string", "format": "date-time", - "description": "The end time of the validation report." + "description": "The end time of the validation report.", + "x-nullable": true }, "sourceId": { "type": "string", - "description": "The resource id of the Linker source application." + "description": "The resource id of the Linker source application.", + "x-nullable": true }, "targetId": { "type": "string", - "description": "The resource Id of target service." + "description": "The resource Id of target service.", + "x-nullable": true }, "authType": { "$ref": "#/definitions/AuthType", - "description": "The authentication type." + "description": "The authentication type.", + "x-nullable": true }, "validationDetail": { "type": "array", @@ -3577,19 +3623,23 @@ }, "description": { "type": "string", - "description": "The display name of validation item" + "description": "The display name of validation item", + "x-nullable": true }, "result": { "$ref": "#/definitions/ValidationResultStatus", - "description": "The result of validation" + "description": "The result of validation", + "x-nullable": true }, "errorMessage": { "type": "string", - "description": "The error message of validation result" + "description": "The error message of validation result", + "x-nullable": true }, "errorCode": { "type": "string", - "description": "The error code of validation result" + "description": "The error code of validation result", + "x-nullable": true } } }, @@ -3626,7 +3676,10 @@ "properties": { "value": { "type": "string", - "description": "The actual value of the secret." + "format": "password", + "description": "The actual value of the secret.", + "x-nullable": true, + "x-ms-secret": true } }, "allOf": [ From 5d0721dbc5da8cafbb56547904e5f3d2bb2c3d60 Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Tue, 20 May 2025 12:23:03 +0800 Subject: [PATCH 05/37] update --- .../DryrunResource.tsp | 5 +- .../2024-07-01-preview/servicelinker.json | 595 +++++++++--------- 2 files changed, 282 insertions(+), 318 deletions(-) diff --git a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp index 2608a11f8439..c418cec78bd5 100644 --- a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp @@ -93,9 +93,6 @@ interface LinkersOps extends Azure.ResourceManager.Legacy.LegacyOperations< { ...ApiVersionParameter, - - /** {resourceUri} */ - @path @segment("{resourceUri}") providers: string, }, KeysOf >; diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json index 7db65e3496c4..3c6966848d95 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json @@ -106,13 +106,13 @@ } } }, - "/{resourceUri}/{providers}/{resourceUri}/dryruns": { + "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}": { "get": { - "operationId": "Linkers_ListDryrun", + "operationId": "Linker_Get", "tags": [ - "Linkers" + "Linker" ], - "description": "list dryrun jobs", + "description": "Returns Linker resource for a given name.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -124,19 +124,33 @@ "required": true, "type": "string" }, + { + "name": "linkers", + "in": "path", + "description": "The name of the LinkerResource", + "required": true, + "type": "string" + }, { "name": "resourceUri", "in": "path", "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", "required": true, "type": "string" + }, + { + "name": "linkerName", + "in": "path", + "description": "The name Linker resource.", + "required": true, + "type": "string" } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/DryrunList" + "$ref": "#/definitions/LinkerResource" } }, "default": { @@ -147,22 +161,17 @@ } }, "x-ms-examples": { - "ListDryrun": { - "$ref": "./examples/ListDryrun.json" + "Linker": { + "$ref": "./examples/Linker.json" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } - } - }, - "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{dryruns}/{resourceUri}/{dryrunName}": { - "get": { - "operationId": "Linkers_GetDryrun", + }, + "put": { + "operationId": "Linker_CreateOrUpdate", "tags": [ - "Linkers" + "Linker" ], - "description": "get a dryrun job", + "description": "Create or update Linker resource.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -175,9 +184,9 @@ "type": "string" }, { - "name": "dryruns", + "name": "linkers", "in": "path", - "description": "The name of the DryrunResource", + "description": "The name of the LinkerResource", "required": true, "type": "string" }, @@ -189,18 +198,44 @@ "type": "string" }, { - "name": "dryrunName", + "name": "linkerName", "in": "path", - "description": "The name of dryrun.", + "description": "The name Linker resource.", "required": true, "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Linker details.", + "required": true, + "schema": { + "$ref": "#/definitions/LinkerResource" + } } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "Resource 'LinkerResource' update operation succeeded", "schema": { - "$ref": "#/definitions/DryrunResource" + "$ref": "#/definitions/LinkerResource" + } + }, + "201": { + "description": "Resource 'LinkerResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/LinkerResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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": { @@ -211,17 +246,21 @@ } }, "x-ms-examples": { - "GetDryrun": { - "$ref": "./examples/GetDryrun.json" + "PutLinker": { + "$ref": "./examples/PutLinker.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true }, - "put": { - "operationId": "Linkers_CreateDryrun", + "patch": { + "operationId": "Linker_Update", "tags": [ - "Linkers" + "Linker" ], - "description": "create a dryrun job to do necessary check before actual creation", + "description": "Operation to update an existing Linker.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -234,9 +273,9 @@ "type": "string" }, { - "name": "dryruns", + "name": "linkers", "in": "path", - "description": "The name of the DryrunResource", + "description": "The name of the LinkerResource", "required": true, "type": "string" }, @@ -248,39 +287,35 @@ "type": "string" }, { - "name": "dryrunName", + "name": "linkerName", "in": "path", - "description": "The name of dryrun.", + "description": "The name Linker resource.", "required": true, "type": "string" }, { "name": "parameters", "in": "body", - "description": "dryrun resource.", + "description": "Linker details.", "required": true, "schema": { - "$ref": "#/definitions/DryrunResource" + "$ref": "#/definitions/LinkerPatch" } } ], "responses": { "200": { - "description": "Resource 'DryrunResource' update operation succeeded", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/DryrunResource" + "$ref": "#/definitions/LinkerResource" } }, "201": { - "description": "Resource 'DryrunResource' create operation succeeded", + "description": "Resource 'LinkerResource' create operation succeeded", "schema": { - "$ref": "#/definitions/DryrunResource" + "$ref": "#/definitions/LinkerResource" }, "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, "Retry-After": { "type": "integer", "format": "int32", @@ -296,21 +331,17 @@ } }, "x-ms-examples": { - "PutDryrun": { - "$ref": "./examples/PutDryrun.json" + "PatchLinker": { + "$ref": "./examples/PatchLinker.json" } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true + } }, - "patch": { - "operationId": "Linkers_UpdateDryrun", + "delete": { + "operationId": "Linker_Delete", "tags": [ - "Linkers" + "Linker" ], - "description": "add a dryrun job to do necessary check before actual creation", + "description": "Delete a Linker.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -323,9 +354,9 @@ "type": "string" }, { - "name": "dryruns", + "name": "linkers", "in": "path", - "description": "The name of the DryrunResource", + "description": "The name of the LinkerResource", "required": true, "type": "string" }, @@ -337,31 +368,19 @@ "type": "string" }, { - "name": "dryrunName", + "name": "linkerName", "in": "path", - "description": "The name of dryrun.", + "description": "The name Linker resource.", "required": true, "type": "string" - }, - { - "name": "parameters", - "in": "body", - "description": "dryrun resource.", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunPatch" - } } ], "responses": { "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/DryrunResource" - } + "description": "Resource deleted successfully." }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Azure-AsyncOperation": { "type": "string", @@ -374,6 +393,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -382,21 +404,23 @@ } }, "x-ms-examples": { - "PatchDryrun": { - "$ref": "./examples/PatchDryrun.json" + "DeleteLinker": { + "$ref": "./examples/DeleteLinker.json" } }, "x-ms-long-running-operation-options": { - "final-state-via": "original-uri" + "final-state-via": "azure-async-operation" }, "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Linkers_DeleteDryrun", + } + }, + "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/generateConfigurations": { + "post": { + "operationId": "Linkers_GenerateConfigurations", "tags": [ - "Linkers" + "Linker" ], - "description": "delete a dryrun job", + "description": "Generate configurations for a Linker.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -409,9 +433,9 @@ "type": "string" }, { - "name": "dryruns", + "name": "linkers", "in": "path", - "description": "The name of the DryrunResource", + "description": "The name of the LinkerResource", "required": true, "type": "string" }, @@ -423,19 +447,28 @@ "type": "string" }, { - "name": "dryrunName", + "name": "linkerName", "in": "path", - "description": "The name of dryrun.", + "description": "The name Linker resource.", "required": true, "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Connection Info, including format, secret store, etc", + "required": false, + "schema": { + "$ref": "#/definitions/ConfigurationInfo" + } } ], "responses": { "200": { - "description": "Resource deleted successfully." - }, - "204": { - "description": "Resource does not exist." + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ConfigurationResult" + } }, "default": { "description": "An unexpected error response.", @@ -445,19 +478,19 @@ } }, "x-ms-examples": { - "DeleteDryrun": { - "$ref": "./examples/DeleteDryrun.json" + "GenerateConfiguration": { + "$ref": "./examples/LinkerGenerateConfigurations.json" } } } }, - "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}": { - "get": { - "operationId": "Linker_Get", + "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/listConfigurations": { + "post": { + "operationId": "Linker_ListConfigurations", "tags": [ "Linker" ], - "description": "Returns Linker resource for a given name.", + "description": "list source configurations for a Linker.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -495,7 +528,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/LinkerResource" + "$ref": "#/definitions/ConfigurationResult" } }, "default": { @@ -506,17 +539,19 @@ } }, "x-ms-examples": { - "Linker": { - "$ref": "./examples/Linker.json" + "GetConfiguration": { + "$ref": "./examples/GetConfigurations.json" } } - }, - "put": { - "operationId": "Linker_CreateOrUpdate", + } + }, + "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/validateLinker": { + "post": { + "operationId": "Linker_Validate", "tags": [ "Linker" ], - "description": "Create or update Linker resource.", + "description": "Validate a Linker.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -548,33 +583,21 @@ "description": "The name Linker resource.", "required": true, "type": "string" - }, - { - "name": "parameters", - "in": "body", - "description": "Linker details.", - "required": true, - "schema": { - "$ref": "#/definitions/LinkerResource" - } } ], "responses": { "200": { - "description": "Resource 'LinkerResource' update operation succeeded", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/LinkerResource" + "$ref": "#/definitions/ValidateOperationResult" } }, - "201": { - "description": "Resource 'LinkerResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/LinkerResource" - }, - "headers": { - "Azure-AsyncOperation": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { "type": "string", - "description": "A link to the status monitor" + "description": "The Location header contains the URL where the status of the long running operation can be checked." }, "Retry-After": { "type": "integer", @@ -591,81 +614,37 @@ } }, "x-ms-examples": { - "PutLinker": { - "$ref": "./examples/PutLinker.json" + "ValidateLinkerSuccess": { + "$ref": "./examples/ValidateLinkerSuccess.json" } }, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "final-state-via": "location" }, "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Linker_Update", - "tags": [ - "Linker" - ], - "description": "Operation to update an existing Linker.", + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations": { + "get": { + "operationId": "Linkers_ListDaprConfigurations", + "description": "List the dapr configuration supported by Service Connector.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, - { - "name": "providers", - "in": "path", - "description": "{resourceUri}", - "required": true, - "type": "string" - }, - { - "name": "linkers", - "in": "path", - "description": "The name of the LinkerResource", - "required": true, - "type": "string" - }, { "name": "resourceUri", "in": "path", "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", "required": true, "type": "string" - }, - { - "name": "linkerName", - "in": "path", - "description": "The name Linker resource.", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "description": "Linker details.", - "required": true, - "schema": { - "$ref": "#/definitions/LinkerPatch" - } } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "201": { - "description": "Resource 'LinkerResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/LinkerResource" - }, - "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." - } + "$ref": "#/definitions/DaprConfigurationList" } }, "default": { @@ -676,71 +655,41 @@ } }, "x-ms-examples": { - "PatchLinker": { - "$ref": "./examples/PatchLinker.json" + "GetDaprConfigurations": { + "$ref": "./examples/GetDaprConfigurations.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "delete": { - "operationId": "Linker_Delete", + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns": { + "get": { + "operationId": "Linkers_ListDryrun", "tags": [ - "Linker" + "Linkers" ], - "description": "Delete a Linker.", + "description": "list dryrun jobs", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, - { - "name": "providers", - "in": "path", - "description": "{resourceUri}", - "required": true, - "type": "string" - }, - { - "name": "linkers", - "in": "path", - "description": "The name of the LinkerResource", - "required": true, - "type": "string" - }, { "name": "resourceUri", "in": "path", "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", "required": true, "type": "string" - }, - { - "name": "linkerName", - "in": "path", - "description": "The name Linker resource.", - "required": true, - "type": "string" } ], "responses": { "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DryrunList" } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -749,38 +698,30 @@ } }, "x-ms-examples": { - "DeleteLinker": { - "$ref": "./examples/DeleteLinker.json" + "ListDryrun": { + "$ref": "./examples/ListDryrun.json" } }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } }, - "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/generateConfigurations": { - "post": { - "operationId": "Linkers_GenerateConfigurations", + "/Microsoft.ServiceLinker/{dryruns}/{resourceUri}/{dryrunName}": { + "get": { + "operationId": "Linkers_GetDryrun", "tags": [ - "Linker" + "Linkers" ], - "description": "Generate configurations for a Linker.", + "description": "get a dryrun job", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "name": "providers", - "in": "path", - "description": "{resourceUri}", - "required": true, - "type": "string" - }, - { - "name": "linkers", + "name": "dryruns", "in": "path", - "description": "The name of the LinkerResource", + "description": "The name of the DryrunResource", "required": true, "type": "string" }, @@ -792,27 +733,18 @@ "type": "string" }, { - "name": "linkerName", + "name": "dryrunName", "in": "path", - "description": "The name Linker resource.", + "description": "The name of dryrun.", "required": true, "type": "string" - }, - { - "name": "parameters", - "in": "body", - "description": "Connection Info, including format, secret store, etc", - "required": false, - "schema": { - "$ref": "#/definitions/ConfigurationInfo" - } } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ConfigurationResult" + "$ref": "#/definitions/DryrunResource" } }, "default": { @@ -823,57 +755,74 @@ } }, "x-ms-examples": { - "GenerateConfiguration": { - "$ref": "./examples/LinkerGenerateConfigurations.json" + "GetDryrun": { + "$ref": "./examples/GetDryrun.json" } } - } - }, - "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/listConfigurations": { - "post": { - "operationId": "Linker_ListConfigurations", + }, + "put": { + "operationId": "Linkers_CreateDryrun", "tags": [ - "Linker" + "Linkers" ], - "description": "list source configurations for a Linker.", + "description": "create a dryrun job to do necessary check before actual creation", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "name": "providers", + "name": "dryruns", "in": "path", - "description": "{resourceUri}", + "description": "The name of the DryrunResource", "required": true, "type": "string" }, { - "name": "linkers", + "name": "resourceUri", "in": "path", - "description": "The name of the LinkerResource", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", "required": true, "type": "string" }, { - "name": "resourceUri", + "name": "dryrunName", "in": "path", - "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", + "description": "The name of dryrun.", "required": true, "type": "string" }, { - "name": "linkerName", - "in": "path", - "description": "The name Linker resource.", + "name": "parameters", + "in": "body", + "description": "dryrun resource.", "required": true, - "type": "string" + "schema": { + "$ref": "#/definitions/DryrunResource" + } } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "Resource 'DryrunResource' update operation succeeded", "schema": { - "$ref": "#/definitions/ConfigurationResult" + "$ref": "#/definitions/DryrunResource" + } + }, + "201": { + "description": "Resource 'DryrunResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/DryrunResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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": { @@ -884,65 +833,69 @@ } }, "x-ms-examples": { - "GetConfiguration": { - "$ref": "./examples/GetConfigurations.json" + "PutDryrun": { + "$ref": "./examples/PutDryrun.json" } - } - } - }, - "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/validateLinker": { - "post": { - "operationId": "Linker_Validate", + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Linkers_UpdateDryrun", "tags": [ - "Linker" + "Linkers" ], - "description": "Validate a Linker.", + "description": "add a dryrun job to do necessary check before actual creation", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "name": "providers", + "name": "dryruns", "in": "path", - "description": "{resourceUri}", + "description": "The name of the DryrunResource", "required": true, "type": "string" }, { - "name": "linkers", + "name": "resourceUri", "in": "path", - "description": "The name of the LinkerResource", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", "required": true, "type": "string" }, { - "name": "resourceUri", + "name": "dryrunName", "in": "path", - "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", + "description": "The name of dryrun.", "required": true, "type": "string" }, { - "name": "linkerName", - "in": "path", - "description": "The name Linker resource.", + "name": "parameters", + "in": "body", + "description": "dryrun resource.", "required": true, - "type": "string" + "schema": { + "$ref": "#/definitions/DryrunPatch" + } } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ValidateOperationResult" + "$ref": "#/definitions/DryrunResource" } }, "202": { - "description": "Resource operation accepted.", + "description": "Resource update request accepted.", "headers": { - "Location": { + "Azure-AsyncOperation": { "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." + "description": "A link to the status monitor" }, "Retry-After": { "type": "integer", @@ -959,38 +912,53 @@ } }, "x-ms-examples": { - "ValidateLinkerSuccess": { - "$ref": "./examples/ValidateLinkerSuccess.json" + "PatchDryrun": { + "$ref": "./examples/PatchDryrun.json" } }, "x-ms-long-running-operation-options": { - "final-state-via": "location" + "final-state-via": "original-uri" }, "x-ms-long-running-operation": true - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations": { - "get": { - "operationId": "Linkers_ListDaprConfigurations", - "description": "List the dapr configuration supported by Service Connector.", + }, + "delete": { + "operationId": "Linkers_DeleteDryrun", + "tags": [ + "Linkers" + ], + "description": "delete a dryrun job", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, + { + "name": "dryruns", + "in": "path", + "description": "The name of the DryrunResource", + "required": true, + "type": "string" + }, { "name": "resourceUri", "in": "path", "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", "required": true, "type": "string" + }, + { + "name": "dryrunName", + "in": "path", + "description": "The name of dryrun.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/DaprConfigurationList" - } + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." }, "default": { "description": "An unexpected error response.", @@ -1000,12 +968,9 @@ } }, "x-ms-examples": { - "GetDaprConfigurations": { - "$ref": "./examples/GetDaprConfigurations.json" + "DeleteDryrun": { + "$ref": "./examples/DeleteDryrun.json" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } } }, From ca12b7bdacb5cf838aa4e02093631fd6a05251fb Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Tue, 20 May 2025 16:16:58 +0800 Subject: [PATCH 06/37] update --- .../DryrunResource.tsp | 84 +- .../LinkerResource.tsp | 124 +-- specification/servicelinker/output/diff.json | 761 +++--------------- .../output/newNormalizedSwagger.json | 270 ++----- .../2024-07-01-preview/servicelinker.json | 735 +++++++---------- 5 files changed, 514 insertions(+), 1460 deletions(-) diff --git a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp index c418cec78bd5..12e8012dc407 100644 --- a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp @@ -103,67 +103,42 @@ interface LinkersOps > {} @armResourceOperations +interface LinkersGetOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + + @path(#{ allowReserved: true }) + resourceUri: string, + + ...Azure.ResourceManager.Legacy.Provider, + }, + KeysOf> + > {} +@armResourceOperations interface Linkers { /** * get a dryrun job */ - getDryrun is LinkersOps.Read< - DryrunResource, - Parameters = { - /** - * The fully qualified Azure Resource manager identifier of the resource to be connected. - */ - @path - resourceUri: string; - - /** - * The name of dryrun. - */ - @path - dryrunName: string; - } - >; + getDryrun is LinkersGetOps.Read; /** * create a dryrun job to do necessary check before actual creation */ - createDryrun is LinkersOps.CreateOrUpdateAsync< - DryrunResource, - Parameters = { - /** - * The fully qualified Azure Resource manager identifier of the resource to be connected. - */ - @path - resourceUri: string; - - /** - * The name of dryrun. - */ - @path - dryrunName: string; - } - >; + createDryrun is LinkersGetOps.CreateOrUpdateAsync; /** * add a dryrun job to do necessary check before actual creation */ @patch(#{ implicitOptionality: false }) - updateDryrun is LinkersOps.CustomPatchAsync< + updateDryrun is LinkersGetOps.CustomPatchAsync< DryrunResource, PatchModel = DryrunPatch, - Parameters = { - /** - * The fully qualified Azure Resource manager identifier of the resource to be connected. - */ - @path - resourceUri: string; - - /** - * The name of dryrun. - */ - @path - dryrunName: string; - }, LroHeaders = ArmAsyncOperationHeader & Azure.Core.Foundations.RetryAfterHeader >; @@ -171,22 +146,7 @@ interface Linkers { /** * delete a dryrun job */ - deleteDryrun is LinkersOps.DeleteSync< - DryrunResource, - Parameters = { - /** - * The fully qualified Azure Resource manager identifier of the resource to be connected. - */ - @path - resourceUri: string; - - /** - * The name of dryrun. - */ - @path - dryrunName: string; - } - >; + deleteDryrun is LinkersGetOps.DeleteSync; /** * list dryrun jobs diff --git a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp index 7ee1a3065177..dec022057466 100644 --- a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp @@ -133,12 +133,15 @@ interface LinkerOps ...ApiVersionParameter, /** {resourceUri} */ - @path @segment("{resourceUri}") providers: string, + @path(#{ allowReserved: true }) + resourceUri: string, + + ...Azure.ResourceManager.Legacy.Provider, }, KeysOf> > {} @@ -148,42 +151,12 @@ interface Linker { /** * Returns Linker resource for a given name. */ - get is LinkerOps.Read< - LinkerResource, - Parameters = { - /** - * The fully qualified Azure Resource manager identifier of the resource to be connected. - */ - @path - resourceUri: string; - - /** - * The name Linker resource. - */ - @path - linkerName: string; - } - >; + get is LinkerOps.Read; /** * Create or update Linker resource. */ - createOrUpdate is LinkerOps.CreateOrUpdateAsync< - LinkerResource, - Parameters = { - /** - * The fully qualified Azure Resource manager identifier of the resource to be connected. - */ - @path - resourceUri: string; - - /** - * The name Linker resource. - */ - @path - linkerName: string; - } - >; + createOrUpdate is LinkerOps.CreateOrUpdateAsync; /** * Operation to update an existing Linker. @@ -192,19 +165,6 @@ interface Linker { update is LinkerOps.CustomPatchAsync< LinkerResource, PatchModel = LinkerPatch, - Parameters = { - /** - * The fully qualified Azure Resource manager identifier of the resource to be connected. - */ - @path - resourceUri: string; - - /** - * The name Linker resource. - */ - @path - linkerName: string; - }, Response = ArmResponse | ArmResourceCreatedResponse, LroHeaders = ArmAsyncOperationHeader & Azure.Core.Foundations.RetryAfterHeader @@ -217,19 +177,6 @@ interface Linker { #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" delete is LinkerOps.DeleteWithoutOkAsync< LinkerResource, - Parameters = { - /** - * The fully qualified Azure Resource manager identifier of the resource to be connected. - */ - @path - resourceUri: string; - - /** - * The name Linker resource. - */ - @path - linkerName: string; - }, Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse >; @@ -237,17 +184,7 @@ interface Linker { /** * Returns list of Linkers which connects to the resource. which supports to config both application and target service during the resource provision. */ - list is LinkerOps.List< - LinkerResource, - Parameters = { - /** - * The fully qualified Azure Resource manager identifier of the resource to be connected. - */ - @path - resourceUri: string; - }, - Response = ArmResponse - >; + list is LinkerOps.List>; /** * Validate a Linker. @@ -256,20 +193,7 @@ interface Linker { validate is LinkerOps.ActionAsync< LinkerResource, void, - ArmResponse, - Parameters = { - /** - * The fully qualified Azure Resource manager identifier of the resource to be connected. - */ - @path - resourceUri: string; - - /** - * The name Linker resource. - */ - @path - linkerName: string; - } + ArmResponse >; /** @@ -278,20 +202,7 @@ interface Linker { listConfigurations is LinkerOps.ActionSync< LinkerResource, void, - ArmResponse, - Parameters = { - /** - * The fully qualified Azure Resource manager identifier of the resource to be connected. - */ - @path - resourceUri: string; - - /** - * The name Linker resource. - */ - @path - linkerName: string; - } + ArmResponse >; /** @@ -308,20 +219,7 @@ interface Linker { @bodyRoot parameters?: ConfigurationInfo; }, - ArmResponse, - Parameters = { - /** - * The fully qualified Azure Resource manager identifier of the resource to be connected. - */ - @path - resourceUri: string; - - /** - * The name Linker resource. - */ - @path - linkerName: string; - } + ArmResponse >; } diff --git a/specification/servicelinker/output/diff.json b/specification/servicelinker/output/diff.json index 4a6feb478403..ab62693757ae 100644 --- a/specification/servicelinker/output/diff.json +++ b/specification/servicelinker/output/diff.json @@ -11,225 +11,6 @@ } }, "paths": { - "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns__deleted": { - "get": { - "operationId": "Linkers_ListDryrun", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ListDryrun": { - "$ref": "./examples/ListDryrun.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns/{dryrunName}__deleted": { - "get": { - "operationId": "Linkers_GetDryrun", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetDryrun": { - "$ref": "./examples/GetDryrun.json" - } - } - }, - "put": { - "operationId": "Linkers_CreateDryrun", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunResource" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PutDryrun": { - "$ref": "./examples/PutDryrun.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Linkers_UpdateDryrun", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunPatch" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PatchDryrun": { - "$ref": "./examples/PatchDryrun.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Linkers_DeleteDryrun", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "DeleteDryrun": { - "$ref": "./examples/DeleteDryrun.json" - } - } - } - }, "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers__deleted": { "get": { "operationId": "Linker_List", @@ -862,245 +643,7 @@ } }, "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ValidateConnectorSuccess": { - "$ref": "./examples/ValidateConnectorSuccess.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns__deleted": { - "get": { - "operationId": "Connector_ListDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunList": { - "$ref": "./examples/ConnectorDryrunList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}__deleted": { - "get": { - "operationId": "Connector_GetDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunGet": { - "$ref": "./examples/ConnectorDryrunGet.json" - } - } - }, - "put": { - "operationId": "Connector_CreateDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunResource" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunCreate": { - "$ref": "./examples/ConnectorDryrunCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Connector_UpdateDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunPatch" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunUpdate": { - "$ref": "./examples/ConnectorDryrunUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Connector_DeleteDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunDelete": { - "$ref": "./examples/ConnectorDryrunDelete.json" - } - } - } - }, - "/{resourceUri}/{providers}/{resourceUri}/connectors__added": { - "get": { - "operationId": "Linker_List", - "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ResourceList" - } + "description": "ignore" }, "default": { "description": "ignore", @@ -1110,30 +653,19 @@ } }, "x-ms-examples": { - "LinkerList": { - "$ref": "./examples/LinkerList.json" + "ValidateConnectorSuccess": { + "$ref": "./examples/ValidateConnectorSuccess.json" } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } + "x-ms-long-running-operation": true } }, - "/{resourceUri}/{providers}/{resourceUri}/dryruns__added": { + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns__deleted": { "get": { - "operationId": "Linkers_ListDryrun", + "operationId": "Connector_ListDryrun", "parameters": [ { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" } ], "responses": { @@ -1151,8 +683,8 @@ } }, "x-ms-examples": { - "ListDryrun": { - "$ref": "./examples/ListDryrun.json" + "ConnectorDryrunList": { + "$ref": "./examples/ConnectorDryrunList.json" } }, "x-ms-pageable": { @@ -1160,27 +692,12 @@ } } }, - "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{dryruns}/{resourceUri}/{dryrunName}__added": { + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}__deleted": { "get": { - "operationId": "Linkers_GetDryrun", + "operationId": "Connector_GetDryrun", "parameters": [ { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "dryruns", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" }, { "name": "dryrunName", @@ -1204,31 +721,16 @@ } }, "x-ms-examples": { - "GetDryrun": { - "$ref": "./examples/GetDryrun.json" + "ConnectorDryrunGet": { + "$ref": "./examples/ConnectorDryrunGet.json" } } }, "put": { - "operationId": "Linkers_CreateDryrun", + "operationId": "Connector_CreateDryrun", "parameters": [ { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "dryruns", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" }, { "name": "dryrunName", @@ -1266,8 +768,8 @@ } }, "x-ms-examples": { - "PutDryrun": { - "$ref": "./examples/PutDryrun.json" + "ConnectorDryrunCreate": { + "$ref": "./examples/ConnectorDryrunCreate.json" } }, "x-ms-long-running-operation-options": { @@ -1276,25 +778,10 @@ "x-ms-long-running-operation": true }, "patch": { - "operationId": "Linkers_UpdateDryrun", + "operationId": "Connector_UpdateDryrun", "parameters": [ { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "dryruns", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" }, { "name": "dryrunName", @@ -1329,35 +816,20 @@ } }, "x-ms-examples": { - "PatchDryrun": { - "$ref": "./examples/PatchDryrun.json" + "ConnectorDryrunUpdate": { + "$ref": "./examples/ConnectorDryrunUpdate.json" } }, "x-ms-long-running-operation-options": { - "final-state-via": "original-uri" + "final-state-via": "azure-async-operation" }, "x-ms-long-running-operation": true }, "delete": { - "operationId": "Linkers_DeleteDryrun", + "operationId": "Connector_DeleteDryrun", "parameters": [ { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "dryruns", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" }, { "name": "dryrunName", @@ -1381,36 +853,61 @@ } }, "x-ms-examples": { - "DeleteDryrun": { - "$ref": "./examples/DeleteDryrun.json" + "ConnectorDryrunDelete": { + "$ref": "./examples/ConnectorDryrunDelete.json" } } } }, - "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}__added": { + "/{resourceUri}/providers/Microsoft.ServiceLinker/connectors__added": { "get": { - "operationId": "Linker_Get", + "operationId": "Linker_List", "parameters": [ { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkers", + "name": "resourceUri", "in": "path", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ResourceList" + } }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "LinkerList": { + "$ref": "./examples/LinkerList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkerName/{linkers}__added": { + "get": { + "operationId": "Linker_Get", + "parameters": [ { "name": "resourceUri", "in": "path", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { - "name": "linkerName", + "name": "linkers", "in": "path", "required": true, "type": "string" @@ -1439,26 +936,15 @@ "put": { "operationId": "Linker_CreateOrUpdate", "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkers", - "in": "path", - "required": true, - "type": "string" - }, { "name": "resourceUri", "in": "path", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { - "name": "linkerName", + "name": "linkers", "in": "path", "required": true, "type": "string" @@ -1505,26 +991,15 @@ "patch": { "operationId": "Linker_Update", "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkers", - "in": "path", - "required": true, - "type": "string" - }, { "name": "resourceUri", "in": "path", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { - "name": "linkerName", + "name": "linkers", "in": "path", "required": true, "type": "string" @@ -1567,26 +1042,15 @@ "delete": { "operationId": "Linker_Delete", "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkers", - "in": "path", - "required": true, - "type": "string" - }, { "name": "resourceUri", "in": "path", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { - "name": "linkerName", + "name": "linkers", "in": "path", "required": true, "type": "string" @@ -1620,30 +1084,19 @@ "x-ms-long-running-operation": true } }, - "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/generateConfigurations__added": { + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkerName/{linkers}/generateConfigurations__added": { "post": { "operationId": "Linkers_GenerateConfigurations", "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkers", - "in": "path", - "required": true, - "type": "string" - }, { "name": "resourceUri", "in": "path", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { - "name": "linkerName", + "name": "linkers", "in": "path", "required": true, "type": "string" @@ -1677,30 +1130,19 @@ } } }, - "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/listConfigurations__added": { + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkerName/{linkers}/listConfigurations__added": { "post": { "operationId": "Linker_ListConfigurations", "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkers", - "in": "path", - "required": true, - "type": "string" - }, { "name": "resourceUri", "in": "path", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { - "name": "linkerName", + "name": "linkers", "in": "path", "required": true, "type": "string" @@ -1727,30 +1169,19 @@ } } }, - "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/validateLinker__added": { + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkerName/{linkers}/validateLinker__added": { "post": { "operationId": "Linker_Validate", "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkers", - "in": "path", - "required": true, - "type": "string" - }, { "name": "resourceUri", "in": "path", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { - "name": "linkerName", + "name": "linkers", "in": "path", "required": true, "type": "string" @@ -2281,6 +1712,28 @@ ] ] } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns": { + "get": { + "parameters": [ + [ + "~", + { + "x-ms-skip-url-encoding__deleted": true + } + ] + ] + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns/{dryrunName}": { + "patch": { + "x-ms-long-running-operation-options": { + "final-state-via": { + "__old": "azure-async-operation", + "__new": "original-uri" + } + } + } } }, "definitions": { diff --git a/specification/servicelinker/output/newNormalizedSwagger.json b/specification/servicelinker/output/newNormalizedSwagger.json index 60e31390a2f5..cd90c5293188 100644 --- a/specification/servicelinker/output/newNormalizedSwagger.json +++ b/specification/servicelinker/output/newNormalizedSwagger.json @@ -17,21 +17,16 @@ "application/json" ], "paths": { - "/{resourceUri}/{providers}/{resourceUri}/connectors": { + "/{resourceUri}/providers/Microsoft.ServiceLinker/connectors": { "get": { "operationId": "Linker_List", "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, { "name": "resourceUri", "in": "path", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true } ], "responses": { @@ -58,16 +53,45 @@ } } }, - "/{resourceUri}/{providers}/{resourceUri}/dryruns": { + "/{resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations": { "get": { - "operationId": "Linkers_ListDryrun", + "operationId": "Linkers_ListDaprConfigurations", "parameters": [ { - "name": "providers", + "name": "resourceUri", "in": "path", "required": true, "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/DaprConfigurationList" + } }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetDaprConfigurations": { + "$ref": "./examples/GetDaprConfigurations.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns": { + "get": { + "operationId": "Linkers_ListDryrun", + "parameters": [ { "name": "resourceUri", "in": "path", @@ -99,27 +123,16 @@ } } }, - "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{dryruns}/{resourceUri}/{dryrunName}": { + "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns/{dryrunName}": { "get": { "operationId": "Linkers_GetDryrun", "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "dryruns", - "in": "path", - "required": true, - "type": "string" - }, { "name": "resourceUri", "in": "path", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "name": "dryrunName", @@ -151,23 +164,12 @@ "put": { "operationId": "Linkers_CreateDryrun", "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "dryruns", - "in": "path", - "required": true, - "type": "string" - }, { "name": "resourceUri", "in": "path", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "name": "dryrunName", @@ -217,23 +219,12 @@ "patch": { "operationId": "Linkers_UpdateDryrun", "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "dryruns", - "in": "path", - "required": true, - "type": "string" - }, { "name": "resourceUri", "in": "path", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "name": "dryrunName", @@ -280,23 +271,12 @@ "delete": { "operationId": "Linkers_DeleteDryrun", "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "dryruns", - "in": "path", - "required": true, - "type": "string" - }, { "name": "resourceUri", "in": "path", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "name": "dryrunName", @@ -326,30 +306,19 @@ } } }, - "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}": { + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkerName/{linkers}": { "get": { "operationId": "Linker_Get", "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkers", - "in": "path", - "required": true, - "type": "string" - }, { "name": "resourceUri", "in": "path", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { - "name": "linkerName", + "name": "linkers", "in": "path", "required": true, "type": "string" @@ -378,26 +347,15 @@ "put": { "operationId": "Linker_CreateOrUpdate", "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkers", - "in": "path", - "required": true, - "type": "string" - }, { "name": "resourceUri", "in": "path", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { - "name": "linkerName", + "name": "linkers", "in": "path", "required": true, "type": "string" @@ -444,26 +402,15 @@ "patch": { "operationId": "Linker_Update", "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkers", - "in": "path", - "required": true, - "type": "string" - }, { "name": "resourceUri", "in": "path", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { - "name": "linkerName", + "name": "linkers", "in": "path", "required": true, "type": "string" @@ -506,26 +453,15 @@ "delete": { "operationId": "Linker_Delete", "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkers", - "in": "path", - "required": true, - "type": "string" - }, { "name": "resourceUri", "in": "path", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { - "name": "linkerName", + "name": "linkers", "in": "path", "required": true, "type": "string" @@ -559,30 +495,19 @@ "x-ms-long-running-operation": true } }, - "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/generateConfigurations": { + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkerName/{linkers}/generateConfigurations": { "post": { "operationId": "Linkers_GenerateConfigurations", "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkers", - "in": "path", - "required": true, - "type": "string" - }, { "name": "resourceUri", "in": "path", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { - "name": "linkerName", + "name": "linkers", "in": "path", "required": true, "type": "string" @@ -616,30 +541,19 @@ } } }, - "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/listConfigurations": { + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkerName/{linkers}/listConfigurations": { "post": { "operationId": "Linker_ListConfigurations", "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkers", - "in": "path", - "required": true, - "type": "string" - }, { "name": "resourceUri", "in": "path", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { - "name": "linkerName", + "name": "linkers", "in": "path", "required": true, "type": "string" @@ -666,30 +580,19 @@ } } }, - "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/validateLinker": { + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkerName/{linkers}/validateLinker": { "post": { "operationId": "Linker_Validate", "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkers", - "in": "path", - "required": true, - "type": "string" - }, { "name": "resourceUri", "in": "path", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { - "name": "linkerName", + "name": "linkers", "in": "path", "required": true, "type": "string" @@ -720,41 +623,6 @@ "x-ms-long-running-operation": true } }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations": { - "get": { - "operationId": "Linkers_ListDaprConfigurations", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DaprConfigurationList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetDaprConfigurations": { - "$ref": "./examples/GetDaprConfigurations.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, "/providers/Microsoft.ServiceLinker/configurationNames": { "get": { "operationId": "ConfigurationNames_List", diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json index 3c6966848d95..88e4d7d62b36 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json @@ -56,7 +56,7 @@ } ], "paths": { - "/{resourceUri}/{providers}/{resourceUri}/connectors": { + "/{resourceUri}/providers/Microsoft.ServiceLinker/connectors": { "get": { "operationId": "Linker_List", "tags": [ @@ -68,11 +68,45 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "name": "providers", + "name": "resourceUri", "in": "path", "description": "{resourceUri}", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ResourceList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "LinkerList": { + "$ref": "./examples/LinkerList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations": { + "get": { + "operationId": "Linkers_ListDaprConfigurations", + "description": "List the dapr configuration supported by Service Connector.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "name": "resourceUri", @@ -86,7 +120,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ResourceList" + "$ref": "#/definitions/DaprConfigurationList" } }, "default": { @@ -97,8 +131,8 @@ } }, "x-ms-examples": { - "LinkerList": { - "$ref": "./examples/LinkerList.json" + "GetDaprConfigurations": { + "$ref": "./examples/GetDaprConfigurations.json" } }, "x-ms-pageable": { @@ -106,42 +140,71 @@ } } }, - "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}": { + "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns": { "get": { - "operationId": "Linker_Get", + "operationId": "Linkers_ListDryrun", "tags": [ - "Linker" + "Linkers" ], - "description": "Returns Linker resource for a given name.", + "description": "list dryrun jobs", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "name": "providers", + "name": "resourceUri", "in": "path", - "description": "{resourceUri}", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", "required": true, "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DryrunList" + } }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListDryrun": { + "$ref": "./examples/ListDryrun.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns/{dryrunName}": { + "get": { + "operationId": "Linkers_GetDryrun", + "tags": [ + "Linkers" + ], + "description": "get a dryrun job", + "parameters": [ { - "name": "linkers", - "in": "path", - "description": "The name of the LinkerResource", - "required": true, - "type": "string" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "name": "resourceUri", "in": "path", - "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { - "name": "linkerName", + "name": "dryrunName", "in": "path", - "description": "The name Linker resource.", + "description": "The name of the DryrunResource", "required": true, "type": "string" } @@ -150,7 +213,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/LinkerResource" + "$ref": "#/definitions/DryrunResource" } }, "default": { @@ -161,70 +224,56 @@ } }, "x-ms-examples": { - "Linker": { - "$ref": "./examples/Linker.json" + "GetDryrun": { + "$ref": "./examples/GetDryrun.json" } } }, "put": { - "operationId": "Linker_CreateOrUpdate", + "operationId": "Linkers_CreateDryrun", "tags": [ - "Linker" + "Linkers" ], - "description": "Create or update Linker resource.", + "description": "create a dryrun job to do necessary check before actual creation", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, - { - "name": "providers", - "in": "path", - "description": "{resourceUri}", - "required": true, - "type": "string" - }, - { - "name": "linkers", - "in": "path", - "description": "The name of the LinkerResource", - "required": true, - "type": "string" - }, { "name": "resourceUri", "in": "path", - "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { - "name": "linkerName", + "name": "dryrunName", "in": "path", - "description": "The name Linker resource.", + "description": "The name of the DryrunResource", "required": true, "type": "string" }, { "name": "parameters", "in": "body", - "description": "Linker details.", + "description": "dryrun resource.", "required": true, "schema": { - "$ref": "#/definitions/LinkerResource" + "$ref": "#/definitions/DryrunResource" } } ], "responses": { "200": { - "description": "Resource 'LinkerResource' update operation succeeded", + "description": "Resource 'DryrunResource' update operation succeeded", "schema": { - "$ref": "#/definitions/LinkerResource" + "$ref": "#/definitions/DryrunResource" } }, "201": { - "description": "Resource 'LinkerResource' create operation succeeded", + "description": "Resource 'DryrunResource' create operation succeeded", "schema": { - "$ref": "#/definitions/LinkerResource" + "$ref": "#/definitions/DryrunResource" }, "headers": { "Azure-AsyncOperation": { @@ -246,8 +295,8 @@ } }, "x-ms-examples": { - "PutLinker": { - "$ref": "./examples/PutLinker.json" + "PutDryrun": { + "$ref": "./examples/PutDryrun.json" } }, "x-ms-long-running-operation-options": { @@ -256,50 +305,36 @@ "x-ms-long-running-operation": true }, "patch": { - "operationId": "Linker_Update", + "operationId": "Linkers_UpdateDryrun", "tags": [ - "Linker" + "Linkers" ], - "description": "Operation to update an existing Linker.", + "description": "add a dryrun job to do necessary check before actual creation", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, - { - "name": "providers", - "in": "path", - "description": "{resourceUri}", - "required": true, - "type": "string" - }, - { - "name": "linkers", - "in": "path", - "description": "The name of the LinkerResource", - "required": true, - "type": "string" - }, { "name": "resourceUri", "in": "path", - "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { - "name": "linkerName", + "name": "dryrunName", "in": "path", - "description": "The name Linker resource.", + "description": "The name of the DryrunResource", "required": true, "type": "string" }, { "name": "parameters", "in": "body", - "description": "Linker details.", + "description": "dryrun resource.", "required": true, "schema": { - "$ref": "#/definitions/LinkerPatch" + "$ref": "#/definitions/DryrunPatch" } } ], @@ -307,15 +342,16 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/LinkerResource" + "$ref": "#/definitions/DryrunResource" } }, - "201": { - "description": "Resource 'LinkerResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/LinkerResource" - }, + "202": { + "description": "Resource update request accepted.", "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, "Retry-After": { "type": "integer", "format": "int32", @@ -331,46 +367,36 @@ } }, "x-ms-examples": { - "PatchLinker": { - "$ref": "./examples/PatchLinker.json" + "PatchDryrun": { + "$ref": "./examples/PatchDryrun.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + }, + "x-ms-long-running-operation": true }, "delete": { - "operationId": "Linker_Delete", + "operationId": "Linkers_DeleteDryrun", "tags": [ - "Linker" + "Linkers" ], - "description": "Delete a Linker.", + "description": "delete a dryrun job", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, - { - "name": "providers", - "in": "path", - "description": "{resourceUri}", - "required": true, - "type": "string" - }, - { - "name": "linkers", - "in": "path", - "description": "The name of the LinkerResource", - "required": true, - "type": "string" - }, { "name": "resourceUri", "in": "path", - "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { - "name": "linkerName", + "name": "dryrunName", "in": "path", - "description": "The name Linker resource.", + "description": "The name of the DryrunResource", "required": true, "type": "string" } @@ -379,20 +405,6 @@ "200": { "description": "Resource deleted successfully." }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, "204": { "description": "Resource does not exist." }, @@ -404,33 +416,30 @@ } }, "x-ms-examples": { - "DeleteLinker": { - "$ref": "./examples/DeleteLinker.json" + "DeleteDryrun": { + "$ref": "./examples/DeleteDryrun.json" } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true + } } }, - "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/generateConfigurations": { - "post": { - "operationId": "Linkers_GenerateConfigurations", + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkerName/{linkers}": { + "get": { + "operationId": "Linker_Get", "tags": [ "Linker" ], - "description": "Generate configurations for a Linker.", + "description": "Returns Linker resource for a given name.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "name": "providers", + "name": "resourceUri", "in": "path", "description": "{resourceUri}", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "name": "linkers", @@ -438,37 +447,14 @@ "description": "The name of the LinkerResource", "required": true, "type": "string" - }, - { - "name": "resourceUri", - "in": "path", - "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", - "required": true, - "type": "string" - }, - { - "name": "linkerName", - "in": "path", - "description": "The name Linker resource.", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "description": "Connection Info, including format, secret store, etc", - "required": false, - "schema": { - "$ref": "#/definitions/ConfigurationInfo" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ConfigurationResult" - } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LinkerResource" + } }, "default": { "description": "An unexpected error response.", @@ -478,29 +464,28 @@ } }, "x-ms-examples": { - "GenerateConfiguration": { - "$ref": "./examples/LinkerGenerateConfigurations.json" + "Linker": { + "$ref": "./examples/Linker.json" } } - } - }, - "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/listConfigurations": { - "post": { - "operationId": "Linker_ListConfigurations", + }, + "put": { + "operationId": "Linker_CreateOrUpdate", "tags": [ "Linker" ], - "description": "list source configurations for a Linker.", + "description": "Create or update Linker resource.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "name": "providers", + "name": "resourceUri", "in": "path", "description": "{resourceUri}", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "name": "linkers", @@ -510,25 +495,37 @@ "type": "string" }, { - "name": "resourceUri", - "in": "path", - "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", - "required": true, - "type": "string" - }, - { - "name": "linkerName", - "in": "path", - "description": "The name Linker resource.", + "name": "parameters", + "in": "body", + "description": "Linker details.", "required": true, - "type": "string" + "schema": { + "$ref": "#/definitions/LinkerResource" + } } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "Resource 'LinkerResource' update operation succeeded", "schema": { - "$ref": "#/definitions/ConfigurationResult" + "$ref": "#/definitions/LinkerResource" + } + }, + "201": { + "description": "Resource 'LinkerResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/LinkerResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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": { @@ -539,29 +536,32 @@ } }, "x-ms-examples": { - "GetConfiguration": { - "$ref": "./examples/GetConfigurations.json" + "PutLinker": { + "$ref": "./examples/PutLinker.json" } - } - } - }, - "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/validateLinker": { - "post": { - "operationId": "Linker_Validate", + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Linker_Update", "tags": [ "Linker" ], - "description": "Validate a Linker.", + "description": "Operation to update an existing Linker.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "name": "providers", + "name": "resourceUri", "in": "path", "description": "{resourceUri}", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "name": "linkers", @@ -571,34 +571,28 @@ "type": "string" }, { - "name": "resourceUri", - "in": "path", - "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", - "required": true, - "type": "string" - }, - { - "name": "linkerName", - "in": "path", - "description": "The name Linker resource.", + "name": "parameters", + "in": "body", + "description": "Linker details.", "required": true, - "type": "string" + "schema": { + "$ref": "#/definitions/LinkerPatch" + } } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ValidateOperationResult" + "$ref": "#/definitions/LinkerResource" } }, - "202": { - "description": "Resource operation accepted.", + "201": { + "description": "Resource 'LinkerResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/LinkerResource" + }, "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, "Retry-After": { "type": "integer", "format": "int32", @@ -614,20 +608,17 @@ } }, "x-ms-examples": { - "ValidateLinkerSuccess": { - "$ref": "./examples/ValidateLinkerSuccess.json" + "PatchLinker": { + "$ref": "./examples/PatchLinker.json" } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations": { - "get": { - "operationId": "Linkers_ListDaprConfigurations", - "description": "List the dapr configuration supported by Service Connector.", + } + }, + "delete": { + "operationId": "Linker_Delete", + "tags": [ + "Linker" + ], + "description": "Delete a Linker.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -635,61 +626,40 @@ { "name": "resourceUri", "in": "path", - "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", + "description": "{resourceUri}", "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/DaprConfigurationList" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetDaprConfigurations": { - "$ref": "./examples/GetDaprConfigurations.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns": { - "get": { - "operationId": "Linkers_ListDryrun", - "tags": [ - "Linkers" - ], - "description": "list dryrun jobs", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "type": "string", + "x-ms-skip-url-encoding": true }, { - "name": "resourceUri", + "name": "linkers", "in": "path", - "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", + "description": "The name of the LinkerResource", "required": true, "type": "string" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/DryrunList" + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -698,53 +668,57 @@ } }, "x-ms-examples": { - "ListDryrun": { - "$ref": "./examples/ListDryrun.json" + "DeleteLinker": { + "$ref": "./examples/DeleteLinker.json" } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true } }, - "/Microsoft.ServiceLinker/{dryruns}/{resourceUri}/{dryrunName}": { - "get": { - "operationId": "Linkers_GetDryrun", + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkerName/{linkers}/generateConfigurations": { + "post": { + "operationId": "Linkers_GenerateConfigurations", "tags": [ - "Linkers" + "Linker" ], - "description": "get a dryrun job", + "description": "Generate configurations for a Linker.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "name": "dryruns", + "name": "resourceUri", "in": "path", - "description": "The name of the DryrunResource", + "description": "{resourceUri}", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { - "name": "resourceUri", + "name": "linkers", "in": "path", - "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", + "description": "The name of the LinkerResource", "required": true, "type": "string" }, { - "name": "dryrunName", - "in": "path", - "description": "The name of dryrun.", - "required": true, - "type": "string" + "name": "parameters", + "in": "body", + "description": "Connection Info, including format, secret store, etc", + "required": false, + "schema": { + "$ref": "#/definitions/ConfigurationInfo" + } } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/DryrunResource" + "$ref": "#/definitions/ConfigurationResult" } }, "default": { @@ -755,74 +729,44 @@ } }, "x-ms-examples": { - "GetDryrun": { - "$ref": "./examples/GetDryrun.json" + "GenerateConfiguration": { + "$ref": "./examples/LinkerGenerateConfigurations.json" } } - }, - "put": { - "operationId": "Linkers_CreateDryrun", + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkerName/{linkers}/listConfigurations": { + "post": { + "operationId": "Linker_ListConfigurations", "tags": [ - "Linkers" + "Linker" ], - "description": "create a dryrun job to do necessary check before actual creation", + "description": "list source configurations for a Linker.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, - { - "name": "dryruns", - "in": "path", - "description": "The name of the DryrunResource", - "required": true, - "type": "string" - }, { "name": "resourceUri", "in": "path", - "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", + "description": "{resourceUri}", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { - "name": "dryrunName", + "name": "linkers", "in": "path", - "description": "The name of dryrun.", + "description": "The name of the LinkerResource", "required": true, "type": "string" - }, - { - "name": "parameters", - "in": "body", - "description": "dryrun resource.", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunResource" - } } ], "responses": { "200": { - "description": "Resource 'DryrunResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "201": { - "description": "Resource 'DryrunResource' create operation succeeded", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/DryrunResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } + "$ref": "#/definitions/ConfigurationResult" } }, "default": { @@ -833,69 +777,52 @@ } }, "x-ms-examples": { - "PutDryrun": { - "$ref": "./examples/PutDryrun.json" + "GetConfiguration": { + "$ref": "./examples/GetConfigurations.json" } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Linkers_UpdateDryrun", + } + } + }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkerName/{linkers}/validateLinker": { + "post": { + "operationId": "Linker_Validate", "tags": [ - "Linkers" + "Linker" ], - "description": "add a dryrun job to do necessary check before actual creation", + "description": "Validate a Linker.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, - { - "name": "dryruns", - "in": "path", - "description": "The name of the DryrunResource", - "required": true, - "type": "string" - }, { "name": "resourceUri", "in": "path", - "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", + "description": "{resourceUri}", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { - "name": "dryrunName", + "name": "linkers", "in": "path", - "description": "The name of dryrun.", + "description": "The name of the LinkerResource", "required": true, "type": "string" - }, - { - "name": "parameters", - "in": "body", - "description": "dryrun resource.", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunPatch" - } } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/DryrunResource" + "$ref": "#/definitions/ValidateOperationResult" } }, "202": { - "description": "Resource update request accepted.", + "description": "Resource operation accepted.", "headers": { - "Azure-AsyncOperation": { + "Location": { "type": "string", - "description": "A link to the status monitor" + "description": "The Location header contains the URL where the status of the long running operation can be checked." }, "Retry-After": { "type": "integer", @@ -912,66 +839,14 @@ } }, "x-ms-examples": { - "PatchDryrun": { - "$ref": "./examples/PatchDryrun.json" + "ValidateLinkerSuccess": { + "$ref": "./examples/ValidateLinkerSuccess.json" } }, "x-ms-long-running-operation-options": { - "final-state-via": "original-uri" + "final-state-via": "location" }, "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Linkers_DeleteDryrun", - "tags": [ - "Linkers" - ], - "description": "delete a dryrun job", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "name": "dryruns", - "in": "path", - "description": "The name of the DryrunResource", - "required": true, - "type": "string" - }, - { - "name": "resourceUri", - "in": "path", - "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", - "required": true, - "type": "string" - }, - { - "name": "dryrunName", - "in": "path", - "description": "The name of dryrun.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "DeleteDryrun": { - "$ref": "./examples/DeleteDryrun.json" - } - } } }, "/providers/Microsoft.ServiceLinker/configurationNames": { From 4b5dba1ec9cb7238e14887ae943754daa2a16524 Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Wed, 21 May 2025 13:50:29 +0800 Subject: [PATCH 07/37] update --- .../DryrunResource.tsp | 38 +- .../LinkerResource.tsp | 11 +- .../ServiceLinker.Management/models.tsp | 7 + specification/servicelinker/output/diff.json | 843 ++---------------- .../output/newNormalizedSwagger.json | 44 +- .../2024-07-01-preview/servicelinker.json | 96 +- 6 files changed, 190 insertions(+), 849 deletions(-) diff --git a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp index 12e8012dc407..17b14a371dad 100644 --- a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp @@ -88,22 +88,9 @@ interface DryrunResources { Response = ArmResponse >; } -@armResourceOperations -interface LinkersOps - extends Azure.ResourceManager.Legacy.LegacyOperations< - { - ...ApiVersionParameter, - }, - KeysOf> - > {} @armResourceOperations -interface LinkersGetOps +interface LinkersOps extends Azure.ResourceManager.Legacy.LegacyOperations< { ...ApiVersionParameter, @@ -125,43 +112,36 @@ interface Linkers { /** * get a dryrun job */ - getDryrun is LinkersGetOps.Read; + getDryrun is LinkersOps.Read; /** * create a dryrun job to do necessary check before actual creation */ - createDryrun is LinkersGetOps.CreateOrUpdateAsync; + createDryrun is LinkersOps.CreateOrUpdateAsync; /** * add a dryrun job to do necessary check before actual creation */ @patch(#{ implicitOptionality: false }) - updateDryrun is LinkersGetOps.CustomPatchAsync< + updateDryrun is LinkersOps.CustomPatchAsync< DryrunResource, PatchModel = DryrunPatch, - LroHeaders = ArmAsyncOperationHeader & - Azure.Core.Foundations.RetryAfterHeader + Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse> & { + @bodyRoot + _: DryrunResource; + }) >; /** * delete a dryrun job */ - deleteDryrun is LinkersGetOps.DeleteSync; + deleteDryrun is LinkersOps.DeleteSync; /** * list dryrun jobs */ listDryrun is LinkersOps.List< DryrunResource, - Parameters = { - /** - * The fully qualified Azure Resource manager identifier of the resource to be connected. - */ - @path - resourceUri: string; - - ...Azure.ResourceManager.Legacy.Provider; - }, Response = ArmResponse >; } diff --git a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp index dec022057466..059726742198 100644 --- a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp @@ -140,8 +140,8 @@ interface LinkerOps }, KeysOf> > {} @@ -165,9 +165,10 @@ interface Linker { update is LinkerOps.CustomPatchAsync< LinkerResource, PatchModel = LinkerPatch, - Response = ArmResponse | ArmResourceCreatedResponse, - LroHeaders = ArmAsyncOperationHeader & - Azure.Core.Foundations.RetryAfterHeader + Response = ArmResponse | ArmResourceCreatedResponse | (ArmAcceptedLroResponse> & { + @bodyRoot + _: LinkerResource; + }) >; /** diff --git a/specification/servicelinker/ServiceLinker.Management/models.tsp b/specification/servicelinker/ServiceLinker.Management/models.tsp index 2907005f3a51..ce9828017625 100644 --- a/specification/servicelinker/ServiceLinker.Management/models.tsp +++ b/specification/servicelinker/ServiceLinker.Management/models.tsp @@ -588,6 +588,13 @@ model ConfigurationInfo { configurationStore?: ConfigurationStore | null; } +union ActionType { + /** Actions are for internal-only APIs. */ + enable: "enable", + + optOut: "optOut", + string, +} /** * Indicates some additional properties for dapr client type */ diff --git a/specification/servicelinker/output/diff.json b/specification/servicelinker/output/diff.json index ab62693757ae..952ec4cc10c7 100644 --- a/specification/servicelinker/output/diff.json +++ b/specification/servicelinker/output/diff.json @@ -48,327 +48,6 @@ } } }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}__deleted": { - "get": { - "operationId": "Linker_Get", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Linker": { - "$ref": "./examples/Linker.json" - } - } - }, - "put": { - "operationId": "Linker_CreateOrUpdate", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LinkerResource" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PutLinker": { - "$ref": "./examples/PutLinker.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Linker_Update", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LinkerPatch" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PatchLinker": { - "$ref": "./examples/PatchLinker.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Linker_Delete", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore" - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "DeleteLinker": { - "$ref": "./examples/DeleteLinker.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/generateConfigurations__deleted": { - "post": { - "operationId": "Linkers_GenerateConfigurations", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/ConfigurationInfo" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConfigurationResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GenerateConfiguration": { - "$ref": "./examples/LinkerGenerateConfigurations.json" - } - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/listConfigurations__deleted": { - "post": { - "operationId": "Linker_ListConfigurations", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConfigurationResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetConfiguration": { - "$ref": "./examples/GetConfigurations.json" - } - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/validateLinker__deleted": { - "post": { - "operationId": "Linker_Validate", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ValidateOperationResult" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ValidateLinkerSuccess": { - "$ref": "./examples/ValidateLinkerSuccess.json" - } - }, - "x-ms-long-running-operation": true - } - }, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors__deleted": { "get": { "operationId": "Connector_List", @@ -605,208 +284,7 @@ "description": "ignore", "schema": { "$ref": "#/definitions/ConfigurationResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GenerateConfiguration": { - "$ref": "./examples/GenerateConfigurations.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/validate__deleted": { - "post": { - "operationId": "Connector_Validate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ValidateOperationResult" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ValidateConnectorSuccess": { - "$ref": "./examples/ValidateConnectorSuccess.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns__deleted": { - "get": { - "operationId": "Connector_ListDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunList": { - "$ref": "./examples/ConnectorDryrunList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}__deleted": { - "get": { - "operationId": "Connector_GetDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunGet": { - "$ref": "./examples/ConnectorDryrunGet.json" - } - } - }, - "put": { - "operationId": "Connector_CreateDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunResource" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunCreate": { - "$ref": "./examples/ConnectorDryrunCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Connector_UpdateDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunPatch" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "202": { - "description": "ignore" + } }, "default": { "description": "ignore", @@ -816,23 +294,21 @@ } }, "x-ms-examples": { - "ConnectorDryrunUpdate": { - "$ref": "./examples/ConnectorDryrunUpdate.json" + "GenerateConfiguration": { + "$ref": "./examples/GenerateConfigurations.json" } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Connector_DeleteDryrun", + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/validate__deleted": { + "post": { + "operationId": "Connector_Validate", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" }, { - "name": "dryrunName", + "name": "connectorName", "in": "path", "required": true, "type": "string" @@ -840,9 +316,12 @@ ], "responses": { "200": { - "description": "ignore" + "description": "ignore", + "schema": { + "$ref": "#/definitions/ValidateOperationResult" + } }, - "204": { + "202": { "description": "ignore" }, "default": { @@ -853,29 +332,26 @@ } }, "x-ms-examples": { - "ConnectorDryrunDelete": { - "$ref": "./examples/ConnectorDryrunDelete.json" + "ValidateConnectorSuccess": { + "$ref": "./examples/ValidateConnectorSuccess.json" } - } + }, + "x-ms-long-running-operation": true } }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/connectors__added": { + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns__deleted": { "get": { - "operationId": "Linker_List", + "operationId": "Connector_ListDryrun", "parameters": [ { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" } ], "responses": { "200": { "description": "ignore", "schema": { - "$ref": "#/definitions/ResourceList" + "$ref": "#/definitions/DryrunList" } }, "default": { @@ -886,8 +362,8 @@ } }, "x-ms-examples": { - "LinkerList": { - "$ref": "./examples/LinkerList.json" + "ConnectorDryrunList": { + "$ref": "./examples/ConnectorDryrunList.json" } }, "x-ms-pageable": { @@ -895,19 +371,15 @@ } } }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkerName/{linkers}__added": { + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}__deleted": { "get": { - "operationId": "Linker_Get", + "operationId": "Connector_GetDryrun", "parameters": [ { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" }, { - "name": "linkers", + "name": "dryrunName", "in": "path", "required": true, "type": "string" @@ -917,7 +389,7 @@ "200": { "description": "ignore", "schema": { - "$ref": "#/definitions/LinkerResource" + "$ref": "#/definitions/DryrunResource" } }, "default": { @@ -928,23 +400,19 @@ } }, "x-ms-examples": { - "Linker": { - "$ref": "./examples/Linker.json" + "ConnectorDryrunGet": { + "$ref": "./examples/ConnectorDryrunGet.json" } } }, "put": { - "operationId": "Linker_CreateOrUpdate", + "operationId": "Connector_CreateDryrun", "parameters": [ { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" }, { - "name": "linkers", + "name": "dryrunName", "in": "path", "required": true, "type": "string" @@ -954,7 +422,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/LinkerResource" + "$ref": "#/definitions/DryrunResource" } } ], @@ -962,13 +430,13 @@ "200": { "description": "ignore", "schema": { - "$ref": "#/definitions/LinkerResource" + "$ref": "#/definitions/DryrunResource" } }, "201": { "description": "ignore", "schema": { - "$ref": "#/definitions/LinkerResource" + "$ref": "#/definitions/DryrunResource" } }, "default": { @@ -979,8 +447,8 @@ } }, "x-ms-examples": { - "PutLinker": { - "$ref": "./examples/PutLinker.json" + "ConnectorDryrunCreate": { + "$ref": "./examples/ConnectorDryrunCreate.json" } }, "x-ms-long-running-operation-options": { @@ -989,17 +457,13 @@ "x-ms-long-running-operation": true }, "patch": { - "operationId": "Linker_Update", + "operationId": "Connector_UpdateDryrun", "parameters": [ { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" }, { - "name": "linkers", + "name": "dryrunName", "in": "path", "required": true, "type": "string" @@ -1009,7 +473,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/LinkerPatch" + "$ref": "#/definitions/DryrunPatch" } } ], @@ -1017,55 +481,12 @@ "200": { "description": "ignore", "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/DryrunResource" } - } - }, - "x-ms-examples": { - "PatchLinker": { - "$ref": "./examples/PatchLinker.json" - } - } - }, - "delete": { - "operationId": "Linker_Delete", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkers", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore" }, "202": { "description": "ignore" }, - "204": { - "description": "ignore" - }, "default": { "description": "ignore", "schema": { @@ -1074,86 +495,34 @@ } }, "x-ms-examples": { - "DeleteLinker": { - "$ref": "./examples/DeleteLinker.json" + "ConnectorDryrunUpdate": { + "$ref": "./examples/ConnectorDryrunUpdate.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, "x-ms-long-running-operation": true - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkerName/{linkers}/generateConfigurations__added": { - "post": { - "operationId": "Linkers_GenerateConfigurations", + }, + "delete": { + "operationId": "Connector_DeleteDryrun", "parameters": [ { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" }, { - "name": "linkers", + "name": "dryrunName", "in": "path", "required": true, "type": "string" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/ConfigurationInfo" - } } ], "responses": { "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConfigurationResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GenerateConfiguration": { - "$ref": "./examples/LinkerGenerateConfigurations.json" - } - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkerName/{linkers}/listConfigurations__added": { - "post": { - "operationId": "Linker_ListConfigurations", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true + "description": "ignore" }, - { - "name": "linkers", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConfigurationResult" - } + "204": { + "description": "ignore" }, "default": { "description": "ignore", @@ -1163,15 +532,15 @@ } }, "x-ms-examples": { - "GetConfiguration": { - "$ref": "./examples/GetConfigurations.json" + "ConnectorDryrunDelete": { + "$ref": "./examples/ConnectorDryrunDelete.json" } } } }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkerName/{linkers}/validateLinker__added": { - "post": { - "operationId": "Linker_Validate", + "/{resourceUri}/providers/Microsoft.ServiceLinker/connectors__added": { + "get": { + "operationId": "Linker_List", "parameters": [ { "name": "resourceUri", @@ -1179,24 +548,15 @@ "required": true, "type": "string", "x-ms-skip-url-encoding": true - }, - { - "name": "linkers", - "in": "path", - "required": true, - "type": "string" } ], "responses": { "200": { "description": "ignore", "schema": { - "$ref": "#/definitions/ValidateOperationResult" + "$ref": "#/definitions/ResourceList" } }, - "202": { - "description": "ignore" - }, "default": { "description": "ignore", "schema": { @@ -1205,11 +565,13 @@ } }, "x-ms-examples": { - "ValidateLinkerSuccess": { - "$ref": "./examples/ValidateLinkerSuccess.json" + "LinkerList": { + "$ref": "./examples/LinkerList.json" } }, - "x-ms-long-running-operation": true + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors__added": { @@ -1713,24 +1075,29 @@ ] } }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns": { - "get": { - "parameters": [ - [ - "~", - { - "x-ms-skip-url-encoding__deleted": true + "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns/{dryrunName}": { + "patch": { + "responses": { + "202": { + "schema__added": { + "$ref": "#/definitions/DryrunResource" } - ] - ] + } + } } }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns/{dryrunName}": { + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}": { "patch": { - "x-ms-long-running-operation-options": { - "final-state-via": { - "__old": "azure-async-operation", - "__new": "original-uri" + "x-ms-long-running-operation-options__deleted": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation__deleted": true, + "responses": { + "202__added": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } } } } @@ -1789,26 +1156,6 @@ } } }, - "ConfigurationInfo": { - "properties": { - "action": { - "enum": [ - [ - "-", - "enable" - ], - [ - "-", - "optOut" - ], - [ - "+", - "Internal" - ] - ] - } - } - }, "ConfigurationNameResult": { "required__added": [ "value" @@ -1937,26 +1284,6 @@ ] ] }, - "PublicNetworkSolution": { - "properties": { - "action": { - "enum": [ - [ - "-", - "enable" - ], - [ - "-", - "optOut" - ], - [ - "+", - "Internal" - ] - ] - } - } - }, "ResourceList": { "required__added": [ "value" diff --git a/specification/servicelinker/output/newNormalizedSwagger.json b/specification/servicelinker/output/newNormalizedSwagger.json index cd90c5293188..92a8054d74a1 100644 --- a/specification/servicelinker/output/newNormalizedSwagger.json +++ b/specification/servicelinker/output/newNormalizedSwagger.json @@ -96,7 +96,8 @@ "name": "resourceUri", "in": "path", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true } ], "responses": { @@ -249,7 +250,10 @@ } }, "202": { - "description": "ignore" + "description": "ignore", + "schema": { + "$ref": "#/definitions/DryrunResource" + } }, "default": { "description": "ignore", @@ -264,7 +268,7 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "original-uri" + "final-state-via": "azure-async-operation" }, "x-ms-long-running-operation": true }, @@ -306,7 +310,7 @@ } } }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkerName/{linkers}": { + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}": { "get": { "operationId": "Linker_Get", "parameters": [ @@ -318,7 +322,7 @@ "x-ms-skip-url-encoding": true }, { - "name": "linkers", + "name": "linkerName", "in": "path", "required": true, "type": "string" @@ -355,7 +359,7 @@ "x-ms-skip-url-encoding": true }, { - "name": "linkers", + "name": "linkerName", "in": "path", "required": true, "type": "string" @@ -410,7 +414,7 @@ "x-ms-skip-url-encoding": true }, { - "name": "linkers", + "name": "linkerName", "in": "path", "required": true, "type": "string" @@ -437,6 +441,12 @@ "$ref": "#/definitions/LinkerResource" } }, + "202": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/LinkerResource" + } + }, "default": { "description": "ignore", "schema": { @@ -461,7 +471,7 @@ "x-ms-skip-url-encoding": true }, { - "name": "linkers", + "name": "linkerName", "in": "path", "required": true, "type": "string" @@ -495,7 +505,7 @@ "x-ms-long-running-operation": true } }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkerName/{linkers}/generateConfigurations": { + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/generateConfigurations": { "post": { "operationId": "Linkers_GenerateConfigurations", "parameters": [ @@ -507,7 +517,7 @@ "x-ms-skip-url-encoding": true }, { - "name": "linkers", + "name": "linkerName", "in": "path", "required": true, "type": "string" @@ -541,7 +551,7 @@ } } }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkerName/{linkers}/listConfigurations": { + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/listConfigurations": { "post": { "operationId": "Linker_ListConfigurations", "parameters": [ @@ -553,7 +563,7 @@ "x-ms-skip-url-encoding": true }, { - "name": "linkers", + "name": "linkerName", "in": "path", "required": true, "type": "string" @@ -580,7 +590,7 @@ } } }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkerName/{linkers}/validateLinker": { + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/validateLinker": { "post": { "operationId": "Linker_Validate", "parameters": [ @@ -592,7 +602,7 @@ "x-ms-skip-url-encoding": true }, { - "name": "linkers", + "name": "linkerName", "in": "path", "required": true, "type": "string" @@ -1359,7 +1369,8 @@ "action": { "type": "string", "enum": [ - "Internal" + "enable", + "optOut" ], "x-ms-enum": { "name": "ActionType", @@ -2125,7 +2136,8 @@ "action": { "type": "string", "enum": [ - "Internal" + "enable", + "optOut" ], "x-ms-enum": { "name": "ActionType", diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json index 88e4d7d62b36..0a1b2ae0759a 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json @@ -154,9 +154,9 @@ { "name": "resourceUri", "in": "path", - "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true } ], "responses": { @@ -340,22 +340,20 @@ ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "Resource 'DryrunResource' update operation succeeded", "schema": { "$ref": "#/definitions/DryrunResource" } }, "202": { - "description": "Resource update request accepted.", + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/DryrunResource" + }, "headers": { "Azure-AsyncOperation": { "type": "string", "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, @@ -372,7 +370,7 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "original-uri" + "final-state-via": "azure-async-operation" }, "x-ms-long-running-operation": true }, @@ -422,7 +420,7 @@ } } }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkerName/{linkers}": { + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}": { "get": { "operationId": "Linker_Get", "tags": [ @@ -442,7 +440,7 @@ "x-ms-skip-url-encoding": true }, { - "name": "linkers", + "name": "linkerName", "in": "path", "description": "The name of the LinkerResource", "required": true, @@ -488,7 +486,7 @@ "x-ms-skip-url-encoding": true }, { - "name": "linkers", + "name": "linkerName", "in": "path", "description": "The name of the LinkerResource", "required": true, @@ -564,7 +562,7 @@ "x-ms-skip-url-encoding": true }, { - "name": "linkers", + "name": "linkerName", "in": "path", "description": "The name of the LinkerResource", "required": true, @@ -600,6 +598,18 @@ } } }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/LinkerResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + } + } + }, "default": { "description": "An unexpected error response.", "schema": { @@ -632,7 +642,7 @@ "x-ms-skip-url-encoding": true }, { - "name": "linkers", + "name": "linkerName", "in": "path", "description": "The name of the LinkerResource", "required": true, @@ -678,7 +688,7 @@ "x-ms-long-running-operation": true } }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkerName/{linkers}/generateConfigurations": { + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/generateConfigurations": { "post": { "operationId": "Linkers_GenerateConfigurations", "tags": [ @@ -698,7 +708,7 @@ "x-ms-skip-url-encoding": true }, { - "name": "linkers", + "name": "linkerName", "in": "path", "description": "The name of the LinkerResource", "required": true, @@ -735,7 +745,7 @@ } } }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkerName/{linkers}/listConfigurations": { + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/listConfigurations": { "post": { "operationId": "Linker_ListConfigurations", "tags": [ @@ -755,7 +765,7 @@ "x-ms-skip-url-encoding": true }, { - "name": "linkers", + "name": "linkerName", "in": "path", "description": "The name of the LinkerResource", "required": true, @@ -783,7 +793,7 @@ } } }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkerName/{linkers}/validateLinker": { + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/validateLinker": { "post": { "operationId": "Linker_Validate", "tags": [ @@ -803,7 +813,7 @@ "x-ms-skip-url-encoding": true }, { - "name": "linkers", + "name": "linkerName", "in": "path", "description": "The name of the LinkerResource", "required": true, @@ -1714,6 +1724,28 @@ ] } }, + "ActionType": { + "type": "string", + "enum": [ + "enable", + "optOut" + ], + "x-ms-enum": { + "name": "ActionType", + "modelAsString": true, + "values": [ + { + "name": "enable", + "value": "enable", + "description": "Actions are for internal-only APIs." + }, + { + "name": "optOut", + "value": "optOut" + } + ] + } + }, "AllowType": { "type": "string", "description": "Whether to allow firewall rules.", @@ -1856,24 +1888,6 @@ "body" ] }, - "Azure.ResourceManager.CommonTypes.ActionType": { - "type": "string", - "description": "Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.", - "enum": [ - "Internal" - ], - "x-ms-enum": { - "name": "ActionType", - "modelAsString": true, - "values": [ - { - "name": "Internal", - "value": "Internal", - "description": "Actions are for internal-only APIs." - } - ] - } - }, "AzureAppConfigProperties": { "type": "object", "description": "The resource properties when type is Azure App Configuration", @@ -2071,7 +2085,7 @@ "description": "Indicates whether to clean up previous operation when Linker is updating or deleting" }, "action": { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ActionType", + "$ref": "#/definitions/ActionType", "description": "Optional, indicate whether to apply configurations on source application. If enable, generate configurations and applied to the source application. Default is enable. If optOut, no configuration change will be made on source." }, "customizedKeys": { @@ -2932,7 +2946,7 @@ "description": "Indicates whether to clean up previous operation(such as firewall rules) when Linker is updating or deleting" }, "action": { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ActionType", + "$ref": "#/definitions/ActionType", "description": "Optional. Indicates public network solution. If enable, enable public network access of target service with best try. Default is enable. If optOut, opt out public network access configuration." }, "firewallRules": { From 620422873bdd76c4b8f63203c3d421fa36801501 Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Wed, 21 May 2025 16:05:24 +0800 Subject: [PATCH 08/37] update --- .../DryrunResource.tsp | 8 +- .../LinkerResource.tsp | 8 +- .../ServiceLinker.Management/models.tsp | 21 ++- .../ServiceLinker.Management/routes.tsp | 2 +- specification/servicelinker/output/diff.json | 132 +---------------- .../output/newNormalizedSwagger.json | 105 ++++++------- .../2024-07-01-preview/servicelinker.json | 138 +++++++----------- 7 files changed, 130 insertions(+), 284 deletions(-) diff --git a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp index 17b14a371dad..85dd24617c5a 100644 --- a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp @@ -67,8 +67,7 @@ interface DryrunResources { updateDryrun is DryrunResourceOps.CustomPatchAsync< DryrunResource, PatchModel = DryrunPatch, - LroHeaders = ArmAsyncOperationHeader & - Azure.Core.Foundations.RetryAfterHeader + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse> >; /** @@ -126,10 +125,7 @@ interface Linkers { updateDryrun is LinkersOps.CustomPatchAsync< DryrunResource, PatchModel = DryrunPatch, - Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse> & { - @bodyRoot - _: DryrunResource; - }) + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse> >; /** diff --git a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp index 059726742198..f50e6c451837 100644 --- a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp @@ -165,10 +165,9 @@ interface Linker { update is LinkerOps.CustomPatchAsync< LinkerResource, PatchModel = LinkerPatch, - Response = ArmResponse | ArmResourceCreatedResponse | (ArmAcceptedLroResponse> & { - @bodyRoot - _: LinkerResource; - }) + Response = ArmResponse | ArmResourceCreatedResponse, + LroHeaders = ArmAsyncOperationHeader & + Azure.Core.Foundations.RetryAfterHeader >; /** @@ -185,6 +184,7 @@ interface Linker { /** * Returns list of Linkers which connects to the resource. which supports to config both application and target service during the resource provision. */ + @segment("linkers") list is LinkerOps.List>; /** diff --git a/specification/servicelinker/ServiceLinker.Management/models.tsp b/specification/servicelinker/ServiceLinker.Management/models.tsp index ce9828017625..f2101e301422 100644 --- a/specification/servicelinker/ServiceLinker.Management/models.tsp +++ b/specification/servicelinker/ServiceLinker.Management/models.tsp @@ -262,10 +262,27 @@ union AccessKeyPermissions { Manage: "Manage", } +/** + * Describes a page of resource object. + * @template Resource The resource type. + */ +@Azure.Core.pagedResult +@friendlyName("Paged{name}", Resource) +@doc("Paged collection of {name} items", Resource) +model CustomPage { + @doc("The {name} items on this page", Resource) + @Azure.Core.items + value: Resource[]; + + @doc("The link to the next page of items") + @nextLink + nextLink?: ResourceLocation | null; +} + /** * The list of dryrun. */ -model DryrunList is Azure.Core.Page; +model DryrunList is CustomPage; /** * The properties of the dryrun job @@ -394,7 +411,7 @@ model DryrunPatch { /** * The list of Linker. */ -model ResourceList is Azure.Core.Page; +model ResourceList is CustomPage; /** * The properties of the Linker. diff --git a/specification/servicelinker/ServiceLinker.Management/routes.tsp b/specification/servicelinker/ServiceLinker.Management/routes.tsp index 4c2aa807c7fe..b466c41cd8d6 100644 --- a/specification/servicelinker/ServiceLinker.Management/routes.tsp +++ b/specification/servicelinker/ServiceLinker.Management/routes.tsp @@ -20,7 +20,7 @@ interface LinkersOperationGroup { */ #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" @operationId("Linkers_ListDaprConfigurations") - @route("/{resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations") + @route("/{+resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations") @get listDaprConfigurations( ...ApiVersionParameter, diff --git a/specification/servicelinker/output/diff.json b/specification/servicelinker/output/diff.json index 952ec4cc10c7..24baa2eb24c7 100644 --- a/specification/servicelinker/output/diff.json +++ b/specification/servicelinker/output/diff.json @@ -11,43 +11,6 @@ } }, "paths": { - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers__deleted": { - "get": { - "operationId": "Linker_List", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ResourceList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "deprecated": false, - "x-ms-examples": { - "LinkerList": { - "$ref": "./examples/LinkerList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors__deleted": { "get": { "operationId": "Connector_List", @@ -538,42 +501,6 @@ } } }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/connectors__added": { - "get": { - "operationId": "Linker_List", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ResourceList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "LinkerList": { - "$ref": "./examples/LinkerList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors__added": { "get": { "operationId": "Connector_List", @@ -1025,7 +952,7 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "original-uri" + "final-state-via": "azure-async-operation" }, "x-ms-long-running-operation": true }, @@ -1063,27 +990,9 @@ } } }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations": { + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers": { "get": { - "parameters": [ - [ - "~", - { - "x-ms-skip-url-encoding__deleted": true - } - ] - ] - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns/{dryrunName}": { - "patch": { - "responses": { - "202": { - "schema__added": { - "$ref": "#/definitions/DryrunResource" - } - } - } + "deprecated__deleted": false } }, "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}": { @@ -1091,15 +1000,7 @@ "x-ms-long-running-operation-options__deleted": { "final-state-via": "azure-async-operation" }, - "x-ms-long-running-operation__deleted": true, - "responses": { - "202__added": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - } - } + "x-ms-long-running-operation__deleted": true } } }, @@ -1113,17 +1014,6 @@ } } }, - "Azure.ResourceManager.ArmResponse__added": { - "type": "object", - "properties": { - "body": { - "$ref": "#/definitions/DryrunResource" - } - }, - "required": [ - "body" - ] - }, "Azure.ResourceManager.ArmResponse__added": { "type": "object", "properties": { @@ -1236,12 +1126,7 @@ "DryrunList": { "required__added": [ "value" - ], - "properties": { - "nextLink": { - "x-nullable__deleted": true - } - } + ] }, "DryrunResource": { "allOf": [ @@ -1287,12 +1172,7 @@ "ResourceList": { "required__added": [ "value" - ], - "properties": { - "nextLink": { - "x-nullable__deleted": true - } - } + ] }, "ServicePrincipalCertificateAuthInfo": { "properties": { diff --git a/specification/servicelinker/output/newNormalizedSwagger.json b/specification/servicelinker/output/newNormalizedSwagger.json index 92a8054d74a1..ad2f6f6b99d3 100644 --- a/specification/servicelinker/output/newNormalizedSwagger.json +++ b/specification/servicelinker/output/newNormalizedSwagger.json @@ -17,42 +17,6 @@ "application/json" ], "paths": { - "/{resourceUri}/providers/Microsoft.ServiceLinker/connectors": { - "get": { - "operationId": "Linker_List", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ResourceList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "LinkerList": { - "$ref": "./examples/LinkerList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, "/{resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations": { "get": { "operationId": "Linkers_ListDaprConfigurations", @@ -61,7 +25,8 @@ "name": "resourceUri", "in": "path", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true } ], "responses": { @@ -250,10 +215,7 @@ } }, "202": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } + "description": "ignore" }, "default": { "description": "ignore", @@ -310,6 +272,42 @@ } } }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers": { + "get": { + "operationId": "Linker_List", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ResourceList" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "LinkerList": { + "$ref": "./examples/LinkerList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}": { "get": { "operationId": "Linker_Get", @@ -441,12 +439,6 @@ "$ref": "#/definitions/LinkerResource" } }, - "202": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, "default": { "description": "ignore", "schema": { @@ -1151,7 +1143,7 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "original-uri" + "final-state-via": "azure-async-operation" }, "x-ms-long-running-operation": true }, @@ -1245,17 +1237,6 @@ "authType" ] }, - "Azure.ResourceManager.ArmResponse": { - "type": "object", - "properties": { - "body": { - "$ref": "#/definitions/DryrunResource" - } - }, - "required": [ - "body" - ] - }, "Azure.ResourceManager.ArmResponse": { "type": "object", "properties": { @@ -1780,7 +1761,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "[Placeholder] Discription for nextLink property" + "description": "[Placeholder] Discription for nextLink property", + "x-nullable": true } }, "required": [ @@ -2163,7 +2145,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "[Placeholder] Discription for nextLink property" + "description": "[Placeholder] Discription for nextLink property", + "x-nullable": true } }, "required": [ diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json index 0a1b2ae0759a..94cda5868b39 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json @@ -56,50 +56,6 @@ } ], "paths": { - "/{resourceUri}/providers/Microsoft.ServiceLinker/connectors": { - "get": { - "operationId": "Linker_List", - "tags": [ - "Linker" - ], - "description": "Returns list of Linkers which connects to the resource. which supports to config both application and target service during the resource provision.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "name": "resourceUri", - "in": "path", - "description": "{resourceUri}", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ResourceList" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "LinkerList": { - "$ref": "./examples/LinkerList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, "/{resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations": { "get": { "operationId": "Linkers_ListDaprConfigurations", @@ -113,7 +69,8 @@ "in": "path", "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", "required": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true } ], "responses": { @@ -346,10 +303,7 @@ } }, "202": { - "description": "The request has been accepted for processing, but processing has not yet completed.", - "schema": { - "$ref": "#/definitions/DryrunResource" - }, + "description": "Resource operation accepted.", "headers": { "Azure-AsyncOperation": { "type": "string", @@ -420,6 +374,50 @@ } } }, + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers": { + "get": { + "operationId": "Linker_List", + "tags": [ + "Linker" + ], + "description": "Returns list of Linkers which connects to the resource. which supports to config both application and target service during the resource provision.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "resourceUri", + "in": "path", + "description": "{resourceUri}", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ResourceList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "LinkerList": { + "$ref": "./examples/LinkerList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}": { "get": { "operationId": "Linker_Get", @@ -598,18 +596,6 @@ } } }, - "202": { - "description": "The request has been accepted for processing, but processing has not yet completed.", - "schema": { - "$ref": "#/definitions/LinkerResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - } - } - }, "default": { "description": "An unexpected error response.", "schema": { @@ -1583,22 +1569,17 @@ ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "Resource 'DryrunResource' update operation succeeded", "schema": { "$ref": "#/definitions/DryrunResource" } }, "202": { - "description": "Resource update request accepted.", + "description": "Resource operation accepted.", "headers": { "Azure-AsyncOperation": { "type": "string", "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, @@ -1615,7 +1596,7 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "original-uri" + "final-state-via": "azure-async-operation" }, "x-ms-long-running-operation": true }, @@ -1862,19 +1843,6 @@ ] } }, - "Azure.ResourceManager.ArmResponse": { - "type": "object", - "description": "Azure operation completed successfully.", - "properties": { - "body": { - "$ref": "#/definitions/DryrunResource", - "description": "The body type of the operation request or response." - } - }, - "required": [ - "body" - ] - }, "Azure.ResourceManager.ArmResponse": { "type": "object", "description": "Azure operation completed successfully.", @@ -2540,7 +2508,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items" + "description": "The link to the next page of items", + "x-nullable": true } }, "required": [ @@ -2969,7 +2938,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items" + "description": "The link to the next page of items", + "x-nullable": true } }, "required": [ From 9c0800815cad7b62e12ce5a5049aa13d2aa7ae34 Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Wed, 21 May 2025 16:52:49 +0800 Subject: [PATCH 09/37] update --- .../LinkerResource.tsp | 7 +-- .../ConfigurationNamesList.json | 2 +- .../ConnectorDryrunCreate.json | 2 +- .../ConnectorDryrunDelete.json | 2 +- .../ConnectorDryrunGet.json | 2 +- .../ConnectorDryrunList.json | 2 +- .../ConnectorDryrunUpdate.json | 2 +- .../2024-07-01-preview/ConnectorList.json | 2 +- .../2024-07-01-preview/Connectors.json | 2 +- .../2024-07-01-preview/DeleteConnector.json | 2 +- .../2024-07-01-preview/DeleteDryrun.json | 2 +- .../2024-07-01-preview/DeleteLinker.json | 2 +- .../GenerateConfigurations.json | 2 +- .../2024-07-01-preview/GetConfigurations.json | 2 +- .../GetDaprConfigurations.json | 2 +- .../2024-07-01-preview/GetDryrun.json | 2 +- .../examples/2024-07-01-preview/Linker.json | 2 +- .../LinkerGenerateConfigurations.json | 2 +- .../2024-07-01-preview/LinkerList.json | 2 +- .../2024-07-01-preview/ListDryrun.json | 2 +- .../2024-07-01-preview/OperationsList.json | 2 +- .../2024-07-01-preview/PatchConnector.json | 2 +- .../2024-07-01-preview/PatchDryrun.json | 2 +- .../2024-07-01-preview/PatchLinker.json | 2 +- .../2024-07-01-preview/PutConnector.json | 2 +- .../2024-07-01-preview/PutDryrun.json | 2 +- .../2024-07-01-preview/PutLinker.json | 2 +- .../ValidateConnectorSuccess.json | 2 +- .../ValidateLinkerSuccess.json | 2 +- .../ServiceLinker.Management/tspconfig.yaml | 43 +++++++++++++++++++ specification/servicelinker/output/diff.json | 8 ---- .../output/newNormalizedSwagger.json | 6 ++- .../examples/ConfigurationNamesList.json | 2 +- .../examples/ConnectorDryrunCreate.json | 2 +- .../examples/ConnectorDryrunDelete.json | 2 +- .../examples/ConnectorDryrunGet.json | 2 +- .../examples/ConnectorDryrunList.json | 2 +- .../examples/ConnectorDryrunUpdate.json | 2 +- .../examples/ConnectorList.json | 2 +- .../examples/Connectors.json | 2 +- .../examples/DeleteConnector.json | 2 +- .../examples/DeleteDryrun.json | 2 +- .../examples/DeleteLinker.json | 2 +- .../examples/GenerateConfigurations.json | 2 +- .../examples/GetConfigurations.json | 2 +- .../examples/GetDaprConfigurations.json | 2 +- .../examples/GetDryrun.json | 2 +- .../2024-07-01-preview/examples/Linker.json | 2 +- .../LinkerGenerateConfigurations.json | 2 +- .../examples/LinkerList.json | 2 +- .../examples/ListDryrun.json | 2 +- .../examples/OperationsList.json | 2 +- .../examples/PatchConnector.json | 2 +- .../examples/PatchDryrun.json | 2 +- .../examples/PatchLinker.json | 2 +- .../examples/PutConnector.json | 2 +- .../examples/PutDryrun.json | 2 +- .../examples/PutLinker.json | 2 +- .../examples/ValidateConnectorSuccess.json | 2 +- .../examples/ValidateLinkerSuccess.json | 2 +- .../2024-07-01-preview/servicelinker.json | 13 +++--- 61 files changed, 116 insertions(+), 73 deletions(-) diff --git a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp index f50e6c451837..c7f812dd3449 100644 --- a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp @@ -165,9 +165,10 @@ interface Linker { update is LinkerOps.CustomPatchAsync< LinkerResource, PatchModel = LinkerPatch, - Response = ArmResponse | ArmResourceCreatedResponse, - LroHeaders = ArmAsyncOperationHeader & - Azure.Core.Foundations.RetryAfterHeader + Response = ArmResponse | ArmResourceCreatedResponse< + LinkerResource, + LroHeaders = ArmAsyncOperationHeader + > >; /** diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConfigurationNamesList.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConfigurationNamesList.json index bf974e1fa880..60d23198eeb0 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConfigurationNamesList.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConfigurationNamesList.json @@ -51,4 +51,4 @@ }, "operationId": "ConfigurationNames_List", "title": "GetConfigurationNames" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunCreate.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunCreate.json index 48964481f4ae..0346c23cc778 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunCreate.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunCreate.json @@ -115,4 +115,4 @@ }, "operationId": "Connector_CreateDryrun", "title": "ConnectorDryrunCreate" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunDelete.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunDelete.json index b4bc6bd522f6..ea7e371c8758 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunDelete.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunDelete.json @@ -12,4 +12,4 @@ }, "operationId": "Connector_DeleteDryrun", "title": "ConnectorDryrunDelete" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunGet.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunGet.json index c9e199bef533..3fb1c39a1bd8 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunGet.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunGet.json @@ -32,4 +32,4 @@ }, "operationId": "Connector_GetDryrun", "title": "ConnectorDryrunGet" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunList.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunList.json index ba43d5885965..f7334b46b551 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunList.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunList.json @@ -35,4 +35,4 @@ }, "operationId": "Connector_ListDryrun", "title": "ConnectorDryrunList" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunUpdate.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunUpdate.json index b7409c90d935..a578b7253f90 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunUpdate.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorDryrunUpdate.json @@ -77,4 +77,4 @@ }, "operationId": "Connector_UpdateDryrun", "title": "ConnectorDryrunUpdate" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorList.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorList.json index 750d3149c47f..f517a1d3f1aa 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorList.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ConnectorList.json @@ -33,4 +33,4 @@ }, "operationId": "Connector_List", "title": "ConnectorList" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/Connectors.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/Connectors.json index 4c560b43b977..83de11414221 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/Connectors.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/Connectors.json @@ -42,4 +42,4 @@ }, "operationId": "Connector_Get", "title": "Connector" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/DeleteConnector.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/DeleteConnector.json index 3eb4294d6c1f..de50de9a9ff4 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/DeleteConnector.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/DeleteConnector.json @@ -17,4 +17,4 @@ }, "operationId": "Connector_Delete", "title": "DeleteConnector" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/DeleteDryrun.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/DeleteDryrun.json index e1eaaf7f1eed..c99e971c5f16 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/DeleteDryrun.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/DeleteDryrun.json @@ -10,4 +10,4 @@ }, "operationId": "Linkers_DeleteDryrun", "title": "DeleteDryrun" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/DeleteLinker.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/DeleteLinker.json index af186058a0a4..1790418daf0c 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/DeleteLinker.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/DeleteLinker.json @@ -15,4 +15,4 @@ }, "operationId": "Linker_Delete", "title": "DeleteLinker" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GenerateConfigurations.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GenerateConfigurations.json index ca5f8fe20531..6d20f473edc9 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GenerateConfigurations.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GenerateConfigurations.json @@ -25,4 +25,4 @@ }, "operationId": "Connector_GenerateConfigurations", "title": "GenerateConfiguration" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GetConfigurations.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GetConfigurations.json index 3d6bd602fc50..616117992689 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GetConfigurations.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GetConfigurations.json @@ -40,4 +40,4 @@ }, "operationId": "Linker_ListConfigurations", "title": "GetConfiguration" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GetDaprConfigurations.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GetDaprConfigurations.json index 077fe2b82140..1da585d90c35 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GetDaprConfigurations.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GetDaprConfigurations.json @@ -32,4 +32,4 @@ }, "operationId": "Linkers_ListDaprConfigurations", "title": "GetDaprConfigurations" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GetDryrun.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GetDryrun.json index 8ceadc414c76..cbc968892334 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GetDryrun.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/GetDryrun.json @@ -31,4 +31,4 @@ }, "operationId": "Linkers_GetDryrun", "title": "GetDryrun" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/Linker.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/Linker.json index 1566be855291..bcd55b38ee7d 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/Linker.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/Linker.json @@ -46,4 +46,4 @@ }, "operationId": "Linker_Get", "title": "Linker" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/LinkerGenerateConfigurations.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/LinkerGenerateConfigurations.json index 3f6728e42407..0d2b2d1a745e 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/LinkerGenerateConfigurations.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/LinkerGenerateConfigurations.json @@ -23,4 +23,4 @@ }, "operationId": "Linkers_GenerateConfigurations", "title": "GenerateConfiguration" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/LinkerList.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/LinkerList.json index 7a58e614a517..3a2ee5935b7a 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/LinkerList.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/LinkerList.json @@ -31,4 +31,4 @@ }, "operationId": "Linker_List", "title": "LinkerList" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ListDryrun.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ListDryrun.json index f8aaf9595078..1d51ab23bccc 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ListDryrun.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ListDryrun.json @@ -34,4 +34,4 @@ }, "operationId": "Linkers_ListDryrun", "title": "ListDryrun" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/OperationsList.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/OperationsList.json index d5ee1ae02a92..8e7c1d847200 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/OperationsList.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/OperationsList.json @@ -183,4 +183,4 @@ }, "operationId": "Operations_List", "title": "GetConfiguration" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PatchConnector.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PatchConnector.json index 5798698b7d36..ea476508fcdd 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PatchConnector.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PatchConnector.json @@ -63,4 +63,4 @@ }, "operationId": "Connector_Update", "title": "PatchConnector" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PatchDryrun.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PatchDryrun.json index ab56a39003bf..47d2fb53682b 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PatchDryrun.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PatchDryrun.json @@ -76,4 +76,4 @@ }, "operationId": "Linkers_UpdateDryrun", "title": "PatchDryrun" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PatchLinker.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PatchLinker.json index 21c2ce1c2afe..d59fcdf32b2f 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PatchLinker.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PatchLinker.json @@ -58,4 +58,4 @@ }, "operationId": "Linker_Update", "title": "PatchLinker" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PutConnector.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PutConnector.json index 298b5712c1db..e3d60f16959f 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PutConnector.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PutConnector.json @@ -62,4 +62,4 @@ }, "operationId": "Connector_CreateOrUpdate", "title": "PutConnector" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PutDryrun.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PutDryrun.json index fd0ae0d3ff2a..de373b5f8ce5 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PutDryrun.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PutDryrun.json @@ -115,4 +115,4 @@ }, "operationId": "Linkers_CreateDryrun", "title": "PutDryrun" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PutLinker.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PutLinker.json index d3f649280a07..2dedc0b12bef 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PutLinker.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/PutLinker.json @@ -67,4 +67,4 @@ }, "operationId": "Linker_CreateOrUpdate", "title": "PutLinker" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ValidateConnectorSuccess.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ValidateConnectorSuccess.json index ad6e0f543bfa..0a1b07843312 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ValidateConnectorSuccess.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ValidateConnectorSuccess.json @@ -37,4 +37,4 @@ }, "operationId": "Connector_Validate", "title": "ValidateConnectorSuccess" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ValidateLinkerSuccess.json b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ValidateLinkerSuccess.json index fc9eda565c90..6225e5426c29 100644 --- a/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ValidateLinkerSuccess.json +++ b/specification/servicelinker/ServiceLinker.Management/examples/2024-07-01-preview/ValidateLinkerSuccess.json @@ -37,4 +37,4 @@ }, "operationId": "Linker_Validate", "title": "ValidateLinkerSuccess" -} \ No newline at end of file +} diff --git a/specification/servicelinker/ServiceLinker.Management/tspconfig.yaml b/specification/servicelinker/ServiceLinker.Management/tspconfig.yaml index 94b16b0a4034..69635a4ea208 100644 --- a/specification/servicelinker/ServiceLinker.Management/tspconfig.yaml +++ b/specification/servicelinker/ServiceLinker.Management/tspconfig.yaml @@ -1,3 +1,6 @@ +parameters: + "service-dir": + default: "sdk/servicelinker" emit: - "@azure-tools/typespec-autorest" options: @@ -9,6 +12,46 @@ options: output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/servicelinker.json" examples-dir: "{project-root}/examples" arm-resource-flattening: true + "@azure-tools/typespec-csharp": + flavor: azure + package-dir: "Azure.ResourceManager.ServiceLinker" + clear-output-folder: true + model-namespace: true + namespace: "{package-dir}" + "@azure-tools/typespec-python": + package-dir: "azure-mgmt-servicelinker" + namespace: "azure.mgmt.servicelinker" + generate-test: true + generate-sample: true + flavor: "azure" + "@azure-tools/typespec-java": + package-dir: "azure-resourcemanager-servicelinker" + namespace: "com.azure.resourcemanager.servicelinker" + service-name: "ServiceLinker" # human-readable service name, whitespace allowed + flavor: azure + "@azure-tools/typespec-ts": + package-dir: "arm-servicelinker" + flavor: azure + experimental-extensible-enums: true + package-details: + name: "@azure/arm-servicelinker" + "@azure-tools/typespec-go": + service-dir: "sdk/resourcemanager/servicelinker" + package-dir: "armservicelinker" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + fix-const-stuttering: true + flavor: "azure" + generate-samples: true + generate-fakes: true + head-as-boolean: true + inject-spans: true linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" + disable: + "@azure-tools/typespec-azure-core/no-nullable": "backward-compatibility" + "@azure-tools/typespec-azure-core/casing-style": "backward-compatibility" + "@azure-tools/typespec-azure-core/documentation-required": "backward-compatibility" + "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers": "backward-compatibility" + "@azure-tools/typespec-azure-resource-manager/lro-location-header": "backward-compatibility" + "@azure-tools/typespec-azure-resource-manager/arm-resource-operation": "backward-compatibility" diff --git a/specification/servicelinker/output/diff.json b/specification/servicelinker/output/diff.json index 24baa2eb24c7..9f56006113b3 100644 --- a/specification/servicelinker/output/diff.json +++ b/specification/servicelinker/output/diff.json @@ -994,14 +994,6 @@ "get": { "deprecated__deleted": false } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}": { - "patch": { - "x-ms-long-running-operation-options__deleted": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation__deleted": true - } } }, "definitions": { diff --git a/specification/servicelinker/output/newNormalizedSwagger.json b/specification/servicelinker/output/newNormalizedSwagger.json index ad2f6f6b99d3..54260637abb5 100644 --- a/specification/servicelinker/output/newNormalizedSwagger.json +++ b/specification/servicelinker/output/newNormalizedSwagger.json @@ -450,7 +450,11 @@ "PatchLinker": { "$ref": "./examples/PatchLinker.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true }, "delete": { "operationId": "Linker_Delete", diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConfigurationNamesList.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConfigurationNamesList.json index bf974e1fa880..60d23198eeb0 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConfigurationNamesList.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConfigurationNamesList.json @@ -51,4 +51,4 @@ }, "operationId": "ConfigurationNames_List", "title": "GetConfigurationNames" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunCreate.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunCreate.json index 48964481f4ae..0346c23cc778 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunCreate.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunCreate.json @@ -115,4 +115,4 @@ }, "operationId": "Connector_CreateDryrun", "title": "ConnectorDryrunCreate" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunDelete.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunDelete.json index b4bc6bd522f6..ea7e371c8758 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunDelete.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunDelete.json @@ -12,4 +12,4 @@ }, "operationId": "Connector_DeleteDryrun", "title": "ConnectorDryrunDelete" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunGet.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunGet.json index c9e199bef533..3fb1c39a1bd8 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunGet.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunGet.json @@ -32,4 +32,4 @@ }, "operationId": "Connector_GetDryrun", "title": "ConnectorDryrunGet" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunList.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunList.json index ba43d5885965..f7334b46b551 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunList.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunList.json @@ -35,4 +35,4 @@ }, "operationId": "Connector_ListDryrun", "title": "ConnectorDryrunList" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunUpdate.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunUpdate.json index b7409c90d935..a578b7253f90 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunUpdate.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorDryrunUpdate.json @@ -77,4 +77,4 @@ }, "operationId": "Connector_UpdateDryrun", "title": "ConnectorDryrunUpdate" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorList.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorList.json index 750d3149c47f..f517a1d3f1aa 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorList.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ConnectorList.json @@ -33,4 +33,4 @@ }, "operationId": "Connector_List", "title": "ConnectorList" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/Connectors.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/Connectors.json index 4c560b43b977..83de11414221 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/Connectors.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/Connectors.json @@ -42,4 +42,4 @@ }, "operationId": "Connector_Get", "title": "Connector" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/DeleteConnector.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/DeleteConnector.json index 3eb4294d6c1f..de50de9a9ff4 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/DeleteConnector.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/DeleteConnector.json @@ -17,4 +17,4 @@ }, "operationId": "Connector_Delete", "title": "DeleteConnector" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/DeleteDryrun.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/DeleteDryrun.json index e1eaaf7f1eed..c99e971c5f16 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/DeleteDryrun.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/DeleteDryrun.json @@ -10,4 +10,4 @@ }, "operationId": "Linkers_DeleteDryrun", "title": "DeleteDryrun" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/DeleteLinker.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/DeleteLinker.json index af186058a0a4..1790418daf0c 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/DeleteLinker.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/DeleteLinker.json @@ -15,4 +15,4 @@ }, "operationId": "Linker_Delete", "title": "DeleteLinker" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GenerateConfigurations.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GenerateConfigurations.json index ca5f8fe20531..6d20f473edc9 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GenerateConfigurations.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GenerateConfigurations.json @@ -25,4 +25,4 @@ }, "operationId": "Connector_GenerateConfigurations", "title": "GenerateConfiguration" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GetConfigurations.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GetConfigurations.json index 3d6bd602fc50..616117992689 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GetConfigurations.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GetConfigurations.json @@ -40,4 +40,4 @@ }, "operationId": "Linker_ListConfigurations", "title": "GetConfiguration" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GetDaprConfigurations.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GetDaprConfigurations.json index 077fe2b82140..1da585d90c35 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GetDaprConfigurations.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GetDaprConfigurations.json @@ -32,4 +32,4 @@ }, "operationId": "Linkers_ListDaprConfigurations", "title": "GetDaprConfigurations" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GetDryrun.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GetDryrun.json index 8ceadc414c76..cbc968892334 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GetDryrun.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/GetDryrun.json @@ -31,4 +31,4 @@ }, "operationId": "Linkers_GetDryrun", "title": "GetDryrun" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/Linker.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/Linker.json index 1566be855291..bcd55b38ee7d 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/Linker.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/Linker.json @@ -46,4 +46,4 @@ }, "operationId": "Linker_Get", "title": "Linker" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/LinkerGenerateConfigurations.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/LinkerGenerateConfigurations.json index 3f6728e42407..0d2b2d1a745e 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/LinkerGenerateConfigurations.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/LinkerGenerateConfigurations.json @@ -23,4 +23,4 @@ }, "operationId": "Linkers_GenerateConfigurations", "title": "GenerateConfiguration" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/LinkerList.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/LinkerList.json index 7a58e614a517..3a2ee5935b7a 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/LinkerList.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/LinkerList.json @@ -31,4 +31,4 @@ }, "operationId": "Linker_List", "title": "LinkerList" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ListDryrun.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ListDryrun.json index f8aaf9595078..1d51ab23bccc 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ListDryrun.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ListDryrun.json @@ -34,4 +34,4 @@ }, "operationId": "Linkers_ListDryrun", "title": "ListDryrun" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/OperationsList.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/OperationsList.json index d5ee1ae02a92..8e7c1d847200 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/OperationsList.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/OperationsList.json @@ -183,4 +183,4 @@ }, "operationId": "Operations_List", "title": "GetConfiguration" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PatchConnector.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PatchConnector.json index 5798698b7d36..ea476508fcdd 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PatchConnector.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PatchConnector.json @@ -63,4 +63,4 @@ }, "operationId": "Connector_Update", "title": "PatchConnector" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PatchDryrun.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PatchDryrun.json index ab56a39003bf..47d2fb53682b 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PatchDryrun.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PatchDryrun.json @@ -76,4 +76,4 @@ }, "operationId": "Linkers_UpdateDryrun", "title": "PatchDryrun" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PatchLinker.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PatchLinker.json index 21c2ce1c2afe..d59fcdf32b2f 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PatchLinker.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PatchLinker.json @@ -58,4 +58,4 @@ }, "operationId": "Linker_Update", "title": "PatchLinker" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PutConnector.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PutConnector.json index 298b5712c1db..e3d60f16959f 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PutConnector.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PutConnector.json @@ -62,4 +62,4 @@ }, "operationId": "Connector_CreateOrUpdate", "title": "PutConnector" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PutDryrun.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PutDryrun.json index fd0ae0d3ff2a..de373b5f8ce5 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PutDryrun.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PutDryrun.json @@ -115,4 +115,4 @@ }, "operationId": "Linkers_CreateDryrun", "title": "PutDryrun" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PutLinker.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PutLinker.json index d3f649280a07..2dedc0b12bef 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PutLinker.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/PutLinker.json @@ -67,4 +67,4 @@ }, "operationId": "Linker_CreateOrUpdate", "title": "PutLinker" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ValidateConnectorSuccess.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ValidateConnectorSuccess.json index ad6e0f543bfa..0a1b07843312 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ValidateConnectorSuccess.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ValidateConnectorSuccess.json @@ -37,4 +37,4 @@ }, "operationId": "Connector_Validate", "title": "ValidateConnectorSuccess" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ValidateLinkerSuccess.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ValidateLinkerSuccess.json index fc9eda565c90..6225e5426c29 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ValidateLinkerSuccess.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/examples/ValidateLinkerSuccess.json @@ -37,4 +37,4 @@ }, "operationId": "Linker_Validate", "title": "ValidateLinkerSuccess" -} \ No newline at end of file +} diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json index 94cda5868b39..fd90500146b6 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json @@ -589,10 +589,9 @@ "$ref": "#/definitions/LinkerResource" }, "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." + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" } } }, @@ -607,7 +606,11 @@ "PatchLinker": { "$ref": "./examples/PatchLinker.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true }, "delete": { "operationId": "Linker_Delete", From 4039c1d76be2713bdc5aa55075b2d41190a5c24c Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Wed, 21 May 2025 17:13:17 +0800 Subject: [PATCH 10/37] update --- specification/servicelinker/output/diff.json | 1259 -------- .../output/newNormalizedSwagger.json | 2631 ---------------- .../servicelinker/output/newSwagger.json | 2716 ----------------- .../output/oldNormalizedSwagger.json | 2578 ---------------- .../servicelinker/output/oldSwagger.json | 2594 ---------------- 5 files changed, 11778 deletions(-) delete mode 100644 specification/servicelinker/output/diff.json delete mode 100644 specification/servicelinker/output/newNormalizedSwagger.json delete mode 100644 specification/servicelinker/output/newSwagger.json delete mode 100644 specification/servicelinker/output/oldNormalizedSwagger.json delete mode 100644 specification/servicelinker/output/oldSwagger.json diff --git a/specification/servicelinker/output/diff.json b/specification/servicelinker/output/diff.json deleted file mode 100644 index 9f56006113b3..000000000000 --- a/specification/servicelinker/output/diff.json +++ /dev/null @@ -1,1259 +0,0 @@ -{ - "info": { - "x-typespec-generated__added": [ - { - "emitter": "@azure-tools/typespec-autorest" - } - ], - "title": { - "__old": "Microsoft.ServiceLinker", - "__new": "ServiceLinkerManagementClient" - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors__deleted": { - "get": { - "operationId": "Connector_List", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ResourceList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "deprecated": false, - "x-ms-examples": { - "ConnectorList": { - "$ref": "./examples/ConnectorList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}__deleted": { - "get": { - "operationId": "Connector_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Connector": { - "$ref": "./examples/Connectors.json" - } - } - }, - "put": { - "operationId": "Connector_CreateOrUpdate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LinkerResource" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PutConnector": { - "$ref": "./examples/PutConnector.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Connector_Update", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LinkerPatch" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "202": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PatchConnector": { - "$ref": "./examples/PatchConnector.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Connector_Delete", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore" - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "DeleteConnector": { - "$ref": "./examples/DeleteConnector.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/generateConfigurations__deleted": { - "post": { - "operationId": "Connector_GenerateConfigurations", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/ConfigurationInfo" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConfigurationResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GenerateConfiguration": { - "$ref": "./examples/GenerateConfigurations.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/validate__deleted": { - "post": { - "operationId": "Connector_Validate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ValidateOperationResult" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ValidateConnectorSuccess": { - "$ref": "./examples/ValidateConnectorSuccess.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns__deleted": { - "get": { - "operationId": "Connector_ListDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunList": { - "$ref": "./examples/ConnectorDryrunList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}__deleted": { - "get": { - "operationId": "Connector_GetDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunGet": { - "$ref": "./examples/ConnectorDryrunGet.json" - } - } - }, - "put": { - "operationId": "Connector_CreateDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunResource" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunCreate": { - "$ref": "./examples/ConnectorDryrunCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Connector_UpdateDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunPatch" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunUpdate": { - "$ref": "./examples/ConnectorDryrunUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Connector_DeleteDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunDelete": { - "$ref": "./examples/ConnectorDryrunDelete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors__added": { - "get": { - "operationId": "Connector_List", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ResourceList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorList": { - "$ref": "./examples/ConnectorList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}__added": { - "get": { - "operationId": "Connector_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Connector": { - "$ref": "./examples/Connectors.json" - } - } - }, - "put": { - "operationId": "Connector_CreateOrUpdate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LinkerResource" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PutConnector": { - "$ref": "./examples/PutConnector.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Connector_Update", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LinkerPatch" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "202": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PatchConnector": { - "$ref": "./examples/PatchConnector.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Connector_Delete", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore" - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "DeleteConnector": { - "$ref": "./examples/DeleteConnector.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/generateConfigurations__added": { - "post": { - "operationId": "Connector_GenerateConfigurations", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/ConfigurationInfo" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConfigurationResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GenerateConfiguration": { - "$ref": "./examples/GenerateConfigurations.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/validate__added": { - "post": { - "operationId": "Connector_Validate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ValidateOperationResult" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ValidateConnectorSuccess": { - "$ref": "./examples/ValidateConnectorSuccess.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns__added": { - "get": { - "operationId": "Connector_ListDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunList": { - "$ref": "./examples/ConnectorDryrunList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}__added": { - "get": { - "operationId": "Connector_GetDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunGet": { - "$ref": "./examples/ConnectorDryrunGet.json" - } - } - }, - "put": { - "operationId": "Connector_CreateDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunResource" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunCreate": { - "$ref": "./examples/ConnectorDryrunCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Connector_UpdateDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunPatch" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunUpdate": { - "$ref": "./examples/ConnectorDryrunUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Connector_DeleteDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunDelete": { - "$ref": "./examples/ConnectorDryrunDelete.json" - } - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers": { - "get": { - "deprecated__deleted": false - } - } - }, - "definitions": { - "DatabaseAadAuthInfo__deleted": { - "type": "object", - "properties": { - "userName": { - "type": "string", - "x-nullable": true - } - } - }, - "Azure.ResourceManager.ArmResponse__added": { - "type": "object", - "properties": { - "body": { - "$ref": "#/definitions/ValidateOperationResult" - } - }, - "required": [ - "body" - ] - }, - "AccessKeyInfoBase": { - "properties": { - "permissions": { - "items": { - "type__deleted": "string", - "enum__deleted": [ - "Read", - "Write", - "Listen", - "Send", - "Manage" - ], - "x-ms-enum__deleted": { - "name": "accessKeyPermissions", - "modelAsString": true - }, - "$ref__added": "#/definitions/AccessKeyPermissions" - } - } - } - }, - "ConfigurationNameResult": { - "required__added": [ - "value" - ] - }, - "CreateOrUpdateDryrunParameters": { - "properties__added": { - "targetService": { - "$ref": "#/definitions/TargetServiceBase" - }, - "authInfo": { - "$ref": "#/definitions/AuthInfoBase" - }, - "clientType": { - "type": "string", - "enum": [ - "none", - "dotnet", - "java", - "python", - "go", - "php", - "ruby", - "django", - "nodejs", - "springBoot", - "kafka-springBoot", - "jms-springBoot", - "dapr" - ], - "x-ms-enum": { - "name": "ClientType", - "modelAsString": true - } - }, - "provisioningState": { - "type": "string", - "readOnly": true - }, - "vNetSolution": { - "$ref": "#/definitions/VNetSolution", - "x-nullable": true - }, - "secretStore": { - "$ref": "#/definitions/SecretStore", - "x-nullable": true - }, - "scope": { - "type": "string", - "x-nullable": true - }, - "publicNetworkSolution": { - "$ref": "#/definitions/PublicNetworkSolution", - "x-nullable": true - }, - "configurationInfo": { - "$ref": "#/definitions/ConfigurationInfo", - "x-nullable": true - } - }, - "allOf": [ - [ - " " - ], - [ - "-", - { - "$ref": "#/definitions/LinkerProperties" - } - ] - ] - }, - "DaprConfigurationList": { - "required__added": [ - "value" - ] - }, - "DryrunList": { - "required__added": [ - "value" - ] - }, - "DryrunResource": { - "allOf": [ - [ - "~", - { - "description__deleted": "The resource model definition for an Azure Resource Manager proxy resource." - } - ] - ] - }, - "EasyAuthMicrosoftEntraIDAuthInfo": { - "properties": { - "secret": { - "format__added": "password" - } - } - }, - "LinkerPatch": { - "properties": { - "properties": { - "type__deleted": "object" - } - } - }, - "LinkerResource": { - "properties": { - "systemData__deleted": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", - "x-nullable": true, - "readOnly": true - } - }, - "allOf": [ - [ - "~", - { - "description__deleted": "The resource model definition for an Azure Resource Manager proxy resource." - } - ] - ] - }, - "ResourceList": { - "required__added": [ - "value" - ] - }, - "ServicePrincipalCertificateAuthInfo": { - "properties": { - "certificate": { - "format__added": "password" - } - } - }, - "ServicePrincipalSecretAuthInfo": { - "properties": { - "userName__added": { - "type": "string" - }, - "secret": { - "format__added": "password" - } - }, - "allOf": [ - [ - " " - ], - [ - "-", - { - "$ref": "#/definitions/DatabaseAadAuthInfo" - } - ] - ] - }, - "SystemAssignedIdentityAuthInfo": { - "properties": { - "userName__added": { - "type": "string" - } - }, - "allOf": [ - [ - " " - ], - [ - "-", - { - "$ref": "#/definitions/DatabaseAadAuthInfo" - } - ] - ] - }, - "UserAccountAuthInfo": { - "properties": { - "userName__added": { - "type": "string" - } - }, - "allOf": [ - [ - " " - ], - [ - "-", - { - "$ref": "#/definitions/DatabaseAadAuthInfo" - } - ] - ] - }, - "UserAssignedIdentityAuthInfo": { - "properties": { - "userName__added": { - "type": "string" - } - }, - "allOf": [ - [ - " " - ], - [ - "-", - { - "$ref": "#/definitions/DatabaseAadAuthInfo" - } - ] - ] - }, - "ValueSecretInfo": { - "properties": { - "value": { - "format__added": "password" - } - } - } - } -} \ No newline at end of file diff --git a/specification/servicelinker/output/newNormalizedSwagger.json b/specification/servicelinker/output/newNormalizedSwagger.json deleted file mode 100644 index 54260637abb5..000000000000 --- a/specification/servicelinker/output/newNormalizedSwagger.json +++ /dev/null @@ -1,2631 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "ServiceLinkerManagementClient", - "version": "2024-07-01-preview", - "description": "Microsoft.ServiceLinker provider", - "x-typespec-generated": [ - { - "emitter": "@azure-tools/typespec-autorest" - } - ] - }, - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ], - "paths": { - "/{resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations": { - "get": { - "operationId": "Linkers_ListDaprConfigurations", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DaprConfigurationList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetDaprConfigurations": { - "$ref": "./examples/GetDaprConfigurations.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns": { - "get": { - "operationId": "Linkers_ListDryrun", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ListDryrun": { - "$ref": "./examples/ListDryrun.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns/{dryrunName}": { - "get": { - "operationId": "Linkers_GetDryrun", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetDryrun": { - "$ref": "./examples/GetDryrun.json" - } - } - }, - "put": { - "operationId": "Linkers_CreateDryrun", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunResource" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PutDryrun": { - "$ref": "./examples/PutDryrun.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Linkers_UpdateDryrun", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunPatch" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PatchDryrun": { - "$ref": "./examples/PatchDryrun.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Linkers_DeleteDryrun", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "DeleteDryrun": { - "$ref": "./examples/DeleteDryrun.json" - } - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers": { - "get": { - "operationId": "Linker_List", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ResourceList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "LinkerList": { - "$ref": "./examples/LinkerList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}": { - "get": { - "operationId": "Linker_Get", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Linker": { - "$ref": "./examples/Linker.json" - } - } - }, - "put": { - "operationId": "Linker_CreateOrUpdate", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LinkerResource" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PutLinker": { - "$ref": "./examples/PutLinker.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Linker_Update", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LinkerPatch" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PatchLinker": { - "$ref": "./examples/PatchLinker.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Linker_Delete", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore" - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "DeleteLinker": { - "$ref": "./examples/DeleteLinker.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/generateConfigurations": { - "post": { - "operationId": "Linkers_GenerateConfigurations", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/ConfigurationInfo" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConfigurationResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GenerateConfiguration": { - "$ref": "./examples/LinkerGenerateConfigurations.json" - } - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/listConfigurations": { - "post": { - "operationId": "Linker_ListConfigurations", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConfigurationResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetConfiguration": { - "$ref": "./examples/GetConfigurations.json" - } - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/validateLinker": { - "post": { - "operationId": "Linker_Validate", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ValidateOperationResult" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ValidateLinkerSuccess": { - "$ref": "./examples/ValidateLinkerSuccess.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/providers/Microsoft.ServiceLinker/configurationNames": { - "get": { - "operationId": "ConfigurationNames_List", - "parameters": [ - { - "name": "$filter", - "in": "query", - "type": "string" - }, - { - "name": "$skipToken", - "in": "query", - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConfigurationNameResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetConfigurationNames": { - "$ref": "./examples/ConfigurationNamesList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.ServiceLinker/operations": { - "get": { - "operationId": "Operations_List", - "parameters": [], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetConfiguration": { - "$ref": "./examples/OperationsList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors": { - "get": { - "operationId": "Connector_List", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ResourceList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorList": { - "$ref": "./examples/ConnectorList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}": { - "get": { - "operationId": "Connector_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Connector": { - "$ref": "./examples/Connectors.json" - } - } - }, - "put": { - "operationId": "Connector_CreateOrUpdate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LinkerResource" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PutConnector": { - "$ref": "./examples/PutConnector.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Connector_Update", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LinkerPatch" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "202": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PatchConnector": { - "$ref": "./examples/PatchConnector.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Connector_Delete", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore" - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "DeleteConnector": { - "$ref": "./examples/DeleteConnector.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/generateConfigurations": { - "post": { - "operationId": "Connector_GenerateConfigurations", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/ConfigurationInfo" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConfigurationResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GenerateConfiguration": { - "$ref": "./examples/GenerateConfigurations.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/validate": { - "post": { - "operationId": "Connector_Validate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ValidateOperationResult" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ValidateConnectorSuccess": { - "$ref": "./examples/ValidateConnectorSuccess.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns": { - "get": { - "operationId": "Connector_ListDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunList": { - "$ref": "./examples/ConnectorDryrunList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}": { - "get": { - "operationId": "Connector_GetDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunGet": { - "$ref": "./examples/ConnectorDryrunGet.json" - } - } - }, - "put": { - "operationId": "Connector_CreateDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunResource" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunCreate": { - "$ref": "./examples/ConnectorDryrunCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Connector_UpdateDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunPatch" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunUpdate": { - "$ref": "./examples/ConnectorDryrunUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Connector_DeleteDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunDelete": { - "$ref": "./examples/ConnectorDryrunDelete.json" - } - } - } - } - }, - "definitions": { - "AccessKeyInfoBase": { - "type": "object", - "properties": { - "permissions": { - "type": "array", - "items": { - "$ref": "#/definitions/AccessKeyPermissions" - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - } - ], - "x-ms-discriminator-value": "accessKey" - }, - "AuthInfoBase": { - "type": "object", - "properties": { - "authType": { - "type": "string", - "enum": [ - "systemAssignedIdentity", - "userAssignedIdentity", - "servicePrincipalSecret", - "servicePrincipalCertificate", - "secret", - "accessKey", - "userAccount", - "easyAuthMicrosoftEntraID" - ], - "x-ms-enum": { - "name": "AuthType", - "modelAsString": true - } - }, - "authMode": { - "type": "string", - "enum": [ - "optInAllAuth", - "optOutAllAuth" - ], - "x-ms-enum": { - "name": "AuthMode", - "modelAsString": true - } - } - }, - "discriminator": "authType", - "required": [ - "authType" - ] - }, - "Azure.ResourceManager.ArmResponse": { - "type": "object", - "properties": { - "body": { - "$ref": "#/definitions/ValidateOperationResult" - } - }, - "required": [ - "body" - ] - }, - "AzureAppConfigProperties": { - "type": "object", - "properties": { - "connectWithKubernetesExtension": { - "type": "boolean", - "x-nullable": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/AzureResourcePropertiesBase" - } - ], - "x-ms-discriminator-value": "AppConfig" - }, - "AzureKeyVaultProperties": { - "type": "object", - "properties": { - "connectAsKubernetesCsiDriver": { - "type": "boolean", - "x-nullable": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/AzureResourcePropertiesBase" - } - ], - "x-ms-discriminator-value": "KeyVault" - }, - "AzureResource": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "resourceProperties": { - "$ref": "#/definitions/AzureResourcePropertiesBase", - "x-nullable": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/TargetServiceBase" - } - ], - "x-ms-discriminator-value": "AzureResource" - }, - "AzureResourcePropertiesBase": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "KeyVault", - "AppConfig" - ], - "x-ms-enum": { - "name": "AzureResourceType", - "modelAsString": true - } - } - }, - "discriminator": "type", - "required": [ - "type" - ] - }, - "BasicErrorDryrunPrerequisiteResult": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/DryrunPrerequisiteResult" - } - ], - "x-ms-discriminator-value": "basicError" - }, - "ConfigurationInfo": { - "type": "object", - "properties": { - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "action": { - "type": "string", - "enum": [ - "enable", - "optOut" - ], - "x-ms-enum": { - "name": "ActionType", - "modelAsString": true - } - }, - "customizedKeys": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "daprProperties": { - "$ref": "#/definitions/DaprProperties" - }, - "additionalConfigurations": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "additionalConnectionStringProperties": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "configurationStore": { - "$ref": "#/definitions/ConfigurationStore", - "x-nullable": true - } - } - }, - "ConfigurationName": { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "description": { - "type": "string" - }, - "required": { - "type": "boolean" - } - } - }, - "ConfigurationNameItem": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ConfigurationNames", - "x-nullable": true, - "x-ms-client-flatten": true - } - } - }, - "ConfigurationNameResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/ConfigurationNameItem" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - }, - "required": [ - "value" - ] - }, - "ConfigurationNames": { - "type": "object", - "properties": { - "targetService": { - "type": "string" - }, - "clientType": { - "type": "string", - "enum": [ - "none", - "dotnet", - "java", - "python", - "go", - "php", - "ruby", - "django", - "nodejs", - "springBoot", - "kafka-springBoot", - "jms-springBoot", - "dapr" - ], - "x-ms-enum": { - "name": "ClientType", - "modelAsString": true - } - }, - "authType": { - "type": "string", - "enum": [ - "systemAssignedIdentity", - "userAssignedIdentity", - "servicePrincipalSecret", - "servicePrincipalCertificate", - "secret", - "accessKey", - "userAccount", - "easyAuthMicrosoftEntraID" - ], - "x-ms-enum": { - "name": "AuthType", - "modelAsString": true - } - }, - "secretType": { - "type": "string", - "enum": [ - "rawValue", - "keyVaultSecret" - ], - "x-ms-enum": { - "name": "SecretSourceType", - "modelAsString": true - } - }, - "daprProperties": { - "$ref": "#/definitions/DaprProperties" - }, - "names": { - "type": "array", - "items": { - "$ref": "#/definitions/ConfigurationName" - } - } - } - }, - "ConfigurationResult": { - "type": "object", - "properties": { - "configurations": { - "type": "array", - "items": { - "$ref": "#/definitions/SourceConfiguration" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "ConfigurationStore": { - "type": "object", - "properties": { - "appConfigurationId": { - "type": "string", - "x-nullable": true - } - } - }, - "ConfluentBootstrapServer": { - "type": "object", - "properties": { - "endpoint": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/TargetServiceBase" - } - ], - "x-ms-discriminator-value": "ConfluentBootstrapServer" - }, - "ConfluentSchemaRegistry": { - "type": "object", - "properties": { - "endpoint": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/TargetServiceBase" - } - ], - "x-ms-discriminator-value": "ConfluentSchemaRegistry" - }, - "CreateOrUpdateDryrunParameters": { - "type": "object", - "properties": { - "targetService": { - "$ref": "#/definitions/TargetServiceBase" - }, - "authInfo": { - "$ref": "#/definitions/AuthInfoBase" - }, - "clientType": { - "type": "string", - "enum": [ - "none", - "dotnet", - "java", - "python", - "go", - "php", - "ruby", - "django", - "nodejs", - "springBoot", - "kafka-springBoot", - "jms-springBoot", - "dapr" - ], - "x-ms-enum": { - "name": "ClientType", - "modelAsString": true - } - }, - "provisioningState": { - "type": "string", - "readOnly": true - }, - "vNetSolution": { - "$ref": "#/definitions/VNetSolution", - "x-nullable": true - }, - "secretStore": { - "$ref": "#/definitions/SecretStore", - "x-nullable": true - }, - "scope": { - "type": "string", - "x-nullable": true - }, - "publicNetworkSolution": { - "$ref": "#/definitions/PublicNetworkSolution", - "x-nullable": true - }, - "configurationInfo": { - "$ref": "#/definitions/ConfigurationInfo", - "x-nullable": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/DryrunParameters" - } - ], - "x-ms-discriminator-value": "createOrUpdate" - }, - "DaprConfigurationList": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/DaprConfigurationResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - }, - "required": [ - "value" - ] - }, - "DaprConfigurationProperties": { - "type": "object", - "properties": { - "targetType": { - "type": "string" - }, - "authType": { - "type": "string", - "enum": [ - "systemAssignedIdentity", - "userAssignedIdentity", - "servicePrincipalSecret", - "servicePrincipalCertificate", - "secret", - "accessKey", - "userAccount", - "easyAuthMicrosoftEntraID" - ], - "x-ms-enum": { - "name": "AuthType", - "modelAsString": true - } - }, - "daprProperties": { - "$ref": "#/definitions/DaprProperties" - } - } - }, - "DaprConfigurationResource": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/DaprConfigurationProperties", - "x-ms-client-flatten": true - } - } - }, - "DaprMetadata": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - }, - "secretRef": { - "type": "string" - }, - "description": { - "type": "string" - }, - "required": { - "type": "string", - "enum": [ - "true", - "false" - ], - "x-ms-enum": { - "name": "DaprMetadataRequired", - "modelAsString": true - } - } - } - }, - "DaprProperties": { - "type": "object", - "properties": { - "version": { - "type": "string", - "x-nullable": true - }, - "componentType": { - "type": "string", - "x-nullable": true - }, - "secretStoreComponent": { - "type": "string", - "x-nullable": true - }, - "metadata": { - "type": "array", - "items": { - "$ref": "#/definitions/DaprMetadata" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "scopes": { - "type": "array", - "items": { - "type": "string" - } - }, - "runtimeVersion": { - "type": "string", - "x-nullable": true, - "readOnly": true - }, - "bindingComponentDirection": { - "type": "string", - "enum": [ - "input", - "output" - ], - "x-ms-enum": { - "name": "DaprBindingComponentDirection", - "modelAsString": true - }, - "x-nullable": true, - "readOnly": true - } - } - }, - "DryrunList": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/DryrunResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property", - "x-nullable": true - } - }, - "required": [ - "value" - ] - }, - "DryrunOperationPreview": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "operationType": { - "type": "string", - "enum": [ - "configConnection", - "configNetwork", - "configAuth" - ], - "x-ms-enum": { - "name": "DryrunPreviewOperationType", - "modelAsString": true - } - }, - "description": { - "type": "string" - }, - "action": { - "type": "string" - }, - "scope": { - "type": "string" - } - } - }, - "DryrunParameters": { - "type": "object", - "properties": { - "actionName": { - "type": "string", - "enum": [ - "createOrUpdate" - ], - "x-ms-enum": { - "name": "DryrunActionName", - "modelAsString": true - } - } - }, - "discriminator": "actionName", - "required": [ - "actionName" - ] - }, - "DryrunPatch": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/DryrunProperties", - "x-ms-client-flatten": true - } - } - }, - "DryrunPrerequisiteResult": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "basicError", - "permissionsMissing" - ], - "x-ms-enum": { - "name": "DryrunPrerequisiteResultType", - "modelAsString": true - } - } - }, - "discriminator": "type", - "required": [ - "type" - ] - }, - "DryrunProperties": { - "type": "object", - "properties": { - "parameters": { - "$ref": "#/definitions/DryrunParameters" - }, - "prerequisiteResults": { - "type": "array", - "items": { - "$ref": "#/definitions/DryrunPrerequisiteResult" - }, - "readOnly": true - }, - "operationPreviews": { - "type": "array", - "items": { - "$ref": "#/definitions/DryrunOperationPreview" - }, - "readOnly": true - }, - "provisioningState": { - "type": "string", - "readOnly": true - } - } - }, - "DryrunResource": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/DryrunProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ] - }, - "EasyAuthMicrosoftEntraIDAuthInfo": { - "type": "object", - "properties": { - "clientId": { - "type": "string" - }, - "secret": { - "type": "string", - "format": "password", - "x-ms-secret": true - }, - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - } - ], - "x-ms-discriminator-value": "easyAuthMicrosoftEntraID" - }, - "FabricPlatform": { - "type": "object", - "properties": { - "endpoint": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/TargetServiceBase" - } - ], - "x-ms-discriminator-value": "FabricPlatform" - }, - "FirewallRules": { - "type": "object", - "properties": { - "ipRanges": { - "type": "array", - "items": { - "type": "string" - } - }, - "azureServices": { - "type": "string", - "enum": [ - "true", - "false" - ], - "x-ms-enum": { - "name": "AllowType", - "modelAsString": true - } - }, - "callerClientIP": { - "type": "string", - "enum": [ - "true", - "false" - ], - "x-ms-enum": { - "name": "AllowType", - "modelAsString": true - } - } - } - }, - "KeyVaultSecretReferenceSecretInfo": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "version": { - "type": "string", - "x-nullable": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/SecretInfoBase" - } - ], - "x-ms-discriminator-value": "keyVaultSecretReference" - }, - "KeyVaultSecretUriSecretInfo": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/SecretInfoBase" - } - ], - "x-ms-discriminator-value": "keyVaultSecretUri" - }, - "LinkerPatch": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/LinkerProperties", - "x-ms-client-flatten": true - } - } - }, - "LinkerProperties": { - "type": "object", - "properties": { - "targetService": { - "$ref": "#/definitions/TargetServiceBase" - }, - "authInfo": { - "$ref": "#/definitions/AuthInfoBase" - }, - "clientType": { - "type": "string", - "enum": [ - "none", - "dotnet", - "java", - "python", - "go", - "php", - "ruby", - "django", - "nodejs", - "springBoot", - "kafka-springBoot", - "jms-springBoot", - "dapr" - ], - "x-ms-enum": { - "name": "ClientType", - "modelAsString": true - } - }, - "provisioningState": { - "type": "string", - "readOnly": true - }, - "vNetSolution": { - "$ref": "#/definitions/VNetSolution", - "x-nullable": true - }, - "secretStore": { - "$ref": "#/definitions/SecretStore", - "x-nullable": true - }, - "scope": { - "type": "string", - "x-nullable": true - }, - "publicNetworkSolution": { - "$ref": "#/definitions/PublicNetworkSolution", - "x-nullable": true - }, - "configurationInfo": { - "$ref": "#/definitions/ConfigurationInfo", - "x-nullable": true - } - } - }, - "LinkerResource": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/LinkerProperties", - "x-ms-client-flatten": true - } - }, - "required": [ - "properties" - ], - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ] - }, - "PermissionsMissingDryrunPrerequisiteResult": { - "type": "object", - "properties": { - "scope": { - "type": "string" - }, - "permissions": { - "type": "array", - "items": { - "type": "string" - } - }, - "recommendedRole": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/DryrunPrerequisiteResult" - } - ], - "x-ms-discriminator-value": "permissionsMissing" - }, - "PublicNetworkSolution": { - "type": "object", - "properties": { - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "action": { - "type": "string", - "enum": [ - "enable", - "optOut" - ], - "x-ms-enum": { - "name": "ActionType", - "modelAsString": true - } - }, - "firewallRules": { - "$ref": "#/definitions/FirewallRules" - } - } - }, - "ResourceList": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/LinkerResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property", - "x-nullable": true - } - }, - "required": [ - "value" - ] - }, - "SecretAuthInfo": { - "type": "object", - "properties": { - "name": { - "type": "string", - "x-nullable": true - }, - "secretInfo": { - "$ref": "#/definitions/SecretInfoBase", - "x-nullable": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - } - ], - "x-ms-discriminator-value": "secret" - }, - "SecretInfoBase": { - "type": "object", - "properties": { - "secretType": { - "type": "string", - "enum": [ - "rawValue", - "keyVaultSecretUri", - "keyVaultSecretReference" - ], - "x-ms-enum": { - "name": "SecretType", - "modelAsString": true - } - } - }, - "discriminator": "secretType", - "required": [ - "secretType" - ] - }, - "SecretStore": { - "type": "object", - "properties": { - "keyVaultId": { - "type": "string", - "x-nullable": true - }, - "keyVaultSecretName": { - "type": "string", - "x-nullable": true - } - } - }, - "SelfHostedServer": { - "type": "object", - "properties": { - "endpoint": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/TargetServiceBase" - } - ], - "x-ms-discriminator-value": "SelfHostedServer" - }, - "ServicePrincipalCertificateAuthInfo": { - "type": "object", - "properties": { - "clientId": { - "type": "string" - }, - "principalId": { - "type": "string" - }, - "certificate": { - "type": "string", - "format": "password", - "x-ms-secret": true - }, - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "certificate", - "clientId", - "principalId" - ], - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - } - ], - "x-ms-discriminator-value": "servicePrincipalCertificate" - }, - "ServicePrincipalSecretAuthInfo": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "clientId": { - "type": "string" - }, - "principalId": { - "type": "string" - }, - "secret": { - "type": "string", - "format": "password", - "x-ms-secret": true - }, - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "clientId", - "principalId", - "secret" - ], - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - } - ], - "x-ms-discriminator-value": "servicePrincipalSecret" - }, - "SourceConfiguration": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string", - "x-nullable": true - }, - "configType": { - "type": "string", - "enum": [ - "Default", - "KeyVaultSecret" - ], - "x-ms-enum": { - "name": "LinkerConfigurationType", - "modelAsString": true - }, - "readOnly": true - }, - "keyVaultReferenceIdentity": { - "type": "string", - "x-nullable": true - }, - "description": { - "type": "string", - "x-nullable": true - } - } - }, - "SystemAssignedIdentityAuthInfo": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - } - ], - "x-ms-discriminator-value": "systemAssignedIdentity" - }, - "TargetServiceBase": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "AzureResource", - "ConfluentBootstrapServer", - "ConfluentSchemaRegistry", - "SelfHostedServer", - "FabricPlatform" - ], - "x-ms-enum": { - "name": "TargetServiceType", - "modelAsString": true - } - } - }, - "discriminator": "type", - "required": [ - "type" - ] - }, - "UserAccountAuthInfo": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "principalId": { - "type": "string" - }, - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - } - ], - "x-ms-discriminator-value": "userAccount" - }, - "UserAssignedIdentityAuthInfo": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "clientId": { - "type": "string" - }, - "subscriptionId": { - "type": "string" - }, - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - } - ], - "x-ms-discriminator-value": "userAssignedIdentity" - }, - "VNetSolution": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "serviceEndpoint", - "privateLink" - ], - "x-ms-enum": { - "name": "VNetSolutionType", - "modelAsString": true - }, - "x-nullable": true - }, - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - } - } - }, - "ValidateOperationResult": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ValidateResult", - "x-nullable": true, - "x-ms-client-flatten": true - }, - "resourceId": { - "type": "string", - "x-nullable": true - }, - "status": { - "type": "string", - "x-nullable": true - } - } - }, - "ValidateResult": { - "type": "object", - "properties": { - "linkerName": { - "type": "string", - "x-nullable": true - }, - "isConnectionAvailable": { - "type": "boolean", - "x-nullable": true - }, - "reportStartTimeUtc": { - "type": "string", - "format": "date-time", - "x-nullable": true - }, - "reportEndTimeUtc": { - "type": "string", - "format": "date-time", - "x-nullable": true - }, - "sourceId": { - "type": "string", - "x-nullable": true - }, - "targetId": { - "type": "string", - "x-nullable": true - }, - "authType": { - "type": "string", - "enum": [ - "systemAssignedIdentity", - "userAssignedIdentity", - "servicePrincipalSecret", - "servicePrincipalCertificate", - "secret", - "accessKey", - "userAccount", - "easyAuthMicrosoftEntraID" - ], - "x-ms-enum": { - "name": "AuthType", - "modelAsString": true - }, - "x-nullable": true - }, - "validationDetail": { - "type": "array", - "items": { - "$ref": "#/definitions/ValidationResultItem" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "ValidationResultItem": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "description": { - "type": "string", - "x-nullable": true - }, - "result": { - "type": "string", - "enum": [ - "success", - "failure", - "warning" - ], - "x-ms-enum": { - "name": "ValidationResultStatus", - "modelAsString": true - }, - "x-nullable": true - }, - "errorMessage": { - "type": "string", - "x-nullable": true - }, - "errorCode": { - "type": "string", - "x-nullable": true - } - } - }, - "ValueSecretInfo": { - "type": "object", - "properties": { - "value": { - "type": "string", - "format": "password", - "x-nullable": true, - "x-ms-secret": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/SecretInfoBase" - } - ], - "x-ms-discriminator-value": "rawValue" - } - }, - "parameters": {} -} \ No newline at end of file diff --git a/specification/servicelinker/output/newSwagger.json b/specification/servicelinker/output/newSwagger.json deleted file mode 100644 index f561bc9b65ac..000000000000 --- a/specification/servicelinker/output/newSwagger.json +++ /dev/null @@ -1,2716 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "ServiceLinkerManagementClient", - "version": "2024-07-01-preview", - "description": "Microsoft.ServiceLinker provider", - "x-typespec-generated": [ - { - "emitter": "@azure-tools/typespec-autorest" - } - ] - }, - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ], - "paths": { - "/{resourceUri}/{providers}/{resourceUri}/connectors": { - "get": { - "operationId": "Linker_List", - "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ResourceList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "LinkerList": { - "$ref": "./examples/LinkerList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/{resourceUri}/{providers}/{resourceUri}/dryruns": { - "get": { - "operationId": "Linkers_ListDryrun", - "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ListDryrun": { - "$ref": "./examples/ListDryrun.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{dryruns}/{resourceUri}/{dryrunName}": { - "get": { - "operationId": "Linkers_GetDryrun", - "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "dryruns", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetDryrun": { - "$ref": "./examples/GetDryrun.json" - } - } - }, - "put": { - "operationId": "Linkers_CreateDryrun", - "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "dryruns", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunResource" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PutDryrun": { - "$ref": "./examples/PutDryrun.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Linkers_UpdateDryrun", - "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "dryruns", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunPatch" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PatchDryrun": { - "$ref": "./examples/PatchDryrun.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "original-uri" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Linkers_DeleteDryrun", - "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "dryruns", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "DeleteDryrun": { - "$ref": "./examples/DeleteDryrun.json" - } - } - } - }, - "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}": { - "get": { - "operationId": "Linker_Get", - "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Linker": { - "$ref": "./examples/Linker.json" - } - } - }, - "put": { - "operationId": "Linker_CreateOrUpdate", - "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LinkerResource" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PutLinker": { - "$ref": "./examples/PutLinker.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Linker_Update", - "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LinkerPatch" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PatchLinker": { - "$ref": "./examples/PatchLinker.json" - } - } - }, - "delete": { - "operationId": "Linker_Delete", - "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore" - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "DeleteLinker": { - "$ref": "./examples/DeleteLinker.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - } - }, - "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/generateConfigurations": { - "post": { - "operationId": "Linkers_GenerateConfigurations", - "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/ConfigurationInfo" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConfigurationResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GenerateConfiguration": { - "$ref": "./examples/LinkerGenerateConfigurations.json" - } - } - } - }, - "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/listConfigurations": { - "post": { - "operationId": "Linker_ListConfigurations", - "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConfigurationResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetConfiguration": { - "$ref": "./examples/GetConfigurations.json" - } - } - } - }, - "/{resourceUri}/{providers}/Microsoft.ServiceLinker/{linkers}/{resourceUri}/{linkerName}/validateLinker": { - "post": { - "operationId": "Linker_Validate", - "parameters": [ - { - "name": "providers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkers", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ValidateOperationResult" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ValidateLinkerSuccess": { - "$ref": "./examples/ValidateLinkerSuccess.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations": { - "get": { - "operationId": "Linkers_ListDaprConfigurations", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DaprConfigurationList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetDaprConfigurations": { - "$ref": "./examples/GetDaprConfigurations.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.ServiceLinker/configurationNames": { - "get": { - "operationId": "ConfigurationNames_List", - "parameters": [ - { - "name": "$filter", - "in": "query", - "type": "string" - }, - { - "name": "$skipToken", - "in": "query", - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConfigurationNameResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetConfigurationNames": { - "$ref": "./examples/ConfigurationNamesList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.ServiceLinker/operations": { - "get": { - "operationId": "Operations_List", - "parameters": [], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetConfiguration": { - "$ref": "./examples/OperationsList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors": { - "get": { - "operationId": "Connector_List", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ResourceList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorList": { - "$ref": "./examples/ConnectorList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}": { - "get": { - "operationId": "Connector_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Connector": { - "$ref": "./examples/Connectors.json" - } - } - }, - "put": { - "operationId": "Connector_CreateOrUpdate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LinkerResource" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PutConnector": { - "$ref": "./examples/PutConnector.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Connector_Update", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LinkerPatch" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "202": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PatchConnector": { - "$ref": "./examples/PatchConnector.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Connector_Delete", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore" - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "DeleteConnector": { - "$ref": "./examples/DeleteConnector.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/generateConfigurations": { - "post": { - "operationId": "Connector_GenerateConfigurations", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/ConfigurationInfo" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConfigurationResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GenerateConfiguration": { - "$ref": "./examples/GenerateConfigurations.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/validate": { - "post": { - "operationId": "Connector_Validate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ValidateOperationResult" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ValidateConnectorSuccess": { - "$ref": "./examples/ValidateConnectorSuccess.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns": { - "get": { - "operationId": "Connector_ListDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunList": { - "$ref": "./examples/ConnectorDryrunList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}": { - "get": { - "operationId": "Connector_GetDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunGet": { - "$ref": "./examples/ConnectorDryrunGet.json" - } - } - }, - "put": { - "operationId": "Connector_CreateDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunResource" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunCreate": { - "$ref": "./examples/ConnectorDryrunCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Connector_UpdateDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunPatch" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunUpdate": { - "$ref": "./examples/ConnectorDryrunUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "original-uri" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Connector_DeleteDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunDelete": { - "$ref": "./examples/ConnectorDryrunDelete.json" - } - } - } - } - }, - "definitions": { - "AccessKeyInfoBase": { - "type": "object", - "properties": { - "permissions": { - "type": "array", - "items": { - "$ref": "#/definitions/AccessKeyPermissions" - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - } - ], - "x-ms-discriminator-value": "accessKey" - }, - "AuthInfoBase": { - "type": "object", - "properties": { - "authType": { - "type": "string", - "enum": [ - "systemAssignedIdentity", - "userAssignedIdentity", - "servicePrincipalSecret", - "servicePrincipalCertificate", - "secret", - "accessKey", - "userAccount", - "easyAuthMicrosoftEntraID" - ], - "x-ms-enum": { - "name": "AuthType", - "modelAsString": true - } - }, - "authMode": { - "type": "string", - "enum": [ - "optInAllAuth", - "optOutAllAuth" - ], - "x-ms-enum": { - "name": "AuthMode", - "modelAsString": true - } - } - }, - "discriminator": "authType", - "required": [ - "authType" - ] - }, - "Azure.ResourceManager.ArmResponse": { - "type": "object", - "properties": { - "body": { - "$ref": "#/definitions/DryrunResource" - } - }, - "required": [ - "body" - ] - }, - "Azure.ResourceManager.ArmResponse": { - "type": "object", - "properties": { - "body": { - "$ref": "#/definitions/ValidateOperationResult" - } - }, - "required": [ - "body" - ] - }, - "AzureAppConfigProperties": { - "type": "object", - "properties": { - "connectWithKubernetesExtension": { - "type": "boolean" - } - }, - "allOf": [ - { - "$ref": "#/definitions/AzureResourcePropertiesBase" - } - ], - "x-ms-discriminator-value": "AppConfig" - }, - "AzureKeyVaultProperties": { - "type": "object", - "properties": { - "connectAsKubernetesCsiDriver": { - "type": "boolean" - } - }, - "allOf": [ - { - "$ref": "#/definitions/AzureResourcePropertiesBase" - } - ], - "x-ms-discriminator-value": "KeyVault" - }, - "AzureResource": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "resourceProperties": { - "$ref": "#/definitions/AzureResourcePropertiesBase" - } - }, - "allOf": [ - { - "$ref": "#/definitions/TargetServiceBase" - } - ], - "x-ms-discriminator-value": "AzureResource" - }, - "AzureResourcePropertiesBase": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "KeyVault", - "AppConfig" - ], - "x-ms-enum": { - "name": "AzureResourceType", - "modelAsString": true - } - } - }, - "discriminator": "type", - "required": [ - "type" - ] - }, - "BasicErrorDryrunPrerequisiteResult": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/DryrunPrerequisiteResult" - } - ], - "x-ms-discriminator-value": "basicError" - }, - "ConfigurationInfo": { - "type": "object", - "properties": { - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "action": { - "type": "string", - "enum": [ - "Internal" - ], - "x-ms-enum": { - "name": "ActionType", - "modelAsString": true - } - }, - "customizedKeys": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "daprProperties": { - "$ref": "#/definitions/DaprProperties" - }, - "additionalConfigurations": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "additionalConnectionStringProperties": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "configurationStore": { - "$ref": "#/definitions/ConfigurationStore" - } - } - }, - "ConfigurationName": { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "description": { - "type": "string" - }, - "required": { - "type": "boolean" - } - } - }, - "ConfigurationNameItem": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ConfigurationNames", - "x-ms-client-flatten": true - } - } - }, - "ConfigurationNameResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/ConfigurationNameItem" - }, - "x-ms-identifiers": [] - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - }, - "required": [ - "value" - ] - }, - "ConfigurationNames": { - "type": "object", - "properties": { - "targetService": { - "type": "string" - }, - "clientType": { - "type": "string", - "enum": [ - "none", - "dotnet", - "java", - "python", - "go", - "php", - "ruby", - "django", - "nodejs", - "springBoot", - "kafka-springBoot", - "jms-springBoot", - "dapr" - ], - "x-ms-enum": { - "name": "ClientType", - "modelAsString": true - } - }, - "authType": { - "type": "string", - "enum": [ - "systemAssignedIdentity", - "userAssignedIdentity", - "servicePrincipalSecret", - "servicePrincipalCertificate", - "secret", - "accessKey", - "userAccount", - "easyAuthMicrosoftEntraID" - ], - "x-ms-enum": { - "name": "AuthType", - "modelAsString": true - } - }, - "secretType": { - "type": "string", - "enum": [ - "rawValue", - "keyVaultSecret" - ], - "x-ms-enum": { - "name": "SecretSourceType", - "modelAsString": true - } - }, - "daprProperties": { - "$ref": "#/definitions/DaprProperties" - }, - "names": { - "type": "array", - "items": { - "$ref": "#/definitions/ConfigurationName" - }, - "x-ms-identifiers": [] - } - } - }, - "ConfigurationResult": { - "type": "object", - "properties": { - "configurations": { - "type": "array", - "items": { - "$ref": "#/definitions/SourceConfiguration" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "ConfigurationStore": { - "type": "object", - "properties": { - "appConfigurationId": { - "type": "string" - } - } - }, - "ConfluentBootstrapServer": { - "type": "object", - "properties": { - "endpoint": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/TargetServiceBase" - } - ], - "x-ms-discriminator-value": "ConfluentBootstrapServer" - }, - "ConfluentSchemaRegistry": { - "type": "object", - "properties": { - "endpoint": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/TargetServiceBase" - } - ], - "x-ms-discriminator-value": "ConfluentSchemaRegistry" - }, - "CreateOrUpdateDryrunParameters": { - "type": "object", - "properties": { - "targetService": { - "$ref": "#/definitions/TargetServiceBase" - }, - "authInfo": { - "$ref": "#/definitions/AuthInfoBase" - }, - "clientType": { - "type": "string", - "enum": [ - "none", - "dotnet", - "java", - "python", - "go", - "php", - "ruby", - "django", - "nodejs", - "springBoot", - "kafka-springBoot", - "jms-springBoot", - "dapr" - ], - "x-ms-enum": { - "name": "ClientType", - "modelAsString": true - } - }, - "provisioningState": { - "type": "string", - "readOnly": true - }, - "vNetSolution": { - "$ref": "#/definitions/VNetSolution" - }, - "secretStore": { - "$ref": "#/definitions/SecretStore" - }, - "scope": { - "type": "string" - }, - "publicNetworkSolution": { - "$ref": "#/definitions/PublicNetworkSolution" - }, - "configurationInfo": { - "$ref": "#/definitions/ConfigurationInfo" - } - }, - "allOf": [ - { - "$ref": "#/definitions/DryrunParameters" - } - ], - "x-ms-discriminator-value": "createOrUpdate" - }, - "DaprConfigurationList": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/DaprConfigurationResource" - }, - "x-ms-identifiers": [] - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - }, - "required": [ - "value" - ] - }, - "DaprConfigurationProperties": { - "type": "object", - "properties": { - "targetType": { - "type": "string" - }, - "authType": { - "type": "string", - "enum": [ - "systemAssignedIdentity", - "userAssignedIdentity", - "servicePrincipalSecret", - "servicePrincipalCertificate", - "secret", - "accessKey", - "userAccount", - "easyAuthMicrosoftEntraID" - ], - "x-ms-enum": { - "name": "AuthType", - "modelAsString": true - } - }, - "daprProperties": { - "$ref": "#/definitions/DaprProperties" - } - } - }, - "DaprConfigurationResource": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/DaprConfigurationProperties", - "x-ms-client-flatten": true - } - } - }, - "DaprMetadata": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - }, - "secretRef": { - "type": "string" - }, - "description": { - "type": "string" - }, - "required": { - "type": "string", - "enum": [ - "true", - "false" - ], - "x-ms-enum": { - "name": "DaprMetadataRequired", - "modelAsString": true - } - } - } - }, - "DaprProperties": { - "type": "object", - "properties": { - "version": { - "type": "string" - }, - "componentType": { - "type": "string" - }, - "secretStoreComponent": { - "type": "string" - }, - "metadata": { - "type": "array", - "items": { - "$ref": "#/definitions/DaprMetadata" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "scopes": { - "type": "array", - "items": { - "type": "string" - } - }, - "runtimeVersion": { - "type": "string", - "readOnly": true - }, - "bindingComponentDirection": { - "type": "string", - "enum": [ - "input", - "output" - ], - "x-ms-enum": { - "name": "DaprBindingComponentDirection", - "modelAsString": true - }, - "readOnly": true - } - } - }, - "DryrunList": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/DryrunResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - }, - "required": [ - "value" - ] - }, - "DryrunOperationPreview": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "operationType": { - "type": "string", - "enum": [ - "configConnection", - "configNetwork", - "configAuth" - ], - "x-ms-enum": { - "name": "DryrunPreviewOperationType", - "modelAsString": true - } - }, - "description": { - "type": "string" - }, - "action": { - "type": "string" - }, - "scope": { - "type": "string" - } - } - }, - "DryrunParameters": { - "type": "object", - "properties": { - "actionName": { - "type": "string", - "enum": [ - "createOrUpdate" - ], - "x-ms-enum": { - "name": "DryrunActionName", - "modelAsString": true - } - } - }, - "discriminator": "actionName", - "required": [ - "actionName" - ] - }, - "DryrunPatch": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/DryrunProperties", - "x-ms-client-flatten": true - } - } - }, - "DryrunPrerequisiteResult": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "basicError", - "permissionsMissing" - ], - "x-ms-enum": { - "name": "DryrunPrerequisiteResultType", - "modelAsString": true - } - } - }, - "discriminator": "type", - "required": [ - "type" - ] - }, - "DryrunProperties": { - "type": "object", - "properties": { - "parameters": { - "$ref": "#/definitions/DryrunParameters" - }, - "prerequisiteResults": { - "type": "array", - "items": { - "$ref": "#/definitions/DryrunPrerequisiteResult" - }, - "readOnly": true, - "x-ms-identifiers": [] - }, - "operationPreviews": { - "type": "array", - "items": { - "$ref": "#/definitions/DryrunOperationPreview" - }, - "readOnly": true, - "x-ms-identifiers": [] - }, - "provisioningState": { - "type": "string", - "readOnly": true - } - } - }, - "DryrunResource": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/DryrunProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ] - }, - "EasyAuthMicrosoftEntraIDAuthInfo": { - "type": "object", - "properties": { - "clientId": { - "type": "string" - }, - "secret": { - "type": "string" - }, - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - } - ], - "x-ms-discriminator-value": "easyAuthMicrosoftEntraID" - }, - "FabricPlatform": { - "type": "object", - "properties": { - "endpoint": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/TargetServiceBase" - } - ], - "x-ms-discriminator-value": "FabricPlatform" - }, - "FirewallRules": { - "type": "object", - "properties": { - "ipRanges": { - "type": "array", - "items": { - "type": "string" - } - }, - "azureServices": { - "type": "string", - "enum": [ - "true", - "false" - ], - "x-ms-enum": { - "name": "AllowType", - "modelAsString": true - } - }, - "callerClientIP": { - "type": "string", - "enum": [ - "true", - "false" - ], - "x-ms-enum": { - "name": "AllowType", - "modelAsString": true - } - } - } - }, - "KeyVaultSecretReferenceSecretInfo": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "version": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/SecretInfoBase" - } - ], - "x-ms-discriminator-value": "keyVaultSecretReference" - }, - "KeyVaultSecretUriSecretInfo": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/SecretInfoBase" - } - ], - "x-ms-discriminator-value": "keyVaultSecretUri" - }, - "LinkerPatch": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/LinkerProperties", - "x-ms-client-flatten": true - } - } - }, - "LinkerProperties": { - "type": "object", - "properties": { - "targetService": { - "$ref": "#/definitions/TargetServiceBase" - }, - "authInfo": { - "$ref": "#/definitions/AuthInfoBase" - }, - "clientType": { - "type": "string", - "enum": [ - "none", - "dotnet", - "java", - "python", - "go", - "php", - "ruby", - "django", - "nodejs", - "springBoot", - "kafka-springBoot", - "jms-springBoot", - "dapr" - ], - "x-ms-enum": { - "name": "ClientType", - "modelAsString": true - } - }, - "provisioningState": { - "type": "string", - "readOnly": true - }, - "vNetSolution": { - "$ref": "#/definitions/VNetSolution" - }, - "secretStore": { - "$ref": "#/definitions/SecretStore" - }, - "scope": { - "type": "string" - }, - "publicNetworkSolution": { - "$ref": "#/definitions/PublicNetworkSolution" - }, - "configurationInfo": { - "$ref": "#/definitions/ConfigurationInfo" - } - } - }, - "LinkerResource": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/LinkerProperties", - "x-ms-client-flatten": true - } - }, - "required": [ - "properties" - ], - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ] - }, - "PermissionsMissingDryrunPrerequisiteResult": { - "type": "object", - "properties": { - "scope": { - "type": "string" - }, - "permissions": { - "type": "array", - "items": { - "type": "string" - } - }, - "recommendedRole": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/DryrunPrerequisiteResult" - } - ], - "x-ms-discriminator-value": "permissionsMissing" - }, - "PublicNetworkSolution": { - "type": "object", - "properties": { - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "action": { - "type": "string", - "enum": [ - "Internal" - ], - "x-ms-enum": { - "name": "ActionType", - "modelAsString": true - } - }, - "firewallRules": { - "$ref": "#/definitions/FirewallRules" - } - } - }, - "ResourceList": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/LinkerResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - }, - "required": [ - "value" - ] - }, - "SecretAuthInfo": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "secretInfo": { - "$ref": "#/definitions/SecretInfoBase" - } - }, - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - } - ], - "x-ms-discriminator-value": "secret" - }, - "SecretInfoBase": { - "type": "object", - "properties": { - "secretType": { - "type": "string", - "enum": [ - "rawValue", - "keyVaultSecretUri", - "keyVaultSecretReference" - ], - "x-ms-enum": { - "name": "SecretType", - "modelAsString": true - } - } - }, - "discriminator": "secretType", - "required": [ - "secretType" - ] - }, - "SecretStore": { - "type": "object", - "properties": { - "keyVaultId": { - "type": "string" - }, - "keyVaultSecretName": { - "type": "string" - } - } - }, - "SelfHostedServer": { - "type": "object", - "properties": { - "endpoint": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/TargetServiceBase" - } - ], - "x-ms-discriminator-value": "SelfHostedServer" - }, - "ServicePrincipalCertificateAuthInfo": { - "type": "object", - "properties": { - "clientId": { - "type": "string" - }, - "principalId": { - "type": "string" - }, - "certificate": { - "type": "string" - }, - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "certificate", - "clientId", - "principalId" - ], - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - } - ], - "x-ms-discriminator-value": "servicePrincipalCertificate" - }, - "ServicePrincipalSecretAuthInfo": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "clientId": { - "type": "string" - }, - "principalId": { - "type": "string" - }, - "secret": { - "type": "string" - }, - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "clientId", - "principalId", - "secret" - ], - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - } - ], - "x-ms-discriminator-value": "servicePrincipalSecret" - }, - "SourceConfiguration": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - }, - "configType": { - "type": "string", - "enum": [ - "Default", - "KeyVaultSecret" - ], - "x-ms-enum": { - "name": "LinkerConfigurationType", - "modelAsString": true - }, - "readOnly": true - }, - "keyVaultReferenceIdentity": { - "type": "string" - }, - "description": { - "type": "string" - } - } - }, - "SystemAssignedIdentityAuthInfo": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - } - ], - "x-ms-discriminator-value": "systemAssignedIdentity" - }, - "TargetServiceBase": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "AzureResource", - "ConfluentBootstrapServer", - "ConfluentSchemaRegistry", - "SelfHostedServer", - "FabricPlatform" - ], - "x-ms-enum": { - "name": "TargetServiceType", - "modelAsString": true - } - } - }, - "discriminator": "type", - "required": [ - "type" - ] - }, - "UserAccountAuthInfo": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "principalId": { - "type": "string" - }, - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - } - ], - "x-ms-discriminator-value": "userAccount" - }, - "UserAssignedIdentityAuthInfo": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "clientId": { - "type": "string" - }, - "subscriptionId": { - "type": "string" - }, - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - } - ], - "x-ms-discriminator-value": "userAssignedIdentity" - }, - "VNetSolution": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "serviceEndpoint", - "privateLink" - ], - "x-ms-enum": { - "name": "VNetSolutionType", - "modelAsString": true - } - }, - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - } - } - }, - "ValidateOperationResult": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ValidateResult", - "x-ms-client-flatten": true - }, - "resourceId": { - "type": "string" - }, - "status": { - "type": "string" - } - } - }, - "ValidateResult": { - "type": "object", - "properties": { - "linkerName": { - "type": "string" - }, - "isConnectionAvailable": { - "type": "boolean" - }, - "reportStartTimeUtc": { - "type": "string", - "format": "date-time" - }, - "reportEndTimeUtc": { - "type": "string", - "format": "date-time" - }, - "sourceId": { - "type": "string" - }, - "targetId": { - "type": "string" - }, - "authType": { - "type": "string", - "enum": [ - "systemAssignedIdentity", - "userAssignedIdentity", - "servicePrincipalSecret", - "servicePrincipalCertificate", - "secret", - "accessKey", - "userAccount", - "easyAuthMicrosoftEntraID" - ], - "x-ms-enum": { - "name": "AuthType", - "modelAsString": true - } - }, - "validationDetail": { - "type": "array", - "items": { - "$ref": "#/definitions/ValidationResultItem" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "ValidationResultItem": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "result": { - "type": "string", - "enum": [ - "success", - "failure", - "warning" - ], - "x-ms-enum": { - "name": "ValidationResultStatus", - "modelAsString": true - } - }, - "errorMessage": { - "type": "string" - }, - "errorCode": { - "type": "string" - } - } - }, - "ValueSecretInfo": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/SecretInfoBase" - } - ], - "x-ms-discriminator-value": "rawValue" - } - }, - "parameters": {} -} \ No newline at end of file diff --git a/specification/servicelinker/output/oldNormalizedSwagger.json b/specification/servicelinker/output/oldNormalizedSwagger.json deleted file mode 100644 index b703dd9b2769..000000000000 --- a/specification/servicelinker/output/oldNormalizedSwagger.json +++ /dev/null @@ -1,2578 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Microsoft.ServiceLinker", - "version": "2024-07-01-preview", - "description": "Microsoft.ServiceLinker provider" - }, - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ], - "paths": { - "/{resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations": { - "get": { - "operationId": "Linkers_ListDaprConfigurations", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DaprConfigurationList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetDaprConfigurations": { - "$ref": "./examples/GetDaprConfigurations.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns": { - "get": { - "operationId": "Linkers_ListDryrun", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ListDryrun": { - "$ref": "./examples/ListDryrun.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns/{dryrunName}": { - "get": { - "operationId": "Linkers_GetDryrun", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetDryrun": { - "$ref": "./examples/GetDryrun.json" - } - } - }, - "put": { - "operationId": "Linkers_CreateDryrun", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunResource" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PutDryrun": { - "$ref": "./examples/PutDryrun.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Linkers_UpdateDryrun", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunPatch" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PatchDryrun": { - "$ref": "./examples/PatchDryrun.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Linkers_DeleteDryrun", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "DeleteDryrun": { - "$ref": "./examples/DeleteDryrun.json" - } - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers": { - "get": { - "operationId": "Linker_List", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ResourceList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "deprecated": false, - "x-ms-examples": { - "LinkerList": { - "$ref": "./examples/LinkerList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}": { - "get": { - "operationId": "Linker_Get", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Linker": { - "$ref": "./examples/Linker.json" - } - } - }, - "put": { - "operationId": "Linker_CreateOrUpdate", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LinkerResource" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PutLinker": { - "$ref": "./examples/PutLinker.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Linker_Update", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LinkerPatch" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PatchLinker": { - "$ref": "./examples/PatchLinker.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Linker_Delete", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore" - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "DeleteLinker": { - "$ref": "./examples/DeleteLinker.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/generateConfigurations": { - "post": { - "operationId": "Linkers_GenerateConfigurations", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/ConfigurationInfo" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConfigurationResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GenerateConfiguration": { - "$ref": "./examples/LinkerGenerateConfigurations.json" - } - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/listConfigurations": { - "post": { - "operationId": "Linker_ListConfigurations", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConfigurationResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetConfiguration": { - "$ref": "./examples/GetConfigurations.json" - } - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/validateLinker": { - "post": { - "operationId": "Linker_Validate", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ValidateOperationResult" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ValidateLinkerSuccess": { - "$ref": "./examples/ValidateLinkerSuccess.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/providers/Microsoft.ServiceLinker/configurationNames": { - "get": { - "operationId": "ConfigurationNames_List", - "parameters": [ - { - "name": "$filter", - "in": "query", - "type": "string" - }, - { - "name": "$skipToken", - "in": "query", - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConfigurationNameResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetConfigurationNames": { - "$ref": "./examples/ConfigurationNamesList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.ServiceLinker/operations": { - "get": { - "operationId": "Operations_List", - "parameters": [], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetConfiguration": { - "$ref": "./examples/OperationsList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors": { - "get": { - "operationId": "Connector_List", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ResourceList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "deprecated": false, - "x-ms-examples": { - "ConnectorList": { - "$ref": "./examples/ConnectorList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}": { - "get": { - "operationId": "Connector_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Connector": { - "$ref": "./examples/Connectors.json" - } - } - }, - "put": { - "operationId": "Connector_CreateOrUpdate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LinkerResource" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PutConnector": { - "$ref": "./examples/PutConnector.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Connector_Update", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LinkerPatch" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "202": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PatchConnector": { - "$ref": "./examples/PatchConnector.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Connector_Delete", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore" - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "DeleteConnector": { - "$ref": "./examples/DeleteConnector.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/generateConfigurations": { - "post": { - "operationId": "Connector_GenerateConfigurations", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/ConfigurationInfo" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConfigurationResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GenerateConfiguration": { - "$ref": "./examples/GenerateConfigurations.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/validate": { - "post": { - "operationId": "Connector_Validate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ValidateOperationResult" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ValidateConnectorSuccess": { - "$ref": "./examples/ValidateConnectorSuccess.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns": { - "get": { - "operationId": "Connector_ListDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunList": { - "$ref": "./examples/ConnectorDryrunList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}": { - "get": { - "operationId": "Connector_GetDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunGet": { - "$ref": "./examples/ConnectorDryrunGet.json" - } - } - }, - "put": { - "operationId": "Connector_CreateDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunResource" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunCreate": { - "$ref": "./examples/ConnectorDryrunCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Connector_UpdateDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunPatch" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunUpdate": { - "$ref": "./examples/ConnectorDryrunUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Connector_DeleteDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunDelete": { - "$ref": "./examples/ConnectorDryrunDelete.json" - } - } - } - } - }, - "definitions": { - "AccessKeyInfoBase": { - "type": "object", - "properties": { - "permissions": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Read", - "Write", - "Listen", - "Send", - "Manage" - ], - "x-ms-enum": { - "name": "accessKeyPermissions", - "modelAsString": true - } - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - } - ], - "x-ms-discriminator-value": "accessKey" - }, - "AuthInfoBase": { - "type": "object", - "properties": { - "authType": { - "type": "string", - "enum": [ - "systemAssignedIdentity", - "userAssignedIdentity", - "servicePrincipalSecret", - "servicePrincipalCertificate", - "secret", - "accessKey", - "userAccount", - "easyAuthMicrosoftEntraID" - ], - "x-ms-enum": { - "name": "AuthType", - "modelAsString": true - } - }, - "authMode": { - "type": "string", - "enum": [ - "optInAllAuth", - "optOutAllAuth" - ], - "x-ms-enum": { - "name": "AuthMode", - "modelAsString": true - } - } - }, - "discriminator": "authType", - "required": [ - "authType" - ] - }, - "AzureAppConfigProperties": { - "type": "object", - "properties": { - "connectWithKubernetesExtension": { - "type": "boolean", - "x-nullable": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/AzureResourcePropertiesBase" - } - ], - "x-ms-discriminator-value": "AppConfig" - }, - "AzureKeyVaultProperties": { - "type": "object", - "properties": { - "connectAsKubernetesCsiDriver": { - "type": "boolean", - "x-nullable": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/AzureResourcePropertiesBase" - } - ], - "x-ms-discriminator-value": "KeyVault" - }, - "AzureResource": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "resourceProperties": { - "$ref": "#/definitions/AzureResourcePropertiesBase", - "x-nullable": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/TargetServiceBase" - } - ], - "x-ms-discriminator-value": "AzureResource" - }, - "AzureResourcePropertiesBase": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "KeyVault", - "AppConfig" - ], - "x-ms-enum": { - "name": "AzureResourceType", - "modelAsString": true - } - } - }, - "discriminator": "type", - "required": [ - "type" - ] - }, - "BasicErrorDryrunPrerequisiteResult": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/DryrunPrerequisiteResult" - } - ], - "x-ms-discriminator-value": "basicError" - }, - "ConfigurationInfo": { - "type": "object", - "properties": { - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "action": { - "type": "string", - "enum": [ - "enable", - "optOut" - ], - "x-ms-enum": { - "name": "ActionType", - "modelAsString": true - } - }, - "customizedKeys": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "daprProperties": { - "$ref": "#/definitions/DaprProperties" - }, - "additionalConfigurations": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "additionalConnectionStringProperties": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "configurationStore": { - "$ref": "#/definitions/ConfigurationStore", - "x-nullable": true - } - } - }, - "ConfigurationName": { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "description": { - "type": "string" - }, - "required": { - "type": "boolean" - } - } - }, - "ConfigurationNameItem": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ConfigurationNames", - "x-nullable": true, - "x-ms-client-flatten": true - } - } - }, - "ConfigurationNameResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/ConfigurationNameItem" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "ConfigurationNames": { - "type": "object", - "properties": { - "targetService": { - "type": "string" - }, - "clientType": { - "type": "string", - "enum": [ - "none", - "dotnet", - "java", - "python", - "go", - "php", - "ruby", - "django", - "nodejs", - "springBoot", - "kafka-springBoot", - "jms-springBoot", - "dapr" - ], - "x-ms-enum": { - "name": "ClientType", - "modelAsString": true - } - }, - "authType": { - "type": "string", - "enum": [ - "systemAssignedIdentity", - "userAssignedIdentity", - "servicePrincipalSecret", - "servicePrincipalCertificate", - "secret", - "accessKey", - "userAccount", - "easyAuthMicrosoftEntraID" - ], - "x-ms-enum": { - "name": "AuthType", - "modelAsString": true - } - }, - "secretType": { - "type": "string", - "enum": [ - "rawValue", - "keyVaultSecret" - ], - "x-ms-enum": { - "name": "SecretSourceType", - "modelAsString": true - } - }, - "daprProperties": { - "$ref": "#/definitions/DaprProperties" - }, - "names": { - "type": "array", - "items": { - "$ref": "#/definitions/ConfigurationName" - } - } - } - }, - "ConfigurationResult": { - "type": "object", - "properties": { - "configurations": { - "type": "array", - "items": { - "$ref": "#/definitions/SourceConfiguration" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "ConfigurationStore": { - "type": "object", - "properties": { - "appConfigurationId": { - "type": "string", - "x-nullable": true - } - } - }, - "ConfluentBootstrapServer": { - "type": "object", - "properties": { - "endpoint": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/TargetServiceBase" - } - ], - "x-ms-discriminator-value": "ConfluentBootstrapServer" - }, - "ConfluentSchemaRegistry": { - "type": "object", - "properties": { - "endpoint": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/TargetServiceBase" - } - ], - "x-ms-discriminator-value": "ConfluentSchemaRegistry" - }, - "CreateOrUpdateDryrunParameters": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DryrunParameters" - }, - { - "$ref": "#/definitions/LinkerProperties" - } - ], - "x-ms-discriminator-value": "createOrUpdate" - }, - "DaprConfigurationList": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/DaprConfigurationResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "DaprConfigurationProperties": { - "type": "object", - "properties": { - "targetType": { - "type": "string" - }, - "authType": { - "type": "string", - "enum": [ - "systemAssignedIdentity", - "userAssignedIdentity", - "servicePrincipalSecret", - "servicePrincipalCertificate", - "secret", - "accessKey", - "userAccount", - "easyAuthMicrosoftEntraID" - ], - "x-ms-enum": { - "name": "AuthType", - "modelAsString": true - } - }, - "daprProperties": { - "$ref": "#/definitions/DaprProperties" - } - } - }, - "DaprConfigurationResource": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/DaprConfigurationProperties", - "x-ms-client-flatten": true - } - } - }, - "DaprMetadata": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - }, - "secretRef": { - "type": "string" - }, - "description": { - "type": "string" - }, - "required": { - "type": "string", - "enum": [ - "true", - "false" - ], - "x-ms-enum": { - "name": "DaprMetadataRequired", - "modelAsString": true - } - } - } - }, - "DaprProperties": { - "type": "object", - "properties": { - "version": { - "type": "string", - "x-nullable": true - }, - "componentType": { - "type": "string", - "x-nullable": true - }, - "secretStoreComponent": { - "type": "string", - "x-nullable": true - }, - "metadata": { - "type": "array", - "items": { - "$ref": "#/definitions/DaprMetadata" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "scopes": { - "type": "array", - "items": { - "type": "string" - } - }, - "runtimeVersion": { - "type": "string", - "x-nullable": true, - "readOnly": true - }, - "bindingComponentDirection": { - "type": "string", - "enum": [ - "input", - "output" - ], - "x-ms-enum": { - "name": "DaprBindingComponentDirection", - "modelAsString": true - }, - "x-nullable": true, - "readOnly": true - } - } - }, - "DatabaseAadAuthInfo": { - "type": "object", - "properties": { - "userName": { - "type": "string", - "x-nullable": true - } - } - }, - "DryrunList": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property", - "x-nullable": true - }, - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/DryrunResource" - } - } - } - }, - "DryrunOperationPreview": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "operationType": { - "type": "string", - "enum": [ - "configConnection", - "configNetwork", - "configAuth" - ], - "x-ms-enum": { - "name": "DryrunPreviewOperationType", - "modelAsString": true - } - }, - "description": { - "type": "string" - }, - "action": { - "type": "string" - }, - "scope": { - "type": "string" - } - } - }, - "DryrunParameters": { - "type": "object", - "properties": { - "actionName": { - "type": "string", - "enum": [ - "createOrUpdate" - ], - "x-ms-enum": { - "name": "DryrunActionName", - "modelAsString": true - } - } - }, - "discriminator": "actionName", - "required": [ - "actionName" - ] - }, - "DryrunPatch": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/DryrunProperties", - "x-ms-client-flatten": true - } - } - }, - "DryrunPrerequisiteResult": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "basicError", - "permissionsMissing" - ], - "x-ms-enum": { - "name": "DryrunPrerequisiteResultType", - "modelAsString": true - } - } - }, - "discriminator": "type", - "required": [ - "type" - ] - }, - "DryrunProperties": { - "type": "object", - "properties": { - "parameters": { - "$ref": "#/definitions/DryrunParameters" - }, - "prerequisiteResults": { - "type": "array", - "items": { - "$ref": "#/definitions/DryrunPrerequisiteResult" - }, - "readOnly": true - }, - "operationPreviews": { - "type": "array", - "items": { - "$ref": "#/definitions/DryrunOperationPreview" - }, - "readOnly": true - }, - "provisioningState": { - "type": "string", - "readOnly": true - } - } - }, - "DryrunResource": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/DryrunProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource", - "description": "The resource model definition for an Azure Resource Manager proxy resource." - } - ] - }, - "EasyAuthMicrosoftEntraIDAuthInfo": { - "type": "object", - "properties": { - "clientId": { - "type": "string" - }, - "secret": { - "type": "string", - "x-ms-secret": true - }, - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - } - ], - "x-ms-discriminator-value": "easyAuthMicrosoftEntraID" - }, - "FabricPlatform": { - "type": "object", - "properties": { - "endpoint": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/TargetServiceBase" - } - ], - "x-ms-discriminator-value": "FabricPlatform" - }, - "FirewallRules": { - "type": "object", - "properties": { - "ipRanges": { - "type": "array", - "items": { - "type": "string" - } - }, - "azureServices": { - "type": "string", - "enum": [ - "true", - "false" - ], - "x-ms-enum": { - "name": "AllowType", - "modelAsString": true - } - }, - "callerClientIP": { - "type": "string", - "enum": [ - "true", - "false" - ], - "x-ms-enum": { - "name": "AllowType", - "modelAsString": true - } - } - } - }, - "KeyVaultSecretReferenceSecretInfo": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "version": { - "type": "string", - "x-nullable": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/SecretInfoBase" - } - ], - "x-ms-discriminator-value": "keyVaultSecretReference" - }, - "KeyVaultSecretUriSecretInfo": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/SecretInfoBase" - } - ], - "x-ms-discriminator-value": "keyVaultSecretUri" - }, - "LinkerPatch": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/LinkerProperties", - "type": "object", - "x-ms-client-flatten": true - } - } - }, - "LinkerProperties": { - "type": "object", - "properties": { - "targetService": { - "$ref": "#/definitions/TargetServiceBase" - }, - "authInfo": { - "$ref": "#/definitions/AuthInfoBase" - }, - "clientType": { - "type": "string", - "enum": [ - "none", - "dotnet", - "java", - "python", - "go", - "php", - "ruby", - "django", - "nodejs", - "springBoot", - "kafka-springBoot", - "jms-springBoot", - "dapr" - ], - "x-ms-enum": { - "name": "ClientType", - "modelAsString": true - } - }, - "provisioningState": { - "type": "string", - "readOnly": true - }, - "vNetSolution": { - "$ref": "#/definitions/VNetSolution", - "x-nullable": true - }, - "secretStore": { - "$ref": "#/definitions/SecretStore", - "x-nullable": true - }, - "scope": { - "type": "string", - "x-nullable": true - }, - "publicNetworkSolution": { - "$ref": "#/definitions/PublicNetworkSolution", - "x-nullable": true - }, - "configurationInfo": { - "$ref": "#/definitions/ConfigurationInfo", - "x-nullable": true - } - } - }, - "LinkerResource": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/LinkerProperties", - "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", - "x-nullable": true, - "readOnly": true - } - }, - "required": [ - "properties" - ], - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource", - "description": "The resource model definition for an Azure Resource Manager proxy resource." - } - ] - }, - "PermissionsMissingDryrunPrerequisiteResult": { - "type": "object", - "properties": { - "scope": { - "type": "string" - }, - "permissions": { - "type": "array", - "items": { - "type": "string" - } - }, - "recommendedRole": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/DryrunPrerequisiteResult" - } - ], - "x-ms-discriminator-value": "permissionsMissing" - }, - "PublicNetworkSolution": { - "type": "object", - "properties": { - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "action": { - "type": "string", - "enum": [ - "enable", - "optOut" - ], - "x-ms-enum": { - "name": "ActionType", - "modelAsString": true - } - }, - "firewallRules": { - "$ref": "#/definitions/FirewallRules" - } - } - }, - "ResourceList": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property", - "x-nullable": true - }, - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/LinkerResource" - } - } - } - }, - "SecretAuthInfo": { - "type": "object", - "properties": { - "name": { - "type": "string", - "x-nullable": true - }, - "secretInfo": { - "$ref": "#/definitions/SecretInfoBase", - "x-nullable": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - } - ], - "x-ms-discriminator-value": "secret" - }, - "SecretInfoBase": { - "type": "object", - "properties": { - "secretType": { - "type": "string", - "enum": [ - "rawValue", - "keyVaultSecretUri", - "keyVaultSecretReference" - ], - "x-ms-enum": { - "name": "SecretType", - "modelAsString": true - } - } - }, - "discriminator": "secretType", - "required": [ - "secretType" - ] - }, - "SecretStore": { - "type": "object", - "properties": { - "keyVaultId": { - "type": "string", - "x-nullable": true - }, - "keyVaultSecretName": { - "type": "string", - "x-nullable": true - } - } - }, - "SelfHostedServer": { - "type": "object", - "properties": { - "endpoint": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/TargetServiceBase" - } - ], - "x-ms-discriminator-value": "SelfHostedServer" - }, - "ServicePrincipalCertificateAuthInfo": { - "type": "object", - "properties": { - "clientId": { - "type": "string" - }, - "principalId": { - "type": "string" - }, - "certificate": { - "type": "string", - "x-ms-secret": true - }, - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "certificate", - "clientId", - "principalId" - ], - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - } - ], - "x-ms-discriminator-value": "servicePrincipalCertificate" - }, - "ServicePrincipalSecretAuthInfo": { - "type": "object", - "properties": { - "clientId": { - "type": "string" - }, - "principalId": { - "type": "string" - }, - "secret": { - "type": "string", - "x-ms-secret": true - }, - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "clientId", - "principalId", - "secret" - ], - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - }, - { - "$ref": "#/definitions/DatabaseAadAuthInfo" - } - ], - "x-ms-discriminator-value": "servicePrincipalSecret" - }, - "SourceConfiguration": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string", - "x-nullable": true - }, - "configType": { - "type": "string", - "enum": [ - "Default", - "KeyVaultSecret" - ], - "x-ms-enum": { - "name": "LinkerConfigurationType", - "modelAsString": true - }, - "readOnly": true - }, - "keyVaultReferenceIdentity": { - "type": "string", - "x-nullable": true - }, - "description": { - "type": "string", - "x-nullable": true - } - } - }, - "SystemAssignedIdentityAuthInfo": { - "type": "object", - "properties": { - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - }, - { - "$ref": "#/definitions/DatabaseAadAuthInfo" - } - ], - "x-ms-discriminator-value": "systemAssignedIdentity" - }, - "TargetServiceBase": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "AzureResource", - "ConfluentBootstrapServer", - "ConfluentSchemaRegistry", - "SelfHostedServer", - "FabricPlatform" - ], - "x-ms-enum": { - "name": "TargetServiceType", - "modelAsString": true - } - } - }, - "discriminator": "type", - "required": [ - "type" - ] - }, - "UserAccountAuthInfo": { - "type": "object", - "properties": { - "principalId": { - "type": "string" - }, - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - }, - { - "$ref": "#/definitions/DatabaseAadAuthInfo" - } - ], - "x-ms-discriminator-value": "userAccount" - }, - "UserAssignedIdentityAuthInfo": { - "type": "object", - "properties": { - "clientId": { - "type": "string" - }, - "subscriptionId": { - "type": "string" - }, - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - }, - { - "$ref": "#/definitions/DatabaseAadAuthInfo" - } - ], - "x-ms-discriminator-value": "userAssignedIdentity" - }, - "VNetSolution": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "serviceEndpoint", - "privateLink" - ], - "x-ms-enum": { - "name": "VNetSolutionType", - "modelAsString": true - }, - "x-nullable": true - }, - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - } - } - }, - "ValidateOperationResult": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ValidateResult", - "x-nullable": true, - "x-ms-client-flatten": true - }, - "resourceId": { - "type": "string", - "x-nullable": true - }, - "status": { - "type": "string", - "x-nullable": true - } - } - }, - "ValidateResult": { - "type": "object", - "properties": { - "linkerName": { - "type": "string", - "x-nullable": true - }, - "isConnectionAvailable": { - "type": "boolean", - "x-nullable": true - }, - "reportStartTimeUtc": { - "type": "string", - "format": "date-time", - "x-nullable": true - }, - "reportEndTimeUtc": { - "type": "string", - "format": "date-time", - "x-nullable": true - }, - "sourceId": { - "type": "string", - "x-nullable": true - }, - "targetId": { - "type": "string", - "x-nullable": true - }, - "authType": { - "type": "string", - "enum": [ - "systemAssignedIdentity", - "userAssignedIdentity", - "servicePrincipalSecret", - "servicePrincipalCertificate", - "secret", - "accessKey", - "userAccount", - "easyAuthMicrosoftEntraID" - ], - "x-ms-enum": { - "name": "AuthType", - "modelAsString": true - }, - "x-nullable": true - }, - "validationDetail": { - "type": "array", - "items": { - "$ref": "#/definitions/ValidationResultItem" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "ValidationResultItem": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "description": { - "type": "string", - "x-nullable": true - }, - "result": { - "type": "string", - "enum": [ - "success", - "failure", - "warning" - ], - "x-ms-enum": { - "name": "ValidationResultStatus", - "modelAsString": true - }, - "x-nullable": true - }, - "errorMessage": { - "type": "string", - "x-nullable": true - }, - "errorCode": { - "type": "string", - "x-nullable": true - } - } - }, - "ValueSecretInfo": { - "type": "object", - "properties": { - "value": { - "type": "string", - "x-nullable": true, - "x-ms-secret": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/SecretInfoBase" - } - ], - "x-ms-discriminator-value": "rawValue" - } - }, - "parameters": {} -} \ No newline at end of file diff --git a/specification/servicelinker/output/oldSwagger.json b/specification/servicelinker/output/oldSwagger.json deleted file mode 100644 index ddd9a95c5687..000000000000 --- a/specification/servicelinker/output/oldSwagger.json +++ /dev/null @@ -1,2594 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Microsoft.ServiceLinker", - "version": "2024-07-01-preview", - "description": "Microsoft.ServiceLinker provider" - }, - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ], - "paths": { - "/{resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations": { - "get": { - "operationId": "Linkers_ListDaprConfigurations", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DaprConfigurationList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetDaprConfigurations": { - "$ref": "./examples/GetDaprConfigurations.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns": { - "get": { - "operationId": "Linkers_ListDryrun", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ListDryrun": { - "$ref": "./examples/ListDryrun.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns/{dryrunName}": { - "get": { - "operationId": "Linkers_GetDryrun", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetDryrun": { - "$ref": "./examples/GetDryrun.json" - } - } - }, - "put": { - "operationId": "Linkers_CreateDryrun", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunResource" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PutDryrun": { - "$ref": "./examples/PutDryrun.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Linkers_UpdateDryrun", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunPatch" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PatchDryrun": { - "$ref": "./examples/PatchDryrun.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Linkers_DeleteDryrun", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "DeleteDryrun": { - "$ref": "./examples/DeleteDryrun.json" - } - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers": { - "get": { - "operationId": "Linker_List", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ResourceList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "deprecated": false, - "x-ms-examples": { - "LinkerList": { - "$ref": "./examples/LinkerList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}": { - "get": { - "operationId": "Linker_Get", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Linker": { - "$ref": "./examples/Linker.json" - } - } - }, - "put": { - "operationId": "Linker_CreateOrUpdate", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LinkerResource" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PutLinker": { - "$ref": "./examples/PutLinker.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Linker_Update", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LinkerPatch" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PatchLinker": { - "$ref": "./examples/PatchLinker.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Linker_Delete", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore" - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "DeleteLinker": { - "$ref": "./examples/DeleteLinker.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/generateConfigurations": { - "post": { - "operationId": "Linkers_GenerateConfigurations", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/ConfigurationInfo" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConfigurationResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GenerateConfiguration": { - "$ref": "./examples/LinkerGenerateConfigurations.json" - } - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/listConfigurations": { - "post": { - "operationId": "Linker_ListConfigurations", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConfigurationResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetConfiguration": { - "$ref": "./examples/GetConfigurations.json" - } - } - } - }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/validateLinker": { - "post": { - "operationId": "Linker_Validate", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "linkerName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ValidateOperationResult" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ValidateLinkerSuccess": { - "$ref": "./examples/ValidateLinkerSuccess.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/providers/Microsoft.ServiceLinker/configurationNames": { - "get": { - "operationId": "ConfigurationNames_List", - "parameters": [ - { - "name": "$filter", - "in": "query", - "type": "string" - }, - { - "name": "$skipToken", - "in": "query", - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConfigurationNameResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetConfigurationNames": { - "$ref": "./examples/ConfigurationNamesList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.ServiceLinker/operations": { - "get": { - "operationId": "Operations_List", - "parameters": [], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetConfiguration": { - "$ref": "./examples/OperationsList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors": { - "get": { - "operationId": "Connector_List", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ResourceList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "deprecated": false, - "x-ms-examples": { - "ConnectorList": { - "$ref": "./examples/ConnectorList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}": { - "get": { - "operationId": "Connector_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Connector": { - "$ref": "./examples/Connectors.json" - } - } - }, - "put": { - "operationId": "Connector_CreateOrUpdate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LinkerResource" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PutConnector": { - "$ref": "./examples/PutConnector.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Connector_Update", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LinkerPatch" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "202": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PatchConnector": { - "$ref": "./examples/PatchConnector.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Connector_Delete", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore" - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "DeleteConnector": { - "$ref": "./examples/DeleteConnector.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/generateConfigurations": { - "post": { - "operationId": "Connector_GenerateConfigurations", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/ConfigurationInfo" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConfigurationResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GenerateConfiguration": { - "$ref": "./examples/GenerateConfigurations.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/validate": { - "post": { - "operationId": "Connector_Validate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "connectorName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ValidateOperationResult" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ValidateConnectorSuccess": { - "$ref": "./examples/ValidateConnectorSuccess.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns": { - "get": { - "operationId": "Connector_ListDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunList" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunList": { - "$ref": "./examples/ConnectorDryrunList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}": { - "get": { - "operationId": "Connector_GetDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunGet": { - "$ref": "./examples/ConnectorDryrunGet.json" - } - } - }, - "put": { - "operationId": "Connector_CreateDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunResource" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunCreate": { - "$ref": "./examples/ConnectorDryrunCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Connector_UpdateDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DryrunPatch" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/DryrunResource" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunUpdate": { - "$ref": "./examples/ConnectorDryrunUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Connector_DeleteDryrun", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "name": "dryrunName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectorDryrunDelete": { - "$ref": "./examples/ConnectorDryrunDelete.json" - } - } - } - } - }, - "definitions": { - "AccessKeyInfoBase": { - "type": "object", - "properties": { - "permissions": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Read", - "Write", - "Listen", - "Send", - "Manage" - ], - "x-ms-enum": { - "name": "accessKeyPermissions", - "modelAsString": true - } - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - } - ], - "x-ms-discriminator-value": "accessKey" - }, - "AuthInfoBase": { - "type": "object", - "properties": { - "authType": { - "type": "string", - "enum": [ - "systemAssignedIdentity", - "userAssignedIdentity", - "servicePrincipalSecret", - "servicePrincipalCertificate", - "secret", - "accessKey", - "userAccount", - "easyAuthMicrosoftEntraID" - ], - "x-ms-enum": { - "name": "AuthType", - "modelAsString": true - } - }, - "authMode": { - "type": "string", - "enum": [ - "optInAllAuth", - "optOutAllAuth" - ], - "x-ms-enum": { - "name": "AuthMode", - "modelAsString": true - } - } - }, - "discriminator": "authType", - "required": [ - "authType" - ] - }, - "AzureAppConfigProperties": { - "type": "object", - "properties": { - "connectWithKubernetesExtension": { - "type": "boolean", - "x-nullable": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/AzureResourcePropertiesBase" - } - ], - "x-ms-discriminator-value": "AppConfig" - }, - "AzureKeyVaultProperties": { - "type": "object", - "properties": { - "connectAsKubernetesCsiDriver": { - "type": "boolean", - "x-nullable": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/AzureResourcePropertiesBase" - } - ], - "x-ms-discriminator-value": "KeyVault" - }, - "AzureResource": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "resourceProperties": { - "$ref": "#/definitions/AzureResourcePropertiesBase", - "x-nullable": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/TargetServiceBase" - } - ], - "x-ms-discriminator-value": "AzureResource" - }, - "AzureResourcePropertiesBase": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "KeyVault", - "AppConfig" - ], - "x-ms-enum": { - "name": "AzureResourceType", - "modelAsString": true - } - } - }, - "discriminator": "type", - "required": [ - "type" - ] - }, - "BasicErrorDryrunPrerequisiteResult": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/DryrunPrerequisiteResult" - } - ], - "x-ms-discriminator-value": "basicError" - }, - "ConfigurationInfo": { - "type": "object", - "properties": { - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "action": { - "type": "string", - "enum": [ - "enable", - "optOut" - ], - "x-ms-enum": { - "name": "ActionType", - "modelAsString": true - } - }, - "customizedKeys": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "daprProperties": { - "$ref": "#/definitions/DaprProperties" - }, - "additionalConfigurations": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "additionalConnectionStringProperties": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "configurationStore": { - "$ref": "#/definitions/ConfigurationStore", - "x-nullable": true - } - } - }, - "ConfigurationName": { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "description": { - "type": "string" - }, - "required": { - "type": "boolean" - } - } - }, - "ConfigurationNameItem": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ConfigurationNames", - "x-nullable": true, - "x-ms-client-flatten": true - } - } - }, - "ConfigurationNameResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/ConfigurationNameItem" - }, - "x-ms-identifiers": [] - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - }, - "required": [ - "value" - ] - }, - "ConfigurationNames": { - "type": "object", - "properties": { - "targetService": { - "type": "string" - }, - "clientType": { - "type": "string", - "enum": [ - "none", - "dotnet", - "java", - "python", - "go", - "php", - "ruby", - "django", - "nodejs", - "springBoot", - "kafka-springBoot", - "jms-springBoot", - "dapr" - ], - "x-ms-enum": { - "name": "ClientType", - "modelAsString": true - } - }, - "authType": { - "type": "string", - "enum": [ - "systemAssignedIdentity", - "userAssignedIdentity", - "servicePrincipalSecret", - "servicePrincipalCertificate", - "secret", - "accessKey", - "userAccount", - "easyAuthMicrosoftEntraID" - ], - "x-ms-enum": { - "name": "AuthType", - "modelAsString": true - } - }, - "secretType": { - "type": "string", - "enum": [ - "rawValue", - "keyVaultSecret" - ], - "x-ms-enum": { - "name": "SecretSourceType", - "modelAsString": true - } - }, - "daprProperties": { - "$ref": "#/definitions/DaprProperties" - }, - "names": { - "type": "array", - "items": { - "$ref": "#/definitions/ConfigurationName" - } - } - } - }, - "ConfigurationResult": { - "type": "object", - "properties": { - "configurations": { - "type": "array", - "items": { - "$ref": "#/definitions/SourceConfiguration" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "ConfigurationStore": { - "type": "object", - "properties": { - "appConfigurationId": { - "type": "string", - "x-nullable": true - } - } - }, - "ConfluentBootstrapServer": { - "type": "object", - "properties": { - "endpoint": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/TargetServiceBase" - } - ], - "x-ms-discriminator-value": "ConfluentBootstrapServer" - }, - "ConfluentSchemaRegistry": { - "type": "object", - "properties": { - "endpoint": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/TargetServiceBase" - } - ], - "x-ms-discriminator-value": "ConfluentSchemaRegistry" - }, - "CreateOrUpdateDryrunParameters": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DryrunParameters" - }, - { - "$ref": "#/definitions/LinkerProperties" - } - ], - "x-ms-discriminator-value": "createOrUpdate" - }, - "DaprConfigurationList": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/DaprConfigurationResource" - }, - "x-ms-identifiers": [] - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - }, - "required": [ - "value" - ] - }, - "DaprConfigurationProperties": { - "type": "object", - "properties": { - "targetType": { - "type": "string" - }, - "authType": { - "type": "string", - "enum": [ - "systemAssignedIdentity", - "userAssignedIdentity", - "servicePrincipalSecret", - "servicePrincipalCertificate", - "secret", - "accessKey", - "userAccount", - "easyAuthMicrosoftEntraID" - ], - "x-ms-enum": { - "name": "AuthType", - "modelAsString": true - } - }, - "daprProperties": { - "$ref": "#/definitions/DaprProperties" - } - } - }, - "DaprConfigurationResource": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/DaprConfigurationProperties", - "x-ms-client-flatten": true - } - } - }, - "DaprMetadata": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - }, - "secretRef": { - "type": "string" - }, - "description": { - "type": "string" - }, - "required": { - "type": "string", - "enum": [ - "true", - "false" - ], - "x-ms-enum": { - "name": "DaprMetadataRequired", - "modelAsString": true - } - } - } - }, - "DaprProperties": { - "type": "object", - "properties": { - "version": { - "type": "string", - "x-nullable": true - }, - "componentType": { - "type": "string", - "x-nullable": true - }, - "secretStoreComponent": { - "type": "string", - "x-nullable": true - }, - "metadata": { - "type": "array", - "items": { - "$ref": "#/definitions/DaprMetadata" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "scopes": { - "type": "array", - "items": { - "type": "string" - } - }, - "runtimeVersion": { - "type": "string", - "x-nullable": true, - "readOnly": true - }, - "bindingComponentDirection": { - "type": "string", - "enum": [ - "input", - "output" - ], - "x-ms-enum": { - "name": "DaprBindingComponentDirection", - "modelAsString": true - }, - "x-nullable": true, - "readOnly": true - } - } - }, - "DatabaseAadAuthInfo": { - "type": "object", - "properties": { - "userName": { - "type": "string", - "x-nullable": true - } - } - }, - "DryrunList": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property", - "x-nullable": true - }, - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/DryrunResource" - } - } - }, - "required": [ - "value" - ] - }, - "DryrunOperationPreview": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "operationType": { - "type": "string", - "enum": [ - "configConnection", - "configNetwork", - "configAuth" - ], - "x-ms-enum": { - "name": "DryrunPreviewOperationType", - "modelAsString": true - } - }, - "description": { - "type": "string" - }, - "action": { - "type": "string" - }, - "scope": { - "type": "string" - } - } - }, - "DryrunParameters": { - "type": "object", - "properties": { - "actionName": { - "type": "string", - "enum": [ - "createOrUpdate" - ], - "x-ms-enum": { - "name": "DryrunActionName", - "modelAsString": true - } - } - }, - "discriminator": "actionName", - "required": [ - "actionName" - ] - }, - "DryrunPatch": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/DryrunProperties", - "x-ms-client-flatten": true - } - } - }, - "DryrunPrerequisiteResult": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "basicError", - "permissionsMissing" - ], - "x-ms-enum": { - "name": "DryrunPrerequisiteResultType", - "modelAsString": true - } - } - }, - "discriminator": "type", - "required": [ - "type" - ] - }, - "DryrunProperties": { - "type": "object", - "properties": { - "parameters": { - "$ref": "#/definitions/DryrunParameters" - }, - "prerequisiteResults": { - "type": "array", - "items": { - "$ref": "#/definitions/DryrunPrerequisiteResult" - }, - "readOnly": true, - "x-ms-identifiers": [] - }, - "operationPreviews": { - "type": "array", - "items": { - "$ref": "#/definitions/DryrunOperationPreview" - }, - "readOnly": true, - "x-ms-identifiers": [] - }, - "provisioningState": { - "type": "string", - "readOnly": true - } - } - }, - "DryrunResource": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/DryrunProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource", - "description": "The resource model definition for an Azure Resource Manager proxy resource." - } - ] - }, - "EasyAuthMicrosoftEntraIDAuthInfo": { - "type": "object", - "properties": { - "clientId": { - "type": "string" - }, - "secret": { - "type": "string", - "x-ms-secret": true - }, - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - } - ], - "x-ms-discriminator-value": "easyAuthMicrosoftEntraID" - }, - "FabricPlatform": { - "type": "object", - "properties": { - "endpoint": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/TargetServiceBase" - } - ], - "x-ms-discriminator-value": "FabricPlatform" - }, - "FirewallRules": { - "type": "object", - "properties": { - "ipRanges": { - "type": "array", - "items": { - "type": "string" - } - }, - "azureServices": { - "type": "string", - "enum": [ - "true", - "false" - ], - "x-ms-enum": { - "name": "AllowType", - "modelAsString": true - } - }, - "callerClientIP": { - "type": "string", - "enum": [ - "true", - "false" - ], - "x-ms-enum": { - "name": "AllowType", - "modelAsString": true - } - } - } - }, - "KeyVaultSecretReferenceSecretInfo": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "version": { - "type": "string", - "x-nullable": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/SecretInfoBase" - } - ], - "x-ms-discriminator-value": "keyVaultSecretReference" - }, - "KeyVaultSecretUriSecretInfo": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/SecretInfoBase" - } - ], - "x-ms-discriminator-value": "keyVaultSecretUri" - }, - "LinkerPatch": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/LinkerProperties", - "type": "object", - "x-ms-client-flatten": true - } - } - }, - "LinkerProperties": { - "type": "object", - "properties": { - "targetService": { - "$ref": "#/definitions/TargetServiceBase" - }, - "authInfo": { - "$ref": "#/definitions/AuthInfoBase" - }, - "clientType": { - "type": "string", - "enum": [ - "none", - "dotnet", - "java", - "python", - "go", - "php", - "ruby", - "django", - "nodejs", - "springBoot", - "kafka-springBoot", - "jms-springBoot", - "dapr" - ], - "x-ms-enum": { - "name": "ClientType", - "modelAsString": true - } - }, - "provisioningState": { - "type": "string", - "readOnly": true - }, - "vNetSolution": { - "$ref": "#/definitions/VNetSolution", - "x-nullable": true - }, - "secretStore": { - "$ref": "#/definitions/SecretStore", - "x-nullable": true - }, - "scope": { - "type": "string", - "x-nullable": true - }, - "publicNetworkSolution": { - "$ref": "#/definitions/PublicNetworkSolution", - "x-nullable": true - }, - "configurationInfo": { - "$ref": "#/definitions/ConfigurationInfo", - "x-nullable": true - } - } - }, - "LinkerResource": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/LinkerProperties", - "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", - "x-nullable": true, - "readOnly": true - } - }, - "required": [ - "properties" - ], - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource", - "description": "The resource model definition for an Azure Resource Manager proxy resource." - } - ] - }, - "PermissionsMissingDryrunPrerequisiteResult": { - "type": "object", - "properties": { - "scope": { - "type": "string" - }, - "permissions": { - "type": "array", - "items": { - "type": "string" - } - }, - "recommendedRole": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/DryrunPrerequisiteResult" - } - ], - "x-ms-discriminator-value": "permissionsMissing" - }, - "PublicNetworkSolution": { - "type": "object", - "properties": { - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "action": { - "type": "string", - "enum": [ - "enable", - "optOut" - ], - "x-ms-enum": { - "name": "ActionType", - "modelAsString": true - } - }, - "firewallRules": { - "$ref": "#/definitions/FirewallRules" - } - } - }, - "ResourceList": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property", - "x-nullable": true - }, - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/LinkerResource" - } - } - }, - "required": [ - "value" - ] - }, - "SecretAuthInfo": { - "type": "object", - "properties": { - "name": { - "type": "string", - "x-nullable": true - }, - "secretInfo": { - "$ref": "#/definitions/SecretInfoBase", - "x-nullable": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - } - ], - "x-ms-discriminator-value": "secret" - }, - "SecretInfoBase": { - "type": "object", - "properties": { - "secretType": { - "type": "string", - "enum": [ - "rawValue", - "keyVaultSecretUri", - "keyVaultSecretReference" - ], - "x-ms-enum": { - "name": "SecretType", - "modelAsString": true - } - } - }, - "discriminator": "secretType", - "required": [ - "secretType" - ] - }, - "SecretStore": { - "type": "object", - "properties": { - "keyVaultId": { - "type": "string", - "x-nullable": true - }, - "keyVaultSecretName": { - "type": "string", - "x-nullable": true - } - } - }, - "SelfHostedServer": { - "type": "object", - "properties": { - "endpoint": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/TargetServiceBase" - } - ], - "x-ms-discriminator-value": "SelfHostedServer" - }, - "ServicePrincipalCertificateAuthInfo": { - "type": "object", - "properties": { - "clientId": { - "type": "string" - }, - "principalId": { - "type": "string" - }, - "certificate": { - "type": "string", - "x-ms-secret": true - }, - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "certificate", - "clientId", - "principalId" - ], - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - } - ], - "x-ms-discriminator-value": "servicePrincipalCertificate" - }, - "ServicePrincipalSecretAuthInfo": { - "type": "object", - "properties": { - "clientId": { - "type": "string" - }, - "principalId": { - "type": "string" - }, - "secret": { - "type": "string", - "x-ms-secret": true - }, - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "clientId", - "principalId", - "secret" - ], - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - }, - { - "$ref": "#/definitions/DatabaseAadAuthInfo" - } - ], - "x-ms-discriminator-value": "servicePrincipalSecret" - }, - "SourceConfiguration": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string", - "x-nullable": true - }, - "configType": { - "type": "string", - "enum": [ - "Default", - "KeyVaultSecret" - ], - "x-ms-enum": { - "name": "LinkerConfigurationType", - "modelAsString": true - }, - "readOnly": true - }, - "keyVaultReferenceIdentity": { - "type": "string", - "x-nullable": true - }, - "description": { - "type": "string", - "x-nullable": true - } - } - }, - "SystemAssignedIdentityAuthInfo": { - "type": "object", - "properties": { - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - }, - { - "$ref": "#/definitions/DatabaseAadAuthInfo" - } - ], - "x-ms-discriminator-value": "systemAssignedIdentity" - }, - "TargetServiceBase": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "AzureResource", - "ConfluentBootstrapServer", - "ConfluentSchemaRegistry", - "SelfHostedServer", - "FabricPlatform" - ], - "x-ms-enum": { - "name": "TargetServiceType", - "modelAsString": true - } - } - }, - "discriminator": "type", - "required": [ - "type" - ] - }, - "UserAccountAuthInfo": { - "type": "object", - "properties": { - "principalId": { - "type": "string" - }, - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - }, - { - "$ref": "#/definitions/DatabaseAadAuthInfo" - } - ], - "x-ms-discriminator-value": "userAccount" - }, - "UserAssignedIdentityAuthInfo": { - "type": "object", - "properties": { - "clientId": { - "type": "string" - }, - "subscriptionId": { - "type": "string" - }, - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/AuthInfoBase" - }, - { - "$ref": "#/definitions/DatabaseAadAuthInfo" - } - ], - "x-ms-discriminator-value": "userAssignedIdentity" - }, - "VNetSolution": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "serviceEndpoint", - "privateLink" - ], - "x-ms-enum": { - "name": "VNetSolutionType", - "modelAsString": true - }, - "x-nullable": true - }, - "deleteOrUpdateBehavior": { - "type": "string", - "enum": [ - "Default", - "ForcedCleanup" - ], - "x-ms-enum": { - "name": "DeleteOrUpdateBehavior", - "modelAsString": true - } - } - } - }, - "ValidateOperationResult": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ValidateResult", - "x-nullable": true, - "x-ms-client-flatten": true - }, - "resourceId": { - "type": "string", - "x-nullable": true - }, - "status": { - "type": "string", - "x-nullable": true - } - } - }, - "ValidateResult": { - "type": "object", - "properties": { - "linkerName": { - "type": "string", - "x-nullable": true - }, - "isConnectionAvailable": { - "type": "boolean", - "x-nullable": true - }, - "reportStartTimeUtc": { - "type": "string", - "format": "date-time", - "x-nullable": true - }, - "reportEndTimeUtc": { - "type": "string", - "format": "date-time", - "x-nullable": true - }, - "sourceId": { - "type": "string", - "x-nullable": true - }, - "targetId": { - "type": "string", - "x-nullable": true - }, - "authType": { - "type": "string", - "enum": [ - "systemAssignedIdentity", - "userAssignedIdentity", - "servicePrincipalSecret", - "servicePrincipalCertificate", - "secret", - "accessKey", - "userAccount", - "easyAuthMicrosoftEntraID" - ], - "x-ms-enum": { - "name": "AuthType", - "modelAsString": true - }, - "x-nullable": true - }, - "validationDetail": { - "type": "array", - "items": { - "$ref": "#/definitions/ValidationResultItem" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "ValidationResultItem": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "description": { - "type": "string", - "x-nullable": true - }, - "result": { - "type": "string", - "enum": [ - "success", - "failure", - "warning" - ], - "x-ms-enum": { - "name": "ValidationResultStatus", - "modelAsString": true - }, - "x-nullable": true - }, - "errorMessage": { - "type": "string", - "x-nullable": true - }, - "errorCode": { - "type": "string", - "x-nullable": true - } - } - }, - "ValueSecretInfo": { - "type": "object", - "properties": { - "value": { - "type": "string", - "x-nullable": true, - "x-ms-secret": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/SecretInfoBase" - } - ], - "x-ms-discriminator-value": "rawValue" - } - }, - "parameters": {} -} \ No newline at end of file From c11983a23ce639f3f9fb1793449d21653d7e102f Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Wed, 21 May 2025 17:39:59 +0800 Subject: [PATCH 11/37] update --- .../ServiceLinker.Management/DryrunResource.tsp | 8 ++++---- .../ServiceLinker.Management/LinkerResource.tsp | 8 ++++---- .../servicelinker/ServiceLinker.Management/legacy.tsp | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp index 85dd24617c5a..d3282433dbff 100644 --- a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp @@ -26,12 +26,12 @@ model DryrunResource is Azure.ResourceManager.ProxyResource { @armResourceOperations interface DryrunResourceOps - extends Azure.ResourceManager.Legacy.LegacyOperations< + extends Azure.ResourceManager.Legacy.CustomLegacyOperations< { ...ApiVersionParameter, ...SubscriptionIdParameter, ...ResourceGroupParameter, - ...Azure.ResourceManager.Legacy.Provider, + ...Azure.ResourceManager.Legacy.CustomProvider, ...LocationParameter, }, KeysOf { + model CustomProvider { ...ProviderNamespace; } } From 783f394d8e08552f94264690cf4ea1884d298361 Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Thu, 22 May 2025 15:55:51 +0800 Subject: [PATCH 12/37] update --- .../ServiceLinker.Management/models.tsp | 4 ++-- .../2024-07-01-preview/servicelinker.json | 22 +++++++++---------- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/specification/servicelinker/ServiceLinker.Management/models.tsp b/specification/servicelinker/ServiceLinker.Management/models.tsp index f2101e301422..2afecd64e78e 100644 --- a/specification/servicelinker/ServiceLinker.Management/models.tsp +++ b/specification/servicelinker/ServiceLinker.Management/models.tsp @@ -272,7 +272,7 @@ union AccessKeyPermissions { model CustomPage { @doc("The {name} items on this page", Resource) @Azure.Core.items - value: Resource[]; + value?: Resource[]; @doc("The link to the next page of items") @nextLink @@ -1157,7 +1157,7 @@ model DatabaseAadAuthInfo { /** * Username created in the database which is mapped to a user in AAD. */ - userName?: string; + userName?: string | null; } /** diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json index fd90500146b6..392da0f67704 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json @@ -2514,10 +2514,7 @@ "description": "The link to the next page of items", "x-nullable": true } - }, - "required": [ - "value" - ] + } }, "DryrunOperationPreview": { "type": "object", @@ -2944,10 +2941,7 @@ "description": "The link to the next page of items", "x-nullable": true } - }, - "required": [ - "value" - ] + } }, "SecretAuthInfo": { "type": "object", @@ -3114,7 +3108,8 @@ "properties": { "userName": { "type": "string", - "description": "Username created in the database which is mapped to a user in AAD." + "description": "Username created in the database which is mapped to a user in AAD.", + "x-nullable": true }, "clientId": { "type": "string", @@ -3190,7 +3185,8 @@ "properties": { "userName": { "type": "string", - "description": "Username created in the database which is mapped to a user in AAD." + "description": "Username created in the database which is mapped to a user in AAD.", + "x-nullable": true }, "deleteOrUpdateBehavior": { "$ref": "#/definitions/DeleteOrUpdateBehavior", @@ -3268,7 +3264,8 @@ "properties": { "userName": { "type": "string", - "description": "Username created in the database which is mapped to a user in AAD." + "description": "Username created in the database which is mapped to a user in AAD.", + "x-nullable": true }, "principalId": { "type": "string", @@ -3299,7 +3296,8 @@ "properties": { "userName": { "type": "string", - "description": "Username created in the database which is mapped to a user in AAD." + "description": "Username created in the database which is mapped to a user in AAD.", + "x-nullable": true }, "clientId": { "type": "string", From feed1fcaefad952422dfa0328014443dc3c764b1 Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Fri, 23 May 2025 10:34:25 +0800 Subject: [PATCH 13/37] update --- .../ServiceLinker.Management/LinkerResource.tsp | 4 ++-- .../preview/2024-07-01-preview/servicelinker.json | 13 ------------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp index 46ddb5c04d2a..dc75e6ff15b2 100644 --- a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp @@ -106,7 +106,7 @@ interface LinkerResources { validate is LinkerResourceOps.ActionAsync< LinkerResource, void, - ArmResponse + ValidateOperationResult >; /** @@ -195,7 +195,7 @@ interface Linker { validate is LinkerOps.ActionAsync< LinkerResource, void, - ArmResponse + ValidateOperationResult >; /** diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json index 392da0f67704..d4d8f32c309a 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json @@ -1846,19 +1846,6 @@ ] } }, - "Azure.ResourceManager.ArmResponse": { - "type": "object", - "description": "Azure operation completed successfully.", - "properties": { - "body": { - "$ref": "#/definitions/ValidateOperationResult", - "description": "The body type of the operation request or response." - } - }, - "required": [ - "body" - ] - }, "AzureAppConfigProperties": { "type": "object", "description": "The resource properties when type is Azure App Configuration", From 8be12aaf159f533b64801114c389373cbeaa6e4e Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Tue, 24 Jun 2025 17:33:30 +0800 Subject: [PATCH 14/37] update --- .../servicelinker/ServiceLinker.Management/models.tsp | 5 ----- .../preview/2024-07-01-preview/servicelinker.json | 9 +++------ 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/specification/servicelinker/ServiceLinker.Management/models.tsp b/specification/servicelinker/ServiceLinker.Management/models.tsp index 2afecd64e78e..20b167acdaa3 100644 --- a/specification/servicelinker/ServiceLinker.Management/models.tsp +++ b/specification/servicelinker/ServiceLinker.Management/models.tsp @@ -404,7 +404,6 @@ model DryrunPatch { * The properties of the dryrun job. */ #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" - @Azure.ResourceManager.Private.conditionalClientFlatten properties?: DryrunProperties; } @@ -703,7 +702,6 @@ model LinkerPatch { * Linker properties */ #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" - @Azure.ResourceManager.Private.conditionalClientFlatten properties?: LinkerProperties; } @@ -715,7 +713,6 @@ model ValidateOperationResult { * The validation result detail. */ #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" - @Azure.ResourceManager.Private.conditionalClientFlatten properties?: ValidateResult | null; /** @@ -860,7 +857,6 @@ model ConfigurationNameItem { * The result detail. */ #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" - @Azure.ResourceManager.Private.conditionalClientFlatten properties?: ConfigurationNames | null; } @@ -930,7 +926,6 @@ model DaprConfigurationResource { * The properties of the dapr configuration. */ #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" - @Azure.ResourceManager.Private.conditionalClientFlatten properties?: DaprConfigurationProperties; } diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json index d4d8f32c309a..c3e377c25ce1 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json @@ -2115,8 +2115,7 @@ "description": "The ConfigurationNameItem items on this page", "items": { "$ref": "#/definitions/ConfigurationNameItem" - }, - "x-ms-identifiers": [] + } }, "nextLink": { "type": "string", @@ -2157,8 +2156,7 @@ "description": "The configuration names to be set in compute service environment.", "items": { "$ref": "#/definitions/ConfigurationName" - }, - "x-ms-identifiers": [] + } } } }, @@ -2306,8 +2304,7 @@ "description": "The DaprConfigurationResource items on this page", "items": { "$ref": "#/definitions/DaprConfigurationResource" - }, - "x-ms-identifiers": [] + } }, "nextLink": { "type": "string", From 50d8b4fb119701658e500b299788cdd9b6e6c30d Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Tue, 24 Jun 2025 17:43:33 +0800 Subject: [PATCH 15/37] update --- .../DryrunResource.tsp | 8 +- .../LinkerResource.tsp | 8 +- .../ServiceLinker.Management/legacy.tsp | 326 ------------------ .../ServiceLinker.Management/main.tsp | 1 - 4 files changed, 8 insertions(+), 335 deletions(-) delete mode 100644 specification/servicelinker/ServiceLinker.Management/legacy.tsp diff --git a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp index d3282433dbff..85dd24617c5a 100644 --- a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp @@ -26,12 +26,12 @@ model DryrunResource is Azure.ResourceManager.ProxyResource { @armResourceOperations interface DryrunResourceOps - extends Azure.ResourceManager.Legacy.CustomLegacyOperations< + extends Azure.ResourceManager.Legacy.LegacyOperations< { ...ApiVersionParameter, ...SubscriptionIdParameter, ...ResourceGroupParameter, - ...Azure.ResourceManager.Legacy.CustomProvider, + ...Azure.ResourceManager.Legacy.Provider, ...LocationParameter, }, KeysOf { - /** - * @dev A long-running resource CreateOrUpdate (PUT) - * @template Resource the resource being created or updated - * @template LroHeaders Optional. Allows overriding the lro headers returned on resource create - * @template Parameters Optional. Additional parameters after the path parameters - * @template Response Optional. The success response(s) for the PUT operation - */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" - @autoRoute - @doc("Create a {name}", Resource) - @armResourceCreateOrUpdate(Resource) - @Azure.Core.Foundations.Private.defaultFinalStateVia(#[ - "location", - "azure-async-operation" - ]) - @put - CreateOrUpdateAsync< - Resource extends Azure.ResourceManager.CommonTypes.Resource, - LroHeaders extends TypeSpec.Reflection.Model = ArmAsyncOperationHeader & - Azure.Core.Foundations.RetryAfterHeader, - Parameters extends {} = {}, - Response extends {} = ArmResourceUpdatedResponse | ArmResourceCreatedResponse< - Resource, - LroHeaders - > - >( - ...ParentParameters, - ...ResourceTypeParameter, - ...Parameters, - @doc("Resource create parameters.") @bodyRoot resource: Resource, - ): Response | ErrorType; - - /** - * @dev A synchronous resource CreateOrUpdate (PUT) - * @template Resource the resource being created or updated - * @template Parameters Optional. Additional parameters after the path parameters - * @template Response Optional. The success response(s) for the PUT operation - */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" - @autoRoute - @doc("Create a {name}", Resource) - @armResourceCreateOrUpdate(Resource) - @put - CreateOrUpdateSync< - Resource extends Azure.ResourceManager.CommonTypes.Resource, - Parameters extends {} = {}, - Response extends {} = ArmResourceUpdatedResponse | ArmResourceCreatedSyncResponse - >( - ...ParentParameters, - ...ResourceTypeParameter, - ...Parameters, - @doc("Resource create parameters.") @bodyRoot resource: Resource, - ): Response | ErrorType; - - /** - * @dev A long-running resource Update (PATCH) - * @template Resource the resource being created or updated - * @template PatchModel the PATCH request model - * @template LroHeaders Optional. Allows overriding the lro headers returned on resource create - * @template Parameters Optional. Additional parameters after the path parameters - * @template Response Optional. The success response(s) for the PATCH operation - */ - @autoRoute - @doc("Update a {name}", Resource) - @armResourceUpdate(Resource) - @patch - CustomPatchAsync< - Resource extends Azure.ResourceManager.CommonTypes.Resource, - PatchModel extends {} = Azure.ResourceManager.Foundations.TagsUpdateModel, - LroHeaders extends TypeSpec.Reflection.Model = ArmLroLocationHeader< - Azure.Core.StatusMonitorPollingOptions, - Resource, - string - > & - Azure.Core.Foundations.RetryAfterHeader, - Parameters extends {} = {}, - Response extends {} = ArmResponse | ArmAcceptedLroResponse< - "Resource update request accepted.", - LroHeaders - > - >( - ...ParentParameters, - ...ResourceTypeParameter, - ...Parameters, - @doc("Resource create parameters.") @bodyRoot properties: PatchModel, - ): Response | ErrorType; - - /** - * @dev A synchronous resource Update (PATCH) - * @template Resource the resource being created or updated - * @template PatchModel the PATCH request model - * @template Parameters Optional. Additional parameters after the path parameters - * @template Response Optional. The success response(s) for the PATCH operation - */ - @autoRoute - @doc("Update a {name}", Resource) - @armResourceUpdate(Resource) - @patch - CustomPatchSync< - Resource extends Azure.ResourceManager.CommonTypes.Resource, - PatchModel extends {} = Azure.ResourceManager.Foundations.TagsUpdateModel, - Parameters extends {} = {}, - Response extends {} = ArmResponse - >( - ...ParentParameters, - ...ResourceTypeParameter, - ...Parameters, - @doc("Resource create parameters.") @bodyRoot properties: PatchModel, - ): Response | ErrorType; - - /** - * @dev Delete a resource asynchronously - * @template Resource The resource being deleted - * @template LroHeaders The lro headers for the operation - * @template Parameters Optional. Additional parameters after the path parameters - * @template Response Optional. The success response(s) for the delete operation - */ - #suppress "@azure-tools/typespec-azure-core/no-response-body" "Valid" - @autoRoute - @doc("Delete a {name}", Resource) - @delete - @deletesResource(Resource) - @armResourceDelete(Resource) - DeleteWithoutOkAsync< - Resource extends Azure.ResourceManager.CommonTypes.Resource, - LroHeaders extends TypeSpec.Reflection.Model = ArmLroLocationHeader & - Azure.Core.Foundations.RetryAfterHeader, - Parameters extends {} = {}, - Response extends {} = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse - >( - ...ParentParameters, - ...ResourceTypeParameter, - ...Parameters, - ): Response | ErrorType; - - /** - * @dev Delete a resource synchronously - * @template Resource The resource being deleted - * @template Parameters Optional. Additional parameters after the path parameters - * @template Response Optional. The success response(s) for the delete operation - */ - #suppress "@azure-tools/typespec-azure-core/no-response-body" "Valid" - @autoRoute - @doc("Delete a {name}", Resource) - @delete - @deletesResource(Resource) - @armResourceDelete(Resource) - DeleteSync< - Resource extends Azure.ResourceManager.CommonTypes.Resource, - Parameters extends {} = {}, - Response extends {} = ArmDeletedResponse | ArmDeletedNoContentResponse - >( - ...ParentParameters, - ...ResourceTypeParameter, - ...Parameters, - ): Response | ErrorType; - - /** - * @dev Get a resource - * @template Resource The resource being read - * @template Parameters Optional. Additional parameters after the path parameters - * @template Response Optional. The success response for a get operation. - */ - @autoRoute - @doc("Get a {name}", Resource) - @get - @readsResource(Resource) - @armResourceRead(Resource) - Read< - Resource extends Azure.ResourceManager.CommonTypes.Resource, - Parameters extends {} = {}, - Response extends {} = ArmResponse - >( - ...ParentParameters, - ...ResourceTypeParameter, - ...Parameters, - ): Response | ErrorType; - - /** - * @dev Get a resource - * @template Resource The resource being read - * @template Parameters Optional. Additional parameters after the path parameters - * @template Response Optional. The success response for a get operation. - */ - @doc("Get a {name}", Resource) - @get - @readsResource(Resource) - @armResourceRead(Resource) - ReadRoute< - Resource extends Azure.ResourceManager.CommonTypes.Resource, - Parameters extends {} = {}, - Response extends {} = ArmResponse - >( - ...ParentParameters, - ...ResourceTypeParameter, - ...Parameters, - ): Response | ErrorType; - - /** - * @dev List a resource - * @template Resource The resource being listed - * @template Parameters Optional. Additional parameters after the path parameters - * @template Response Optional. The response returned by the list - */ - @autoRoute - @doc("List {name} resources", Resource) - @get - @listsResource(Resource) - @segmentOf(Resource) - @armResourceList(Resource) - List< - Resource extends Azure.ResourceManager.CommonTypes.Resource, - Parameters extends {} = {}, - Response extends {} = ArmResponse> - >(...ParentParameters, ...Parameters): Response | ErrorType; - - /** - * @dev List a resource - * @template Resource The resource being listed - * @template Parameters Optional. Additional parameters after the path parameters - * @template Response Optional. The response returned by the list - */ - @doc("List {name} resources", Resource) - @get - @listsResource(Resource) - @armResourceList(Resource) - ListRoute< - Resource extends Azure.ResourceManager.CommonTypes.Resource, - Parameters extends {} = {}, - Response extends {} = ArmResponse> - >(...ParentParameters, ...Parameters): Response | ErrorType; - - /** - * A synchronous resource action. - * @template Resource The resource being acted upon - * @template Request The request model for the action - * @template Response The response model for the action - * @template Parameters Optional. Additional parameters after the path parameters - */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" - @autoRoute - @armResourceAction(Resource) - @Private.enforceConstraint(Resource, Foundations.Resource) - @post - @returnsDoc("Azure operation completed successfully.") - ActionSync< - Resource extends Foundations.Resource, - Request extends TypeSpec.Reflection.Model | void, - Response extends TypeSpec.Reflection.Model | void, - Parameters extends {} = {} - >( - ...ParentParameters, - ...ResourceTypeParameter, - ...Parameters, - - @doc("The content of the action request") - @bodyRoot - body: Request, - ): Response | ErrorType; - - /** - * A long-running resource action. - * @template Resource The resource being acted upon - * @template Request The request model for the action - * @template LroHeaders Optional. Allows overriding the headers returned in the Accepted response - * @template Response The response model for the action - * @template Parameters Optional. Additional parameters after the path parameters - */ - #suppress "@azure-tools/typespec-azure-core/no-response-body" "ARM" - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "template" - @autoRoute - @armResourceAction(Resource) - @Private.enforceConstraint(Resource, Foundations.Resource) - @post - @returnsDoc("Azure operation completed successfully.") - ActionAsync< - Resource extends Foundations.Resource, - Request extends TypeSpec.Reflection.Model | void, - Result extends TypeSpec.Reflection.Model | void, - LroHeaders extends TypeSpec.Reflection.Model = ArmLroLocationHeader< - Azure.Core.StatusMonitorPollingOptions, - Result, - string - > & - Azure.Core.Foundations.RetryAfterHeader, - Parameters extends {} = {}, - Response extends {} | void = ArmAcceptedLroResponse< - "Resource operation accepted.", - LroHeaders - > | Result - >( - ...ParentParameters, - ...ResourceTypeParameter, - ...Parameters, - - @doc("The content of the action request") - @bodyRoot - body: Request, - ): Response | ErrorType; - } - /** - * @dev Get the provider namespace key-value pair - * @template Resource Optional. The resource to get the provider namespace for. - */ - model CustomProvider { - ...ProviderNamespace; - } -} diff --git a/specification/servicelinker/ServiceLinker.Management/main.tsp b/specification/servicelinker/ServiceLinker.Management/main.tsp index e7a1fb1e2f20..3297c5e8d532 100644 --- a/specification/servicelinker/ServiceLinker.Management/main.tsp +++ b/specification/servicelinker/ServiceLinker.Management/main.tsp @@ -15,7 +15,6 @@ import "./models.tsp"; import "./DryrunResource.tsp"; import "./LinkerResource.tsp"; import "./routes.tsp"; -import "./legacy.tsp"; import "./back-compatible.tsp"; using TypeSpec.Rest; From ee6ad6caa4c11721fb50f117b0057057a33fe68c Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Thu, 26 Jun 2025 14:37:12 +0800 Subject: [PATCH 16/37] update --- .../DryrunResource.tsp | 16 +- .../LinkerResource.tsp | 30 +-- .../back-compatible.tsp | 14 +- .../ServiceLinker.Management/models.tsp | 204 +++++++++++------- .../ServiceLinker.Management/routes.tsp | 13 +- .../ServiceLinker.Management/tspconfig.yaml | 7 - 6 files changed, 172 insertions(+), 112 deletions(-) diff --git a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp index 85dd24617c5a..450d9dce323c 100644 --- a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp @@ -1,3 +1,6 @@ +#suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "@typespec/openapi"; @@ -47,21 +50,22 @@ interface DryrunResources { /** * get a dryrun job */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @operationId("Connector_GetDryrun") getDryrun is DryrunResourceOps.Read; /** * create a dryrun job to do necessary check before actual creation */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @operationId("Connector_CreateDryrun") createDryrun is DryrunResourceOps.CreateOrUpdateAsync; /** * update a dryrun job to do necessary check before actual creation */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @patch(#{ implicitOptionality: false }) @operationId("Connector_UpdateDryrun") updateDryrun is DryrunResourceOps.CustomPatchAsync< @@ -73,14 +77,14 @@ interface DryrunResources { /** * delete a dryrun job */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @operationId("Connector_DeleteDryrun") deleteDryrun is DryrunResourceOps.DeleteSync; /** * list dryrun jobs */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @operationId("Connector_ListDryrun") listDryrun is DryrunResourceOps.List< DryrunResource, @@ -94,6 +98,7 @@ interface LinkersOps { ...ApiVersionParameter, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @path(#{ allowReserved: true }) resourceUri: string, @@ -121,6 +126,7 @@ interface Linkers { /** * add a dryrun job to do necessary check before actual creation */ + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @patch(#{ implicitOptionality: false }) updateDryrun is LinkersOps.CustomPatchAsync< DryrunResource, diff --git a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp index 0bc348de47db..430b6ead7c9f 100644 --- a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp @@ -1,3 +1,5 @@ +#suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "@typespec/openapi"; @@ -48,22 +50,22 @@ interface LinkerResources { /** * Returns Connector resource for a given name. */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @operationId("Connector_Get") get is LinkerResourceOps.Read; /** * Create or update Connector resource. */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @operationId("Connector_CreateOrUpdate") createOrUpdate is LinkerResourceOps.CreateOrUpdateAsync; - /** * Operation to update an existing Connector. */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" - #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @patch(#{ implicitOptionality: false }) @operationId("Connector_Update") update is LinkerResourceOps.CustomPatchAsync< @@ -78,9 +80,9 @@ interface LinkerResources { /** * Delete a Connector. */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" - #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "For backward compatibility" - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @operationId("Connector_Delete") delete is LinkerResourceOps.DeleteWithoutOkAsync< LinkerResource, @@ -91,7 +93,7 @@ interface LinkerResources { /** * Returns list of connector which connects to the resource, which supports to config the target service during the resource provision. */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @operationId("Connector_List") list is LinkerResourceOps.List< LinkerResource, @@ -101,7 +103,7 @@ interface LinkerResources { /** * Validate a Connector. */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @operationId("Connector_Validate") validate is LinkerResourceOps.ActionAsync< LinkerResource, @@ -112,7 +114,7 @@ interface LinkerResources { /** * Generate configurations for a Connector. */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @operationId("Connector_GenerateConfigurations") generateConfigurations is LinkerResourceOps.ActionSync< LinkerResource, @@ -174,8 +176,8 @@ interface Linker { /** * Delete a Linker. */ - #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "For backward compatibility" - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" delete is LinkerOps.DeleteWithoutOkAsync< LinkerResource, Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse { @doc("The link to the next page of items") @nextLink + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" nextLink?: ResourceLocation | null; } @@ -310,7 +321,7 @@ model DryrunProperties { /** * The provisioning state. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @visibility(Lifecycle.Read) provisioningState?: string; } @@ -403,7 +414,7 @@ model DryrunPatch { /** * The properties of the dryrun job. */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" properties?: DryrunProperties; } @@ -434,33 +445,38 @@ model LinkerProperties { /** * The provisioning state. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @visibility(Lifecycle.Read) provisioningState?: string; /** * The VNet solution. */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" vNetSolution?: VNetSolution | null; /** * An option to store secret value in secure place */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" secretStore?: SecretStore | null; /** * connection scope in source service. */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" scope?: string | null; /** * The network solution. */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" publicNetworkSolution?: PublicNetworkSolution | null; /** * The connection information consumed by applications, including secrets, connection strings. */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" configurationInfo?: ConfigurationInfo | null; } @@ -494,10 +510,12 @@ model AuthInfoBase { /** * The VNet solution for linker */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model VNetSolution { /** * Type of VNet solution. */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" type?: VNetSolutionType | null; /** @@ -513,11 +531,13 @@ model SecretStore { /** * The key vault id to store secret */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" keyVaultId?: string | null; /** * The key vault secret name to store secret, only valid when storing one secret */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" keyVaultSecretName?: string | null; } @@ -558,6 +578,7 @@ model FirewallRules { /** * Allow caller client IP to access the target service if true. the property is used when connecting local application to target service. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" callerClientIP?: AllowType; } @@ -578,7 +599,7 @@ model ConfigurationInfo { /** * Optional. A dictionary of default key name and customized key name mapping. If not specified, default key name will be used for generate configurations */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" customizedKeys?: Record; /** @@ -589,25 +610,28 @@ model ConfigurationInfo { /** * A dictionary of additional configurations to be added. Service will auto generate a set of basic configurations and this property is to full fill more customized configurations */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" additionalConfigurations?: Record; /** * A dictionary of additional properties to be added in the end of connection string. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" additionalConnectionStringProperties?: Record; /** * An option to store configuration into different place */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" configurationStore?: ConfigurationStore | null; } +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" union ActionType { /** Actions are for internal-only APIs. */ enable: "enable", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" optOut: "optOut", string, } @@ -618,16 +642,19 @@ model DaprProperties { /** * The dapr component version */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" version?: string | null; /** * The dapr component type */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" componentType?: string | null; /** * The name of a secret store dapr to retrieve secret */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" secretStoreComponent?: string | null; /** @@ -645,12 +672,14 @@ model DaprProperties { * The runtime version supported by the properties */ @visibility(Lifecycle.Read) + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" runtimeVersion?: string | null; /** * The direction supported by the dapr binding component */ @visibility(Lifecycle.Read) + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" bindingComponentDirection?: DaprBindingComponentDirection | null; } @@ -691,6 +720,7 @@ model ConfigurationStore { /** * The app configuration id to store configuration */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" appConfigurationId?: string | null; } @@ -701,7 +731,7 @@ model LinkerPatch { /** * Linker properties */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" properties?: LinkerProperties; } @@ -712,17 +742,20 @@ model ValidateOperationResult { /** * The validation result detail. */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" properties?: ValidateResult | null; /** * Validated Linker id. */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" resourceId?: string | null; /** * Validation operation status. */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" status?: string | null; } @@ -733,38 +766,45 @@ model ValidateResult { /** * The linker name. */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" linkerName?: string | null; /** * A boolean value indicating whether the connection is available or not */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" isConnectionAvailable?: boolean | null; /** * The start time of the validation report. */ // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" reportStartTimeUtc?: utcDateTime | null; /** * The end time of the validation report. */ // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" reportEndTimeUtc?: utcDateTime | null; /** * The resource id of the Linker source application. */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" sourceId?: string | null; /** * The resource Id of target service. */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" targetId?: string | null; /** * The authentication type. */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" authType?: AuthType | null; /** @@ -786,21 +826,25 @@ model ValidationResultItem { /** * The display name of validation item */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" description?: string | null; /** * The result of validation */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" result?: ValidationResultStatus | null; /** * The error message of validation result */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" errorMessage?: string | null; /** * The error code of validation result */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" errorCode?: string | null; } @@ -827,6 +871,7 @@ model SourceConfiguration { /** * The value of setting */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" value?: string | null; /** @@ -838,11 +883,13 @@ model SourceConfiguration { /** * The identity for key vault reference, system or user-assigned managed identity ID */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" keyVaultReferenceIdentity?: string | null; /** * Descriptive information for the configuration */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" description?: string | null; } @@ -851,12 +898,13 @@ model SourceConfiguration { */ model ConfigurationNameResult is Azure.Core.Page; -#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model ConfigurationNameItem { /** * The result detail. */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" properties?: ConfigurationNames | null; } @@ -892,6 +940,7 @@ model ConfigurationNames { /** * The configuration names to be set in compute service environment. */ + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" names?: ConfigurationName[]; } @@ -899,7 +948,7 @@ model ConfigurationNames { * The configuration names. */ model ConfigurationName { - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" value?: string; /** @@ -925,11 +974,11 @@ model DaprConfigurationResource { /** * The properties of the dapr configuration. */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" properties?: DaprConfigurationProperties; } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model DaprConfigurationProperties { /** * Supported target resource type, extract from resource id, uppercase @@ -970,6 +1019,7 @@ model AzureResource extends TargetServiceBase { /** * The azure resource connection related properties. */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" resourceProperties?: AzureResourcePropertiesBase | null; /** @@ -985,6 +1035,7 @@ model AzureKeyVaultProperties extends AzureResourcePropertiesBase { /** * True if connect via Kubernetes CSI Driver. */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" connectAsKubernetesCsiDriver?: boolean | null; /** @@ -1000,6 +1051,7 @@ model AzureAppConfigProperties extends AzureResourcePropertiesBase { /** * True if connection enables app configuration kubernetes extension. */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" connectWithKubernetesExtension?: boolean | null; /** @@ -1087,6 +1139,7 @@ model ValueSecretInfo extends SecretInfoBase { * The actual value of the secret. */ @secret + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" value?: string | null; /** @@ -1107,6 +1160,7 @@ model KeyVaultSecretReferenceSecretInfo extends SecretInfoBase { /** * Version of the Key Vault secret. */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" version?: string | null; /** @@ -1152,6 +1206,7 @@ model DatabaseAadAuthInfo { /** * Username created in the database which is mapped to a user in AAD. */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" userName?: string | null; } @@ -1162,11 +1217,13 @@ model SecretAuthInfo extends AuthInfoBase { /** * Username or account name for secret auth. */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" name?: string | null; /** * Password or key vault secret for secret auth. */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" secretInfo?: SecretInfoBase | null; /** @@ -1333,6 +1390,7 @@ model UserAccountAuthInfo extends AuthInfoBase { /** * The authentication info when authType is EasyAuth Microsoft Entra ID */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model EasyAuthMicrosoftEntraIDAuthInfo extends AuthInfoBase { /** * Application clientId for EasyAuth Microsoft Entra ID. diff --git a/specification/servicelinker/ServiceLinker.Management/routes.tsp b/specification/servicelinker/ServiceLinker.Management/routes.tsp index b466c41cd8d6..5521b554834b 100644 --- a/specification/servicelinker/ServiceLinker.Management/routes.tsp +++ b/specification/servicelinker/ServiceLinker.Management/routes.tsp @@ -1,5 +1,7 @@ // FIXME: Operations in this file are not detected as a resource operation, please confirm the conversion result manually +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + import "@azure-tools/typespec-azure-core"; import "@typespec/rest"; import "./models.tsp"; @@ -13,12 +15,11 @@ using TypeSpec.OpenAPI; namespace Microsoft.ServiceLinker; -#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "For backward compatibility" -interface LinkersOperationGroup { - /** +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface LinkersOperationGroup { /** * List the dapr configuration supported by Service Connector. */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @operationId("Linkers_ListDaprConfigurations") @route("/{+resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations") @get @@ -33,12 +34,12 @@ interface LinkersOperationGroup { ): ArmResponse | ErrorResponse; } -#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" interface ConfigurationNamesOperationGroup { /** * Lists the configuration names generated by Service Connector for all target, client types, auth types. */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @operationId("ConfigurationNames_List") @autoRoute @get diff --git a/specification/servicelinker/ServiceLinker.Management/tspconfig.yaml b/specification/servicelinker/ServiceLinker.Management/tspconfig.yaml index 69635a4ea208..beba230f33c9 100644 --- a/specification/servicelinker/ServiceLinker.Management/tspconfig.yaml +++ b/specification/servicelinker/ServiceLinker.Management/tspconfig.yaml @@ -48,10 +48,3 @@ options: linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" - disable: - "@azure-tools/typespec-azure-core/no-nullable": "backward-compatibility" - "@azure-tools/typespec-azure-core/casing-style": "backward-compatibility" - "@azure-tools/typespec-azure-core/documentation-required": "backward-compatibility" - "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers": "backward-compatibility" - "@azure-tools/typespec-azure-resource-manager/lro-location-header": "backward-compatibility" - "@azure-tools/typespec-azure-resource-manager/arm-resource-operation": "backward-compatibility" From eb11fe5fb7d0d5ef1ba7725ea1616775358ebded Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Thu, 26 Jun 2025 15:05:48 +0800 Subject: [PATCH 17/37] update --- .../DryrunResource.tsp | 3 -- .../LinkerResource.tsp | 2 -- .../back-compatible.tsp | 28 +++++++++++++++++++ .../ServiceLinker.Management/models.tsp | 18 +++--------- .../ServiceLinker.Management/routes.tsp | 5 ++-- 5 files changed, 34 insertions(+), 22 deletions(-) diff --git a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp index 450d9dce323c..7051ebbee9af 100644 --- a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp @@ -1,6 +1,3 @@ -#suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "@typespec/openapi"; diff --git a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp index 430b6ead7c9f..9a24dd21cc12 100644 --- a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp @@ -1,5 +1,3 @@ -#suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "@typespec/openapi"; diff --git a/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp b/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp index 189014e39cb7..7de06d584ebd 100644 --- a/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp +++ b/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp @@ -31,3 +31,31 @@ using Microsoft.ServiceLinker; @@clientName(Linker.update::parameters.properties, "parameters"); #suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(LinkerResource.properties); + +// @@clientLocation decorators for operations with custom @operationId +// These ensure consistent operationId generation in the output + +// LinkerResources interface operations with Connector_ prefix +@@clientLocation(LinkerResources.get, "Connector"); +@@clientLocation(LinkerResources.createOrUpdate, "Connector"); +@@clientLocation(LinkerResources.update, "Connector"); +@@clientLocation(LinkerResources.delete, "Connector"); +@@clientLocation(LinkerResources.list, "Connector"); +@@clientLocation(LinkerResources.validate, "Connector"); +@@clientLocation(LinkerResources.generateConfigurations, "Connector"); + +// DryrunResources interface operations with Connector_ prefix +@@clientLocation(DryrunResources.getDryrun, "Connector"); +@@clientLocation(DryrunResources.createDryrun, "Connector"); +@@clientLocation(DryrunResources.updateDryrun, "Connector"); +@@clientLocation(DryrunResources.deleteDryrun, "Connector"); +@@clientLocation(DryrunResources.listDryrun, "Connector"); + +// Linker interface operations with Linkers_ prefix +@@clientLocation(Linker.generateConfigurations, Linkers); + +// LinkersOperationGroup operations with Linkers_ prefix +@@clientLocation(LinkersOperationGroup.listDaprConfigurations, Linkers); + +// ConfigurationNamesOperationGroup operations with ConfigurationNames_ prefix +@@clientLocation(ConfigurationNamesOperationGroup.list, "ConfigurationNames"); diff --git a/specification/servicelinker/ServiceLinker.Management/models.tsp b/specification/servicelinker/ServiceLinker.Management/models.tsp index 7c8a0273446c..fa4c642df1e0 100644 --- a/specification/servicelinker/ServiceLinker.Management/models.tsp +++ b/specification/servicelinker/ServiceLinker.Management/models.tsp @@ -1,13 +1,3 @@ -#suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -#suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - -#suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -#suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - import "@typespec/rest"; import "@typespec/http"; import "@azure-tools/typespec-azure-core"; @@ -284,9 +274,9 @@ model CustomPage { @Azure.Core.items value?: Resource[]; + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @doc("The link to the next page of items") @nextLink - #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" nextLink?: ResourceLocation | null; } @@ -671,15 +661,15 @@ model DaprProperties { /** * The runtime version supported by the properties */ - @visibility(Lifecycle.Read) #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) runtimeVersion?: string | null; /** * The direction supported by the dapr binding component */ - @visibility(Lifecycle.Read) #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) bindingComponentDirection?: DaprBindingComponentDirection | null; } @@ -1138,8 +1128,8 @@ model ValueSecretInfo extends SecretInfoBase { /** * The actual value of the secret. */ - @secret #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @secret value?: string | null; /** diff --git a/specification/servicelinker/ServiceLinker.Management/routes.tsp b/specification/servicelinker/ServiceLinker.Management/routes.tsp index 5521b554834b..d22fef7e462e 100644 --- a/specification/servicelinker/ServiceLinker.Management/routes.tsp +++ b/specification/servicelinker/ServiceLinker.Management/routes.tsp @@ -1,7 +1,5 @@ // FIXME: Operations in this file are not detected as a resource operation, please confirm the conversion result manually -#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - import "@azure-tools/typespec-azure-core"; import "@typespec/rest"; import "./models.tsp"; @@ -16,7 +14,8 @@ using TypeSpec.OpenAPI; namespace Microsoft.ServiceLinker; #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -interface LinkersOperationGroup { /** +interface LinkersOperationGroup { + /** * List the dapr configuration supported by Service Connector. */ #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" From 0aadd4ef31b0ca4d190ad9507473324744dcb21c Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Fri, 27 Jun 2025 17:45:45 +0800 Subject: [PATCH 18/37] update --- specification/servicelinker/ServiceLinker.Management/main.tsp | 2 +- .../preview/2024-07-01-preview/servicelinker.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/servicelinker/ServiceLinker.Management/main.tsp b/specification/servicelinker/ServiceLinker.Management/main.tsp index 3297c5e8d532..5abf37503388 100644 --- a/specification/servicelinker/ServiceLinker.Management/main.tsp +++ b/specification/servicelinker/ServiceLinker.Management/main.tsp @@ -27,7 +27,7 @@ using TypeSpec.Versioning; * Microsoft.ServiceLinker provider */ @armProviderNamespace -@service(#{ title: "ServiceLinkerManagementClient" }) +@service(#{ title: "Microsoft.ServiceLinker" }) @versioned(Versions) @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v3) namespace Microsoft.ServiceLinker; diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json index c3e377c25ce1..4aa5ff766c31 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "ServiceLinkerManagementClient", + "title": "Microsoft.ServiceLinker", "version": "2024-07-01-preview", "description": "Microsoft.ServiceLinker provider", "x-typespec-generated": [ From 3ed0c78826fdb07acb532f2b76ae0014fc97094a Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Fri, 27 Jun 2025 17:46:24 +0800 Subject: [PATCH 19/37] Revert "update" This reverts commit eb11fe5fb7d0d5ef1ba7725ea1616775358ebded. --- .../DryrunResource.tsp | 3 ++ .../LinkerResource.tsp | 2 ++ .../back-compatible.tsp | 28 ------------------- .../ServiceLinker.Management/models.tsp | 18 +++++++++--- .../ServiceLinker.Management/routes.tsp | 5 ++-- 5 files changed, 22 insertions(+), 34 deletions(-) diff --git a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp index 7051ebbee9af..450d9dce323c 100644 --- a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp @@ -1,3 +1,6 @@ +#suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "@typespec/openapi"; diff --git a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp index 9a24dd21cc12..430b6ead7c9f 100644 --- a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp @@ -1,3 +1,5 @@ +#suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "@typespec/openapi"; diff --git a/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp b/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp index 7de06d584ebd..189014e39cb7 100644 --- a/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp +++ b/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp @@ -31,31 +31,3 @@ using Microsoft.ServiceLinker; @@clientName(Linker.update::parameters.properties, "parameters"); #suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(LinkerResource.properties); - -// @@clientLocation decorators for operations with custom @operationId -// These ensure consistent operationId generation in the output - -// LinkerResources interface operations with Connector_ prefix -@@clientLocation(LinkerResources.get, "Connector"); -@@clientLocation(LinkerResources.createOrUpdate, "Connector"); -@@clientLocation(LinkerResources.update, "Connector"); -@@clientLocation(LinkerResources.delete, "Connector"); -@@clientLocation(LinkerResources.list, "Connector"); -@@clientLocation(LinkerResources.validate, "Connector"); -@@clientLocation(LinkerResources.generateConfigurations, "Connector"); - -// DryrunResources interface operations with Connector_ prefix -@@clientLocation(DryrunResources.getDryrun, "Connector"); -@@clientLocation(DryrunResources.createDryrun, "Connector"); -@@clientLocation(DryrunResources.updateDryrun, "Connector"); -@@clientLocation(DryrunResources.deleteDryrun, "Connector"); -@@clientLocation(DryrunResources.listDryrun, "Connector"); - -// Linker interface operations with Linkers_ prefix -@@clientLocation(Linker.generateConfigurations, Linkers); - -// LinkersOperationGroup operations with Linkers_ prefix -@@clientLocation(LinkersOperationGroup.listDaprConfigurations, Linkers); - -// ConfigurationNamesOperationGroup operations with ConfigurationNames_ prefix -@@clientLocation(ConfigurationNamesOperationGroup.list, "ConfigurationNames"); diff --git a/specification/servicelinker/ServiceLinker.Management/models.tsp b/specification/servicelinker/ServiceLinker.Management/models.tsp index fa4c642df1e0..7c8a0273446c 100644 --- a/specification/servicelinker/ServiceLinker.Management/models.tsp +++ b/specification/servicelinker/ServiceLinker.Management/models.tsp @@ -1,3 +1,13 @@ +#suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + +#suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + import "@typespec/rest"; import "@typespec/http"; import "@azure-tools/typespec-azure-core"; @@ -274,9 +284,9 @@ model CustomPage { @Azure.Core.items value?: Resource[]; - #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @doc("The link to the next page of items") @nextLink + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" nextLink?: ResourceLocation | null; } @@ -661,15 +671,15 @@ model DaprProperties { /** * The runtime version supported by the properties */ - #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @visibility(Lifecycle.Read) + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" runtimeVersion?: string | null; /** * The direction supported by the dapr binding component */ - #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @visibility(Lifecycle.Read) + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" bindingComponentDirection?: DaprBindingComponentDirection | null; } @@ -1128,8 +1138,8 @@ model ValueSecretInfo extends SecretInfoBase { /** * The actual value of the secret. */ - #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @secret + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" value?: string | null; /** diff --git a/specification/servicelinker/ServiceLinker.Management/routes.tsp b/specification/servicelinker/ServiceLinker.Management/routes.tsp index d22fef7e462e..5521b554834b 100644 --- a/specification/servicelinker/ServiceLinker.Management/routes.tsp +++ b/specification/servicelinker/ServiceLinker.Management/routes.tsp @@ -1,5 +1,7 @@ // FIXME: Operations in this file are not detected as a resource operation, please confirm the conversion result manually +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + import "@azure-tools/typespec-azure-core"; import "@typespec/rest"; import "./models.tsp"; @@ -14,8 +16,7 @@ using TypeSpec.OpenAPI; namespace Microsoft.ServiceLinker; #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -interface LinkersOperationGroup { - /** +interface LinkersOperationGroup { /** * List the dapr configuration supported by Service Connector. */ #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" From dc1af983ad061adbb464b5824c0b9c62527eff31 Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Fri, 27 Jun 2025 17:47:30 +0800 Subject: [PATCH 20/37] Reapply "update" This reverts commit 3ed0c78826fdb07acb532f2b76ae0014fc97094a. --- .../DryrunResource.tsp | 3 -- .../LinkerResource.tsp | 2 -- .../back-compatible.tsp | 28 +++++++++++++++++++ .../ServiceLinker.Management/models.tsp | 18 +++--------- .../ServiceLinker.Management/routes.tsp | 5 ++-- 5 files changed, 34 insertions(+), 22 deletions(-) diff --git a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp index 450d9dce323c..7051ebbee9af 100644 --- a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp @@ -1,6 +1,3 @@ -#suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "@typespec/openapi"; diff --git a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp index 430b6ead7c9f..9a24dd21cc12 100644 --- a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp @@ -1,5 +1,3 @@ -#suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "@typespec/openapi"; diff --git a/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp b/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp index 189014e39cb7..7de06d584ebd 100644 --- a/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp +++ b/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp @@ -31,3 +31,31 @@ using Microsoft.ServiceLinker; @@clientName(Linker.update::parameters.properties, "parameters"); #suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(LinkerResource.properties); + +// @@clientLocation decorators for operations with custom @operationId +// These ensure consistent operationId generation in the output + +// LinkerResources interface operations with Connector_ prefix +@@clientLocation(LinkerResources.get, "Connector"); +@@clientLocation(LinkerResources.createOrUpdate, "Connector"); +@@clientLocation(LinkerResources.update, "Connector"); +@@clientLocation(LinkerResources.delete, "Connector"); +@@clientLocation(LinkerResources.list, "Connector"); +@@clientLocation(LinkerResources.validate, "Connector"); +@@clientLocation(LinkerResources.generateConfigurations, "Connector"); + +// DryrunResources interface operations with Connector_ prefix +@@clientLocation(DryrunResources.getDryrun, "Connector"); +@@clientLocation(DryrunResources.createDryrun, "Connector"); +@@clientLocation(DryrunResources.updateDryrun, "Connector"); +@@clientLocation(DryrunResources.deleteDryrun, "Connector"); +@@clientLocation(DryrunResources.listDryrun, "Connector"); + +// Linker interface operations with Linkers_ prefix +@@clientLocation(Linker.generateConfigurations, Linkers); + +// LinkersOperationGroup operations with Linkers_ prefix +@@clientLocation(LinkersOperationGroup.listDaprConfigurations, Linkers); + +// ConfigurationNamesOperationGroup operations with ConfigurationNames_ prefix +@@clientLocation(ConfigurationNamesOperationGroup.list, "ConfigurationNames"); diff --git a/specification/servicelinker/ServiceLinker.Management/models.tsp b/specification/servicelinker/ServiceLinker.Management/models.tsp index 7c8a0273446c..fa4c642df1e0 100644 --- a/specification/servicelinker/ServiceLinker.Management/models.tsp +++ b/specification/servicelinker/ServiceLinker.Management/models.tsp @@ -1,13 +1,3 @@ -#suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -#suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - -#suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -#suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - import "@typespec/rest"; import "@typespec/http"; import "@azure-tools/typespec-azure-core"; @@ -284,9 +274,9 @@ model CustomPage { @Azure.Core.items value?: Resource[]; + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @doc("The link to the next page of items") @nextLink - #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" nextLink?: ResourceLocation | null; } @@ -671,15 +661,15 @@ model DaprProperties { /** * The runtime version supported by the properties */ - @visibility(Lifecycle.Read) #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) runtimeVersion?: string | null; /** * The direction supported by the dapr binding component */ - @visibility(Lifecycle.Read) #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) bindingComponentDirection?: DaprBindingComponentDirection | null; } @@ -1138,8 +1128,8 @@ model ValueSecretInfo extends SecretInfoBase { /** * The actual value of the secret. */ - @secret #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @secret value?: string | null; /** diff --git a/specification/servicelinker/ServiceLinker.Management/routes.tsp b/specification/servicelinker/ServiceLinker.Management/routes.tsp index 5521b554834b..d22fef7e462e 100644 --- a/specification/servicelinker/ServiceLinker.Management/routes.tsp +++ b/specification/servicelinker/ServiceLinker.Management/routes.tsp @@ -1,7 +1,5 @@ // FIXME: Operations in this file are not detected as a resource operation, please confirm the conversion result manually -#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - import "@azure-tools/typespec-azure-core"; import "@typespec/rest"; import "./models.tsp"; @@ -16,7 +14,8 @@ using TypeSpec.OpenAPI; namespace Microsoft.ServiceLinker; #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -interface LinkersOperationGroup { /** +interface LinkersOperationGroup { + /** * List the dapr configuration supported by Service Connector. */ #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" From e94fc0374bcb9374958c5145797b2a4b6cb662c0 Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Thu, 3 Jul 2025 16:31:37 +0800 Subject: [PATCH 21/37] update --- .../ServiceLinker.Management/DryrunResource.tsp | 6 ------ .../ServiceLinker.Management/LinkerResource.tsp | 9 --------- .../ServiceLinker.Management/back-compatible.tsp | 15 +++++++++++++++ .../ServiceLinker.Management/routes.tsp | 3 --- 4 files changed, 15 insertions(+), 18 deletions(-) diff --git a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp index 7051ebbee9af..97505b75498d 100644 --- a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp @@ -7,7 +7,6 @@ import "./models.tsp"; using TypeSpec.Rest; using Azure.ResourceManager; using TypeSpec.Http; -using TypeSpec.OpenAPI; namespace Microsoft.ServiceLinker; /** @@ -48,14 +47,12 @@ interface DryrunResources { * get a dryrun job */ #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - @operationId("Connector_GetDryrun") getDryrun is DryrunResourceOps.Read; /** * create a dryrun job to do necessary check before actual creation */ #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - @operationId("Connector_CreateDryrun") createDryrun is DryrunResourceOps.CreateOrUpdateAsync; /** @@ -64,7 +61,6 @@ interface DryrunResources { #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @patch(#{ implicitOptionality: false }) - @operationId("Connector_UpdateDryrun") updateDryrun is DryrunResourceOps.CustomPatchAsync< DryrunResource, PatchModel = DryrunPatch, @@ -75,14 +71,12 @@ interface DryrunResources { * delete a dryrun job */ #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - @operationId("Connector_DeleteDryrun") deleteDryrun is DryrunResourceOps.DeleteSync; /** * list dryrun jobs */ #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - @operationId("Connector_ListDryrun") listDryrun is DryrunResourceOps.List< DryrunResource, Response = ArmResponse diff --git a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp index 9a24dd21cc12..15883c950f66 100644 --- a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp @@ -7,7 +7,6 @@ import "./models.tsp"; using TypeSpec.Rest; using Azure.ResourceManager; using TypeSpec.Http; -using TypeSpec.OpenAPI; namespace Microsoft.ServiceLinker; /** @@ -49,14 +48,12 @@ interface LinkerResources { * Returns Connector resource for a given name. */ #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - @operationId("Connector_Get") get is LinkerResourceOps.Read; /** * Create or update Connector resource. */ #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - @operationId("Connector_CreateOrUpdate") createOrUpdate is LinkerResourceOps.CreateOrUpdateAsync; /** * Operation to update an existing Connector. @@ -65,7 +62,6 @@ interface LinkerResources { #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @patch(#{ implicitOptionality: false }) - @operationId("Connector_Update") update is LinkerResourceOps.CustomPatchAsync< LinkerResource, PatchModel = LinkerPatch, @@ -81,7 +77,6 @@ interface LinkerResources { #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - @operationId("Connector_Delete") delete is LinkerResourceOps.DeleteWithoutOkAsync< LinkerResource, Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse @@ -102,7 +96,6 @@ interface LinkerResources { * Validate a Connector. */ #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - @operationId("Connector_Validate") validate is LinkerResourceOps.ActionAsync< LinkerResource, void, @@ -113,7 +106,6 @@ interface LinkerResources { * Generate configurations for a Connector. */ #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - @operationId("Connector_GenerateConfigurations") generateConfigurations is LinkerResourceOps.ActionSync< LinkerResource, { @@ -211,7 +203,6 @@ interface Linker { * Generate configurations for a Linker. */ #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - @operationId("Linkers_GenerateConfigurations") generateConfigurations is LinkerOps.ActionSync< LinkerResource, { diff --git a/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp b/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp index 7de06d584ebd..6109cb2d2977 100644 --- a/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp +++ b/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp @@ -37,25 +37,40 @@ using Microsoft.ServiceLinker; // LinkerResources interface operations with Connector_ prefix @@clientLocation(LinkerResources.get, "Connector"); +@@clientName(LinkerResources.get, "Get"); @@clientLocation(LinkerResources.createOrUpdate, "Connector"); +@@clientName(LinkerResources.createOrUpdate, "CreateOrUpdate"); @@clientLocation(LinkerResources.update, "Connector"); +@@clientName(LinkerResources.update, "Update"); @@clientLocation(LinkerResources.delete, "Connector"); +@@clientName(LinkerResources.delete, "Delete"); @@clientLocation(LinkerResources.list, "Connector"); +@@clientName(LinkerResources.list, "List"); @@clientLocation(LinkerResources.validate, "Connector"); +@@clientName(LinkerResources.validate, "Validate"); @@clientLocation(LinkerResources.generateConfigurations, "Connector"); +@@clientName(LinkerResources.generateConfigurations, "GenerateConfigurations"); // DryrunResources interface operations with Connector_ prefix @@clientLocation(DryrunResources.getDryrun, "Connector"); +@@clientName(DryrunResources.getDryrun, "GetDryrun"); @@clientLocation(DryrunResources.createDryrun, "Connector"); +@@clientName(DryrunResources.createDryrun, "CreateDryrun"); @@clientLocation(DryrunResources.updateDryrun, "Connector"); +@@clientName(DryrunResources.updateDryrun, "UpdateDryrun"); @@clientLocation(DryrunResources.deleteDryrun, "Connector"); +@@clientName(DryrunResources.deleteDryrun, "DeleteDryrun"); @@clientLocation(DryrunResources.listDryrun, "Connector"); +@@clientName(DryrunResources.listDryrun, "ListDryrun"); // Linker interface operations with Linkers_ prefix @@clientLocation(Linker.generateConfigurations, Linkers); +@@clientName(Linker.generateConfigurations, "GenerateConfigurations"); // LinkersOperationGroup operations with Linkers_ prefix @@clientLocation(LinkersOperationGroup.listDaprConfigurations, Linkers); +@@clientName(LinkersOperationGroup.listDaprConfigurations, "ListDaprConfigurations"); // ConfigurationNamesOperationGroup operations with ConfigurationNames_ prefix @@clientLocation(ConfigurationNamesOperationGroup.list, "ConfigurationNames"); +@@clientName(ConfigurationNamesOperationGroup.list, "List"); diff --git a/specification/servicelinker/ServiceLinker.Management/routes.tsp b/specification/servicelinker/ServiceLinker.Management/routes.tsp index d22fef7e462e..2e40d9127400 100644 --- a/specification/servicelinker/ServiceLinker.Management/routes.tsp +++ b/specification/servicelinker/ServiceLinker.Management/routes.tsp @@ -9,7 +9,6 @@ import "@typespec/openapi"; using TypeSpec.Rest; using TypeSpec.Http; using Azure.ResourceManager; -using TypeSpec.OpenAPI; namespace Microsoft.ServiceLinker; @@ -19,7 +18,6 @@ interface LinkersOperationGroup { * List the dapr configuration supported by Service Connector. */ #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - @operationId("Linkers_ListDaprConfigurations") @route("/{+resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations") @get listDaprConfigurations( @@ -39,7 +37,6 @@ interface ConfigurationNamesOperationGroup { * Lists the configuration names generated by Service Connector for all target, client types, auth types. */ #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - @operationId("ConfigurationNames_List") @autoRoute @get @action("configurationNames") From 14d2e8d85bd0018b7ba9f5b313702a1728856f9a Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Thu, 3 Jul 2025 16:36:51 +0800 Subject: [PATCH 22/37] update --- .../ServiceLinker.Management/DryrunResource.tsp | 5 ----- .../ServiceLinker.Management/LinkerResource.tsp | 8 -------- .../servicelinker/ServiceLinker.Management/routes.tsp | 2 -- 3 files changed, 15 deletions(-) diff --git a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp index 97505b75498d..16a58a54a8d7 100644 --- a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp @@ -46,19 +46,16 @@ interface DryrunResources { /** * get a dryrun job */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" getDryrun is DryrunResourceOps.Read; /** * create a dryrun job to do necessary check before actual creation */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" createDryrun is DryrunResourceOps.CreateOrUpdateAsync; /** * update a dryrun job to do necessary check before actual creation */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @patch(#{ implicitOptionality: false }) updateDryrun is DryrunResourceOps.CustomPatchAsync< @@ -70,13 +67,11 @@ interface DryrunResources { /** * delete a dryrun job */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" deleteDryrun is DryrunResourceOps.DeleteSync; /** * list dryrun jobs */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" listDryrun is DryrunResourceOps.List< DryrunResource, Response = ArmResponse diff --git a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp index 15883c950f66..85c2c5eee04f 100644 --- a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp @@ -47,18 +47,15 @@ interface LinkerResources { /** * Returns Connector resource for a given name. */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" get is LinkerResourceOps.Read; /** * Create or update Connector resource. */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" createOrUpdate is LinkerResourceOps.CreateOrUpdateAsync; /** * Operation to update an existing Connector. */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @patch(#{ implicitOptionality: false }) @@ -74,7 +71,6 @@ interface LinkerResources { /** * Delete a Connector. */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" delete is LinkerResourceOps.DeleteWithoutOkAsync< @@ -86,7 +82,6 @@ interface LinkerResources { /** * Returns list of connector which connects to the resource, which supports to config the target service during the resource provision. */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" list is LinkerResourceOps.List< LinkerResource, Response = ArmResponse @@ -95,7 +90,6 @@ interface LinkerResources { /** * Validate a Connector. */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" validate is LinkerResourceOps.ActionAsync< LinkerResource, void, @@ -105,7 +99,6 @@ interface LinkerResources { /** * Generate configurations for a Connector. */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" generateConfigurations is LinkerResourceOps.ActionSync< LinkerResource, { @@ -202,7 +195,6 @@ interface Linker { /** * Generate configurations for a Linker. */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" generateConfigurations is LinkerOps.ActionSync< LinkerResource, { diff --git a/specification/servicelinker/ServiceLinker.Management/routes.tsp b/specification/servicelinker/ServiceLinker.Management/routes.tsp index 2e40d9127400..caf1bf924f3b 100644 --- a/specification/servicelinker/ServiceLinker.Management/routes.tsp +++ b/specification/servicelinker/ServiceLinker.Management/routes.tsp @@ -17,7 +17,6 @@ interface LinkersOperationGroup { /** * List the dapr configuration supported by Service Connector. */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @route("/{+resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations") @get listDaprConfigurations( @@ -36,7 +35,6 @@ interface ConfigurationNamesOperationGroup { /** * Lists the configuration names generated by Service Connector for all target, client types, auth types. */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @autoRoute @get @action("configurationNames") From 74a7283fdfd6bef0e859e96e72cd93152be83e1b Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Thu, 3 Jul 2025 17:51:20 +0800 Subject: [PATCH 23/37] update --- .../ServiceLinker.Management/back-compatible.tsp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp b/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp index 6109cb2d2977..649644bd46fc 100644 --- a/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp +++ b/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp @@ -69,7 +69,9 @@ using Microsoft.ServiceLinker; // LinkersOperationGroup operations with Linkers_ prefix @@clientLocation(LinkersOperationGroup.listDaprConfigurations, Linkers); -@@clientName(LinkersOperationGroup.listDaprConfigurations, "ListDaprConfigurations"); +@@clientName(LinkersOperationGroup.listDaprConfigurations, + "ListDaprConfigurations" +); // ConfigurationNamesOperationGroup operations with ConfigurationNames_ prefix @@clientLocation(ConfigurationNamesOperationGroup.list, "ConfigurationNames"); From d59a7e1e3309abf4aa0e9ae6c7a5c27c24696d96 Mon Sep 17 00:00:00 2001 From: JiaqiZhang-Dev Date: Tue, 8 Jul 2025 10:29:38 +0800 Subject: [PATCH 24/37] update go config --- .../servicelinker/ServiceLinker.Management/tspconfig.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/servicelinker/ServiceLinker.Management/tspconfig.yaml b/specification/servicelinker/ServiceLinker.Management/tspconfig.yaml index beba230f33c9..174547751f99 100644 --- a/specification/servicelinker/ServiceLinker.Management/tspconfig.yaml +++ b/specification/servicelinker/ServiceLinker.Management/tspconfig.yaml @@ -45,6 +45,7 @@ options: generate-fakes: true head-as-boolean: true inject-spans: true + factory-gather-all-params: false linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" From 72b4deb6e25ecfc3dc9bdde57945f9c822daca6f Mon Sep 17 00:00:00 2001 From: xiaofeicao Date: Wed, 9 Jul 2025 16:46:16 +0800 Subject: [PATCH 25/37] java config --- .../servicelinker/ServiceLinker.Management/client.tsp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 specification/servicelinker/ServiceLinker.Management/client.tsp diff --git a/specification/servicelinker/ServiceLinker.Management/client.tsp b/specification/servicelinker/ServiceLinker.Management/client.tsp new file mode 100644 index 000000000000..8967ee5ed43f --- /dev/null +++ b/specification/servicelinker/ServiceLinker.Management/client.tsp @@ -0,0 +1,7 @@ +import "./main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; +using Microsoft.ServiceLinker; + +@@clientName(Linkers, "LinkersOperations", "java"); From d0c7048cfed8c11f50e125932ae9a234623f5a11 Mon Sep 17 00:00:00 2001 From: melina5656 <140602263+melina5656@users.noreply.github.com> Date: Tue, 15 Jul 2025 11:19:40 +0800 Subject: [PATCH 26/37] Remove Bodyboot Decorator --- .../LinkerResource.tsp | 28 ++++++++----------- .../back-compatible.tsp | 4 +++ 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp index 85c2c5eee04f..4a4cae65cd1a 100644 --- a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp @@ -101,14 +101,9 @@ interface LinkerResources { */ generateConfigurations is LinkerResourceOps.ActionSync< LinkerResource, - { - /** - * Connection Info, including format, secret store, etc - */ - @bodyRoot - parameters?: ConfigurationInfo; - }, - ArmResponse + ConfigurationInfo, + ArmResponse, + OptionalRequestBody = true >; } @armResourceOperations @@ -197,14 +192,9 @@ interface Linker { */ generateConfigurations is LinkerOps.ActionSync< LinkerResource, - { - /** - * Connection Info, including format, secret store, etc - */ - @bodyRoot - parameters?: ConfigurationInfo; - }, - ArmResponse + ConfigurationInfo, + ArmResponse, + OptionalRequestBody = true >; } @@ -216,3 +206,9 @@ interface Linker { @@doc(LinkerResources.update::parameters.properties, "Connector details."); @@doc(Linker.createOrUpdate::parameters.resource, "Linker details."); @@doc(Linker.update::parameters.properties, "Linker details."); +@@doc(LinkerResources.generateConfigurations::parameters.body, + "Connection Info, including format, secret store, etc" +); +@@doc(Linker.generateConfigurations::parameters.body, + "Connection Info, including format, secret store, etc" +); diff --git a/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp b/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp index 649644bd46fc..ae9932cd5814 100644 --- a/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp +++ b/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp @@ -76,3 +76,7 @@ using Microsoft.ServiceLinker; // ConfigurationNamesOperationGroup operations with ConfigurationNames_ prefix @@clientLocation(ConfigurationNamesOperationGroup.list, "ConfigurationNames"); @@clientName(ConfigurationNamesOperationGroup.list, "List"); +@@clientName(LinkerResources.generateConfigurations::parameters.body, + "parameters" +); +@@clientName(Linker.generateConfigurations::parameters.body, "parameters"); From f05aabe7e07911b0c1036ec2c29fb0a58a728087 Mon Sep 17 00:00:00 2001 From: "Jiao Di (MSFT)" <80496810+v-jiaodi@users.noreply.github.com> Date: Thu, 17 Jul 2025 15:49:42 +0800 Subject: [PATCH 27/37] resolve breaking --- .../servicelinker/ServiceLinker.Management/client.tsp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specification/servicelinker/ServiceLinker.Management/client.tsp b/specification/servicelinker/ServiceLinker.Management/client.tsp index 8967ee5ed43f..2b364bd8e36e 100644 --- a/specification/servicelinker/ServiceLinker.Management/client.tsp +++ b/specification/servicelinker/ServiceLinker.Management/client.tsp @@ -5,3 +5,7 @@ using Azure.ClientGenerator.Core; using Microsoft.ServiceLinker; @@clientName(Linkers, "LinkersOperations", "java"); +@@clientName(Microsoft.ServiceLinker, + "ServiceLinkerManagementClient", + "javascript" +); From de7befb91b369f2f1a765818b9f5511d8468404e Mon Sep 17 00:00:00 2001 From: tadelesh Date: Fri, 25 Jul 2025 13:28:39 +0800 Subject: [PATCH 28/37] go customization --- .../servicelinker/ServiceLinker.Management/client.tsp | 3 +++ .../servicelinker/ServiceLinker.Management/models.tsp | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/specification/servicelinker/ServiceLinker.Management/client.tsp b/specification/servicelinker/ServiceLinker.Management/client.tsp index 2b364bd8e36e..913469ae49c9 100644 --- a/specification/servicelinker/ServiceLinker.Management/client.tsp +++ b/specification/servicelinker/ServiceLinker.Management/client.tsp @@ -9,3 +9,6 @@ using Microsoft.ServiceLinker; "ServiceLinkerManagementClient", "javascript" ); + +// Go SDK Breaking Changes Resolution for TypeSpec conversion +@@clientName(DatabaseAadAuthInfo, "DatabaseAADAuthInfo", "go"); diff --git a/specification/servicelinker/ServiceLinker.Management/models.tsp b/specification/servicelinker/ServiceLinker.Management/models.tsp index fa4c642df1e0..e67a283ac77e 100644 --- a/specification/servicelinker/ServiceLinker.Management/models.tsp +++ b/specification/servicelinker/ServiceLinker.Management/models.tsp @@ -4,8 +4,6 @@ import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; using TypeSpec.Rest; -using TypeSpec.Http; -using Azure.ResourceManager; using Azure.ResourceManager.Foundations; namespace Microsoft.ServiceLinker; From 9c14341ff465a5afc62d4e5161e84a9fcb7f2a3c Mon Sep 17 00:00:00 2001 From: tadelesh Date: Thu, 31 Jul 2025 14:08:59 +0800 Subject: [PATCH 29/37] rename duplicate enum --- specification/servicelinker/ServiceLinker.Management/client.tsp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/servicelinker/ServiceLinker.Management/client.tsp b/specification/servicelinker/ServiceLinker.Management/client.tsp index 913469ae49c9..d1f815c455e6 100644 --- a/specification/servicelinker/ServiceLinker.Management/client.tsp +++ b/specification/servicelinker/ServiceLinker.Management/client.tsp @@ -12,3 +12,5 @@ using Microsoft.ServiceLinker; // Go SDK Breaking Changes Resolution for TypeSpec conversion @@clientName(DatabaseAadAuthInfo, "DatabaseAADAuthInfo", "go"); + +@@clientName(ActionType, "ActionTypeFlag"); From ea0ee07e946569a94c1a20716742dac6159b8a3f Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Tue, 12 Aug 2025 14:06:26 +0800 Subject: [PATCH 30/37] update --- .../ServiceLinker.Management/models.tsp | 3 +- .../ServiceLinker.Management/tspconfig.yaml | 1 + .../2024-07-01-preview/servicelinker.json | 36 ++++++++++--------- 3 files changed, 22 insertions(+), 18 deletions(-) diff --git a/specification/servicelinker/ServiceLinker.Management/models.tsp b/specification/servicelinker/ServiceLinker.Management/models.tsp index e67a283ac77e..5f596f2e90d5 100644 --- a/specification/servicelinker/ServiceLinker.Management/models.tsp +++ b/specification/servicelinker/ServiceLinker.Management/models.tsp @@ -264,12 +264,11 @@ union AccessKeyPermissions { * Describes a page of resource object. * @template Resource The resource type. */ -@Azure.Core.pagedResult @friendlyName("Paged{name}", Resource) @doc("Paged collection of {name} items", Resource) model CustomPage { @doc("The {name} items on this page", Resource) - @Azure.Core.items + @pageItems value?: Resource[]; #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" diff --git a/specification/servicelinker/ServiceLinker.Management/tspconfig.yaml b/specification/servicelinker/ServiceLinker.Management/tspconfig.yaml index 174547751f99..e2bd0d80f2b8 100644 --- a/specification/servicelinker/ServiceLinker.Management/tspconfig.yaml +++ b/specification/servicelinker/ServiceLinker.Management/tspconfig.yaml @@ -12,6 +12,7 @@ options: output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/servicelinker.json" examples-dir: "{project-root}/examples" arm-resource-flattening: true + emit-lro-options: "all" "@azure-tools/typespec-csharp": flavor: azure package-dir: "Azure.ResourceManager.ServiceLinker" diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json index 4aa5ff766c31..dc6c4dd6d65a 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json @@ -91,9 +91,6 @@ "GetDaprConfigurations": { "$ref": "./examples/GetDaprConfigurations.json" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } } }, @@ -257,7 +254,8 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/DryrunResource" }, "x-ms-long-running-operation": true }, @@ -324,7 +322,8 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/DryrunResource" }, "x-ms-long-running-operation": true }, @@ -537,7 +536,8 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/LinkerResource" }, "x-ms-long-running-operation": true }, @@ -608,7 +608,8 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/LinkerResource" }, "x-ms-long-running-operation": true }, @@ -843,7 +844,8 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "location" + "final-state-via": "location", + "final-state-schema": "#/definitions/ValidateOperationResult" }, "x-ms-long-running-operation": true } @@ -889,9 +891,6 @@ "GetConfigurationNames": { "$ref": "./examples/ConfigurationNamesList.json" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } } }, @@ -1097,7 +1096,8 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/LinkerResource" }, "x-ms-long-running-operation": true }, @@ -1169,7 +1169,8 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/LinkerResource" }, "x-ms-long-running-operation": true }, @@ -1359,7 +1360,8 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "location" + "final-state-via": "location", + "final-state-schema": "#/definitions/ValidateOperationResult" }, "x-ms-long-running-operation": true } @@ -1530,7 +1532,8 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/DryrunResource" }, "x-ms-long-running-operation": true }, @@ -1599,7 +1602,8 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/DryrunResource" }, "x-ms-long-running-operation": true }, From a4052c4981442ba646ff98d00a62cb8f5d865c42 Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Tue, 12 Aug 2025 16:25:22 +0800 Subject: [PATCH 31/37] fix nextlinkname --- .../servicelinker/ServiceLinker.Management/routes.tsp | 2 ++ .../preview/2024-07-01-preview/servicelinker.json | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/specification/servicelinker/ServiceLinker.Management/routes.tsp b/specification/servicelinker/ServiceLinker.Management/routes.tsp index caf1bf924f3b..f11715e6713f 100644 --- a/specification/servicelinker/ServiceLinker.Management/routes.tsp +++ b/specification/servicelinker/ServiceLinker.Management/routes.tsp @@ -19,6 +19,7 @@ interface LinkersOperationGroup { */ @route("/{+resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations") @get + @list listDaprConfigurations( ...ApiVersionParameter, @@ -37,6 +38,7 @@ interface ConfigurationNamesOperationGroup { */ @autoRoute @get + @list @action("configurationNames") list is ArmProviderActionSync< Response = ConfigurationNameResult, diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json index dc6c4dd6d65a..4dfd11ca9984 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json @@ -91,6 +91,9 @@ "GetDaprConfigurations": { "$ref": "./examples/GetDaprConfigurations.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, @@ -891,6 +894,9 @@ "GetConfigurationNames": { "$ref": "./examples/ConfigurationNamesList.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, From dca4e65e9ff8b36a0d16c67c4de3a9d698ec4177 Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Thu, 21 Aug 2025 13:55:39 +0800 Subject: [PATCH 32/37] removed useDependency --- specification/servicelinker/ServiceLinker.Management/main.tsp | 2 -- 1 file changed, 2 deletions(-) diff --git a/specification/servicelinker/ServiceLinker.Management/main.tsp b/specification/servicelinker/ServiceLinker.Management/main.tsp index 5abf37503388..39450485fdb5 100644 --- a/specification/servicelinker/ServiceLinker.Management/main.tsp +++ b/specification/servicelinker/ServiceLinker.Management/main.tsp @@ -39,8 +39,6 @@ enum Versions { /** * The 2024-07-01-preview API version. */ - @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) - @useDependency(Azure.Core.Versions.v1_0_Preview_1) v2024_07_01_preview: "2024-07-01-preview", } From 5c9765705db987eff55bb1c3f9a66efd0c1bb345 Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Fri, 22 Aug 2025 14:44:09 +0800 Subject: [PATCH 33/37] update docs for resourceUri parameter --- .../DryrunResource.tsp | 2 +- .../LinkerResource.tsp | 2 +- .../2024-07-01-preview/servicelinker.json | 21 ++++++++++++------- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp index 16a58a54a8d7..4e2bb96e75e0 100644 --- a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp @@ -84,7 +84,7 @@ interface LinkersOps { ...ApiVersionParameter, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + /** The fully qualified Azure Resource manager identifier of the resource to be connected. */ @path(#{ allowReserved: true }) resourceUri: string, diff --git a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp index 4a4cae65cd1a..34e750bbd79a 100644 --- a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp @@ -112,7 +112,7 @@ interface LinkerOps { ...ApiVersionParameter, - /** {resourceUri} */ + /** The fully qualified Azure Resource manager identifier of the resource to be connected. */ @path(#{ allowReserved: true }) resourceUri: string, diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json index 4dfd11ca9984..fe64703727c4 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json @@ -111,6 +111,7 @@ { "name": "resourceUri", "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", "required": true, "type": "string", "x-ms-skip-url-encoding": true @@ -154,6 +155,7 @@ { "name": "resourceUri", "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", "required": true, "type": "string", "x-ms-skip-url-encoding": true @@ -199,6 +201,7 @@ { "name": "resourceUri", "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", "required": true, "type": "string", "x-ms-skip-url-encoding": true @@ -275,6 +278,7 @@ { "name": "resourceUri", "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", "required": true, "type": "string", "x-ms-skip-url-encoding": true @@ -343,6 +347,7 @@ { "name": "resourceUri", "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", "required": true, "type": "string", "x-ms-skip-url-encoding": true @@ -390,7 +395,7 @@ { "name": "resourceUri", "in": "path", - "description": "{resourceUri}", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", "required": true, "type": "string", "x-ms-skip-url-encoding": true @@ -434,7 +439,7 @@ { "name": "resourceUri", "in": "path", - "description": "{resourceUri}", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", "required": true, "type": "string", "x-ms-skip-url-encoding": true @@ -480,7 +485,7 @@ { "name": "resourceUri", "in": "path", - "description": "{resourceUri}", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", "required": true, "type": "string", "x-ms-skip-url-encoding": true @@ -557,7 +562,7 @@ { "name": "resourceUri", "in": "path", - "description": "{resourceUri}", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", "required": true, "type": "string", "x-ms-skip-url-encoding": true @@ -629,7 +634,7 @@ { "name": "resourceUri", "in": "path", - "description": "{resourceUri}", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", "required": true, "type": "string", "x-ms-skip-url-encoding": true @@ -695,7 +700,7 @@ { "name": "resourceUri", "in": "path", - "description": "{resourceUri}", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", "required": true, "type": "string", "x-ms-skip-url-encoding": true @@ -752,7 +757,7 @@ { "name": "resourceUri", "in": "path", - "description": "{resourceUri}", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", "required": true, "type": "string", "x-ms-skip-url-encoding": true @@ -800,7 +805,7 @@ { "name": "resourceUri", "in": "path", - "description": "{resourceUri}", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", "required": true, "type": "string", "x-ms-skip-url-encoding": true From e3e66a093ba58407061a0509bcfa494873b6c9e6 Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Mon, 25 Aug 2025 15:39:51 +0800 Subject: [PATCH 34/37] remove suppression --- .../servicelinker/ServiceLinker.Management/models.tsp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/specification/servicelinker/ServiceLinker.Management/models.tsp b/specification/servicelinker/ServiceLinker.Management/models.tsp index 5f596f2e90d5..168c65e5c336 100644 --- a/specification/servicelinker/ServiceLinker.Management/models.tsp +++ b/specification/servicelinker/ServiceLinker.Management/models.tsp @@ -401,7 +401,6 @@ model DryrunPatch { /** * The properties of the dryrun job. */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" properties?: DryrunProperties; } @@ -718,7 +717,6 @@ model LinkerPatch { /** * Linker properties */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" properties?: LinkerProperties; } @@ -729,7 +727,6 @@ model ValidateOperationResult { /** * The validation result detail. */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" properties?: ValidateResult | null; @@ -890,7 +887,6 @@ model ConfigurationNameItem { /** * The result detail. */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" properties?: ConfigurationNames | null; } @@ -961,7 +957,6 @@ model DaprConfigurationResource { /** * The properties of the dapr configuration. */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" properties?: DaprConfigurationProperties; } From e8756aee691b78c5679d6a9c0baa81187cf981ae Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Thu, 28 Aug 2025 15:37:22 +0800 Subject: [PATCH 35/37] update ExtensionResource in ServiceLinker --- .../DryrunResource.tsp | 42 +++++--------- .../LinkerResource.tsp | 57 ++++++++----------- .../back-compatible.tsp | 5 ++ .../2024-07-01-preview/servicelinker.json | 22 +++---- 4 files changed, 55 insertions(+), 71 deletions(-) diff --git a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp index 4e2bb96e75e0..ed7f3819e391 100644 --- a/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/DryrunResource.tsp @@ -12,9 +12,8 @@ namespace Microsoft.ServiceLinker; /** * a dryrun job resource */ -@subscriptionResource -@parentResource(SubscriptionLocationResource) -model DryrunResource is Azure.ResourceManager.ProxyResource { +model DryrunResource + is Azure.ResourceManager.ExtensionResource { ...ResourceNameParameter< Resource = DryrunResource, KeyName = "dryrunName", @@ -78,43 +77,28 @@ interface DryrunResources { >; } -@armResourceOperations -interface LinkersOps - extends Azure.ResourceManager.Legacy.LegacyOperations< - { - ...ApiVersionParameter, - - /** The fully qualified Azure Resource manager identifier of the resource to be connected. */ - @path(#{ allowReserved: true }) - resourceUri: string, - - ...Azure.ResourceManager.Legacy.Provider, - }, - KeysOf> - > {} @armResourceOperations interface Linkers { /** * get a dryrun job */ - getDryrun is LinkersOps.Read; + getDryrun is Extension.Read; /** * create a dryrun job to do necessary check before actual creation */ - createDryrun is LinkersOps.CreateOrUpdateAsync; + createDryrun is Extension.CreateOrUpdateAsync< + Extension.ScopeParameter, + DryrunResource + >; /** * add a dryrun job to do necessary check before actual creation */ #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @patch(#{ implicitOptionality: false }) - updateDryrun is LinkersOps.CustomPatchAsync< + updateDryrun is Extension.CustomPatchAsync< + Extension.ScopeParameter, DryrunResource, PatchModel = DryrunPatch, Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse> @@ -123,12 +107,16 @@ interface Linkers { /** * delete a dryrun job */ - deleteDryrun is LinkersOps.DeleteSync; + deleteDryrun is Extension.DeleteSync< + Extension.ScopeParameter, + DryrunResource + >; /** * list dryrun jobs */ - listDryrun is LinkersOps.List< + listDryrun is Extension.ListByTarget< + Extension.ScopeParameter, DryrunResource, Response = ArmResponse >; diff --git a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp index 34e750bbd79a..a07e3520eedb 100644 --- a/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp +++ b/specification/servicelinker/ServiceLinker.Management/LinkerResource.tsp @@ -12,14 +12,12 @@ namespace Microsoft.ServiceLinker; /** * Linker of source and target resource */ -@subscriptionResource -@parentResource(SubscriptionLocationResource) model LinkerResource - is Azure.ResourceManager.ProxyResource { + is Azure.ResourceManager.ExtensionResource { ...ResourceNameParameter< Resource = LinkerResource, - KeyName = "connectorName", - SegmentName = "connectors", + KeyName = "linkerName", + SegmentName = "linkers", NamePattern = "" >; } @@ -106,43 +104,28 @@ interface LinkerResources { OptionalRequestBody = true >; } -@armResourceOperations -interface LinkerOps - extends Azure.ResourceManager.Legacy.LegacyOperations< - { - ...ApiVersionParameter, - - /** The fully qualified Azure Resource manager identifier of the resource to be connected. */ - @path(#{ allowReserved: true }) - resourceUri: string, - - ...Azure.ResourceManager.Legacy.Provider, - }, - KeysOf> - > {} @armResourceOperations interface Linker { /** * Returns Linker resource for a given name. */ - get is LinkerOps.Read; + get is Extension.Read; /** * Create or update Linker resource. */ - createOrUpdate is LinkerOps.CreateOrUpdateAsync; + createOrUpdate is Extension.CreateOrUpdateAsync< + Extension.ScopeParameter, + LinkerResource + >; /** * Operation to update an existing Linker. */ @patch(#{ implicitOptionality: false }) - update is LinkerOps.CustomPatchAsync< + update is Extension.CustomPatchAsync< + Extension.ScopeParameter, LinkerResource, PatchModel = LinkerPatch, Response = ArmResponse | ArmResourceCreatedResponse< @@ -156,7 +139,8 @@ interface Linker { */ #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - delete is LinkerOps.DeleteWithoutOkAsync< + delete is Extension.DeleteWithoutOkAsync< + Extension.ScopeParameter, LinkerResource, Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse @@ -166,13 +150,18 @@ interface Linker { * Returns list of Linkers which connects to the resource. which supports to config both application and target service during the resource provision. */ @segment("linkers") - list is LinkerOps.List>; + list is Extension.ListByTarget< + Extension.ScopeParameter, + LinkerResource, + Response = ArmResponse + >; /** * Validate a Linker. */ @action("validateLinker") - validate is LinkerOps.ActionAsync< + validate is Extension.ActionAsync< + Extension.ScopeParameter, LinkerResource, void, ValidateOperationResult @@ -181,7 +170,8 @@ interface Linker { /** * list source configurations for a Linker. */ - listConfigurations is LinkerOps.ActionSync< + listConfigurations is Extension.ActionSync< + Extension.ScopeParameter, LinkerResource, void, ArmResponse @@ -190,7 +180,8 @@ interface Linker { /** * Generate configurations for a Linker. */ - generateConfigurations is LinkerOps.ActionSync< + generateConfigurations is Extension.ActionSync< + Extension.ScopeParameter, LinkerResource, ConfigurationInfo, ArmResponse, @@ -198,7 +189,7 @@ interface Linker { >; } -@@doc(LinkerResource.name, "The name of resource."); +@@doc(LinkerResource.name, "The name Linker resource."); @@doc(LinkerResource.properties, "The properties of the Linker."); @@doc(LinkerResources.createOrUpdate::parameters.resource, "Connector details." diff --git a/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp b/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp index ae9932cd5814..b7ebe1e18d39 100644 --- a/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp +++ b/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp @@ -80,3 +80,8 @@ using Microsoft.ServiceLinker; "parameters" ); @@clientName(Linker.generateConfigurations::parameters.body, "parameters"); + +@@doc(Azure.ResourceManager.Extension.ScopeParameter.scope, + "The fully qualified Azure Resource manager identifier of the resource to be connected." +); +@@key(Azure.ResourceManager.Extension.ScopeParameter.scope, "resourceUri"); diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json index fe64703727c4..1c04a3836293 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2024-07-01-preview/servicelinker.json @@ -163,7 +163,7 @@ { "name": "dryrunName", "in": "path", - "description": "The name of the DryrunResource", + "description": "The name of dryrun.", "required": true, "type": "string" } @@ -209,7 +209,7 @@ { "name": "dryrunName", "in": "path", - "description": "The name of the DryrunResource", + "description": "The name of dryrun.", "required": true, "type": "string" }, @@ -286,7 +286,7 @@ { "name": "dryrunName", "in": "path", - "description": "The name of the DryrunResource", + "description": "The name of dryrun.", "required": true, "type": "string" }, @@ -355,7 +355,7 @@ { "name": "dryrunName", "in": "path", - "description": "The name of the DryrunResource", + "description": "The name of dryrun.", "required": true, "type": "string" } @@ -447,7 +447,7 @@ { "name": "linkerName", "in": "path", - "description": "The name of the LinkerResource", + "description": "The name Linker resource.", "required": true, "type": "string" } @@ -493,7 +493,7 @@ { "name": "linkerName", "in": "path", - "description": "The name of the LinkerResource", + "description": "The name Linker resource.", "required": true, "type": "string" }, @@ -570,7 +570,7 @@ { "name": "linkerName", "in": "path", - "description": "The name of the LinkerResource", + "description": "The name Linker resource.", "required": true, "type": "string" }, @@ -642,7 +642,7 @@ { "name": "linkerName", "in": "path", - "description": "The name of the LinkerResource", + "description": "The name Linker resource.", "required": true, "type": "string" } @@ -708,7 +708,7 @@ { "name": "linkerName", "in": "path", - "description": "The name of the LinkerResource", + "description": "The name Linker resource.", "required": true, "type": "string" }, @@ -765,7 +765,7 @@ { "name": "linkerName", "in": "path", - "description": "The name of the LinkerResource", + "description": "The name Linker resource.", "required": true, "type": "string" } @@ -813,7 +813,7 @@ { "name": "linkerName", "in": "path", - "description": "The name of the LinkerResource", + "description": "The name Linker resource.", "required": true, "type": "string" } From 3c38f07ebba6a77266433f6e183a0937bf846dfc Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Thu, 11 Sep 2025 18:08:23 +0800 Subject: [PATCH 36/37] fix flatten --- .../back-compatible.tsp | 17 ++++++++++------- .../ServiceLinker.Management/client.tsp | 4 ++++ 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp b/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp index b7ebe1e18d39..ab73bd36b438 100644 --- a/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp +++ b/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp @@ -4,33 +4,36 @@ using Azure.ClientGenerator.Core; using Microsoft.ServiceLinker; #suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@@flattenProperty(DryrunPatch.properties); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(DryrunPatch.properties); #suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@@flattenProperty(LinkerPatch.properties); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(LinkerPatch.properties); #suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@@flattenProperty(ValidateOperationResult.properties); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(ValidateOperationResult.properties +); #suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@@flattenProperty(ConfigurationNameItem.properties); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(ConfigurationNameItem.properties +); #suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@@flattenProperty(DaprConfigurationResource.properties); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(DaprConfigurationResource.properties +); @@clientName(DryrunResources.createDryrun::parameters.resource, "parameters"); @@clientName(DryrunResources.updateDryrun::parameters.properties, "parameters"); @@clientName(Linkers.createDryrun::parameters.resource, "parameters"); @@clientName(Linkers.updateDryrun::parameters.properties, "parameters"); #suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@@flattenProperty(DryrunResource.properties); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(DryrunResource.properties); @@clientName(LinkerResources.createOrUpdate::parameters.resource, "parameters"); @@clientName(LinkerResources.update::parameters.properties, "parameters"); @@clientName(Linker.createOrUpdate::parameters.resource, "parameters"); @@clientName(Linker.update::parameters.properties, "parameters"); #suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@@flattenProperty(LinkerResource.properties); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(LinkerResource.properties); // @@clientLocation decorators for operations with custom @operationId // These ensure consistent operationId generation in the output diff --git a/specification/servicelinker/ServiceLinker.Management/client.tsp b/specification/servicelinker/ServiceLinker.Management/client.tsp index d1f815c455e6..8b34b6f23bb1 100644 --- a/specification/servicelinker/ServiceLinker.Management/client.tsp +++ b/specification/servicelinker/ServiceLinker.Management/client.tsp @@ -9,6 +9,10 @@ using Microsoft.ServiceLinker; "ServiceLinkerManagementClient", "javascript" ); +@@clientName(Microsoft.ServiceLinker, + "ServiceLinkerManagementClient", + "python" +); // Go SDK Breaking Changes Resolution for TypeSpec conversion @@clientName(DatabaseAadAuthInfo, "DatabaseAADAuthInfo", "go"); From 793bd2c5209c7d6d21f9842d8448d91d381f1456 Mon Sep 17 00:00:00 2001 From: tadelesh Date: Thu, 9 Oct 2025 17:28:34 +0800 Subject: [PATCH 37/37] downgrade sub id parameter --- .../back-compatible.tsp | 260 +++++++++++++++++- 1 file changed, 253 insertions(+), 7 deletions(-) diff --git a/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp b/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp index ab73bd36b438..af3b43414325 100644 --- a/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp +++ b/specification/servicelinker/ServiceLinker.Management/back-compatible.tsp @@ -1,23 +1,28 @@ import "@azure-tools/typespec-client-generator-core"; +import "@typespec/rest"; +import "@typespec/http"; using Azure.ClientGenerator.Core; using Microsoft.ServiceLinker; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.Versioning; -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DryrunPatch.properties); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(LinkerPatch.properties); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ValidateOperationResult.properties ); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ConfigurationNameItem.properties ); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DaprConfigurationResource.properties ); @@ -25,14 +30,14 @@ using Microsoft.ServiceLinker; @@clientName(DryrunResources.updateDryrun::parameters.properties, "parameters"); @@clientName(Linkers.createDryrun::parameters.resource, "parameters"); @@clientName(Linkers.updateDryrun::parameters.properties, "parameters"); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DryrunResource.properties); @@clientName(LinkerResources.createOrUpdate::parameters.resource, "parameters"); @@clientName(LinkerResources.update::parameters.properties, "parameters"); @@clientName(Linker.createOrUpdate::parameters.resource, "parameters"); @@clientName(Linker.update::parameters.properties, "parameters"); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(LinkerResource.properties); // @@clientLocation decorators for operations with custom @operationId @@ -88,3 +93,244 @@ using Microsoft.ServiceLinker; "The fully qualified Azure Resource manager identifier of the resource to be connected." ); @@key(Azure.ResourceManager.Extension.ScopeParameter.scope, "resourceUri"); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +op linkerResourcesGet( + ...ApiVersionParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + @clientLocation(linkerResourcesGet, "java,python,go,javascript") + @typeChangedFrom(Azure.ResourceManager.CommonTypes.Versions.v4, string) + subscriptionId: Azure.Core.uuid, + + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + ...LocationParameter, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + connectorName: string, +): LinkerResource; + +@@override(LinkerResources.get, linkerResourcesGet); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +op linkerResourcesCreateOrUpdate( + ...ApiVersionParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + @clientLocation(linkerResourcesCreateOrUpdate, "java,python,go,javascript") + @typeChangedFrom(Azure.ResourceManager.CommonTypes.Versions.v4, string) + subscriptionId: Azure.Core.uuid, + + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + ...LocationParameter, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + connectorName: string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + resource: LinkerResource, +): LinkerResource; + +@@override(LinkerResources.createOrUpdate, linkerResourcesCreateOrUpdate); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +op linkerResourcesUpdate( + ...ApiVersionParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + @clientLocation(linkerResourcesUpdate, "java,python,go,javascript") + @typeChangedFrom(Azure.ResourceManager.CommonTypes.Versions.v4, string) + subscriptionId: Azure.Core.uuid, + + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + ...LocationParameter, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + connectorName: string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + properties: LinkerPatch, +): LinkerResource; + +@@override(LinkerResources.update, linkerResourcesUpdate); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +op linkerResourcesDelete( + ...ApiVersionParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + @clientLocation(linkerResourcesDelete, "java,python,go,javascript") + @typeChangedFrom(Azure.ResourceManager.CommonTypes.Versions.v4, string) + subscriptionId: Azure.Core.uuid, + + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + ...LocationParameter, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + connectorName: string, +): ArmDeletedNoContentResponse; + +@@override(LinkerResources.delete, linkerResourcesDelete); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +op linkerResourcesList( + ...ApiVersionParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + @clientLocation(linkerResourcesList, "java,python,go,javascript") + @typeChangedFrom(Azure.ResourceManager.CommonTypes.Versions.v4, string) + subscriptionId: Azure.Core.uuid, + + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + ...LocationParameter, +): ResourceList; + +@@override(LinkerResources.list, linkerResourcesList); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +op linkerResourcesValidate( + ...ApiVersionParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + @clientLocation(linkerResourcesValidate, "java,python,go,javascript") + @typeChangedFrom(Azure.ResourceManager.CommonTypes.Versions.v4, string) + subscriptionId: Azure.Core.uuid, + + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + ...LocationParameter, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + connectorName: string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + body: void, +): ValidateOperationResult; + +@@override(LinkerResources.validate, linkerResourcesValidate); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +op linkerResourcesGenerateConfigurations( + ...ApiVersionParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + @clientLocation( + linkerResourcesGenerateConfigurations, + "java,python,go,javascript" + ) + @typeChangedFrom(Azure.ResourceManager.CommonTypes.Versions.v4, string) + subscriptionId: Azure.Core.uuid, + + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + ...LocationParameter, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + connectorName: string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + body?: ConfigurationInfo, +): ConfigurationResult; + +@@override(LinkerResources.generateConfigurations, + linkerResourcesGenerateConfigurations +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +op dryrunResourcesGetDryrun( + ...ApiVersionParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + @clientLocation(dryrunResourcesGetDryrun, "java,python,go,javascript") + @typeChangedFrom(Azure.ResourceManager.CommonTypes.Versions.v4, string) + subscriptionId: Azure.Core.uuid, + + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + ...LocationParameter, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + dryrunName: string, +): DryrunResource; + +@@override(DryrunResources.getDryrun, dryrunResourcesGetDryrun); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +op dryrunResourcesCreateDryrun( + ...ApiVersionParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + @clientLocation(dryrunResourcesCreateDryrun, "java,python,go,javascript") + @typeChangedFrom(Azure.ResourceManager.CommonTypes.Versions.v4, string) + subscriptionId: Azure.Core.uuid, + + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + ...LocationParameter, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + dryrunName: string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + @body resource: DryrunResource, +): DryrunResource; + +@@override(DryrunResources.createDryrun, dryrunResourcesCreateDryrun); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +op dryrunResourcesUpdateDryrun( + ...ApiVersionParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + @clientLocation(dryrunResourcesUpdateDryrun, "java,python,go,javascript") + @typeChangedFrom(Azure.ResourceManager.CommonTypes.Versions.v4, string) + subscriptionId: Azure.Core.uuid, + + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + ...LocationParameter, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + dryrunName: string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + @body properties: DryrunPatch, +): DryrunResource; + +@@override(DryrunResources.updateDryrun, dryrunResourcesUpdateDryrun); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +op dryrunResourcesDeleteDryrun( + ...ApiVersionParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + @clientLocation(dryrunResourcesDeleteDryrun, "java,python,go,javascript") + @typeChangedFrom(Azure.ResourceManager.CommonTypes.Versions.v4, string) + subscriptionId: Azure.Core.uuid, + + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + ...LocationParameter, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + dryrunName: string, +): ArmDeletedResponse; + +@@override(DryrunResources.deleteDryrun, dryrunResourcesDeleteDryrun); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +op dryrunResourcesListDryrun( + ...ApiVersionParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "customization" + @clientLocation(dryrunResourcesListDryrun, "java,python,go,javascript") + @typeChangedFrom(Azure.ResourceManager.CommonTypes.Versions.v4, string) + subscriptionId: Azure.Core.uuid, + + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + ...LocationParameter, +): DryrunList; + +@@override(DryrunResources.listDryrun, dryrunResourcesListDryrun);