Пример #1
0
	def __init__(self):
		RpcRequest.__init__(self, 'cr', '2018-12-01', 'ListNamespace','acr')
		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())
Пример #2
0
	def __init__(self):
		RpcRequest.__init__(self, 'cr', '2018-12-01', 'CreateRepoTagScanTask','acr')
		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):
		RpcRequest.__init__(self, 'cr', '2018-12-01', 'DeleteChartRepository','acr')
		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, 'cr', '2016-06-07', 'DeleteImage','acr')
		self.set_uri_pattern('/repos/[RepoNamespace]/[RepoName]/tags/[Tag]')
		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())
Пример #5
0
	def __init__(self):
		RoaRequest.__init__(self, 'cr', '2016-06-07', 'UpdateRepoWebhook','acr')
		self.set_uri_pattern('/repos/[RepoNamespace]/[RepoName]/webhooks/[WebhookId]')
		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, 'cr', '2016-06-07', 'GetRepoTagScanStatus','acr')
		self.set_uri_pattern('/repos/[RepoNamespace]/[RepoName]/tags/[Tag]/scanStatus')
		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, 'cr', '2016-06-07', 'GetRepoList','acr')
		self.set_uri_pattern('/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())
 def __init__(self):
     RpcRequest.__init__(self, 'cr', '2018-12-01',
                         'CreateInstanceVpcEndpointLinkedVpc', 'acr')
     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())
Пример #9
0
 def __init__(self):
     RoaRequest.__init__(self, 'cr', '2016-06-07', 'UpdateNamespace', 'acr')
     self.set_uri_pattern('/namespace/[Namespace]')
     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, 'cr', '2016-06-07', 'CreateUserInfo', 'acr')
     self.set_uri_pattern('/users')
     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):
     RpcRequest.__init__(self, 'cr', '2018-12-01',
                         'GetRepoBuildRecordStatus', 'acr')
     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())
Пример #12
0
 def __init__(self):
     RpcRequest.__init__(self, 'cr', '2018-12-01', 'GetAuthorizationToken',
                         'acr')
     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())
Пример #13
0
 def __init__(self):
     RoaRequest.__init__(self, 'cr', '2016-06-07', 'CancelRepoBuild', 'acr')
     self.set_uri_pattern(
         '/repos/[RepoNamespace]/[RepoName]/build/[BuildId]/cancel')
     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, 'cr', '2016-06-07', 'CreateRepoBuildRule',
                         'acr')
     self.set_uri_pattern('/repos/[RepoNamespace]/[RepoName]/rules')
     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())