Object literals
Const $host
$host: object
parameterPath
parameterPath: string = "$host"
skipEncoding
skipEncoding: boolean = true
mapper
mapper: object
required
required: boolean = true
serializedName
serializedName: string = "$host"
type
type: object
name
name: string = "String"
Const addConnectionToGroupOperationSpec
addConnectionToGroupOperationSpec: object
httpMethod
httpMethod: string = "PUT"
path
path: string = "/api/hubs/{hub}/groups/{group}/connections/{connectionId}"
queryParameters
queryParameters: Object = [Parameters.apiVersion]
serializer
serializer: any
urlParameters
urlParameters: Object = [Parameters.$host,Parameters.hub,Parameters.connectionId,Parameters.group]
responses
responses: object
Const addUserToGroupOperationSpec
addUserToGroupOperationSpec: object
httpMethod
httpMethod: string = "PUT"
path
path: string = "/api/hubs/{hub}/users/{userId}/groups/{group}"
queryParameters
queryParameters: Object = [Parameters.apiVersion]
serializer
serializer: any
urlParameters
urlParameters: Object = [Parameters.$host,Parameters.hub,Parameters.group,Parameters.userId]
responses
responses: object
Const apiVersion
apiVersion: object
parameterPath
parameterPath: string = "apiVersion"
mapper
mapper: object
defaultValue
defaultValue: string = "2021-05-01-preview"
isConstant
isConstant: boolean = true
serializedName
serializedName: string = "api-version"
type
type: object
name
name: string = "String"
Const checkPermissionOperationSpec
checkPermissionOperationSpec: object
httpMethod
httpMethod: string = "HEAD"
path
path: string = "/api/hubs/{hub}/permissions/{permission}/connections/{connectionId}"
queryParameters
queryParameters: Object = [Parameters.apiVersion, Parameters.targetName]
serializer
serializer: any
urlParameters
urlParameters: Object = [Parameters.$host,Parameters.hub,Parameters.connectionId,Parameters.permission]
responses
responses: object
Const closeClientConnectionOperationSpec
closeClientConnectionOperationSpec: object
httpMethod
httpMethod: string = "DELETE"
path
path: string = "/api/hubs/{hub}/connections/{connectionId}"
queryParameters
queryParameters: Object = [Parameters.apiVersion, Parameters.reason]
serializer
serializer: any
urlParameters
urlParameters: Object = [Parameters.$host, Parameters.hub, Parameters.connectionId]
responses
responses: object
Const connectionExistsOperationSpec
connectionExistsOperationSpec: object
httpMethod
httpMethod: string = "HEAD"
path
path: string = "/api/hubs/{hub}/connections/{connectionId}"
queryParameters
queryParameters: Object = [Parameters.apiVersion]
serializer
serializer: any
urlParameters
urlParameters: Object = [Parameters.$host, Parameters.hub, Parameters.connectionId]
responses
responses: object
Const connectionId
connectionId: object
parameterPath
parameterPath: string = "connectionId"
mapper
mapper: object
required
required: boolean = true
serializedName
serializedName: string = "connectionId"
constraints
constraints: object
MinLength
MinLength: number = 1
type
type: object
name
name: string = "String"
Const contentType
contentType: object
parameterPath
parameterPath: string = "contentType"
mapper
mapper: object
required
required: boolean = true
serializedName
serializedName: string = "Content-Type"
type
type: object
allowedValues
allowedValues: Object = ["application/json", "application/octet-stream"]
name
name: string = "Enum"
Const contentType1
contentType1: object
parameterPath
parameterPath: string = "contentType"
mapper
mapper: object
defaultValue
defaultValue: string = "text/plain"
isConstant
isConstant: boolean = true
serializedName
serializedName: string = "Content-Type"
type
type: object
name
name: string = "String"
Const excluded
excluded: object
collectionFormat
collectionFormat: string = "Multi"
parameterPath
parameterPath: Object = ["options", "excluded"]
mapper
mapper: object
serializedName
serializedName: string = "excluded"
type
type: object
name
name: string = "Sequence"
element
element: object
type
type: object
name
name: string = "String"
Const getServiceStatusOperationSpec
getServiceStatusOperationSpec: object
httpMethod
httpMethod: string = "HEAD"
path
path: string = "/api/health"
queryParameters
queryParameters: Object = [Parameters.apiVersion]
serializer
serializer: any
urlParameters
urlParameters: Object = [Parameters.$host]
responses
responses: object
Const grantPermissionOperationSpec
grantPermissionOperationSpec: object
httpMethod
httpMethod: string = "PUT"
path
path: string = "/api/hubs/{hub}/permissions/{permission}/connections/{connectionId}"
queryParameters
queryParameters: Object = [Parameters.apiVersion, Parameters.targetName]
serializer
serializer: any
urlParameters
urlParameters: Object = [Parameters.$host,Parameters.hub,Parameters.connectionId,Parameters.permission]
responses
responses: object
Const group
group: object
parameterPath
parameterPath: string = "group"
mapper
mapper: object
required
required: boolean = true
serializedName
serializedName: string = "group"
constraints
constraints: object
MaxLength
MaxLength: number = 1024
MinLength
MinLength: number = 1
type
type: object
name
name: string = "String"
Const groupExistsOperationSpec
groupExistsOperationSpec: object
httpMethod
httpMethod: string = "HEAD"
path
path: string = "/api/hubs/{hub}/groups/{group}"
queryParameters
queryParameters: Object = [Parameters.apiVersion]
serializer
serializer: any
urlParameters
urlParameters: Object = [Parameters.$host, Parameters.hub, Parameters.group]
responses
responses: object
Const hub
hub: object
parameterPath
parameterPath: string = "hub"
mapper
mapper: object
required
required: boolean = true
serializedName
serializedName: string = "hub"
constraints
constraints: object
Pattern
Pattern: any = new RegExp("^[A-Za-z][A-Za-z0-9_`,.[\\]]{0,127}$")
type
type: object
name
name: string = "String"
Const message
message: object
parameterPath
parameterPath: string = "message"
mapper
mapper: object
required
required: boolean = true
serializedName
serializedName: string = "message"
type
type: object
name
name: string = "Stream"
Const message1
message1: object
parameterPath
parameterPath: string = "message"
mapper
mapper: object
required
required: boolean = true
serializedName
serializedName: string = "message"
type
type: object
name
name: string = "String"
Const permission
permission: object
parameterPath
parameterPath: string = "permission"
mapper
mapper: object
required
required: boolean = true
serializedName
serializedName: string = "permission"
type
type: object
name
name: string = "String"
Const reason
reason: object
parameterPath
parameterPath: Object = ["options", "reason"]
mapper
mapper: object
serializedName
serializedName: string = "reason"
type
type: object
name
name: string = "String"
Const removeConnectionFromGroupOperationSpec
removeConnectionFromGroupOperationSpec: object
httpMethod
httpMethod: string = "DELETE"
path
path: string = "/api/hubs/{hub}/groups/{group}/connections/{connectionId}"
queryParameters
queryParameters: Object = [Parameters.apiVersion]
serializer
serializer: any
urlParameters
urlParameters: Object = [Parameters.$host,Parameters.hub,Parameters.connectionId,Parameters.group]
responses
responses: object
Const removeUserFromAllGroupsOperationSpec
removeUserFromAllGroupsOperationSpec: object
httpMethod
httpMethod: string = "DELETE"
path
path: string = "/api/hubs/{hub}/users/{userId}/groups"
queryParameters
queryParameters: Object = [Parameters.apiVersion]
serializer
serializer: any
urlParameters
urlParameters: Object = [Parameters.$host, Parameters.hub, Parameters.userId]
responses
responses: object
Const removeUserFromGroupOperationSpec
removeUserFromGroupOperationSpec: object
httpMethod
httpMethod: string = "DELETE"
path
path: string = "/api/hubs/{hub}/users/{userId}/groups/{group}"
queryParameters
queryParameters: Object = [Parameters.apiVersion]
serializer
serializer: any
urlParameters
urlParameters: Object = [Parameters.$host,Parameters.hub,Parameters.group,Parameters.userId]
responses
responses: object
Const revokePermissionOperationSpec
revokePermissionOperationSpec: object
httpMethod
httpMethod: string = "DELETE"
path
path: string = "/api/hubs/{hub}/permissions/{permission}/connections/{connectionId}"
queryParameters
queryParameters: Object = [Parameters.apiVersion, Parameters.targetName]
serializer
serializer: any
urlParameters
urlParameters: Object = [Parameters.$host,Parameters.hub,Parameters.connectionId,Parameters.permission]
responses
responses: object
Const sendToAll$binaryOperationSpec
sendToAll$binaryOperationSpec: object
headerParameters
headerParameters: Object = [Parameters.contentType]
httpMethod
httpMethod: string = "POST"
mediaType
mediaType: string = "binary"
path
path: string = "/api/hubs/{hub}/:send"
queryParameters
queryParameters: Object = [Parameters.apiVersion, Parameters.excluded]
requestBody
requestBody: any = Parameters.message
serializer
serializer: any
urlParameters
urlParameters: Object = [Parameters.$host, Parameters.hub]
responses
responses: object
Const sendToAll$textOperationSpec
sendToAll$textOperationSpec: object
headerParameters
headerParameters: Object = [Parameters.contentType1]
httpMethod
httpMethod: string = "POST"
mediaType
mediaType: string = "text"
path
path: string = "/api/hubs/{hub}/:send"
queryParameters
queryParameters: Object = [Parameters.apiVersion, Parameters.excluded]
requestBody
requestBody: any = Parameters.message1
serializer
serializer: any
urlParameters
urlParameters: Object = [Parameters.$host, Parameters.hub]
responses
responses: object
Const sendToConnection$binaryOperationSpec
sendToConnection$binaryOperationSpec: object
headerParameters
headerParameters: Object = [Parameters.contentType]
httpMethod
httpMethod: string = "POST"
mediaType
mediaType: string = "binary"
path
path: string = "/api/hubs/{hub}/connections/{connectionId}/:send"
queryParameters
queryParameters: Object = [Parameters.apiVersion]
requestBody
requestBody: any = Parameters.message
serializer
serializer: any
urlParameters
urlParameters: Object = [Parameters.$host, Parameters.hub, Parameters.connectionId]
responses
responses: object
Const sendToConnection$textOperationSpec
sendToConnection$textOperationSpec: object
headerParameters
headerParameters: Object = [Parameters.contentType1]
httpMethod
httpMethod: string = "POST"
mediaType
mediaType: string = "text"
path
path: string = "/api/hubs/{hub}/connections/{connectionId}/:send"
queryParameters
queryParameters: Object = [Parameters.apiVersion]
requestBody
requestBody: any = Parameters.message1
serializer
serializer: any
urlParameters
urlParameters: Object = [Parameters.$host, Parameters.hub, Parameters.connectionId]
responses
responses: object
Const sendToGroup$binaryOperationSpec
sendToGroup$binaryOperationSpec: object
headerParameters
headerParameters: Object = [Parameters.contentType]
httpMethod
httpMethod: string = "POST"
mediaType
mediaType: string = "binary"
path
path: string = "/api/hubs/{hub}/groups/{group}/:send"
queryParameters
queryParameters: Object = [Parameters.apiVersion, Parameters.excluded]
requestBody
requestBody: any = Parameters.message
serializer
serializer: any
urlParameters
urlParameters: Object = [Parameters.$host, Parameters.hub, Parameters.group]
responses
responses: object
Const sendToGroup$textOperationSpec
sendToGroup$textOperationSpec: object
headerParameters
headerParameters: Object = [Parameters.contentType1]
httpMethod
httpMethod: string = "POST"
mediaType
mediaType: string = "text"
path
path: string = "/api/hubs/{hub}/groups/{group}/:send"
queryParameters
queryParameters: Object = [Parameters.apiVersion, Parameters.excluded]
requestBody
requestBody: any = Parameters.message1
serializer
serializer: any
urlParameters
urlParameters: Object = [Parameters.$host, Parameters.hub, Parameters.group]
responses
responses: object
Const sendToUser$binaryOperationSpec
sendToUser$binaryOperationSpec: object
headerParameters
headerParameters: Object = [Parameters.contentType]
httpMethod
httpMethod: string = "POST"
mediaType
mediaType: string = "binary"
path
path: string = "/api/hubs/{hub}/users/{userId}/:send"
queryParameters
queryParameters: Object = [Parameters.apiVersion]
requestBody
requestBody: any = Parameters.message
serializer
serializer: any
urlParameters
urlParameters: Object = [Parameters.$host, Parameters.hub, Parameters.userId]
responses
responses: object
Const sendToUser$textOperationSpec
sendToUser$textOperationSpec: object
headerParameters
headerParameters: Object = [Parameters.contentType1]
httpMethod
httpMethod: string = "POST"
mediaType
mediaType: string = "text"
path
path: string = "/api/hubs/{hub}/users/{userId}/:send"
queryParameters
queryParameters: Object = [Parameters.apiVersion]
requestBody
requestBody: any = Parameters.message1
serializer
serializer: any
urlParameters
urlParameters: Object = [Parameters.$host, Parameters.hub, Parameters.userId]
responses
responses: object
Const targetName
targetName: object
parameterPath
parameterPath: Object = ["options", "targetName"]
mapper
mapper: object
serializedName
serializedName: string = "targetName"
type
type: object
name
name: string = "String"
Const userExistsOperationSpec
userExistsOperationSpec: object
httpMethod
httpMethod: string = "HEAD"
path
path: string = "/api/hubs/{hub}/users/{userId}"
queryParameters
queryParameters: Object = [Parameters.apiVersion]
serializer
serializer: any
urlParameters
urlParameters: Object = [Parameters.$host, Parameters.hub, Parameters.userId]
responses
responses: object
Const userId
userId: object
parameterPath
parameterPath: string = "userId"
mapper
mapper: object
required
required: boolean = true
serializedName
serializedName: string = "userId"
constraints
constraints: object
MinLength
MinLength: number = 1
type
type: object
name
name: string = "String"
Defines values for ContentType.