@azure/arm-signalr 5.2.1-alpha.20230918.1 → 6.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. package/CHANGELOG.md +74 -52
  2. package/README.md +1 -1
  3. package/dist/index.js +1064 -436
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  8. package/dist-esm/samples-dev/signalRCheckNameAvailabilitySample.js +1 -1
  9. package/dist-esm/samples-dev/signalRCreateOrUpdateSample.js +1 -1
  10. package/dist-esm/samples-dev/signalRCustomCertificatesCreateOrUpdateSample.js +1 -1
  11. package/dist-esm/samples-dev/signalRCustomCertificatesDeleteSample.js +1 -1
  12. package/dist-esm/samples-dev/signalRCustomCertificatesGetSample.js +1 -1
  13. package/dist-esm/samples-dev/signalRCustomCertificatesListSample.js +1 -1
  14. package/dist-esm/samples-dev/signalRCustomDomainsCreateOrUpdateSample.js +1 -1
  15. package/dist-esm/samples-dev/signalRCustomDomainsDeleteSample.js +1 -1
  16. package/dist-esm/samples-dev/signalRCustomDomainsGetSample.js +1 -1
  17. package/dist-esm/samples-dev/signalRCustomDomainsListSample.js +1 -1
  18. package/dist-esm/samples-dev/signalRDeleteSample.js +1 -1
  19. package/dist-esm/samples-dev/signalRGetSample.js +1 -1
  20. package/dist-esm/samples-dev/signalRListByResourceGroupSample.js +1 -1
  21. package/dist-esm/samples-dev/signalRListBySubscriptionSample.js +1 -1
  22. package/dist-esm/samples-dev/signalRListKeysSample.js +1 -1
  23. package/dist-esm/samples-dev/signalRListReplicaSkusSample.d.ts +2 -0
  24. package/dist-esm/samples-dev/signalRListReplicaSkusSample.d.ts.map +1 -0
  25. package/dist-esm/samples-dev/signalRListReplicaSkusSample.js +40 -0
  26. package/dist-esm/samples-dev/signalRListReplicaSkusSample.js.map +1 -0
  27. package/dist-esm/samples-dev/signalRListSkusSample.js +1 -1
  28. package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsDeleteSample.js +1 -1
  29. package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsGetSample.js +1 -1
  30. package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsListSample.js +1 -1
  31. package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsUpdateSample.js +2 -4
  32. package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsUpdateSample.js.map +1 -1
  33. package/dist-esm/samples-dev/signalRPrivateLinkResourcesListSample.js +1 -1
  34. package/dist-esm/samples-dev/signalRRegenerateKeySample.js +1 -1
  35. package/dist-esm/samples-dev/signalRReplicasCreateOrUpdateSample.d.ts +2 -0
  36. package/dist-esm/samples-dev/signalRReplicasCreateOrUpdateSample.d.ts.map +1 -0
  37. package/dist-esm/samples-dev/signalRReplicasCreateOrUpdateSample.js +45 -0
  38. package/dist-esm/samples-dev/signalRReplicasCreateOrUpdateSample.js.map +1 -0
  39. package/dist-esm/samples-dev/signalRReplicasDeleteSample.d.ts +2 -0
  40. package/dist-esm/samples-dev/signalRReplicasDeleteSample.d.ts.map +1 -0
  41. package/dist-esm/samples-dev/signalRReplicasDeleteSample.js +40 -0
  42. package/dist-esm/samples-dev/signalRReplicasDeleteSample.js.map +1 -0
  43. package/dist-esm/samples-dev/signalRReplicasGetSample.d.ts +2 -0
  44. package/dist-esm/samples-dev/signalRReplicasGetSample.d.ts.map +1 -0
  45. package/dist-esm/samples-dev/signalRReplicasGetSample.js +40 -0
  46. package/dist-esm/samples-dev/signalRReplicasGetSample.js.map +1 -0
  47. package/dist-esm/samples-dev/signalRReplicasListSample.d.ts +2 -0
  48. package/dist-esm/samples-dev/signalRReplicasListSample.d.ts.map +1 -0
  49. package/dist-esm/samples-dev/signalRReplicasListSample.js +60 -0
  50. package/dist-esm/samples-dev/signalRReplicasListSample.js.map +1 -0
  51. package/dist-esm/samples-dev/signalRReplicasRestartSample.d.ts +2 -0
  52. package/dist-esm/samples-dev/signalRReplicasRestartSample.d.ts.map +1 -0
  53. package/dist-esm/samples-dev/signalRReplicasRestartSample.js +40 -0
  54. package/dist-esm/samples-dev/signalRReplicasRestartSample.js.map +1 -0
  55. package/dist-esm/samples-dev/signalRReplicasUpdateSample.d.ts +2 -0
  56. package/dist-esm/samples-dev/signalRReplicasUpdateSample.d.ts.map +1 -0
  57. package/dist-esm/samples-dev/signalRReplicasUpdateSample.js +45 -0
  58. package/dist-esm/samples-dev/signalRReplicasUpdateSample.js.map +1 -0
  59. package/dist-esm/samples-dev/signalRRestartSample.js +1 -1
  60. package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesCreateOrUpdateSample.js +1 -1
  61. package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesDeleteSample.js +1 -1
  62. package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesGetSample.js +1 -1
  63. package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesListSample.js +1 -1
  64. package/dist-esm/samples-dev/signalRUpdateSample.js +1 -1
  65. package/dist-esm/samples-dev/usagesListSample.js +1 -1
  66. package/dist-esm/src/models/index.d.ts +150 -79
  67. package/dist-esm/src/models/index.d.ts.map +1 -1
  68. package/dist-esm/src/models/index.js +12 -12
  69. package/dist-esm/src/models/index.js.map +1 -1
  70. package/dist-esm/src/models/mappers.d.ts +9 -2
  71. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  72. package/dist-esm/src/models/mappers.js +181 -88
  73. package/dist-esm/src/models/mappers.js.map +1 -1
  74. package/dist-esm/src/models/parameters.d.ts +3 -1
  75. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  76. package/dist-esm/src/models/parameters.js +32 -4
  77. package/dist-esm/src/models/parameters.js.map +1 -1
  78. package/dist-esm/src/operations/index.d.ts +1 -0
  79. package/dist-esm/src/operations/index.d.ts.map +1 -1
  80. package/dist-esm/src/operations/index.js +1 -0
  81. package/dist-esm/src/operations/index.js.map +1 -1
  82. package/dist-esm/src/operations/signalR.d.ts +27 -35
  83. package/dist-esm/src/operations/signalR.d.ts.map +1 -1
  84. package/dist-esm/src/operations/signalR.js +66 -40
  85. package/dist-esm/src/operations/signalR.js.map +1 -1
  86. package/dist-esm/src/operations/signalRCustomCertificates.d.ts +7 -14
  87. package/dist-esm/src/operations/signalRCustomCertificates.d.ts.map +1 -1
  88. package/dist-esm/src/operations/signalRCustomCertificates.js +9 -15
  89. package/dist-esm/src/operations/signalRCustomCertificates.js.map +1 -1
  90. package/dist-esm/src/operations/signalRCustomDomains.d.ts +8 -16
  91. package/dist-esm/src/operations/signalRCustomDomains.d.ts.map +1 -1
  92. package/dist-esm/src/operations/signalRCustomDomains.js +10 -17
  93. package/dist-esm/src/operations/signalRCustomDomains.js.map +1 -1
  94. package/dist-esm/src/operations/signalRPrivateEndpointConnections.d.ts +15 -18
  95. package/dist-esm/src/operations/signalRPrivateEndpointConnections.d.ts.map +1 -1
  96. package/dist-esm/src/operations/signalRPrivateEndpointConnections.js +15 -18
  97. package/dist-esm/src/operations/signalRPrivateEndpointConnections.js.map +1 -1
  98. package/dist-esm/src/operations/signalRPrivateLinkResources.d.ts +3 -6
  99. package/dist-esm/src/operations/signalRPrivateLinkResources.d.ts.map +1 -1
  100. package/dist-esm/src/operations/signalRPrivateLinkResources.js +3 -6
  101. package/dist-esm/src/operations/signalRPrivateLinkResources.js.map +1 -1
  102. package/dist-esm/src/operations/signalRReplicas.d.ts +107 -0
  103. package/dist-esm/src/operations/signalRReplicas.d.ts.map +1 -0
  104. package/dist-esm/src/operations/signalRReplicas.js +507 -0
  105. package/dist-esm/src/operations/signalRReplicas.js.map +1 -0
  106. package/dist-esm/src/operations/signalRSharedPrivateLinkResources.d.ts +8 -16
  107. package/dist-esm/src/operations/signalRSharedPrivateLinkResources.d.ts.map +1 -1
  108. package/dist-esm/src/operations/signalRSharedPrivateLinkResources.js +11 -18
  109. package/dist-esm/src/operations/signalRSharedPrivateLinkResources.js.map +1 -1
  110. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  111. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  112. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  113. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  114. package/dist-esm/src/operationsInterfaces/signalR.d.ts +25 -31
  115. package/dist-esm/src/operationsInterfaces/signalR.d.ts.map +1 -1
  116. package/dist-esm/src/operationsInterfaces/signalRCustomCertificates.d.ts +5 -10
  117. package/dist-esm/src/operationsInterfaces/signalRCustomCertificates.d.ts.map +1 -1
  118. package/dist-esm/src/operationsInterfaces/signalRCustomDomains.d.ts +6 -12
  119. package/dist-esm/src/operationsInterfaces/signalRCustomDomains.d.ts.map +1 -1
  120. package/dist-esm/src/operationsInterfaces/signalRPrivateEndpointConnections.d.ts +13 -14
  121. package/dist-esm/src/operationsInterfaces/signalRPrivateEndpointConnections.d.ts.map +1 -1
  122. package/dist-esm/src/operationsInterfaces/signalRPrivateLinkResources.d.ts +1 -2
  123. package/dist-esm/src/operationsInterfaces/signalRPrivateLinkResources.d.ts.map +1 -1
  124. package/dist-esm/src/operationsInterfaces/signalRReplicas.d.ts +82 -0
  125. package/dist-esm/src/operationsInterfaces/signalRReplicas.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/signalRReplicas.js +9 -0
  127. package/dist-esm/src/operationsInterfaces/signalRReplicas.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/signalRSharedPrivateLinkResources.d.ts +6 -12
  129. package/dist-esm/src/operationsInterfaces/signalRSharedPrivateLinkResources.d.ts.map +1 -1
  130. package/dist-esm/src/signalRManagementClient.d.ts +3 -3
  131. package/dist-esm/src/signalRManagementClient.d.ts.map +1 -1
  132. package/dist-esm/src/signalRManagementClient.js +5 -5
  133. package/dist-esm/src/signalRManagementClient.js.map +1 -1
  134. package/dist-esm/test/signalr_examples.spec.js +1 -1
  135. package/dist-esm/test/signalr_examples.spec.js.map +1 -1
  136. package/package.json +6 -6
  137. package/review/arm-signalr.api.md +124 -8
  138. package/src/models/index.ts +179 -82
  139. package/src/models/mappers.ts +189 -90
  140. package/src/models/parameters.ts +34 -3
  141. package/src/operations/index.ts +1 -0
  142. package/src/operations/signalR.ts +91 -44
  143. package/src/operations/signalRCustomCertificates.ts +9 -15
  144. package/src/operations/signalRCustomDomains.ts +10 -17
  145. package/src/operations/signalRPrivateEndpointConnections.ts +15 -18
  146. package/src/operations/signalRPrivateLinkResources.ts +3 -6
  147. package/src/operations/signalRReplicas.ts +702 -0
  148. package/src/operations/signalRSharedPrivateLinkResources.ts +11 -18
  149. package/src/operationsInterfaces/index.ts +1 -0
  150. package/src/operationsInterfaces/signalR.ts +37 -30
  151. package/src/operationsInterfaces/signalRCustomCertificates.ts +5 -10
  152. package/src/operationsInterfaces/signalRCustomDomains.ts +6 -12
  153. package/src/operationsInterfaces/signalRPrivateEndpointConnections.ts +13 -14
  154. package/src/operationsInterfaces/signalRPrivateLinkResources.ts +1 -2
  155. package/src/operationsInterfaces/signalRReplicas.ts +166 -0
  156. package/src/operationsInterfaces/signalRSharedPrivateLinkResources.ts +6 -12
  157. package/src/signalRManagementClient.ts +7 -4
  158. package/types/arm-signalr.d.ts +267 -119
  159. package/types/tsdoc-metadata.json +1 -1
