From 26c034cea12b1c167f27a34e94308bf9e273a3f8 Mon Sep 17 00:00:00 2001 From: albertxavier Date: Fri, 2 Aug 2024 14:41:41 +0800 Subject: [PATCH 1/3] Update api view to test --- .../review/arm-servicefabric.api.md | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/sdk/servicefabric/arm-servicefabric-rest/review/arm-servicefabric.api.md b/sdk/servicefabric/arm-servicefabric-rest/review/arm-servicefabric.api.md index b54c93219799..e4c17a62d038 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/review/arm-servicefabric.api.md +++ b/sdk/servicefabric/arm-servicefabric-rest/review/arm-servicefabric.api.md @@ -777,7 +777,7 @@ export interface ClusterPropertiesOutput { clusterEndpoint?: string; clusterId?: string; clusterState?: "WaitingForNodes" | "Deploying" | "BaselineUpgrade" | "UpdatingUserConfiguration" | "UpdatingUserCertificate" | "UpdatingInfrastructure" | "EnforcingClusterVersion" | "UpgradeServiceUnreachable" | "AutoScale" | "Ready"; - diagnosticsStorageAccountConfig?: DiagnosticsStorageAccountConfigOutput; + diagnosticsStorageAccountConfig?: DiagnosticsStorageAccountConfigOutput_FFF; eventStoreServiceEnabled?: boolean; fabricSettings?: Array; infrastructureServiceManager?: boolean; @@ -863,7 +863,7 @@ export interface ClustersCreateOrUpdateMediaTypesParam { export type ClustersCreateOrUpdateParameters = ClustersCreateOrUpdateMediaTypesParam & ClustersCreateOrUpdateBodyParam & RequestParameters; // @public -export interface ClustersDelete200Response extends HttpResponse { +export interface ClustersDelete200ResponseAAA extends HttpResponse { // (undocumented) body: Record; // (undocumented) @@ -890,8 +890,8 @@ export interface ClustersDeletedefaultResponse extends HttpResponse { export type ClustersDeleteParameters = RequestParameters; // @public (undocumented) -export interface ClustersGet { - delete(options?: ClustersDeleteParameters): StreamableMethod; +export interface ClustersGet_DDD { + delete(options?: ClustersDeleteParameters): StreamableMethod; get(options?: ClustersGetParameters): StreamableMethod; patch(options: ClustersUpdateParameters): StreamableMethod; put(options: ClustersCreateOrUpdateParameters): StreamableMethod; @@ -1016,7 +1016,7 @@ export interface ClustersUpdate202Response extends HttpResponse { // @public (undocumented) export interface ClustersUpdateBodyParam { - body: ClusterUpdateParameters; + body: ClusterUpdateParameters_BBB; } // @public @@ -1028,15 +1028,15 @@ export interface ClustersUpdatedefaultResponse extends HttpResponse { } // @public (undocumented) -export interface ClustersUpdateMediaTypesParam { +export interface ClustersUpdateMediaTypesParam_CCC { contentType?: "application/json"; } // @public (undocumented) -export type ClustersUpdateParameters = ClustersUpdateMediaTypesParam & ClustersUpdateBodyParam & RequestParameters; +export type ClustersUpdateParameters = ClustersUpdateMediaTypesParam_CCC & ClustersUpdateBodyParam & RequestParameters; // @public (undocumented) -export interface ClusterUpdateParameters { +export interface ClusterUpdateParameters_BBB { properties?: ClusterPropertiesUpdateParameters; tags?: Record; } @@ -1099,7 +1099,7 @@ export interface ClusterVersionDetailsOutput { // @public (undocumented) export interface ClusterVersionsGet { - get(options?: ClusterVersionsGetParameters): StreamableMethod; + get(options?: ClusterVersionsGetParameters_EEE): StreamableMethod; } // @public @@ -1143,7 +1143,7 @@ export interface ClusterVersionsGetdefaultResponse extends HttpResponse { } // @public (undocumented) -export type ClusterVersionsGetParameters = RequestParameters; +export type ClusterVersionsGetParameters_EEE = RequestParameters; // @public (undocumented) export interface ClusterVersionsList { @@ -1200,7 +1200,7 @@ export default createClient; // @public (undocumented) export interface DiagnosticsStorageAccountConfig { blobEndpoint: string; - protectedAccountKeyName: string; + protectedAccountKeyName_GGG: string; protectedAccountKeyName2?: string; queueEndpoint: string; storageAccountName: string; @@ -1208,7 +1208,7 @@ export interface DiagnosticsStorageAccountConfig { } // @public (undocumented) -export interface DiagnosticsStorageAccountConfigOutput { +export interface DiagnosticsStorageAccountConfigOutput_FFF { blobEndpoint: string; protectedAccountKeyName: string; protectedAccountKeyName2?: string; @@ -1262,7 +1262,7 @@ export function isUnexpected(response: ClustersCreateOrUpdate200Response | Clust export function isUnexpected(response: ClustersUpdate200Response | ClustersUpdate202Response | ClustersUpdatedefaultResponse): response is ClustersUpdatedefaultResponse; // @public (undocumented) -export function isUnexpected(response: ClustersDelete200Response | ClustersDelete204Response | ClustersDeletedefaultResponse): response is ClustersDeletedefaultResponse; +export function isUnexpected(response: ClustersDelete200ResponseAAA | ClustersDelete204Response | ClustersDeletedefaultResponse): response is ClustersDeletedefaultResponse; // @public (undocumented) export function isUnexpected(response: ClustersListByResourceGroup200Response | ClustersListByResourceGroupdefaultResponse): response is ClustersListByResourceGroupdefaultResponse; @@ -1554,7 +1554,7 @@ export interface ResourceOutput { // @public (undocumented) export interface Routes { - (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}", subscriptionId: string, resourceGroupName: string, clusterName: string): ClustersGet; + (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}", subscriptionId: string, resourceGroupName: string, clusterName: string): ClustersGet_DDD; (path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters", subscriptionId: string, resourceGroupName: string): ClustersListByResourceGroup; (path: "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/clusters", subscriptionId: string): ClustersList; (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/listUpgradableVersions", subscriptionId: string, resourceGroupName: string, clusterName: string): ClustersListUpgradableVersions; From ed56d5611a6d0bfd43a14ca253b1190a243bcb5b Mon Sep 17 00:00:00 2001 From: albertxavier Date: Fri, 2 Aug 2024 16:28:52 +0800 Subject: [PATCH 2/3] Updated --- .../arm-servicefabric-rest/review/arm-servicefabric.api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/servicefabric/arm-servicefabric-rest/review/arm-servicefabric.api.md b/sdk/servicefabric/arm-servicefabric-rest/review/arm-servicefabric.api.md index e4c17a62d038..69f373732733 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/review/arm-servicefabric.api.md +++ b/sdk/servicefabric/arm-servicefabric-rest/review/arm-servicefabric.api.md @@ -741,7 +741,7 @@ export interface ClusterProperties { clusterEndpoint?: string; clusterId?: string; clusterState?: "WaitingForNodes" | "Deploying" | "BaselineUpgrade" | "UpdatingUserConfiguration" | "UpdatingUserCertificate" | "UpdatingInfrastructure" | "EnforcingClusterVersion" | "UpgradeServiceUnreachable" | "AutoScale" | "Ready"; - diagnosticsStorageAccountConfig?: DiagnosticsStorageAccountConfig; + diagnosticsStorageAccountConfig?: DiagnosticsStorageAccountConfig_HHH; eventStoreServiceEnabled?: boolean; fabricSettings?: Array; infrastructureServiceManager?: boolean; @@ -1198,7 +1198,7 @@ function createClient(credentials: TokenCredential, options?: ClientOptions): Se export default createClient; // @public (undocumented) -export interface DiagnosticsStorageAccountConfig { +export interface DiagnosticsStorageAccountConfig_HHH { blobEndpoint: string; protectedAccountKeyName_GGG: string; protectedAccountKeyName2?: string; From 4bf147547ecafa346aecceba56199eb80ff70037 Mon Sep 17 00:00:00 2001 From: albertxavier Date: Fri, 2 Aug 2024 17:13:39 +0800 Subject: [PATCH 3/3] Updated test case --- .../arm-servicefabric-rest/review/arm-servicefabric.api.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/servicefabric/arm-servicefabric-rest/review/arm-servicefabric.api.md b/sdk/servicefabric/arm-servicefabric-rest/review/arm-servicefabric.api.md index 69f373732733..fab7357d9ab4 100644 --- a/sdk/servicefabric/arm-servicefabric-rest/review/arm-servicefabric.api.md +++ b/sdk/servicefabric/arm-servicefabric-rest/review/arm-servicefabric.api.md @@ -741,7 +741,7 @@ export interface ClusterProperties { clusterEndpoint?: string; clusterId?: string; clusterState?: "WaitingForNodes" | "Deploying" | "BaselineUpgrade" | "UpdatingUserConfiguration" | "UpdatingUserCertificate" | "UpdatingInfrastructure" | "EnforcingClusterVersion" | "UpgradeServiceUnreachable" | "AutoScale" | "Ready"; - diagnosticsStorageAccountConfig?: DiagnosticsStorageAccountConfig_HHH; + diagnosticsStorageAccountConfig?: DiagnosticsStorageAccountConfig; eventStoreServiceEnabled?: boolean; fabricSettings?: Array; infrastructureServiceManager?: boolean; @@ -1198,7 +1198,7 @@ function createClient(credentials: TokenCredential, options?: ClientOptions): Se export default createClient; // @public (undocumented) -export interface DiagnosticsStorageAccountConfig_HHH { +export interface DiagnosticsStorageAccountConfig { blobEndpoint: string; protectedAccountKeyName_GGG: string; protectedAccountKeyName2?: string; @@ -1212,7 +1212,7 @@ export interface DiagnosticsStorageAccountConfigOutput_FFF { blobEndpoint: string; protectedAccountKeyName: string; protectedAccountKeyName2?: string; - queueEndpoint: string; + queueEndpoint_III: string; storageAccountName: string; tableEndpoint: string; }