Ejemplo n.º 1
0
    def __init__(self):
        RpcRequest.__init__(self, 'DAS', '2020-01-16', 'RunCloudBenchTask')
        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):
     RpcRequest.__init__(self, 'DAS', '2020-01-16',
                         'GetInstanceInspections', 'das')
     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.º 3
0
    def __init__(self):
        RpcRequest.__init__(self, 'DAS', '2020-01-16', 'GetDasProServiceUsage')
        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.º 4
0
 def __init__(self):
     RpcRequest.__init__(self, 'DAS', '2020-01-16',
                         'DescribeCacheAnalysisJob', 'das')
     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.º 5
0
 def __init__(self):
     RpcRequest.__init__(self, 'DAS', '2020-01-16',
                         'GetAutonomousNotifyEventContent', 'das')
     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.º 6
0
 def __init__(self):
     RpcRequest.__init__(self, 'DAS', '2020-01-16',
                         'DescribeDiagnosticReportList', 'hdm')
     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):
     RpcRequest.__init__(self, 'DAS', '2020-01-16', 'SyncHDMAliyunResource',
                         'das')
     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):
     RpcRequest.__init__(self, 'DAS', '2020-01-16',
                         'GetAutoResourceOptimizeConfig', 'das')
     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.º 9
0
    def __init__(self):
        RpcRequest.__init__(self, 'DAS', '2020-01-16', 'GetSqlAnalysisReport')
        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.º 10
0
    def __init__(self):
        RpcRequest.__init__(self, 'DAS', '2020-01-16',
                            'GetFullRequestOriginStatByInstanceId')
        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.º 11
0
    def __init__(self):
        RpcRequest.__init__(self, 'DAS', '2020-01-16',
                            'EnableSqlConcurrencyControl')
        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.º 12
0
    def __init__(self):
        RpcRequest.__init__(self, 'DAS', '2020-01-16',
                            'GetQueryOptimizeRuleList')
        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())
Ejemplo n.º 13
0
    def __init__(self):
        RpcRequest.__init__(self, 'DAS', '2020-01-16',
                            'GetAsyncErrorRequestStatByCode')
        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.º 14
0
    def __init__(self):
        RpcRequest.__init__(self, 'DAS', '2020-01-16',
                            'CreateRequestDiagnosis')
        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.º 15
0
    def __init__(self):
        RpcRequest.__init__(self, 'DAS', '2020-01-16',
                            'StopOrRollbackOptimizeTask')
        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())