forked from meraki/dashboard-api-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathswitch_profiles.py
More file actions
22 lines (17 loc) · 831 Bytes
/
Copy pathswitch_profiles.py
File metadata and controls
22 lines (17 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
class SwitchProfiles(object):
def __init__(self, session):
super(SwitchProfiles, self).__init__()
self._session = session
def getOrganizationConfigTemplateSwitchProfiles(self, organizationId: str, configTemplateId: str):
"""
**List the switch profiles for your switch template configuration**
https://developer.cisco.com/meraki/api/#!get-organization-config-template-switch-profiles
- organizationId (string)
- configTemplateId (string)
"""
metadata = {
'tags': ['Switch profiles'],
'operation': 'getOrganizationConfigTemplateSwitchProfiles',
}
resource = f'/organizations/{organizationId}/configTemplates/{configTemplateId}/switchProfiles'
return self._session.get(metadata, resource)