def METHOD_NAME(cls, *args, **kwargs):
    if cls._args_schema is not None:
        return cls._args_schema
    cls._args_schema = super().METHOD_NAME(*args, **kwargs)
    # define Arg Group ""
    _args_schema = cls._args_schema
    _args_schema.scope = AAZStrArg(
        options=["--scope"],
        help="This is an extension resource provider and only resource level extension is supported at the moment.",
        required=True,
    )
    # define Arg Group "CheckNameAvailabilityRequest"
    _args_schema = cls._args_schema
    _args_schema.name = AAZStrArg(
        options=["--name"],
        arg_group="CheckNameAvailabilityRequest",
        help="The name of the resource for which availability needs to be checked.",
    )
    _args_schema.type = AAZStrArg(
        options=["--type"],
        arg_group="CheckNameAvailabilityRequest",
        help="The resource type.",
    )
    return cls._args_schema