restapi.Provider
Explore with Pulumi AI
The provider type for the restapi package. By default, resources use package-wide configuration
settings, however an explicit Provider
instance may be created and passed during resource
construction to achieve fine-grained programmatic control over provider settings. See the
documentation for more information.
Create Provider Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Provider(name: string, args: ProviderArgs, opts?: CustomResourceOptions);
@overload
def Provider(resource_name: str,
args: ProviderArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Provider(resource_name: str,
opts: Optional[ResourceOptions] = None,
cert_file: Optional[str] = None,
cert_string: Optional[str] = None,
copy_keys: Optional[Sequence[str]] = None,
create_method: Optional[str] = None,
create_returns_object: Optional[bool] = None,
debug: Optional[bool] = None,
destroy_method: Optional[str] = None,
headers: Optional[Mapping[str, str]] = None,
id_attribute: Optional[str] = None,
insecure: Optional[bool] = None,
key_file: Optional[str] = None,
key_string: Optional[str] = None,
oauth_client_credentials: Optional[ProviderOauthClientCredentialsArgs] = None,
password: Optional[str] = None,
rate_limit: Optional[float] = None,
read_method: Optional[str] = None,
root_ca_file: Optional[str] = None,
root_ca_string: Optional[str] = None,
test_path: Optional[str] = None,
timeout: Optional[float] = None,
update_method: Optional[str] = None,
uri: Optional[str] = None,
use_cookies: Optional[bool] = None,
username: Optional[str] = None,
write_returns_object: Optional[bool] = None,
xssi_prefix: Optional[str] = None)
func NewProvider(ctx *Context, name string, args ProviderArgs, opts ...ResourceOption) (*Provider, error)
public Provider(string name, ProviderArgs args, CustomResourceOptions? opts = null)
public Provider(String name, ProviderArgs args)
public Provider(String name, ProviderArgs args, CustomResourceOptions options)
type: pulumi:providers:restapi
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Provider Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Provider resource accepts the following input properties:
- Uri string
- URI of the REST API endpoint. This serves as the base of all requests.
- Cert
File string - When set with the key_file parameter, the provider will load a client certificate as a file for mTLS authentication.
- Cert
String string - When set with the key_string parameter, the provider will load a client certificate as a string for mTLS authentication.
- Copy
Keys List<string> - When set, any PUT to the API for an object will copy these keys from the data the provider has gathered about the object. This is useful if internal API information must also be provided with updates, such as the revision of the object.
- Create
Method string - Defaults to
POST
. The HTTP method used to CREATE objects of this type on the API server. - Create
Returns boolObject - Set this when the API returns the object created only on creation operations (POST). This is used by the provider to refresh internal data structures.
- Debug bool
- Enabling this will cause lots of debug information to be printed to STDOUT by the API client.
- Destroy
Method string - Defaults to
DELETE
. The HTTP method used to DELETE objects of this type on the API server. - Headers Dictionary<string, string>
- A map of header names and values to set on all outbound requests. This is useful if you want to use a script via the
'external' provider or provide a pre-approved token or change Content-Type from
application/json
. Ifusername
andpassword
are set and Authorization is one of the headers defined here, the BASIC auth credentials take precedence. - Id
Attribute string - When set, this key will be used to operate on REST objects. For example, if the ID is set to 'name', changes to the API
object will be to http://foo.com/bar/VALUE_OF_NAME. This value may also be a '/'-delimeted path to the id attribute if
it is multple levels deep in the data (such as
attributes/id
in the case of an object{ "attributes": { "id": 1234 }, "config": { "name": "foo", "something": "bar"}}
- Insecure bool
- When using https, this disables TLS verification of the host.
- Key
File string - When set with the cert_file parameter, the provider will load a client certificate as a file for mTLS authentication. Note that this mechanism simply delegates to golang's tls.LoadX509KeyPair which does not support passphrase protected private keys. The most robust security protections available to the key_file are simple file system permissions.
- Key
String string - When set with the cert_string parameter, the provider will load a client certificate as a string for mTLS authentication. Note that this mechanism simply delegates to golang's tls.LoadX509KeyPair which does not support passphrase protected private keys. The most robust security protections available to the key_file are simple file system permissions.
- Oauth
Client ProviderCredentials Oauth Client Credentials - Configuration for oauth client credential flow using the https://pkg.go.dev/golang.org/x/oauth2 implementation
- Password string
- When set, will use this password for BASIC auth to the API.
- Rate
Limit double - Set this to limit the number of requests per second made to the API.
- Read
Method string - Defaults to
GET
. The HTTP method used to READ objects of this type on the API server. - Root
Ca stringFile - When set, the provider will load a root CA certificate as a file for mTLS authentication. This is useful when the API server is using a self-signed certificate and the client needs to trust it.
- Root
Ca stringString - When set, the provider will load a root CA certificate as a string for mTLS authentication. This is useful when the API server is using a self-signed certificate and the client needs to trust it.
- Test
Path string - If set, the provider will issue a read_method request to this path after instantiation requiring a 200 OK response before proceeding. This is useful if your API provides a no-op endpoint that can signal if this provider is configured correctly. Response data will be ignored.
- Timeout double
- When set, will cause requests taking longer than this time (in seconds) to be aborted.
- Update
Method string - Defaults to
PUT
. The HTTP method used to UPDATE objects of this type on the API server. - bool
- Enable cookie jar to persist session.
- Username string
- When set, will use this username for BASIC auth to the API.
- Write
Returns boolObject - Set this when the API returns the object created on all write operations (POST, PUT). This is used by the provider to refresh internal data structures.
- Xssi
Prefix string - Trim the xssi prefix from response string, if present, before parsing.
- Uri string
- URI of the REST API endpoint. This serves as the base of all requests.
- Cert
File string - When set with the key_file parameter, the provider will load a client certificate as a file for mTLS authentication.
- Cert
String string - When set with the key_string parameter, the provider will load a client certificate as a string for mTLS authentication.
- Copy
Keys []string - When set, any PUT to the API for an object will copy these keys from the data the provider has gathered about the object. This is useful if internal API information must also be provided with updates, such as the revision of the object.
- Create
Method string - Defaults to
POST
. The HTTP method used to CREATE objects of this type on the API server. - Create
Returns boolObject - Set this when the API returns the object created only on creation operations (POST). This is used by the provider to refresh internal data structures.
- Debug bool
- Enabling this will cause lots of debug information to be printed to STDOUT by the API client.
- Destroy
Method string - Defaults to
DELETE
. The HTTP method used to DELETE objects of this type on the API server. - Headers map[string]string
- A map of header names and values to set on all outbound requests. This is useful if you want to use a script via the
'external' provider or provide a pre-approved token or change Content-Type from
application/json
. Ifusername
andpassword
are set and Authorization is one of the headers defined here, the BASIC auth credentials take precedence. - Id
Attribute string - When set, this key will be used to operate on REST objects. For example, if the ID is set to 'name', changes to the API
object will be to http://foo.com/bar/VALUE_OF_NAME. This value may also be a '/'-delimeted path to the id attribute if
it is multple levels deep in the data (such as
attributes/id
in the case of an object{ "attributes": { "id": 1234 }, "config": { "name": "foo", "something": "bar"}}
- Insecure bool
- When using https, this disables TLS verification of the host.
- Key
File string - When set with the cert_file parameter, the provider will load a client certificate as a file for mTLS authentication. Note that this mechanism simply delegates to golang's tls.LoadX509KeyPair which does not support passphrase protected private keys. The most robust security protections available to the key_file are simple file system permissions.
- Key
String string - When set with the cert_string parameter, the provider will load a client certificate as a string for mTLS authentication. Note that this mechanism simply delegates to golang's tls.LoadX509KeyPair which does not support passphrase protected private keys. The most robust security protections available to the key_file are simple file system permissions.
- Oauth
Client ProviderCredentials Oauth Client Credentials Args - Configuration for oauth client credential flow using the https://pkg.go.dev/golang.org/x/oauth2 implementation
- Password string
- When set, will use this password for BASIC auth to the API.
- Rate
Limit float64 - Set this to limit the number of requests per second made to the API.
- Read
Method string - Defaults to
GET
. The HTTP method used to READ objects of this type on the API server. - Root
Ca stringFile - When set, the provider will load a root CA certificate as a file for mTLS authentication. This is useful when the API server is using a self-signed certificate and the client needs to trust it.
- Root
Ca stringString - When set, the provider will load a root CA certificate as a string for mTLS authentication. This is useful when the API server is using a self-signed certificate and the client needs to trust it.
- Test
Path string - If set, the provider will issue a read_method request to this path after instantiation requiring a 200 OK response before proceeding. This is useful if your API provides a no-op endpoint that can signal if this provider is configured correctly. Response data will be ignored.
- Timeout float64
- When set, will cause requests taking longer than this time (in seconds) to be aborted.
- Update
Method string - Defaults to
PUT
. The HTTP method used to UPDATE objects of this type on the API server. - bool
- Enable cookie jar to persist session.
- Username string
- When set, will use this username for BASIC auth to the API.
- Write
Returns boolObject - Set this when the API returns the object created on all write operations (POST, PUT). This is used by the provider to refresh internal data structures.
- Xssi
Prefix string - Trim the xssi prefix from response string, if present, before parsing.
- uri String
- URI of the REST API endpoint. This serves as the base of all requests.
- cert
File String - When set with the key_file parameter, the provider will load a client certificate as a file for mTLS authentication.
- cert
String String - When set with the key_string parameter, the provider will load a client certificate as a string for mTLS authentication.
- copy
Keys List<String> - When set, any PUT to the API for an object will copy these keys from the data the provider has gathered about the object. This is useful if internal API information must also be provided with updates, such as the revision of the object.
- create
Method String - Defaults to
POST
. The HTTP method used to CREATE objects of this type on the API server. - create
Returns BooleanObject - Set this when the API returns the object created only on creation operations (POST). This is used by the provider to refresh internal data structures.
- debug Boolean
- Enabling this will cause lots of debug information to be printed to STDOUT by the API client.
- destroy
Method String - Defaults to
DELETE
. The HTTP method used to DELETE objects of this type on the API server. - headers Map<String,String>
- A map of header names and values to set on all outbound requests. This is useful if you want to use a script via the
'external' provider or provide a pre-approved token or change Content-Type from
application/json
. Ifusername
andpassword
are set and Authorization is one of the headers defined here, the BASIC auth credentials take precedence. - id
Attribute String - When set, this key will be used to operate on REST objects. For example, if the ID is set to 'name', changes to the API
object will be to http://foo.com/bar/VALUE_OF_NAME. This value may also be a '/'-delimeted path to the id attribute if
it is multple levels deep in the data (such as
attributes/id
in the case of an object{ "attributes": { "id": 1234 }, "config": { "name": "foo", "something": "bar"}}
- insecure Boolean
- When using https, this disables TLS verification of the host.
- key
File String - When set with the cert_file parameter, the provider will load a client certificate as a file for mTLS authentication. Note that this mechanism simply delegates to golang's tls.LoadX509KeyPair which does not support passphrase protected private keys. The most robust security protections available to the key_file are simple file system permissions.
- key
String String - When set with the cert_string parameter, the provider will load a client certificate as a string for mTLS authentication. Note that this mechanism simply delegates to golang's tls.LoadX509KeyPair which does not support passphrase protected private keys. The most robust security protections available to the key_file are simple file system permissions.
- oauth
Client ProviderCredentials Oauth Client Credentials - Configuration for oauth client credential flow using the https://pkg.go.dev/golang.org/x/oauth2 implementation
- password String
- When set, will use this password for BASIC auth to the API.
- rate
Limit Double - Set this to limit the number of requests per second made to the API.
- read
Method String - Defaults to
GET
. The HTTP method used to READ objects of this type on the API server. - root
Ca StringFile - When set, the provider will load a root CA certificate as a file for mTLS authentication. This is useful when the API server is using a self-signed certificate and the client needs to trust it.
- root
Ca StringString - When set, the provider will load a root CA certificate as a string for mTLS authentication. This is useful when the API server is using a self-signed certificate and the client needs to trust it.
- test
Path String - If set, the provider will issue a read_method request to this path after instantiation requiring a 200 OK response before proceeding. This is useful if your API provides a no-op endpoint that can signal if this provider is configured correctly. Response data will be ignored.
- timeout Double
- When set, will cause requests taking longer than this time (in seconds) to be aborted.
- update
Method String - Defaults to
PUT
. The HTTP method used to UPDATE objects of this type on the API server. - Boolean
- Enable cookie jar to persist session.
- username String
- When set, will use this username for BASIC auth to the API.
- write
Returns BooleanObject - Set this when the API returns the object created on all write operations (POST, PUT). This is used by the provider to refresh internal data structures.
- xssi
Prefix String - Trim the xssi prefix from response string, if present, before parsing.
- uri string
- URI of the REST API endpoint. This serves as the base of all requests.
- cert
File string - When set with the key_file parameter, the provider will load a client certificate as a file for mTLS authentication.
- cert
String string - When set with the key_string parameter, the provider will load a client certificate as a string for mTLS authentication.
- copy
Keys string[] - When set, any PUT to the API for an object will copy these keys from the data the provider has gathered about the object. This is useful if internal API information must also be provided with updates, such as the revision of the object.
- create
Method string - Defaults to
POST
. The HTTP method used to CREATE objects of this type on the API server. - create
Returns booleanObject - Set this when the API returns the object created only on creation operations (POST). This is used by the provider to refresh internal data structures.
- debug boolean
- Enabling this will cause lots of debug information to be printed to STDOUT by the API client.
- destroy
Method string - Defaults to
DELETE
. The HTTP method used to DELETE objects of this type on the API server. - headers {[key: string]: string}
- A map of header names and values to set on all outbound requests. This is useful if you want to use a script via the
'external' provider or provide a pre-approved token or change Content-Type from
application/json
. Ifusername
andpassword
are set and Authorization is one of the headers defined here, the BASIC auth credentials take precedence. - id
Attribute string - When set, this key will be used to operate on REST objects. For example, if the ID is set to 'name', changes to the API
object will be to http://foo.com/bar/VALUE_OF_NAME. This value may also be a '/'-delimeted path to the id attribute if
it is multple levels deep in the data (such as
attributes/id
in the case of an object{ "attributes": { "id": 1234 }, "config": { "name": "foo", "something": "bar"}}
- insecure boolean
- When using https, this disables TLS verification of the host.
- key
File string - When set with the cert_file parameter, the provider will load a client certificate as a file for mTLS authentication. Note that this mechanism simply delegates to golang's tls.LoadX509KeyPair which does not support passphrase protected private keys. The most robust security protections available to the key_file are simple file system permissions.
- key
String string - When set with the cert_string parameter, the provider will load a client certificate as a string for mTLS authentication. Note that this mechanism simply delegates to golang's tls.LoadX509KeyPair which does not support passphrase protected private keys. The most robust security protections available to the key_file are simple file system permissions.
- oauth
Client ProviderCredentials Oauth Client Credentials - Configuration for oauth client credential flow using the https://pkg.go.dev/golang.org/x/oauth2 implementation
- password string
- When set, will use this password for BASIC auth to the API.
- rate
Limit number - Set this to limit the number of requests per second made to the API.
- read
Method string - Defaults to
GET
. The HTTP method used to READ objects of this type on the API server. - root
Ca stringFile - When set, the provider will load a root CA certificate as a file for mTLS authentication. This is useful when the API server is using a self-signed certificate and the client needs to trust it.
- root
Ca stringString - When set, the provider will load a root CA certificate as a string for mTLS authentication. This is useful when the API server is using a self-signed certificate and the client needs to trust it.
- test
Path string - If set, the provider will issue a read_method request to this path after instantiation requiring a 200 OK response before proceeding. This is useful if your API provides a no-op endpoint that can signal if this provider is configured correctly. Response data will be ignored.
- timeout number
- When set, will cause requests taking longer than this time (in seconds) to be aborted.
- update
Method string - Defaults to
PUT
. The HTTP method used to UPDATE objects of this type on the API server. - boolean
- Enable cookie jar to persist session.
- username string
- When set, will use this username for BASIC auth to the API.
- write
Returns booleanObject - Set this when the API returns the object created on all write operations (POST, PUT). This is used by the provider to refresh internal data structures.
- xssi
Prefix string - Trim the xssi prefix from response string, if present, before parsing.
- uri str
- URI of the REST API endpoint. This serves as the base of all requests.
- cert_
file str - When set with the key_file parameter, the provider will load a client certificate as a file for mTLS authentication.
- cert_
string str - When set with the key_string parameter, the provider will load a client certificate as a string for mTLS authentication.
- copy_
keys Sequence[str] - When set, any PUT to the API for an object will copy these keys from the data the provider has gathered about the object. This is useful if internal API information must also be provided with updates, such as the revision of the object.
- create_
method str - Defaults to
POST
. The HTTP method used to CREATE objects of this type on the API server. - create_
returns_ boolobject - Set this when the API returns the object created only on creation operations (POST). This is used by the provider to refresh internal data structures.
- debug bool
- Enabling this will cause lots of debug information to be printed to STDOUT by the API client.
- destroy_
method str - Defaults to
DELETE
. The HTTP method used to DELETE objects of this type on the API server. - headers Mapping[str, str]
- A map of header names and values to set on all outbound requests. This is useful if you want to use a script via the
'external' provider or provide a pre-approved token or change Content-Type from
application/json
. Ifusername
andpassword
are set and Authorization is one of the headers defined here, the BASIC auth credentials take precedence. - id_
attribute str - When set, this key will be used to operate on REST objects. For example, if the ID is set to 'name', changes to the API
object will be to http://foo.com/bar/VALUE_OF_NAME. This value may also be a '/'-delimeted path to the id attribute if
it is multple levels deep in the data (such as
attributes/id
in the case of an object{ "attributes": { "id": 1234 }, "config": { "name": "foo", "something": "bar"}}
- insecure bool
- When using https, this disables TLS verification of the host.
- key_
file str - When set with the cert_file parameter, the provider will load a client certificate as a file for mTLS authentication. Note that this mechanism simply delegates to golang's tls.LoadX509KeyPair which does not support passphrase protected private keys. The most robust security protections available to the key_file are simple file system permissions.
- key_
string str - When set with the cert_string parameter, the provider will load a client certificate as a string for mTLS authentication. Note that this mechanism simply delegates to golang's tls.LoadX509KeyPair which does not support passphrase protected private keys. The most robust security protections available to the key_file are simple file system permissions.
- oauth_
client_ Providercredentials Oauth Client Credentials Args - Configuration for oauth client credential flow using the https://pkg.go.dev/golang.org/x/oauth2 implementation
- password str
- When set, will use this password for BASIC auth to the API.
- rate_
limit float - Set this to limit the number of requests per second made to the API.
- read_
method str - Defaults to
GET
. The HTTP method used to READ objects of this type on the API server. - root_
ca_ strfile - When set, the provider will load a root CA certificate as a file for mTLS authentication. This is useful when the API server is using a self-signed certificate and the client needs to trust it.
- root_
ca_ strstring - When set, the provider will load a root CA certificate as a string for mTLS authentication. This is useful when the API server is using a self-signed certificate and the client needs to trust it.
- test_
path str - If set, the provider will issue a read_method request to this path after instantiation requiring a 200 OK response before proceeding. This is useful if your API provides a no-op endpoint that can signal if this provider is configured correctly. Response data will be ignored.
- timeout float
- When set, will cause requests taking longer than this time (in seconds) to be aborted.
- update_
method str - Defaults to
PUT
. The HTTP method used to UPDATE objects of this type on the API server. - bool
- Enable cookie jar to persist session.
- username str
- When set, will use this username for BASIC auth to the API.
- write_
returns_ boolobject - Set this when the API returns the object created on all write operations (POST, PUT). This is used by the provider to refresh internal data structures.
- xssi_
prefix str - Trim the xssi prefix from response string, if present, before parsing.
- uri String
- URI of the REST API endpoint. This serves as the base of all requests.
- cert
File String - When set with the key_file parameter, the provider will load a client certificate as a file for mTLS authentication.
- cert
String String - When set with the key_string parameter, the provider will load a client certificate as a string for mTLS authentication.
- copy
Keys List<String> - When set, any PUT to the API for an object will copy these keys from the data the provider has gathered about the object. This is useful if internal API information must also be provided with updates, such as the revision of the object.
- create
Method String - Defaults to
POST
. The HTTP method used to CREATE objects of this type on the API server. - create
Returns BooleanObject - Set this when the API returns the object created only on creation operations (POST). This is used by the provider to refresh internal data structures.
- debug Boolean
- Enabling this will cause lots of debug information to be printed to STDOUT by the API client.
- destroy
Method String - Defaults to
DELETE
. The HTTP method used to DELETE objects of this type on the API server. - headers Map<String>
- A map of header names and values to set on all outbound requests. This is useful if you want to use a script via the
'external' provider or provide a pre-approved token or change Content-Type from
application/json
. Ifusername
andpassword
are set and Authorization is one of the headers defined here, the BASIC auth credentials take precedence. - id
Attribute String - When set, this key will be used to operate on REST objects. For example, if the ID is set to 'name', changes to the API
object will be to http://foo.com/bar/VALUE_OF_NAME. This value may also be a '/'-delimeted path to the id attribute if
it is multple levels deep in the data (such as
attributes/id
in the case of an object{ "attributes": { "id": 1234 }, "config": { "name": "foo", "something": "bar"}}
- insecure Boolean
- When using https, this disables TLS verification of the host.
- key
File String - When set with the cert_file parameter, the provider will load a client certificate as a file for mTLS authentication. Note that this mechanism simply delegates to golang's tls.LoadX509KeyPair which does not support passphrase protected private keys. The most robust security protections available to the key_file are simple file system permissions.
- key
String String - When set with the cert_string parameter, the provider will load a client certificate as a string for mTLS authentication. Note that this mechanism simply delegates to golang's tls.LoadX509KeyPair which does not support passphrase protected private keys. The most robust security protections available to the key_file are simple file system permissions.
- oauth
Client Property MapCredentials - Configuration for oauth client credential flow using the https://pkg.go.dev/golang.org/x/oauth2 implementation
- password String
- When set, will use this password for BASIC auth to the API.
- rate
Limit Number - Set this to limit the number of requests per second made to the API.
- read
Method String - Defaults to
GET
. The HTTP method used to READ objects of this type on the API server. - root
Ca StringFile - When set, the provider will load a root CA certificate as a file for mTLS authentication. This is useful when the API server is using a self-signed certificate and the client needs to trust it.
- root
Ca StringString - When set, the provider will load a root CA certificate as a string for mTLS authentication. This is useful when the API server is using a self-signed certificate and the client needs to trust it.
- test
Path String - If set, the provider will issue a read_method request to this path after instantiation requiring a 200 OK response before proceeding. This is useful if your API provides a no-op endpoint that can signal if this provider is configured correctly. Response data will be ignored.
- timeout Number
- When set, will cause requests taking longer than this time (in seconds) to be aborted.
- update
Method String - Defaults to
PUT
. The HTTP method used to UPDATE objects of this type on the API server. - Boolean
- Enable cookie jar to persist session.
- username String
- When set, will use this username for BASIC auth to the API.
- write
Returns BooleanObject - Set this when the API returns the object created on all write operations (POST, PUT). This is used by the provider to refresh internal data structures.
- xssi
Prefix String - Trim the xssi prefix from response string, if present, before parsing.
Outputs
All input properties are implicitly available as output properties. Additionally, the Provider resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
ProviderOauthClientCredentials, ProviderOauthClientCredentialsArgs
- Oauth
Client stringId - client id
- Oauth
Client stringSecret - client secret
- Oauth
Token stringEndpoint - oauth token endpoint
- Endpoint
Params Dictionary<string, string> - Additional key/values to pass to the underlying Oauth client library (as EndpointParams)
- Oauth
Scopes List<string> - scopes
- Oauth
Client stringId - client id
- Oauth
Client stringSecret - client secret
- Oauth
Token stringEndpoint - oauth token endpoint
- Endpoint
Params map[string]string - Additional key/values to pass to the underlying Oauth client library (as EndpointParams)
- Oauth
Scopes []string - scopes
- oauth
Client StringId - client id
- oauth
Client StringSecret - client secret
- oauth
Token StringEndpoint - oauth token endpoint
- endpoint
Params Map<String,String> - Additional key/values to pass to the underlying Oauth client library (as EndpointParams)
- oauth
Scopes List<String> - scopes
- oauth
Client stringId - client id
- oauth
Client stringSecret - client secret
- oauth
Token stringEndpoint - oauth token endpoint
- endpoint
Params {[key: string]: string} - Additional key/values to pass to the underlying Oauth client library (as EndpointParams)
- oauth
Scopes string[] - scopes
- oauth_
client_ strid - client id
- oauth_
client_ strsecret - client secret
- oauth_
token_ strendpoint - oauth token endpoint
- endpoint_
params Mapping[str, str] - Additional key/values to pass to the underlying Oauth client library (as EndpointParams)
- oauth_
scopes Sequence[str] - scopes
- oauth
Client StringId - client id
- oauth
Client StringSecret - client secret
- oauth
Token StringEndpoint - oauth token endpoint
- endpoint
Params Map<String> - Additional key/values to pass to the underlying Oauth client library (as EndpointParams)
- oauth
Scopes List<String> - scopes
Package Details
- Repository
- restapi mastercard/terraform-provider-restapi
- License
- Notes
- This Pulumi package is based on the
restapi
Terraform Provider.