Пример #1
0
	def __init__(self):
		RoaRequest.__init__(self, 'elasticsearch', '2017-06-13', 'GetEmonGrafanaAlerts','elasticsearch')
		self.set_uri_pattern('/openapi/emon/projects/[ProjectId]/grafana/proxy/api/alerts')
		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())
Пример #2
0
	def __init__(self):
		RoaRequest.__init__(self, 'elasticsearch', '2017-06-13', 'UpdateAdminPassword','elasticsearch')
		self.set_uri_pattern('/openapi/instances/[InstanceId]/admin-pwd')
		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())
Пример #3
0
	def __init__(self):
		RoaRequest.__init__(self, 'elasticsearch', '2017-06-13', 'UpdateApm','elasticsearch')
		self.set_uri_pattern('/openapi/apm/[instanceId]')
		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())
Пример #4
0
	def __init__(self):
		RoaRequest.__init__(self, 'elasticsearch', '2017-06-13', 'UpdateInstanceSettings','elasticsearch')
		self.set_uri_pattern('/openapi/instances/[InstanceId]/instance-settings')
		self.set_method('POST|PATCH')
		if hasattr(self, "endpoint_map"):
			setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
		if hasattr(self, "endpoint_regional"):
			setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
Пример #5
0
	def __init__(self):
		RoaRequest.__init__(self, 'elasticsearch', '2017-06-13', 'InterruptLogstashTask','elasticsearch')
		self.set_uri_pattern('/openapi/logstashes/[InstanceId]/actions/interrupt')
		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, 'elasticsearch', '2017-06-13', 'ListILMPolicies','elasticsearch')
		self.set_uri_pattern('/openapi/instances/[InstanceId]/ilm-policies')
		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, 'elasticsearch', '2017-06-13', 'GetSuggestShrinkableNodes','elasticsearch')
		self.set_uri_pattern('/openapi/instances/[InstanceId]/suggest-shrinkable-nodes')
		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())
Пример #8
0
	def __init__(self):
		RoaRequest.__init__(self, 'elasticsearch', '2017-06-13', 'CapacityPlan','elasticsearch')
		self.set_uri_pattern('/openapi/assist/actions/capacity-plan')
		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, 'elasticsearch', '2017-06-13', 'ListAckClusters','elasticsearch')
		self.set_uri_pattern('/openapi/ack-clusters')
		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, 'elasticsearch', '2017-06-13', 'DescribeProject','elasticsearch')
		self.set_uri_pattern('/openapi/projects/[Id]')
		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())
Пример #11
0
	def __init__(self):
		RoaRequest.__init__(self, 'elasticsearch', '2017-06-13', 'ListAlternativeSnapshotRepos','elasticsearch')
		self.set_uri_pattern('/openapi/instances/[InstanceId]/alternative-snapshot-repos')
		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())
Пример #12
0
	def __init__(self):
		RoaRequest.__init__(self, 'elasticsearch', '2017-06-13', 'UpdateInstanceChargeType','elasticsearch')
		self.set_uri_pattern('/openapi/instances/[InstanceId]/actions/convert-pay-type')
		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, 'elasticsearch', '2017-06-13', 'GetAvailableComputeUnit','elasticsearch')
		self.set_uri_pattern('/openapi/projects/[Id]/available-compute-unit')
		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, 'elasticsearch', '2017-06-13', 'UpdateLogstashDescription','elasticsearch')
		self.set_uri_pattern('/openapi/logstashes/[InstanceId]/description')
		self.set_method('POST|PATCH')
		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, 'elasticsearch', '2017-06-13', 'UpdatePublicNetwork','elasticsearch')
		self.set_uri_pattern('/openapi/instances/[InstanceId]/public-network')
		self.set_method('PATCH|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())
Пример #16
0
	def __init__(self):
		RoaRequest.__init__(self, 'elasticsearch', '2017-06-13', 'DeleteTask','elasticsearch')
		self.set_uri_pattern('/openapi/eflow/tasks/[taskId]')
		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, 'elasticsearch', '2017-06-13', 'DeleteConnectedCluster','elasticsearch')
		self.set_uri_pattern('/openapi/instances/[InstanceId]/connected-clusters')
		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, 'elasticsearch', '2017-06-13', 'UpdateAdvancedSetting','elasticsearch')
		self.set_uri_pattern('/openapi/instances/[InstanceId]/actions/update-advanced-setting')
		self.set_method('PUT|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())
Пример #19
0
	def __init__(self):
		RoaRequest.__init__(self, 'elasticsearch', '2017-06-13', 'CreateDataSource','elasticsearch')
		self.set_uri_pattern('/openapi/datasources')
		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())
Пример #20
0
	def __init__(self):
		RoaRequest.__init__(self, 'elasticsearch', '2017-06-13', 'RolloverDataStream','elasticsearch')
		self.set_uri_pattern('/openapi/instances/[InstanceId]/data-streams/[DataStream]/rollover')
		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, 'elasticsearch', '2017-06-13', 'DescribeIndexTemplate','elasticsearch')
		self.set_uri_pattern('/openapi/instances/[InstanceId]/index-templates/[IndexTemplate]')
		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, 'elasticsearch', '2017-06-13', 'ActivateZones','elasticsearch')
		self.set_uri_pattern('/openapi/instances/[InstanceId]/actions/recover-zones')
		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, 'elasticsearch', '2017-06-13', 'CloseDiagnosis','elasticsearch')
		self.set_uri_pattern('/openapi/diagnosis/instances/[InstanceId]/actions/close-diagnosis')
		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, 'elasticsearch', '2017-06-13', 'UpdatePipelineManagementConfig','elasticsearch')
		self.set_uri_pattern('/openapi/logstashes/[InstanceId]/pipeline-management-config')
		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())
Пример #25
0
	def __init__(self):
		RoaRequest.__init__(self, 'elasticsearch', '2017-06-13', 'RestartCollector','elasticsearch')
		self.set_uri_pattern('/openapi/collectors/[ResId]/actions/restart')
		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, 'elasticsearch', '2017-06-13', 'StopPipeline','elasticsearch')
		self.set_uri_pattern('/openapi/projects/[ProjectId]/pipelines/[PipelineId]/actions/stop-pipeline')
		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, 'elasticsearch', '2017-06-13', 'ListDiagnoseReportIds','elasticsearch')
		self.set_uri_pattern('/openapi/diagnosis/instances/[InstanceId]/report-ids')
		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())
Пример #28
0
	def __init__(self):
		RoaRequest.__init__(self, 'elasticsearch', '2017-06-13', 'GetOpenStoreUsage','elasticsearch')
		self.set_uri_pattern('/openapi/instances/[InstanceId]/openstore/usage')
		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, 'elasticsearch', '2017-06-13', 'CreateSnapshot','elasticsearch')
		self.set_uri_pattern('/openapi/instances/[InstanceId]/snapshots')
		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, 'elasticsearch', '2017-06-13', 'InstallSystemPlugin','elasticsearch')
		self.set_uri_pattern('/openapi/instances/[InstanceId]/plugins/system/actions/install')
		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())