multicloud.cloudgateway
Operation: GET /dataservice/multicloud/cloudgateway
Get cloud gateways
def get_list(
cloud_type: Optional[str] = None,
account_id: Optional[str] = None,
region: Optional[str] = None,
cloud_gateway_name: Optional[str] = None,
connectivity_state: Optional[str] = None,
) -> List[CloudGatewayListResponse]: ...
Example:
from catalyswan.core import create_client
url = "example.com"
username = "admin"
password = "password123"
with create_client(
url=url, username=username, password=password
) as client:
client.multicloud.cloudgateway.get_list()
Operation: POST /dataservice/multicloud/cloudgateway
Create cloud gateway
def post(payload: CloudGatewayPost) -> Taskid: ...
Example:
from catalyswan.core import create_client
url = "example.com"
username = "admin"
password = "password123"
with create_client(
url=url, username=username, password=password
) as client:
client.multicloud.cloudgateway.post()
Operation: GET /dataservice/multicloud/cloudgateway/{cloudGatewayName}
Get cloud gateway by name
def get(cloud_gateway_name: str) -> CloudGatewayAdjusted: ...
Example:
from catalyswan.core import create_client
url = "example.com"
username = "admin"
password = "password123"
with create_client(
url=url, username=username, password=password
) as client:
client.multicloud.cloudgateway.get()
Operation: PUT /dataservice/multicloud/cloudgateway/{cloudGatewayName}
Update cloud gateway
def put(cloud_gateway_name: str, payload: UpdateCgw) -> Taskid: ...
Example:
from catalyswan.core import create_client
url = "example.com"
username = "admin"
password = "password123"
with create_client(
url=url, username=username, password=password
) as client:
client.multicloud.cloudgateway.put()
Operation: DELETE /dataservice/multicloud/cloudgateway/{cloudGatewayName}
Delete cloud gateway
def delete(
cloud_gateway_name: str,
delete_all_resources: Optional[str] = "true",
) -> Taskid: ...
Example:
from catalyswan.core import create_client
url = "example.com"
username = "admin"
password = "password123"
with create_client(
url=url, username=username, password=password
) as client:
client.multicloud.cloudgateway.delete()
- multicloud.cloudgateway.config_group
- multicloud.cloudgateway.nva_security_rules
- multicloud.cloudgateway.nvas
- multicloud.cloudgateway.nvasku
- multicloud.cloudgateway.resource
- multicloud.cloudgateway.resource_groups
- multicloud.cloudgateway.vhubs
- multicloud.cloudgateway.vnets_noof_attached
- multicloud.cloudgateway.vpn_gateways
- multicloud.cloudgateway.vwans
- multicloud.cloudgateway.site
- multicloud.cloudgateway.gateways
- Models