コード例 #1
0
 def Args(cls, parser):
     _CommonArgs(parser,
                 release_track=base.ReleaseTrack.ALPHA,
                 support_local_ssd_size=True,
                 support_source_instance=cls._support_source_instance,
                 support_kms=cls._support_kms,
                 support_resource_policy=cls._support_resource_policy,
                 support_min_node_cpu=cls._support_min_node_cpu)
     instances_flags.AddLocalNvdimmArgs(parser)
     instances_flags.AddMinCpuPlatformArgs(parser, base.ReleaseTrack.ALPHA)
     instances_flags.AddConfidentialComputeArgs(parser)
     instance_templates_flags.AddMeshModeConfigArgs(parser)
コード例 #2
0
ファイル: create.py プロジェクト: bopopescu/gcloud_cli
 def Args(cls, parser):
     _CommonArgs(parser,
                 release_track=base.ReleaseTrack.ALPHA,
                 support_local_ssd_size=True,
                 support_source_instance=cls._support_source_instance,
                 support_kms=cls._support_kms,
                 support_resource_policy=cls._support_resource_policy,
                 support_min_node_cpu=cls._support_min_node_cpu,
                 support_location_hint=cls._support_location_hint)
     instances_flags.AddLocalNvdimmArgs(parser)
     instances_flags.AddMinCpuPlatformArgs(parser, base.ReleaseTrack.ALPHA)
     instances_flags.AddConfidentialComputeArgs(parser)
     instance_templates_flags.AddMeshModeConfigArgs(parser)
     instances_flags.AddPrivateIpv6GoogleAccessArgForTemplate(
         parser, utils.COMPUTE_ALPHA_API_VERSION)