Skip to content

Commit 2f67b48

Browse files
authored
feat(spec): updated the sdk as per the api spec released on 2025-07-08 (#93)
Signed-off-by: Ujjwal Kumar <[email protected]>
1 parent 32b82dd commit 2f67b48

File tree

4 files changed

+3628
-1412
lines changed

4 files changed

+3628
-1412
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,12 @@ from ibm_vpc import VpcV1
7676
from ibm_cloud_sdk_core.authenticators import IAMAuthenticator
7777
from ibm_cloud_sdk_core import ApiException
7878

79-
authenticator = IAMAuthenticator('apikey')
79+
authenticator = IAMAuthenticator("YOUR_IBMCLOUD_API_KEY")
8080
service = VpcV1(authenticator=authenticator)
8181

82+
# to change the service URL to the United Kingdom region
83+
service.set_service_url(VpcV1.get_service_url_for_region("eu-gb"))
84+
8285
# Listing VPCs
8386
print("List VPCs")
8487
try:

0 commit comments

Comments
 (0)