Construct a ConfigurationGovernanceV1 object.
Name | Type | Attribute | Description |
---|---|---|---|
options |
UserOptions |
Options for the service. |
Create attachments.
Creates one or more scope attachments for an existing rule.
You can attach an existing rule to a scope, such as a specific IBM Cloud account, to start evaluating the rule for
compliance. A successful
POST /config/v1/rules/{rule_id}/attachments
returns the ID value for the attachment, along with other metadata.
Name | Type | Attribute | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
CreateRuleAttachmentsParams |
The parameters to send to the service. Properties
|
Create rules.
Creates one or more rules that you can use to govern the way that IBM Cloud resources can be provisioned and configured.
A successful POST /config/rules
request defines a rule based on the target, conditions, and enforcement actions
that you specify. The response returns the ID value for your rule, along with other metadata.
To learn more about rules, check out the docs.
Name | Type | Attribute | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
CreateRulesParams |
The parameters to send to the service. Properties
|
Delete a rule.
Deletes an existing rule.
Name | Type | Attribute | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
DeleteRuleParams |
The parameters to send to the service. Properties
|
Delete an attachment.
Deletes an existing scope attachment.
Name | Type | Attribute | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
DeleteRuleAttachmentParams |
The parameters to send to the service. Properties
|
Disables retries.
Enable retries for unfulfilled requests.
Name | Type | Attribute | Description |
---|---|---|---|
retryOptions |
RetryOptions | Optional |
configuration for retries |
Get the instance of the authenticator set on the service.
Get the Axios instance set on the service. All requests will be made using this instance.
Get a rule.
Retrieves an existing rule and its details.
Name | Type | Attribute | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
GetRuleParams |
The parameters to send to the service. Properties
|
Get an attachment.
Retrieves an existing scope attachment for a rule.
Name | Type | Attribute | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
GetRuleAttachmentParams |
The parameters to send to the service. Properties
|
List attachments.
Retrieves a list of scope attachments that are associated with the specified rule.
Name | Type | Attribute | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
ListRuleAttachmentsParams |
The parameters to send to the service. Properties
|
List rules.
Retrieves a list of the rules that are available in your account.
Name | Type | Attribute | Description | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
ListRulesParams |
The parameters to send to the service. Properties
|
Turn request body compression on or off.
Name | Type | Attribute | Description |
---|---|---|---|
setting |
boolean |
Will turn it on if 'true', off if 'false'. |
Set the service URL to send requests to.
Name | Type | Attribute | Description |
---|---|---|---|
url |
string |
The base URL for the service. |
Update a rule.
Updates an existing rule based on the properties that you specify.
Name | Type | Attribute | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
UpdateRuleParams |
The parameters to send to the service. Properties
|
Update an attachment.
Updates an existing scope attachment based on the properties that you specify.
Name | Type | Attribute | Description | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
UpdateRuleAttachmentParams |
The parameters to send to the service. Properties
|
Constructs an instance of ConfigurationGovernanceV1 with passed in options and external configuration.
Name | Type | Attribute | Description |
---|---|---|---|
options |
UserOptions |
Generated using TypeDoc
API specification for the Configuration Governance service. interfaces