Creates a new Resource structure.
Arguments
- name
Otpional human friendly name that identifies the resource.
- url
URL to access the resource whether it is data or computation capability.
- identity
User name or account ID (if credentials are applicable).
- secret
User password or token (if credentials are applicable).
- format
Data format, to help resource resolver identification and coercing to other formats, optional.