@@ -23,8 +23,7 @@ import {
23
23
  export interface SignalRSharedPrivateLinkResources {
24
24
  /**
25
25
  * List shared private link resources
26
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
27
- * this value from the Azure Resource Manager API or the portal.
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
27
  * @param resourceName The name of the resource.
29
28
  * @param options The options parameters.
30
29
  */
@@ -36,8 +35,7 @@ export interface SignalRSharedPrivateLinkResources {
36
35
  /**
37
36
  * Get the specified shared private link resource
38
37
  * @param sharedPrivateLinkResourceName The name of the shared private link resource
39
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
40
- * this value from the Azure Resource Manager API or the portal.
38
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
41
39
  * @param resourceName The name of the resource.
42
40
  * @param options The options parameters.
43
41
  */
@@ -50,8 +48,7 @@ export interface SignalRSharedPrivateLinkResources {
50
48
  /**
51
49
  * Create or update a shared private link resource
52
50
  * @param sharedPrivateLinkResourceName The name of the shared private link resource
53
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
54
- * this value from the Azure Resource Manager API or the portal.
51
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
55
52
  * @param resourceName The name of the resource.
56
53
  * @param parameters The shared private link resource
57
54
  * @param options The options parameters.
@@ -71,8 +68,7 @@ export interface SignalRSharedPrivateLinkResources {
71
68
  /**
72
69
  * Create or update a shared private link resource
73
70
  * @param sharedPrivateLinkResourceName The name of the shared private link resource
74
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
75
- * this value from the Azure Resource Manager API or the portal.
71
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
76
72
  * @param resourceName The name of the resource.
77
73
  * @param parameters The shared private link resource
78
74
  * @param options The options parameters.
@@ -87,8 +83,7 @@ export interface SignalRSharedPrivateLinkResources {
87
83
  /**
88
84
  * Delete the specified shared private link resource
89
85
  * @param sharedPrivateLinkResourceName The name of the shared private link resource
90
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
91
- * this value from the Azure Resource Manager API or the portal.
86
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
92
87
  * @param resourceName The name of the resource.
93
88
  * @param options The options parameters.
94
89
  */
@@ -101,8 +96,7 @@ export interface SignalRSharedPrivateLinkResources {
101
96
  /**
102
97
  * Delete the specified shared private link resource
103
98
  * @param sharedPrivateLinkResourceName The name of the shared private link resource
104
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
105
- * this value from the Azure Resource Manager API or the portal.
99
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
106
100
  * @param resourceName The name of the resource.
107
101
  * @param options The options parameters.
108
102
  */
@@ -22,6 +22,7 @@ import {
22
22
  SignalRCustomDomainsImpl,
23
23
  SignalRPrivateEndpointConnectionsImpl,
24
24
  SignalRPrivateLinkResourcesImpl,
25
+ SignalRReplicasImpl,
25
26
  SignalRSharedPrivateLinkResourcesImpl
26
27
  } from "./operations";
27
28
  import {
@@ -32,6 +33,7 @@ import {
32
33
  SignalRCustomDomains,
33
34
  SignalRPrivateEndpointConnections,
34
35
  SignalRPrivateLinkResources,
36
+ SignalRReplicas,
35
37
  SignalRSharedPrivateLinkResources
36
38
  } from "./operationsInterfaces";
37
39
  import { SignalRManagementClientOptionalParams } from "./models";
@@ -44,8 +46,7 @@ export class SignalRManagementClient extends coreClient.ServiceClient {
44
46
  /**
45
47
  * Initializes a new instance of the SignalRManagementClient class.
46
48
  * @param credentials Subscription credentials which uniquely identify client subscription.
47
- * @param subscriptionId Gets subscription Id which uniquely identify the Microsoft Azure subscription.
48
- * The subscription ID forms part of the URI for every service call.
49
+ * @param subscriptionId The ID of the target subscription. The value must be an UUID.
49
50
  * @param options The parameter options
50
51
  */
51
52
  constructor(
@@ -69,7 +70,7 @@ export class SignalRManagementClient extends coreClient.ServiceClient {
69
70
  credential: credentials
70
71
  };
71
72
 
72
- const packageDetails = `azsdk-js-arm-signalr/5.2.1`;
73
+ const packageDetails = `azsdk-js-arm-signalr/6.0.0-beta.1`;
73
74
  const userAgentPrefix =
74
75
  options.userAgentOptions && options.userAgentOptions.userAgentPrefix
75
76
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
@@ -122,7 +123,7 @@ export class SignalRManagementClient extends coreClient.ServiceClient {
122
123
 
123
124
  // Assigning values to Constant parameters
124
125
  this.$host = options.$host || "https://management.azure.com";
125
- this.apiVersion = options.apiVersion || "2023-02-01";
126
+ this.apiVersion = options.apiVersion || "2023-06-01-preview";
126
127
  this.operations = new OperationsImpl(this);
127
128
  this.signalR = new SignalRImpl(this);
128
129
  this.usages = new UsagesImpl(this);
@@ -134,6 +135,7 @@ export class SignalRManagementClient extends coreClient.ServiceClient {
134
135
  this.signalRPrivateLinkResources = new SignalRPrivateLinkResourcesImpl(
135
136
  this
136
137
  );
138
+ this.signalRReplicas = new SignalRReplicasImpl(this);
137
139
  this.signalRSharedPrivateLinkResources = new SignalRSharedPrivateLinkResourcesImpl(
138
140
  this
139
141
  );
@@ -175,5 +177,6 @@ export class SignalRManagementClient extends coreClient.ServiceClient {
175
177
  signalRCustomDomains: SignalRCustomDomains;
176
178
  signalRPrivateEndpointConnections: SignalRPrivateEndpointConnections;
177
179
  signalRPrivateLinkResources: SignalRPrivateLinkResources;
180
+ signalRReplicas: SignalRReplicas;
178
181
  signalRSharedPrivateLinkResources: SignalRSharedPrivateLinkResources;
179
182
  }