{ "swagger": "2.0", "info": { "version": "2018-10-01", "title": "SignalRManagementClient", "description": "REST API for Azure SignalR Service" }, "host": "management.azure.com", "schemes": [ "https" ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "paths": { "/providers/Microsoft.SignalRService/operations": { "get": { "tags": [ "SignalR" ], "description": "Lists all of the available REST API operations of the Microsoft.SignalRService provider.", "operationId": "Operations_List", "parameters": [ { "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "Success. The response describes the list of operations.", "schema": { "$ref": "#/definitions/OperationList" } }, "default": { "description": "An unexpected error occurred during the operation.", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "x-ms-pageable": { "nextLinkName": "nextLink" }, "x-ms-examples": { "Operations_List": { "$ref": "./examples/Operations_List.json" } } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/locations/{location}/checkNameAvailability": { "post": { "tags": [ "SignalR" ], "description": "Checks that the SignalR name is valid and is not already in use.", "operationId": "SignalR_CheckNameAvailability", "parameters": [ { "name": "location", "in": "path", "description": "the region", "required": true, "type": "string" }, { "name": "parameters", "in": "body", "description": "Parameters supplied to the operation.", "required": false, "schema": { "$ref": "#/definitions/NameAvailabilityParameters" } }, { "$ref": "#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { "description": "Success. The response describes the name availability.", "schema": { "$ref": "#/definitions/NameAvailability" } }, "default": { "description": "An unexpected error occurred during the operation.", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "x-ms-examples": { "SignalR_CheckNameAvailability": { "$ref": "./examples/SignalR_CheckNameAvailability.json" } } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/SignalR": { "get": { "tags": [ "SignalR" ], "description": "Handles requests to list all resources in a subscription.", "operationId": "SignalR_ListBySubscription", "parameters": [ { "$ref": "#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { "description": "Success. The response describes the list of SignalR services in the subscription.", "schema": { "$ref": "#/definitions/SignalRResourceList" } }, "default": { "description": "An unexpected error occurred during the operation.", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "x-ms-pageable": { "nextLinkName": "nextLink" }, "x-ms-examples": { "SignalR_ListBySubscription": { "$ref": "./examples/SignalR_ListBySubscription.json" } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/SignalR": { "get": { "tags": [ "SignalR" ], "description": "Handles requests to list all resources in a resource group.", "operationId": "SignalR_ListByResourceGroup", "parameters": [ { "$ref": "#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/ResourceGroupParameter" } ], "responses": { "200": { "description": "Success. The response describes the list of SignalR services in a resourceGroup.", "schema": { "$ref": "#/definitions/SignalRResourceList" } }, "default": { "description": "An unexpected error occurred during the operation.", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "x-ms-pageable": { "nextLinkName": "nextLink" }, "x-ms-examples": { "SignalR_ListByResourceGroup": { "$ref": "./examples/SignalR_ListByResourceGroup.json" } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/SignalR/{resourceName}/listKeys": { "post": { "tags": [ "SignalR" ], "description": "Get the access keys of the SignalR resource.", "operationId": "SignalR_ListKeys", "parameters": [ { "$ref": "#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/ResourceGroupParameter" }, { "$ref": "#/parameters/SignalRServiceName" } ], "responses": { "200": { "description": "Success. The response describes SignalR service access keys.", "schema": { "$ref": "#/definitions/SignalRKeys" } }, "default": { "description": "An unexpected error occurred during the operation.", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "x-ms-examples": { "SignalR_ListKeys": { "$ref": "./examples/SignalR_ListKeys.json" } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/SignalR/{resourceName}/regenerateKey": { "post": { "tags": [ "SignalR" ], "description": "Regenerate SignalR service access key. PrimaryKey and SecondaryKey cannot be regenerated at the same time.", "operationId": "SignalR_RegenerateKey", "parameters": [ { "name": "parameters", "in": "body", "description": "Parameter that describes the Regenerate Key Operation.", "required": false, "schema": { "$ref": "#/definitions/RegenerateKeyParameters" } }, { "$ref": "#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/ResourceGroupParameter" }, { "$ref": "#/parameters/SignalRServiceName" } ], "responses": { "201": { "description": "Created and an async operation is executing in background to make the new key to take effect. The response contains new keys and a Location header to query the async operation result.", "schema": { "$ref": "#/definitions/SignalRKeys" } }, "default": { "description": "An unexpected error occurred during the operation.", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, "x-ms-examples": { "SignalR_RegenerateKey": { "$ref": "./examples/SignalR_RegenerateKey.json" } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}": { "get": { "tags": [ "SignalR" ], "description": "Get the SignalR service and its properties.", "operationId": "SignalR_Get", "parameters": [ { "$ref": "#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/ResourceGroupParameter" }, { "$ref": "#/parameters/SignalRServiceName" } ], "responses": { "200": { "description": "Success. The response describes the corresponding SignalR service.", "schema": { "$ref": "#/definitions/SignalRResource" } }, "default": { "description": "An unexpected error occurred during the operation.", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "x-ms-examples": { "SignalR_Get": { "$ref": "./examples/SignalR_Get.json" } } }, "put": { "tags": [ "SignalR" ], "description": "Create a new SignalR service and update an exiting SignalR service.", "operationId": "SignalR_CreateOrUpdate", "parameters": [ { "name": "parameters", "in": "body", "description": "Parameters for the create or update operation", "required": false, "schema": { "$ref": "#/definitions/SignalRCreateParameters" } }, { "$ref": "#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/ResourceGroupParameter" }, { "$ref": "#/parameters/SignalRServiceName" } ], "responses": { "200": { "description": "Success. The response describes a SignalR service.", "schema": { "$ref": "#/definitions/SignalRResource" } }, "201": { "description": "Created. The response describes the new service and contains a Location header to query the operation result.", "schema": { "$ref": "#/definitions/SignalRResource" } }, "202": { "description": "Accepted. The response indicates the exiting SignalR service is now updating and contains a Location header to query the operation result.." }, "default": { "description": "An unexpected error occurred during the operation.", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "x-ms-long-running-operation": true, "x-ms-examples": { "SignalR_CreateOrUpdate": { "$ref": "./examples/SignalR_CreateOrUpdate.json" } } }, "delete": { "tags": [ "SignalR" ], "description": "Operation to delete a SignalR service.", "operationId": "SignalR_Delete", "parameters": [ { "$ref": "#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/ResourceGroupParameter" }, { "$ref": "#/parameters/SignalRServiceName" } ], "responses": { "202": { "description": "Accepted. The response indicates the delete operation is performed in the background." }, "204": { "description": "Success. The response indicates the resource is already deleted." }, "default": { "description": "An unexpected error occurred during the operation.", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "x-ms-long-running-operation": true, "x-ms-examples": { "SignalR_Delete": { "$ref": "./examples/SignalR_Delete.json" } } }, "patch": { "tags": [ "SignalR" ], "description": "Operation to update an exiting SignalR service.", "operationId": "SignalR_Update", "parameters": [ { "name": "parameters", "in": "body", "description": "Parameters for the update operation", "required": false, "schema": { "$ref": "#/definitions/SignalRUpdateParameters" } }, { "$ref": "#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/ResourceGroupParameter" }, { "$ref": "#/parameters/SignalRServiceName" } ], "responses": { "200": { "description": "Success. The response describes a SignalR service.", "schema": { "$ref": "#/definitions/SignalRResource" } }, "202": { "description": "Accepted. The response indicates the exiting SignalR service is now updating and contains a Location header to query the operation result.." }, "default": { "description": "An unexpected error occurred during the operation.", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "x-ms-long-running-operation": true, "x-ms-examples": { "SignalR_Update": { "$ref": "./examples/SignalR_Update.json" } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/restart": { "post": { "tags": [ "SignalR" ], "description": "Operation to restart a SignalR service.", "operationId": "SignalR_Restart", "parameters": [ { "$ref": "#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/ResourceGroupParameter" }, { "$ref": "#/parameters/SignalRServiceName" } ], "responses": { "202": { "description": "Accepted. The response indicates the restart operation is performed in the background." }, "204": { "description": "Success. The response indicates the operation is successful and no content will be returned." }, "default": { "description": "An unexpected error occurred during the operation.", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, "x-ms-examples": { "SignalR_Restart": { "$ref": "./examples/SignalR_Restart.json" } } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/locations/{location}/usages": { "get": { "tags": [ "SignalR" ], "description": "List usage quotas for Azure SignalR service by location.", "operationId": "Usages_List", "parameters": [ { "name": "location", "in": "path", "description": "the location like \"eastus\"", "required": true, "type": "string" }, { "$ref": "#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { "description": "Success. The response describe the usage quotas of a subscription in specified region.", "schema": { "$ref": "#/definitions/SignalRUsageList" } }, "default": { "description": "An unexpected error occurred during the operation.", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "x-ms-pageable": { "nextLinkName": "nextLink" }, "x-ms-examples": { "Usages_List": { "$ref": "./examples/Usages_List.json" } } } } }, "definitions": { "OperationList": { "description": "Result of the request to list REST API operations. It contains a list of operations.", "type": "object", "properties": { "value": { "description": "List of operations supported by the resource provider.", "type": "array", "items": { "$ref": "#/definitions/Operation" } }, "nextLink": { "description": "The URL the client should use to fetch the next page (per server side paging).\r\nIt's null for now, added for future use.", "type": "string" } } }, "Operation": { "description": "REST API operation supported by SignalR resource provider.", "type": "object", "properties": { "name": { "description": "Name of the operation with format: {provider}/{resource}/{operation}", "type": "string" }, "display": { "$ref": "#/definitions/OperationDisplay", "description": "The object that describes the operation." }, "origin": { "description": "Optional. The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX.", "type": "string" }, "properties": { "$ref": "#/definitions/OperationProperties", "description": "Extra properties for the operation.", "x-ms-client-flatten": false } } }, "OperationDisplay": { "description": "The object that describes a operation.", "type": "object", "properties": { "provider": { "description": "Friendly name of the resource provider", "type": "string" }, "resource": { "description": "Resource type on which the operation is performed.", "type": "string" }, "operation": { "description": "The localized friendly name for the operation.", "type": "string" }, "description": { "description": "The localized friendly description for the operation", "type": "string" } } }, "OperationProperties": { "description": "Extra Operation properties.", "type": "object", "properties": { "serviceSpecification": { "$ref": "#/definitions/ServiceSpecification", "description": "The service specifications." } } }, "ServiceSpecification": { "description": "An object that describes a specification.", "type": "object", "properties": { "metricSpecifications": { "description": "Specifications of the Metrics for Azure Monitoring.", "type": "array", "items": { "$ref": "#/definitions/MetricSpecification" } }, "logSpecifications": { "description": "Specifications of the Logs for Azure Monitoring.", "type": "array", "items": { "$ref": "#/definitions/LogSpecification" } } } }, "MetricSpecification": { "description": "Specifications of the Metrics for Azure Monitoring.", "type": "object", "properties": { "name": { "description": "Name of the metric.", "type": "string" }, "displayName": { "description": "Localized friendly display name of the metric.", "type": "string" }, "displayDescription": { "description": "Localized friendly description of the metric.", "type": "string" }, "unit": { "description": "The unit that makes sense for the metric.", "type": "string" }, "aggregationType": { "description": "Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.", "type": "string" }, "fillGapWithZero": { "description": "Optional. If set to true, then zero will be returned for time duration where no metric is emitted/published. \r\nEx. a metric that returns the number of times a particular error code was emitted. The error code may not appear \r\noften, instead of the RP publishing 0, Shoebox can auto fill in 0s for time periods where nothing was emitted.", "type": "string" }, "category": { "description": "The name of the metric category that the metric belongs to. A metric can only belong to a single category.", "type": "string" }, "dimensions": { "description": "The dimensions of the metrics.", "type": "array", "items": { "$ref": "#/definitions/Dimension" } } } }, "LogSpecification": { "description": "Specifications of the Logs for Azure Monitoring.", "type": "object", "properties": { "name": { "description": "Name of the log.", "type": "string" }, "displayName": { "description": "Localized friendly display name of the log.", "type": "string" } } }, "Dimension": { "description": "Specifications of the Dimension of metrics.", "type": "object", "properties": { "name": { "description": "The public facing name of the dimension.", "type": "string" }, "displayName": { "description": "Localized friendly display name of the dimension.", "type": "string" }, "internalName": { "description": "Name of the dimension as it appears in MDM.", "type": "string" }, "toBeExportedForShoebox": { "description": "A Boolean flag indicating whether this dimension should be included for the shoebox export scenario.", "type": "boolean" } } }, "ErrorResponse": { "description": "Contains information about an API error.", "type": "object", "properties": { "error": { "$ref": "#/definitions/ErrorResponseBody", "description": "Describes a particular API error with an error code and a message." } } }, "ErrorResponseBody": { "description": "Describes a particular API error with an error code and a message.", "required": [ "code", "message" ], "type": "object", "properties": { "code": { "description": "An error code that describes the error condition more precisely than an HTTP status code. \r\nCan be used to programmatically handle specific error cases.", "type": "string" }, "message": { "description": "A message that describes the error in detail and provides debugging information.", "type": "string" }, "target": { "description": "The target of the particular error (for example, the name of the property in error).", "type": "string" }, "details": { "description": "Contains nested errors that are related to this error.", "type": "array", "items": { "$ref": "#/definitions/ErrorResponseBody" } } } }, "NameAvailabilityParameters": { "description": "Data POST-ed to the nameAvailability action", "required": [ "type", "name" ], "type": "object", "properties": { "type": { "description": "The resource type. Should be always \"Microsoft.SignalRService/SignalR\".", "type": "string" }, "name": { "description": "The SignalR service name to validate. e.g.\"my-signalR-name-here\"", "type": "string" } } }, "NameAvailability": { "description": "Result of the request to check name availability. It contains a flag and possible reason of failure.", "type": "object", "properties": { "nameAvailable": { "description": "Indicates whether the name is available or not.", "type": "boolean" }, "reason": { "description": "The reason of the availability. Required if name is not available.", "type": "string" }, "message": { "description": "The message of the operation.", "type": "string" } } }, "SignalRResourceList": { "description": "Object that includes an array of SignalR services and a possible link for next set.", "type": "object", "properties": { "value": { "description": "List of SignalR services", "type": "array", "items": { "$ref": "#/definitions/SignalRResource" } }, "nextLink": { "description": "The URL the client should use to fetch the next page (per server side paging).\r\nIt's null for now, added for future use.", "type": "string" } } }, "SignalRResource": { "description": "A class represent a SignalR service resource.", "type": "object", "allOf": [ { "$ref": "#/definitions/TrackedResource" } ], "properties": { "sku": { "$ref": "#/definitions/ResourceSku", "description": "SKU of the service." }, "properties": { "$ref": "#/definitions/SignalRProperties", "description": "The properties of the service.", "x-ms-client-flatten": true }, "id": { "description": "Fully qualified resource Id for the resource.", "type": "string", "readOnly": true }, "name": { "description": "The name of the resource.", "type": "string", "readOnly": true }, "type": { "description": "The type of the service - e.g. \"Microsoft.SignalRService/SignalR\"", "type": "string", "readOnly": true } } }, "TrackedResource": { "description": "The resource model definition for a ARM tracked top level resource.", "type": "object", "allOf": [ { "$ref": "#/definitions/Resource" } ], "properties": { "location": { "description": "The GEO location of the SignalR service. e.g. West US | East US | North Central US | South Central US.", "type": "string", "x-ms-mutability": [ "read", "create" ] }, "tags": { "description": "Tags of the service which is a list of key value pairs that describe the resource.", "type": "object", "additionalProperties": { "type": "string" }, "x-ms-mutability": [ "read", "create", "update" ] } } }, "Resource": { "description": "The core properties of ARM resources.", "type": "object", "properties": { "id": { "description": "Fully qualified resource Id for the resource.", "type": "string", "readOnly": true }, "name": { "description": "The name of the resource.", "type": "string", "readOnly": true }, "type": { "description": "The type of the service - e.g. \"Microsoft.SignalRService/SignalR\"", "type": "string", "readOnly": true } }, "x-ms-azure-resource": true }, "ResourceSku": { "description": "The billing information of the SignalR resource.", "required": [ "name" ], "type": "object", "properties": { "name": { "description": "The name of the SKU. Required.\r\n\r\nAllowed values: Standard_S1, Free_F1", "type": "string" }, "tier": { "description": "Optional tier of this particular SKU. 'Standard' or 'Free'. \r\n\r\n`Basic` is deprecated, use `Standard` instead.", "enum": [ "Free", "Basic", "Standard", "Premium" ], "type": "string", "x-ms-enum": { "name": "SignalRSkuTier", "modelAsString": true } }, "size": { "description": "Optional string. For future use.", "type": "string" }, "family": { "description": "Optional string. For future use.", "type": "string" }, "capacity": { "format": "int32", "description": "Optional, integer. The unit count of SignalR resource. 1 by default.\r\n\r\nIf present, following values are allowed:\r\n Free: 1\r\n Standard: 1,2,5,10,20,50,100", "type": "integer" } } }, "SignalRProperties": { "description": "A class that describes the properties of the SignalR service that should contain more read-only properties than AzSignalR.Models.SignalRCreateOrUpdateProperties", "type": "object", "allOf": [ { "$ref": "#/definitions/SignalRCreateOrUpdateProperties" } ], "properties": { "provisioningState": { "description": "Provisioning state of the resource.", "enum": [ "Unknown", "Succeeded", "Failed", "Canceled", "Running", "Creating", "Updating", "Deleting", "Moving" ], "type": "string", "readOnly": true, "x-ms-enum": { "name": "ProvisioningState", "modelAsString": true } }, "externalIP": { "description": "The publicly accessible IP of the SignalR service.", "type": "string", "readOnly": true }, "hostName": { "description": "FQDN of the SignalR service instance. Format: xxx.service.signalr.net", "type": "string", "readOnly": true }, "publicPort": { "format": "int32", "description": "The publicly accessible port of the SignalR service which is designed for browser/client side usage.", "type": "integer", "readOnly": true }, "serverPort": { "format": "int32", "description": "The publicly accessible port of the SignalR service which is designed for customer server side usage.", "type": "integer", "readOnly": true }, "version": { "description": "Version of the SignalR resource. Probably you need the same or higher version of client SDKs.", "type": "string" } } }, "SignalRCreateOrUpdateProperties": { "description": "Settings used to provision or configure the resource.", "type": "object", "properties": { "hostNamePrefix": { "description": "Prefix for the hostName of the SignalR service. Retained for future use.\r\nThe hostname will be of format: <hostNamePrefix>.service.signalr.net.", "type": "string" }, "features": { "description": "List of SignalR featureFlags. e.g. ServiceMode.\r\n\r\nFeatureFlags that are not included in the parameters for the update operation will not be modified.\r\nAnd the response will only include featureFlags that are explicitly set. \r\nWhen a featureFlag is not explicitly set, SignalR service will use its globally default value. \r\nBut keep in mind, the default value doesn't mean \"false\". It varies in terms of different FeatureFlags.", "type": "array", "items": { "$ref": "#/definitions/SignalRFeature" } }, "cors": { "$ref": "#/definitions/SignalRCorsSettings", "description": "Cross-Origin Resource Sharing (CORS) settings." } } }, "SignalRFeature": { "description": "Feature of a SignalR resource, which controls the SignalR runtime behavior.", "required": [ "flag", "value" ], "type": "object", "properties": { "flag": { "description": "FeatureFlags is the supported features of Azure SignalR service.\r\n- ServiceMode: Flag for backend server for SignalR service. Values allowed: \"Default\": have your own backend server; \"Serverless\": your application doesn't have a backend server; \"Classic\": for backward compatibility. Support both Default and Serverless mode but not recommended; \"PredefinedOnly\": for future use.\r\n- EnableConnectivityLogs: \"true\"/\"false\", to enable/disable the connectivity log category respectively.", "enum": [ "ServiceMode", "EnableConnectivityLogs" ], "type": "string", "x-ms-enum": { "name": "FeatureFlags", "modelAsString": true } }, "value": { "description": "Value of the feature flag. See Azure SignalR service document https://docs.microsoft.com/azure/azure-signalr/ for allowed values.", "maxLength": 128, "minLength": 1, "type": "string" }, "properties": { "description": "Optional properties related to this feature.", "type": "object", "additionalProperties": { "type": "string" } } } }, "SignalRCorsSettings": { "description": "Cross-Origin Resource Sharing (CORS) settings.", "type": "object", "properties": { "allowedOrigins": { "description": "Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use \"*\" to allow all. If omitted, allow all by default.", "type": "array", "items": { "type": "string" } } } }, "SignalRKeys": { "description": "A class represents the access keys of SignalR service.", "type": "object", "properties": { "primaryKey": { "description": "The primary access key.", "type": "string" }, "secondaryKey": { "description": "The secondary access key.", "type": "string" }, "primaryConnectionString": { "description": "SignalR connection string constructed via the primaryKey", "type": "string" }, "secondaryConnectionString": { "description": "SignalR connection string constructed via the secondaryKey", "type": "string" } } }, "RegenerateKeyParameters": { "description": "Parameters describes the request to regenerate access keys", "type": "object", "properties": { "keyType": { "description": "The keyType to regenerate. Must be either 'primary' or 'secondary'(case-insensitive).", "enum": [ "Primary", "Secondary" ], "type": "string", "x-ms-enum": { "name": "KeyType", "modelAsString": true } } } }, "SignalRCreateParameters": { "description": "Parameters for SignalR service create/update operation.\r\n\r\nKeep the same schema as AzSignalR.Models.SignalRResource", "required": [ "location" ], "type": "object", "allOf": [ { "$ref": "#/definitions/SignalRUpdateParameters" } ], "properties": { "location": { "description": "Azure GEO region: e.g. West US | East US | North Central US | South Central US | West Europe | North Europe | East Asia | Southeast Asia | etc. \r\nThe geo region of a resource never changes after it is created.", "type": "string" } } }, "SignalRUpdateParameters": { "description": "Parameters for SignalR service update operation", "type": "object", "properties": { "tags": { "description": "A list of key value pairs that describe the resource.", "type": "object", "additionalProperties": { "type": "string" } }, "sku": { "$ref": "#/definitions/ResourceSku", "description": "The billing information of the resource.(e.g. basic vs. standard)" }, "properties": { "$ref": "#/definitions/SignalRCreateOrUpdateProperties", "description": "Settings used to provision or configure the resource", "x-ms-client-flatten": false } } }, "SignalRUsageList": { "description": "Object that includes an array of SignalR resource usages and a possible link for next set.", "type": "object", "properties": { "value": { "description": "List of SignalR usages", "type": "array", "items": { "$ref": "#/definitions/SignalRUsage" } }, "nextLink": { "description": "The URL the client should use to fetch the next page (per server side paging).\r\nIt's null for now, added for future use.", "type": "string" } } }, "SignalRUsage": { "description": "Object that describes a specific usage of SignalR resources.", "type": "object", "properties": { "id": { "description": "Fully qualified ARM resource id", "type": "string" }, "currentValue": { "format": "int64", "description": "Current value for the usage quota.", "type": "integer" }, "limit": { "format": "int64", "description": "The maximum permitted value for the usage quota. If there is no limit, this value will be -1.", "type": "integer" }, "name": { "$ref": "#/definitions/SignalRUsageName", "description": "Localizable String object containing the name and a localized value." }, "unit": { "description": "Representing the units of the usage quota. Possible values are: Count, Bytes, Seconds, Percent, CountPerSecond, BytesPerSecond.", "type": "string" } } }, "SignalRUsageName": { "description": "Localizable String object containing the name and a localized value.", "type": "object", "properties": { "value": { "description": "The identifier of the usage.", "type": "string" }, "localizedValue": { "description": "Localized name of the usage.", "type": "string" } } } }, "parameters": { "ApiVersionParameter": { "name": "api-version", "in": "query", "description": "Client Api Version.", "required": true, "type": "string" }, "SubscriptionIdParameter": { "name": "subscriptionId", "in": "path", "description": "Gets subscription Id which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "required": true, "type": "string" }, "ResourceGroupParameter": { "name": "resourceGroupName", "in": "path", "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.", "required": true, "type": "string", "x-ms-parameter-location": "method" }, "SignalRServiceName": { "name": "resourceName", "in": "path", "description": "The name of the SignalR resource.", "required": true, "type": "string", "x-ms-parameter-location": "method" } }, "securityDefinitions": { "azure_auth": { "flow": "implicit", "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", "scopes": { "user_impersonation": "impersonate your user account" }, "type": "oauth2", "description": "Azure Active Directory OAuth2 Flow" } }, "security": [ { "azure_auth": [ "user_impersonation" ] } ] }