Reference: applications.core/gateways@2023-10-01-preview

Detailed reference documentation for applications.core/gateways@2023-10-01-preview

Schema

Top-Level Resource

Properties

PropertyTypeDescription
apiVersion‘2023-10-01-preview’The resource api version
(ReadOnly, DeployTimeConstant)
applicationstringFully qualified resource ID for the application
(ReadOnly)
environmentstringFully qualified resource ID for the environment that the application is linked to
(ReadOnly)
hostnameGatewayHostnameDeclare hostname information for the Gateway. Leaving the hostname empty auto-assigns one: mygateway.myapp.PUBLICHOSTNAMEORIP.nip.io.
(ReadOnly)
idstringThe resource id
(ReadOnly, DeployTimeConstant)
internalboolSets Gateway to not be exposed externally (no public IP address associated). Defaults to false (exposed to internet).
(ReadOnly)
locationstringThe geo-location where the resource lives
namestringThe resource name
(Required, DeployTimeConstant, Identifier)
propertiesGatewayPropertiesThe resource-specific properties for this resource.
(Required)
provisioningState‘Accepted’‘Canceled’
routesGatewayRoute[]Routes attached to this Gateway
(ReadOnly)
statusResourceStatusStatus of a resource.
(ReadOnly)
systemDataSystemDataAzure Resource Manager metadata containing createdBy and modifiedBy information.
(ReadOnly)
tagsRecordResource tags.
tlsGatewayTlsTLS configuration for the Gateway.
(ReadOnly)
type‘Applications.Core/gateways’The resource type
(ReadOnly, DeployTimeConstant)
urlstringURL of the gateway resource. Readonly
(ReadOnly)

GatewayHostname

Properties

PropertyTypeDescription
fullyQualifiedHostnamestringSpecify a fully-qualified domain name: myapp.mydomain.com. Mutually exclusive with ‘prefix’ and will take priority if both are defined.
prefixstringSpecify a prefix for the hostname: myhostname.myapp.PUBLICHOSTNAMEORIP.nip.io. Mutually exclusive with ‘fullyQualifiedHostname’ and will be overridden if both are defined.

GatewayProperties

Properties

PropertyTypeDescription
applicationstringFully qualified resource ID for the application
(Required)
environmentstringFully qualified resource ID for the environment that the application is linked to
hostnameGatewayHostnameDeclare hostname information for the Gateway. Leaving the hostname empty auto-assigns one: mygateway.myapp.PUBLICHOSTNAMEORIP.nip.io.
internalboolSets Gateway to not be exposed externally (no public IP address associated). Defaults to false (exposed to internet).
provisioningState‘Accepted’‘Canceled’
routesGatewayRoute[]Routes attached to this Gateway
(Required)
statusResourceStatusStatus of a resource.
(ReadOnly)
tlsGatewayTlsTLS configuration for the Gateway.
urlstringURL of the gateway resource. Readonly
(ReadOnly)

GatewayRoute

Properties

PropertyTypeDescription
destinationstringThe URL or id of the service to route to. Ex - ‘http://myservice’.
enableWebsocketsboolEnables websocket support for the route. Defaults to false.
pathstringThe path to match the incoming request path on. Ex - /myservice.
replacePrefixstringOptionally update the prefix when sending the request to the service. Ex - replacePrefix: ‘/’ and path: ‘/myservice’ will transform ‘/myservice/myroute’ to ‘/myroute’
timeoutPolicyGatewayRouteTimeoutPolicyThe timeout policy for the route.

GatewayRouteTimeoutPolicy

Properties

PropertyTypeDescription
backendRequeststringThe backend request timeout in duration for the route. Cannot be greater than the request timeout.
requeststringThe request timeout in duration for the route. Defaults to 15 seconds.

ResourceStatus

Properties

PropertyTypeDescription
computeEnvironmentComputeThe compute resource associated with the resource.
outputResourcesOutputResource[]Properties of an output resource
recipeRecipeStatusThe recipe data at the time of deployment
(ReadOnly)

EnvironmentCompute

  • Discriminator: kind

Base Properties

PropertyTypeDescription
identityIdentitySettingsConfiguration for supported external identity providers
resourceIdstringThe resource id of the compute resource for application environment.

AzureContainerInstanceCompute

Properties
PropertyTypeDescription
kind‘aci’The Azure container instance compute kind
(Required)
resourceGroupstringThe resource group to use for the environment.

KubernetesCompute

Properties
PropertyTypeDescription
kind‘kubernetes’The Kubernetes compute kind
(Required)
namespacestringThe namespace to use for the environment.
(Required)

IdentitySettings

Properties

PropertyTypeDescription
kind‘azure.com.workload’‘systemAssigned’
managedIdentitystring[]The list of user assigned managed identities
oidcIssuerstringThe URI for your compute platform’s OIDC issuer
resourcestringThe resource ID of the provisioned identity

OutputResource

Properties

PropertyTypeDescription
idstringThe UCP resource ID of the underlying resource.
localIdstringThe logical identifier scoped to the owning Radius resource. This is only needed or used when a resource has a dependency relationship. LocalIDs do not have any particular format or meaning beyond being compared to determine dependency relationships.
radiusManagedboolDetermines whether Radius manages the lifecycle of the underlying resource.

RecipeStatus

Properties

PropertyTypeDescription
templateKindstringTemplateKind is the kind of the recipe template used by the portable resource upon deployment.
(Required)
templatePathstringTemplatePath is the path of the recipe consumed by the portable resource upon deployment.
(Required)
templateVersionstringTemplateVersion is the version number of the template.

GatewayTls

Properties

PropertyTypeDescription
certificateFromstringThe resource id for the secret containing the TLS certificate and key for the gateway.
minimumProtocolVersion‘1.2’‘1.3’
sslPassthroughboolIf true, gateway lets the https traffic sslPassthrough to the backend servers for decryption.

SystemData

Properties

PropertyTypeDescription
createdAtstringThe timestamp of resource creation (UTC).
createdBystringThe identity that created the resource.
createdByType‘Application’‘Key’
lastModifiedAtstringThe timestamp of resource last modification (UTC)
lastModifiedBystringThe identity that last modified the resource.
lastModifiedByType‘Application’‘Key’

Record

Properties

  • none

Additional Properties

  • Additional Properties Type: string