-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automatically regenerated Python library snippets.
- Loading branch information
GitHub Action
committed
Jan 6, 2025
1 parent
426c8f7
commit b29574c
Showing
6 changed files
with
59 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
meraki/sdk/python/createOrganizationDevicesControllerMigration.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import meraki | ||
|
||
# Defining your API key as a variable in source code is discouraged. | ||
# This API key is for a read-only docs-specific environment. | ||
# In your own code, use an environment variable as shown under the Usage section | ||
# @ https://github.com/meraki/dashboard-api-python/ | ||
|
||
API_KEY = '75dd5334bef4d2bc96f26138c163c0a3fa0b5ca6' | ||
|
||
dashboard = meraki.DashboardAPI(API_KEY) | ||
|
||
organization_id = '549236' | ||
serials = ['QABC-DEFG-HIJK'] | ||
target = 'wirelessController' | ||
|
||
response = dashboard.organizations.createOrganizationDevicesControllerMigration( | ||
organization_id, serials, target | ||
) | ||
|
||
print(response) |
18 changes: 18 additions & 0 deletions
18
meraki/sdk/python/getOrganizationDevicesControllerMigrations.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import meraki | ||
|
||
# Defining your API key as a variable in source code is discouraged. | ||
# This API key is for a read-only docs-specific environment. | ||
# In your own code, use an environment variable as shown under the Usage section | ||
# @ https://github.com/meraki/dashboard-api-python/ | ||
|
||
API_KEY = '75dd5334bef4d2bc96f26138c163c0a3fa0b5ca6' | ||
|
||
dashboard = meraki.DashboardAPI(API_KEY) | ||
|
||
organization_id = '549236' | ||
|
||
response = dashboard.organizations.getOrganizationDevicesControllerMigrations( | ||
organization_id, total_pages='all' | ||
) | ||
|
||
print(response) |
18 changes: 18 additions & 0 deletions
18
meraki/sdk/python/getOrganizationSwitchPortsUsageHistoryByDeviceByInterval.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import meraki | ||
|
||
# Defining your API key as a variable in source code is discouraged. | ||
# This API key is for a read-only docs-specific environment. | ||
# In your own code, use an environment variable as shown under the Usage section | ||
# @ https://github.com/meraki/dashboard-api-python/ | ||
|
||
API_KEY = '75dd5334bef4d2bc96f26138c163c0a3fa0b5ca6' | ||
|
||
dashboard = meraki.DashboardAPI(API_KEY) | ||
|
||
organization_id = '549236' | ||
|
||
response = dashboard.switch.getOrganizationSwitchPortsUsageHistoryByDeviceByInterval( | ||
organization_id, total_pages='all' | ||
) | ||
|
||
print(response) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters