{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-sql-managedinstances","description":"SqlManagementClient","version":"2018-06-01-preview","base_url":"https://management.azure.com","endpoints":7,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api SqlManagementClient\n@base https://management.azure.com\n@version 2018-06-01-preview\n@auth OAuth2\n@common_fields {subscriptionId: any # The subscription ID that identifies an Azure subscription., api-version: any # The API version to use for the request.}\n@endpoints 7\n@toc subscriptions(7)\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}/managedInstances\n@desc Gets a list of all managed instances in an instance pool.\n@required {resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., instancePoolName: any # The instance pool name.}\n@returns(200) Successfully retrieved the list of managed instances.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances\n@desc Gets a list of managed instances in a resource group.\n@required {resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.}\n@returns(200) Successfully retrieved the list of managed instances.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}\n@desc Gets a managed instance.\n@required {resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., managedInstanceName: any # The name of the managed instance.}\n@returns(200) Successfully retrieved the specified managed instance.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}\n@desc Creates or updates a managed instance.\n@required {resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., managedInstanceName: any # The name of the managed instance., parameters: map # The requested managed instance resource state.}\n@returns(200) Successfully updated the managed instance.\n@returns(201) Successfully created the managed instance.\n@returns(202) Accepted\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}\n@desc Deletes a managed instance.\n@required {resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., managedInstanceName: any # The name of the managed instance.}\n@returns(200) Successfully deleted the managed instance.\n@returns(202) Accepted\n@returns(204) The specified managed instance does not exist.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}\n@desc Updates a managed instance.\n@required {resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., managedInstanceName: any # The name of the managed instance., parameters: map # The requested managed instance resource state.}\n@returns(200) Successfully updated the managed instance.\n@returns(202) Accepted\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Sql/managedInstances\n@desc Gets a list of all managed instances in the subscription.\n@returns(200) Successfully retrieved the list of managed instances.\n\n@end\n"}