Пример #1
0
# Copyright (c) 2021 Qianyun, Inc. All rights reserved.

from cloudchef_integration.tasks.cloud_resources.utils import Platforms
from .resources import FusionAccessResource
cloudentry_id = "yacmp:cloudentry:type:generic-cloud:fusionaccess"

Platforms(cloudentry_id, FusionAccessResource)
Пример #2
0
# Copyright (c) 2021 Qianyun, Inc. All rights reserved.

from cloudchef_integration.tasks.cloud_resources.utils import Platforms
from .resources import UcloudResource
cloudentry_id = "yacmp:cloudentry:type:generic-cloud:ucloud"

Platforms(cloudentry_id, UcloudResource)
Пример #3
0
# Copyright (c) 2021 Qianyun, Inc. All rights reserved.

from cloudchef_integration.tasks.cloud_resources.utils import Platforms
from .resources import GCPClient
cloudentry_id = "yacmp:cloudentry:type:generic-cloud:gcp"

Platforms(cloudentry_id, GCPClient)
Пример #4
0
# Copyright (c) 2021 Qianyun, Inc. All rights reserved.

from cloudchef_integration.tasks.cloud_resources.utils import Platforms
from .resources import TencentResource
import ssl
ssl._create_default_https_context = ssl._create_unverified_context

cloudentry_id = "yacmp:cloudentry:type:generic-cloud:tencentcloud"
Platforms(cloudentry_id, TencentResource)
Пример #5
0
# Copyright (c) 2021 Qianyun, Inc. All rights reserved.

from cloudchef_integration.tasks.cloud_resources.utils import Platforms
from .resources import SmartXResource
cloudentry_id = "yacmp:cloudentry:type:generic-cloud:smartx"

Platforms(cloudentry_id, SmartXResource)
Пример #6
0
# Copyright (c) 2021 Qianyun, Inc. All rights reserved.

from cloudchef_integration.tasks.cloud_resources.utils import Platforms
from .client import HostClient
cloudentry_id = "yacmp:cloudentry:type:hostpool"

Platforms(cloudentry_id, HostClient)
Пример #7
0
# Copyright (c) 2021 Qianyun, Inc. All rights reserved.

from cloudchef_integration.tasks.cloud_resources.utils import Platforms
from .resources import ZstackResource
cloudentry_id = "yacmp:cloudentry:type:generic-cloud:zstack"

Platforms(cloudentry_id, ZstackResource)
Пример #8
0
# Copyright (c) 2021 Qianyun, Inc. All rights reserved.

from cloudchef_integration.tasks.cloud_resources.utils import Platforms
from .resources import FusionComputeClient
cloudentry_id = "yacmp:cloudentry:type:generic-cloud:fusioncompute"

Platforms(cloudentry_id, FusionComputeClient)