RoleDefinition is the Schema for the RoleDefinitions API. Manages a custom Role Definition.
Type
CRD
Group
authorization.azure.upbound.io
Version
v1beta1
apiVersion: authorization.azure.upbound.io/v1beta1
kind: RoleDefinition
RoleDefinitionSpec defines the desired state of RoleDefinition
No description provided.
One or more assignable scopes for this Role Definition, such as /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333, /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup, or /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup/providers/Microsoft.Compute/virtualMachines/myVM.
A permissions block as defined below.
One or more Allowed Actions, such as *, Microsoft.Resources/subscriptions/resourceGroups/read. See 'Azure Resource Manager resource provider operations' for details.
One or more Allowed Data Actions, such as *, Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read. See 'Azure Resource Manager resource provider operations' for details.
One or more Disallowed Actions, such as *, Microsoft.Resources/subscriptions/resourceGroups/read. See 'Azure Resource Manager resource provider operations' for details.
One or more Disallowed Data Actions, such as *, Microsoft.Resources/subscriptions/resourceGroups/read. See 'Azure Resource Manager resource provider operations' for details.
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
RoleDefinitionStatus defines the observed state of RoleDefinition.
No description provided.
Conditions of the resource.
example
apiVersion: authorization.azure.upbound.io/v1beta1
kind: RoleDefinition
metadata:
annotations:
meta.upbound.io/example-id: authorization/v1beta1/roledefinition
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
assignableScopes:
- ${data.azurerm_client_config.current.subscription_resource_id}
description: This is a custom role
name: my-custom-role
permissions:
- actions:
- "*"
notActions: []
scope: ${data.azurerm_client_config.current.subscription_resource_id}
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.