Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/signalr/arm-signalr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"uglify-js": "^3.6.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/signalr/arm-signalr",
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/signalr/arm-signalr",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
148 changes: 145 additions & 3 deletions sdk/signalr/arm-signalr/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,11 @@ export interface PrivateEndpointConnection extends ProxyResource {
* Private endpoint associated with the private endpoint connection
*/
privateEndpoint?: PrivateEndpoint;
/**
* Group IDs
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly groupIds?: string[];
/**
* Connection state
*/
Expand Down Expand Up @@ -454,11 +459,39 @@ export interface PrivateLinkResource extends ProxyResource {
export interface RegenerateKeyParameters {
/**
* The keyType to regenerate. Must be either 'primary' or 'secondary'(case-insensitive). Possible
* values include: 'Primary', 'Secondary'
* values include: 'Primary', 'Secondary', 'Salt'
*/
keyType?: KeyType;
}

/**
* Resource log category configuration of a Microsoft.SignalRService resource.
*/
export interface ResourceLogCategory {
/**
* Gets or sets the resource log category's name.
* Available values: ConnectivityLogs, MessagingLogs.
* Case insensitive.
*/
name?: string;
/**
* Indicates whether or the resource log category is enabled.
* Available values: true, false.
* Case insensitive.
*/
enabled?: string;
}

/**
* Resource log configuration of a Microsoft.SignalRService resource.
*/
export interface ResourceLogConfiguration {
/**
* Gets or sets the list of category configurations.
*/
categories?: ResourceLogCategory[];
}

/**
* The billing information of the resource.
*/
Expand Down Expand Up @@ -768,6 +801,11 @@ export interface SignalRResource extends TrackedResource {
* TLS settings.
*/
tls?: SignalRTlsSettings;
/**
* Deprecated.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly hostNamePrefix?: string;
/**
* List of the featureFlags.
*
Expand All @@ -779,6 +817,13 @@ export interface SignalRResource extends TrackedResource {
* FeatureFlags.
*/
features?: SignalRFeature[];
/**
* Resource log configuration of a Microsoft.SignalRService resource.
* If resourceLogConfiguration isn't null or empty, it will override options
* "EnableConnectivityLog" and "EnableMessagingLogs" in features.
* Otherwise, use options "EnableConnectivityLog" and "EnableMessagingLogs" in features.
*/
resourceLogConfiguration?: ResourceLogConfiguration;
/**
* Cross-Origin Resource Sharing (CORS) settings.
*/
Expand Down Expand Up @@ -867,6 +912,75 @@ export interface SignalRUsage {
unit?: string;
}

/**
* Describes scaling information of a sku.
*/
export interface SkuCapacity {
/**
* The lowest permitted capacity for this resource
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly minimum?: number;
/**
* The highest permitted capacity for this resource
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly maximum?: number;
/**
* The default capacity.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly default?: number;
/**
* Allows capacity value list.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly allowedValues?: number[];
/**
* The scale type applicable to the sku. Possible values include: 'None', 'Manual', 'Automatic'
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly scaleType?: ScaleType;
}

/**
* Describes an available sku."
*/
export interface Sku {
/**
* The resource type that this object applies to
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly resourceType?: string;
/**
* The exact set of keys that define this sku.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly sku?: ResourceSku;
/**
* Specifies the unit of the resource.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly capacity?: SkuCapacity;
}

/**
* The list skus operation response
*/
export interface SkuList {
/**
* The list of skus available for the resource.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly value?: Sku[];
/**
* The URL the client should use to fetch the next page (per server side paging).
* It's null for now, added for future use.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly nextLink?: string;
}

/**
* The resource management error additional info.
*/
Expand Down Expand Up @@ -1030,11 +1144,11 @@ export type FeatureFlags = 'ServiceMode' | 'EnableConnectivityLogs' | 'EnableMes

/**
* Defines values for KeyType.
* Possible values include: 'Primary', 'Secondary'
* Possible values include: 'Primary', 'Secondary', 'Salt'
* @readonly
* @enum {string}
*/
export type KeyType = 'Primary' | 'Secondary';
export type KeyType = 'Primary' | 'Secondary' | 'Salt';

/**
* Defines values for ManagedIdentityType.
Expand Down Expand Up @@ -1085,6 +1199,14 @@ export type PrivateLinkServiceConnectionStatus = 'Pending' | 'Approved' | 'Rejec
*/
export type SignalRSkuTier = 'Free' | 'Basic' | 'Standard' | 'Premium';

/**
* Defines values for ScaleType.
* Possible values include: 'None', 'Manual', 'Automatic'
* @readonly
* @enum {string}
*/
export type ScaleType = 'None' | 'Manual' | 'Automatic';

/**
* Defines values for UpstreamAuthType.
* Possible values include: 'None', 'ManagedIdentity'
Expand Down Expand Up @@ -1309,6 +1431,26 @@ export type SignalRRegenerateKeyResponse = SignalRKeys & {
};
};

/**
* Contains response data for the listSkus operation.
*/
export type SignalRListSkusResponse = SkuList & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: SkuList;
};
};

/**
* Contains response data for the beginCreateOrUpdate operation.
*/
Expand Down
Loading