def Args(parser): """Args is called by calliope to gather arguments for this command. Args: parser: An argparse parser that you can use to add arguments that go on the command line after this command. Positional arguments are allowed. """ resource_args.AddCloudSqlConnectionProfileResouceArgs( parser, 'to create') cp_flags.AddDisplayNameFlag(parser) cp_flags.AddProviderFlag(parser) cs_flags.AddActivationPolicylag(parser) cs_flags.AddAuthorizedNetworksFlag(parser) cs_flags.AddAutoStorageIncreaseFlag(parser) cs_flags.AddDatabaseVersionFlag(parser) cs_flags.AddDatabaseFlagsFlag(parser) cs_flags.AddDataDiskSizeFlag(parser) cs_flags.AddDataDiskTypeFlag(parser) cs_flags.AddEnableIpv4Flag(parser) cs_flags.AddPrivateNetworkFlag(parser) cs_flags.AddRequireSslFlag(parser) cs_flags.AddUserLabelsFlag(parser) cs_flags.AddStorageAutoResizeLimitFlag(parser) cs_flags.AddTierFlag(parser) cs_flags.AddZoneFlag(parser) flags.AddLabelsCreateFlags(parser)
def Args(parser): """Args is called by calliope to gather arguments for this command. Args: parser: An argparse parser that you can use to add arguments that go on the command line after this command. Positional arguments are allowed. """ resource_args.AddMigrationJobResourceArgs( parser, 'to create', required=True) mj_flags.AddDisplayNameFlag(parser) mj_flags.AddTypeFlag(parser, required=True) mj_flags.AddDumpPathFlag(parser) mj_flags.AddConnectivityGroupFlag(parser, required=True) flags.AddLabelsCreateFlags(parser)
def Args(parser): """Args is called by calliope to gather arguments for this command. Args: parser: An argparse parser that you can use to add arguments that go on the command line after this command. Positional arguments are allowed. """ resource_args.AddConnectionProfileResourceArg(parser, 'to create') cp_flags.AddDisplayNameFlag(parser) cp_flags.AddUsernameFlag(parser, required=True) cp_flags.AddPasswordFlagGroup(parser, required=True) cp_flags.AddHostFlag(parser, required=True) cp_flags.AddPortFlag(parser, required=True) cp_flags.AddProviderFlag(parser) flags.AddLabelsCreateFlags(parser)