Scaleway · Schema
scaleway.iam.v1alpha1.Policy
AICloud ComputingContainersDatabaseEuropean CloudInfrastructureKubernetesServerlessStorage
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Id of the policy. |
| name | string | Name of the policy. |
| description | string | Description of the policy. |
| organization_id | string | Organization ID of the policy. |
| created_at | string | Date and time of policy creation. (RFC 3339 format) |
| updated_at | string | Date and time of last policy update. (RFC 3339 format) |
| editable | boolean | Defines whether or not a policy is editable. |
| deletable | boolean | Defines whether or not a policy is deletable. |
| managed | boolean | Defines whether or not a policy is managed. |
| nb_rules | integer | Number of rules of the policy. |
| nb_scopes | integer | Number of policy scopes. |
| nb_permission_sets | integer | Number of permission sets of the policy. |
| tags | array | Tags associated with the policy. |
| user_id | string | ID of the user attributed to the policy. |
| group_id | string | ID of the group attributed to the policy. |
| application_id | string | ID of the application attributed to the policy. |
| no_principal | boolean | Defines whether or not a policy is attributed to a principal. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/scaleway.iam.v1alpha1.Policy",
"title": "scaleway.iam.v1alpha1.Policy",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Id of the policy."
},
"name": {
"type": "string",
"description": "Name of the policy."
},
"description": {
"type": "string",
"description": "Description of the policy."
},
"organization_id": {
"type": "string",
"description": "Organization ID of the policy."
},
"created_at": {
"type": "string",
"description": "Date and time of policy creation. (RFC 3339 format)",
"format": "date-time",
"example": "2022-03-22T12:34:56.123456Z",
"nullable": true
},
"updated_at": {
"type": "string",
"description": "Date and time of last policy update. (RFC 3339 format)",
"format": "date-time",
"example": "2022-03-22T12:34:56.123456Z",
"nullable": true
},
"editable": {
"type": "boolean",
"description": "Defines whether or not a policy is editable."
},
"deletable": {
"type": "boolean",
"description": "Defines whether or not a policy is deletable."
},
"managed": {
"type": "boolean",
"description": "Defines whether or not a policy is managed."
},
"nb_rules": {
"type": "integer",
"description": "Number of rules of the policy.",
"format": "uint32"
},
"nb_scopes": {
"type": "integer",
"description": "Number of policy scopes.",
"format": "uint32"
},
"nb_permission_sets": {
"type": "integer",
"description": "Number of permission sets of the policy.",
"format": "uint32"
},
"tags": {
"type": "array",
"description": "Tags associated with the policy.",
"items": {
"type": "string"
}
},
"user_id": {
"type": "string",
"description": "ID of the user attributed to the policy.",
"nullable": true,
"x-one-of": "principal"
},
"group_id": {
"type": "string",
"description": "ID of the group attributed to the policy.",
"nullable": true,
"x-one-of": "principal"
},
"application_id": {
"type": "string",
"description": "ID of the application attributed to the policy.",
"nullable": true,
"x-one-of": "principal"
},
"no_principal": {
"type": "boolean",
"description": "Defines whether or not a policy is attributed to a principal.",
"nullable": true,
"x-one-of": "principal"
}
},
"x-properties-order": [
"id",
"name",
"description",
"organization_id",
"created_at",
"updated_at",
"editable",
"deletable",
"managed",
"nb_rules",
"nb_scopes",
"nb_permission_sets",
"tags",
"user_id",
"group_id",
"application_id",
"no_principal"
]
}