Ejemplo n.º 1
0
 def __init__(self):
     RoaRequest.__init__(self, 'acm', '2020-02-06', 'CreateNamespace',
                         'acms')
     self.set_uri_pattern('/diamond-ops/pop/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())
Ejemplo n.º 2
0
 def __init__(self):
     RoaRequest.__init__(self, 'acm', '2020-02-06', 'DeleteConfiguration',
                         'acms')
     self.set_uri_pattern('/diamond-ops/pop/configuration')
     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())