Esempio n. 1
0
	def __init__(self):
		RoaRequest.__init__(self, 'CS', '2015-12-15', 'ResumeUpgradeCluster')
		self.set_uri_pattern('/api/v2/clusters/[ClusterId]/upgrade/resume')
		self.set_method('POST')
		if hasattr(self, "endpoint_map"):
			setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
		if hasattr(self, "endpoint_regional"):
			setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
	def __init__(self):
		RoaRequest.__init__(self, 'CS', '2015-12-15', 'ScaleCluster')
		self.set_uri_pattern('/clusters/[ClusterId]')
		self.set_method('PUT')
		if hasattr(self, "endpoint_map"):
			setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
		if hasattr(self, "endpoint_regional"):
			setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
	def __init__(self):
		RoaRequest.__init__(self, 'CS', '2015-12-15', 'CreateTemplate')
		self.set_uri_pattern('/templates')
		self.set_method('POST')
		if hasattr(self, "endpoint_map"):
			setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
		if hasattr(self, "endpoint_regional"):
			setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
	def __init__(self):
		RoaRequest.__init__(self, 'CS', '2015-12-15', 'UpgradeClusterAddons')
		self.set_uri_pattern('/clusters/[ClusterId]/components/upgrade')
		self.set_method('POST')
		if hasattr(self, "endpoint_map"):
			setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
		if hasattr(self, "endpoint_regional"):
			setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
Esempio n. 5
0
	def __init__(self):
		RoaRequest.__init__(self, 'CS', '2015-12-15', 'RemoveWorkflow')
		self.set_uri_pattern('/gs/workflow/[workflowName]')
		self.set_method('DELETE')
		if hasattr(self, "endpoint_map"):
			setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
		if hasattr(self, "endpoint_regional"):
			setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
	def __init__(self):
		RoaRequest.__init__(self, 'CS', '2015-12-15', 'DescribeWorkflows')
		self.set_uri_pattern('/gs/workflows')
		self.set_method('GET')
		if hasattr(self, "endpoint_map"):
			setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
		if hasattr(self, "endpoint_regional"):
			setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
	def __init__(self):
		RoaRequest.__init__(self, 'CS', '2015-12-15', 'ListTagResources')
		self.set_uri_pattern('/tags')
		self.set_method('GET')
		if hasattr(self, "endpoint_map"):
			setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
		if hasattr(self, "endpoint_regional"):
			setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
Esempio n. 8
0
	def __init__(self):
		RoaRequest.__init__(self, 'CS', '2015-12-15', 'DeleteTriggerHook')
		self.set_uri_pattern('/api/v2/hook/trigger')
		self.set_method('POST')
		if hasattr(self, "endpoint_map"):
			setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
		if hasattr(self, "endpoint_regional"):
			setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
Esempio n. 9
0
 def __init__(self):
     RoaRequest.__init__(self, 'CS', '2015-12-15', 'DescribeAddons')
     self.set_uri_pattern('/clusters/components/metadata')
     self.set_method('GET')
     if hasattr(self, "endpoint_map"):
         setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
     if hasattr(self, "endpoint_regional"):
         setattr(self, "endpoint_regional",
                 endpoint_data.getEndpointRegional())
Esempio n. 10
0
 def __init__(self):
     RoaRequest.__init__(self, 'CS', '2015-12-15', 'DescribeExternalAgent')
     self.set_uri_pattern('/k8s/[ClusterId]/external/agent/deployment')
     self.set_method('GET')
     if hasattr(self, "endpoint_map"):
         setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
     if hasattr(self, "endpoint_regional"):
         setattr(self, "endpoint_regional",
                 endpoint_data.getEndpointRegional())
Esempio n. 11
0
 def __init__(self):
     RoaRequest.__init__(self, 'CS', '2015-12-15',
                         'UpdateK8sClusterUserConfigExpire')
     self.set_uri_pattern('/k8s/[ClusterId]/user_config/expire')
     self.set_method('POST')
     if hasattr(self, "endpoint_map"):
         setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
     if hasattr(self, "endpoint_regional"):
         setattr(self, "endpoint_regional",
                 endpoint_data.getEndpointRegional())
Esempio n. 12
0
 def __init__(self):
     RoaRequest.__init__(self, 'CS', '2015-12-15',
                         'DescribeClusterV2UserKubeconfig')
     self.set_uri_pattern('/api/v2/k8s/[ClusterId]/user_config')
     self.set_method('GET')
     if hasattr(self, "endpoint_map"):
         setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
     if hasattr(self, "endpoint_regional"):
         setattr(self, "endpoint_regional",
                 endpoint_data.getEndpointRegional())
Esempio n. 13
0
 def __init__(self):
     RoaRequest.__init__(self, 'CS', '2015-12-15',
                         'DescribeClusterResources')
     self.set_uri_pattern('/clusters/[ClusterId]/resources')
     self.set_method('GET')
     if hasattr(self, "endpoint_map"):
         setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
     if hasattr(self, "endpoint_regional"):
         setattr(self, "endpoint_regional",
                 endpoint_data.getEndpointRegional())
 def __init__(self):
     RoaRequest.__init__(self, 'CS', '2015-12-15',
                         'DeleteKubernetesTrigger')
     self.set_uri_pattern('/triggers/revoke/[Id]')
     self.set_method('DELETE')
     if hasattr(self, "endpoint_map"):
         setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
     if hasattr(self, "endpoint_regional"):
         setattr(self, "endpoint_regional",
                 endpoint_data.getEndpointRegional())