Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FunctionApps] Update event hub api version to 2021-11-01 #7472

Merged
merged 3 commits into from
Nov 14, 2023
Merged
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
8 changes: 4 additions & 4 deletions client-react/src/ApiHelpers/EventHubService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default class EventHubService {
return MakeArmCall<ArmArray<Namespace>>({
resourceId: id,
commandName: 'fetchNamespaces',
apiVersion: CommonConstants.ApiVersions.eventHubApiVersion20150801,
apiVersion: CommonConstants.ApiVersions.eventHubApiVersion20211101,
});
};

Expand All @@ -20,7 +20,7 @@ export default class EventHubService {
return MakeArmCall<ArmArray<EventHub>>({
resourceId: id,
commandName: 'fetchEventHubs',
apiVersion: CommonConstants.ApiVersions.eventHubApiVersion20150801,
apiVersion: CommonConstants.ApiVersions.eventHubApiVersion20211101,
});
};

Expand All @@ -29,7 +29,7 @@ export default class EventHubService {
return MakeArmCall<ArmArray<AuthorizationRule>>({
resourceId: id,
commandName: 'fetchAuthorizationRules',
apiVersion: CommonConstants.ApiVersions.eventHubApiVersion20150801,
apiVersion: CommonConstants.ApiVersions.eventHubApiVersion20211101,
});
};

Expand All @@ -39,7 +39,7 @@ export default class EventHubService {
method: 'POST',
resourceId: id,
commandName: 'fetchKeyList',
apiVersion: CommonConstants.ApiVersions.eventHubApiVersion20150801,
apiVersion: CommonConstants.ApiVersions.eventHubApiVersion20211101,
});
};
}
6 changes: 3 additions & 3 deletions client-react/src/ApiHelpers/ServiceBusService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default class ServiceBusService {
return MakeArmCall<ArmArray<Namespace>>({
resourceId: id,
commandName: 'fetchNamespaces',
apiVersion: CommonConstants.ApiVersions.serviceBusApiVersion20150801,
apiVersion: CommonConstants.ApiVersions.serviceBusApiVersion20211101,
});
};

Expand All @@ -20,7 +20,7 @@ export default class ServiceBusService {
return MakeArmCall<ArmArray<AuthorizationRule>>({
resourceId: id,
commandName: 'fetchAuthorizationRules',
apiVersion: CommonConstants.ApiVersions.serviceBusApiVersion20150801,
apiVersion: CommonConstants.ApiVersions.serviceBusApiVersion20211101,
});
};

Expand All @@ -30,7 +30,7 @@ export default class ServiceBusService {
method: 'POST',
resourceId: id,
commandName: 'fetchKeyList',
apiVersion: CommonConstants.ApiVersions.serviceBusApiVersion20150801,
apiVersion: CommonConstants.ApiVersions.serviceBusApiVersion20211101,
});
};
}
4 changes: 2 additions & 2 deletions client-react/src/utils/CommonConstants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ export class CommonConstants {
sitesApiVersion20201201: '2020-12-01',
storageApiVersion20180701: '2018-07-01',
storageApiVersion20210401: '2021-04-01',
eventHubApiVersion20150801: '2015-08-01',
eventHubApiVersion20211101: '2021-11-01',
iotHubApiVersion20170119: '2017-01-19',
serviceBusApiVersion20150801: '2015-08-01',
serviceBusApiVersion20211101: '2021-11-01',
documentDBApiVersion20150408: '2015-04-08',
documentDBApiVersion20191212: '2019-12-12',
documentDBApiVersion20210415: '2021-04-15',
Expand Down
Loading