replace JSON and YAML formats are accepted. If replacing an existing resource, the complete resource spec must be provided. This can be obtained by Flags