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
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
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

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