Example #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())
Example #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())
Example #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())
Example #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())
Example #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())
Example #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())
Example #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())
Example #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())
Example #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())
Example #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())
Example #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())
Example #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())
Example #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())