dbforpostgresql.azure.com/
User
User is a postgresql user.
Used by: UserList.
| Property | Description | Type |
|---|---|---|
| metav1.TypeMeta | ||
| metav1.ObjectMeta | ||
| spec | UserSpec Optional |
|
| status | UserStatus Optional |
UserSpec
| Property | Description | Type |
|---|---|---|
| azureName | The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it doesn’t have to be. | string Optional |
| databasePrivileges | DatabasePrivileges are the database-level privileges granted to the user, keyed by database name. Privileges include the following: CONNECT, CREATE, TEMPORARY (or TEMP) and ALL (or ALL PRIVILEGES), which is expanded to CONNECT, CREATE and TEMPORARY. Privileges must be upper case. When set, the user ends up with exactly these privileges on each listed database, and privileges granted directly to the user on any database not listed are revoked. When omitted, database privileges are not managed. Databases owned by the user are never managed (an owner holds every privilege on its database). An empty map is kept (not dropped as omitted) and revokes every privilege granted directly to the user. You can read more about these privileges at https://www.postgresql.org/docs/current/ddl-priv.html. | map[string]DatabasePrivilege[] Optional |
| localUser | LocalUser contains details for creating a standard (non-aad) postgresql User. | LocalUserSpec Required |
| owner | The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a reference to a dbforpostgresql.azure.com/FlexibleServer resource | genruntime.KubernetesOwnerReference Required |
| roleOptions | RoleOptions defines additional attributes of the user role. You can read more about these attributes at https://www.postgresql.org/docs/current/role-attributes.html. | RoleOptionsSpec Optional |
| roles | Roles is the set of roles granted to the user upon creation. The Azure Database for PostgreSQL server is created with 3 default roles defined: azure_pg_admin, azure_superuser, and your server admin user (this last is a role w/ login permission, commonly called a User). | string[] Optional |
UserStatus
| Property | Description | Type |
|---|---|---|
| conditions | The observed state of the resource | conditions.Condition[] Optional |
UserList
| Property | Description | Type |
|---|---|---|
| metav1.TypeMeta | ||
| metav1.ListMeta | ||
| items | User[] Optional |
UserSpec
Used by: User.
| Property | Description | Type |
|---|---|---|
| azureName | The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it doesn’t have to be. | string Optional |
| databasePrivileges | DatabasePrivileges are the database-level privileges granted to the user, keyed by database name. Privileges include the following: CONNECT, CREATE, TEMPORARY (or TEMP) and ALL (or ALL PRIVILEGES), which is expanded to CONNECT, CREATE and TEMPORARY. Privileges must be upper case. When set, the user ends up with exactly these privileges on each listed database, and privileges granted directly to the user on any database not listed are revoked. When omitted, database privileges are not managed. Databases owned by the user are never managed (an owner holds every privilege on its database). An empty map is kept (not dropped as omitted) and revokes every privilege granted directly to the user. You can read more about these privileges at https://www.postgresql.org/docs/current/ddl-priv.html. | map[string]DatabasePrivilege[] Optional |
| localUser | LocalUser contains details for creating a standard (non-aad) postgresql User. | LocalUserSpec Required |
| owner | The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a reference to a dbforpostgresql.azure.com/FlexibleServer resource | genruntime.KubernetesOwnerReference Required |
| roleOptions | RoleOptions defines additional attributes of the user role. You can read more about these attributes at https://www.postgresql.org/docs/current/role-attributes.html. | RoleOptionsSpec Optional |
| roles | Roles is the set of roles granted to the user upon creation. The Azure Database for PostgreSQL server is created with 3 default roles defined: azure_pg_admin, azure_superuser, and your server admin user (this last is a role w/ login permission, commonly called a User). | string[] Optional |
UserStatus
Used by: User.
| Property | Description | Type |
|---|---|---|
| conditions | The observed state of the resource | conditions.Condition[] Optional |
DatabasePrivilege
DatabasePrivilege is a privilege that can be granted on a PostgreSQL database.
Used by: UserSpec.
LocalUserSpec
Used by: UserSpec.
| Property | Description | Type |
|---|---|---|
| password | Password is the password to use for the user | genruntime.SecretReference Required |
| serverAdminPassword | ServerAdminPassword is a reference to a secret containing the servers administrator password | genruntime.SecretReference Required |
| serverAdminUsername | ServerAdminUsername is the user name of the Server administrator | string Required |
RoleOptionsSpec
Used by: UserSpec.
| Property | Description | Type |
|---|---|---|
| createDb | WITH CREATEDB or NOCREATEDB | bool Optional |
| createRole | WITH CREATEROLE or NOCREATEROLE | bool Optional |
| login | WITH LOGIN or NOLOGIN | bool Optional |
| replication | WITH REPLICATION or NOREPLICATION | bool Optional |