diff --git a/.github/scripts/release-docs.sh b/.github/scripts/release-docs.sh index 57183f973..fcc4eafda 100755 --- a/.github/scripts/release-docs.sh +++ b/.github/scripts/release-docs.sh @@ -67,11 +67,6 @@ mv docs/config.toml.tmp docs/config.toml awk '{gsub(/indexName: '\''radapp-dev-edge'\''/, "indexName: '\''radapp-dev'\''"); print}' docs/layouts/partials/hooks/body-end.html > docs/layouts/partials/hooks/body-end.html.tmp mv docs/layouts/partials/hooks/body-end.html.tmp docs/layouts/partials/hooks/body-end.html -# In docs/content/getting-started/install/index.md, update the binary download links with the new version number -BINARY_STRING_REPLACEMENT=": https:\/\/get\.radapp\.dev\/tools\/rad\/${CHANNEL}\/" -awk -v REPLACEMENT="${BINARY_STRING_REPLACEMENT}" '{gsub(/: https:\/\/get\.radapp\.dev\/tools\/rad\/[^\/]+\//, REPLACEMENT); print}' docs/content/getting-started/install/index.md > docs/content/getting-started/install/index.md.tmp -mv docs/content/getting-started/install/index.md.tmp docs/content/getting-started/install/index.md - # Push changes to GitHub git add --all git commit -m "Update docs for ${VERSION}" diff --git a/docs/content/concepts/overview/snippets/appmodel-concept.bicep b/docs/content/concepts/overview/snippets/appmodel-concept.bicep index 638e8033c..0b2ddceff 100644 --- a/docs/content/concepts/overview/snippets/appmodel-concept.bicep +++ b/docs/content/concepts/overview/snippets/appmodel-concept.bicep @@ -7,7 +7,7 @@ param environment string param databaseId string // Define application -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' //PROPERTIES properties: { @@ -17,7 +17,7 @@ resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { } // Define container resource to run app code -resource frontend 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource frontend 'Applications.Core/containers@2023-10-01-preview' = { name: 'frontend' properties: { application: app.id diff --git a/docs/content/getting-started/snippets/app-with-redis-snippets.bicep b/docs/content/getting-started/snippets/app-with-redis-snippets.bicep index 5b2c1c324..b6625368c 100644 --- a/docs/content/getting-started/snippets/app-with-redis-snippets.bicep +++ b/docs/content/getting-started/snippets/app-with-redis-snippets.bicep @@ -5,7 +5,7 @@ import radius as radius param application string //CONNECTION -resource demo 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource demo 'Applications.Core/containers@2023-10-01-preview' = { name: 'demo' properties: { application: application @@ -30,7 +30,7 @@ resource demo 'Applications.Core/containers@2022-03-15-privatepreview' = { @description('The environment ID of your Radius application. Set automatically by the rad CLI.') param environment string -resource db 'Applications.Datastores/redisCaches@2022-03-15-privatepreview' = { +resource db 'Applications.Datastores/redisCaches@2023-10-01-preview' = { name: 'db' properties: { application: application diff --git a/docs/content/getting-started/snippets/app-with-redis.bicep b/docs/content/getting-started/snippets/app-with-redis.bicep index ea7fb7e1e..0fdf3f8d2 100644 --- a/docs/content/getting-started/snippets/app-with-redis.bicep +++ b/docs/content/getting-started/snippets/app-with-redis.bicep @@ -4,7 +4,7 @@ import radius as radius @description('The app ID of your Radius application. Set automatically by the rad CLI.') param application string -resource demo 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource demo 'Applications.Core/containers@2023-10-01-preview' = { name: 'demo' properties: { application: application @@ -25,7 +25,7 @@ resource demo 'Applications.Core/containers@2022-03-15-privatepreview' = { } param environment string -resource db 'Applications.Datastores/redisCaches@2022-03-15-privatepreview' = { +resource db 'Applications.Datastores/redisCaches@2023-10-01-preview' = { name: 'db' properties: { application: application diff --git a/docs/content/getting-started/snippets/app.bicep b/docs/content/getting-started/snippets/app.bicep index abd0e04af..95cd46417 100644 --- a/docs/content/getting-started/snippets/app.bicep +++ b/docs/content/getting-started/snippets/app.bicep @@ -4,7 +4,7 @@ import radius as radius @description('The app ID of your Radius application. Set automatically by the rad CLI.') param application string -resource demo 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource demo 'Applications.Core/containers@2023-10-01-preview' = { name: 'demo' properties: { application: application diff --git a/docs/content/guides/author-apps/application/overview/app-graph.png b/docs/content/guides/author-apps/application/overview/app-graph.png new file mode 100644 index 000000000..1a33cdc74 Binary files /dev/null and b/docs/content/guides/author-apps/application/overview/app-graph.png differ diff --git a/docs/content/guides/author-apps/application/overview/application.png b/docs/content/guides/author-apps/application/overview/application.png new file mode 100644 index 000000000..acba6e2eb Binary files /dev/null and b/docs/content/guides/author-apps/application/overview/application.png differ diff --git a/docs/content/guides/author-apps/application/overview/graph-automation.png b/docs/content/guides/author-apps/application/overview/graph-automation.png deleted file mode 100644 index fa616e724..000000000 Binary files a/docs/content/guides/author-apps/application/overview/graph-automation.png and /dev/null differ diff --git a/docs/content/guides/author-apps/application/overview/index.md b/docs/content/guides/author-apps/application/overview/index.md index 6186266e1..f3cc83663 100644 --- a/docs/content/guides/author-apps/application/overview/index.md +++ b/docs/content/guides/author-apps/application/overview/index.md @@ -2,38 +2,44 @@ type: docs title: "Overview: Radius applications" linkTitle: "Overview" -description: "Learn about Radius applications" +description: "Learn about Radius applications and how they bring all of your services, dependencies, and relationships together." weight: 100 categories: "Overview" tags: ["applications"] --- -## Overview +Diagram of an application -An [application]({{< ref application-graph>}}) is the primary resource that contains all of your services and relationships. +A Radius application is the primary resource that brings all your "stuff" together. This can include services, dependencies, and relationships. Radius apps give you a single description and view into your entire application, and allow you to deploy and manage it easily. -Because Radius has all the relationships and requirements of an application, deployments and configurations are simplified. Developers no longer need to specify all the identity, networking, or other configuration that is normally required, and operators don't need to write custom deployment scripts. +## Add portability to your application -For example, if you want a container to read from an Azure Storage Account without using Radius, this normally requires creating managed identities, RBAC roles, identity federation, Kubernetes service accounts, and more. With Radius, developers can define a single [connection]({{< ref "guides/author-apps/containers/overview#connections" >}}) from their container to a Storage Account, and Radius sets up all the required configuration automatically. +Radius applications are designed to be cloud and platform agnostic. This means that you can define your application once, and deploy it to any cloud or platform that Radius supports. This allows you to easily move your application between clouds, or even between cloud and on-premises environments. Developers can define their requirements and dependencies (_Redis, SQL, Dapr, etc._) and operators can define the [environments]({{< ref "guides/deploy-apps/environments/overview" >}}) and [Recipes]({{< ref "guides/recipes/overview" >}}) that bind those requirements to the appropriate cloud resources. -A diagram showing a connection from a Radius container to an Azure storage account resulting in managed identities, role-based access control, and CSI drivers. +Diagram of portable resources binding to different clouds -## Extensions +Learn more about portable resources in the [portable resources docs]({{< ref "guides/author-apps/portable-resources/overview" >}}) and [Dapr docs]({{< ref "guides/author-apps/dapr/overview" >}}) + +## Customize your application with extensions Extensions allow you to customize how resources are generated or customized as part of deployment. ### Kubernetes Namespace extension -The Kubernetes namespace extension allows you to customize how all of the resources within your application generate Kubernetes resources. See the [Kubernetes mapping guide]({{< ref kubernetes-mapping >}}) for more information on namespace mapping behavior +The Kubernetes namespace extension allows you to customize how all of the resources within your application generate Kubernetes resources. See the [Kubernetes mapping guide]({{< ref "/guides/operations/kubernetes/overview#resource-mapping" >}}) for more information on namespace mapping behavior ### Kubernetes Metadata extension -The [Kubernetes Metadata extension]({{< ref "guides/operations/kubernetes/kubernetes-metadata">}}) enables you set and cascade Kubernetes metadata such as labels and Annotations on all the Kubernetes resources defined with in your Radius application +The [Kubernetes Metadata extension]({{< ref "guides/operations/kubernetes/kubernetes-metadata">}}) enables you set and cascade Kubernetes metadata such as labels and Annotations on all the Kubernetes resources defined with in your Radius application. -## Resource schema +## Query and understand your application with the Radius Application Graph + +Radius applications are more than just client-side configuration and automation, they also provide a server-side graph of your application. This graph can be queried and used to understand your application, and can be used to power other Radius features and custom tooling. Refer to the [API concept docs]({{< ref "api-concept" >}}) and [Postman How-To guide]({{< ref "guides/operations/control-plane/howto-postman" >}}) for more information on how to query the application graph. -- [Application schema]({{< ref application-schema >}}) +Diagram of the application graph + +## Resource schema -## Further reading +Refer to the [application schema docs]({{< ref application-schema >}}) for more information on how to define an application. -Refer to the [applications]({{< ref "/tags/applications" >}}) tag for more guides on the application resource. +{{< button text="📄 Application schema" page="application-schema" >}} \ No newline at end of file diff --git a/docs/content/guides/author-apps/application/overview/portable-resources.png b/docs/content/guides/author-apps/application/overview/portable-resources.png new file mode 100644 index 000000000..da3dfef61 Binary files /dev/null and b/docs/content/guides/author-apps/application/overview/portable-resources.png differ diff --git a/docs/content/guides/author-apps/application/overview/snippets/blank.bicep b/docs/content/guides/author-apps/application/overview/snippets/blank.bicep index dbe136766..d324ea9b9 100644 --- a/docs/content/guides/author-apps/application/overview/snippets/blank.bicep +++ b/docs/content/guides/author-apps/application/overview/snippets/blank.bicep @@ -3,7 +3,7 @@ import radius as radius @description('The environment ID of your Radius application. Set automatically by the rad CLI.') param environment string -resource myapp 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource myapp 'Applications.Core/applications@2023-10-01-preview' = { name: 'my-application' properties: { environment: environment diff --git a/docs/content/guides/author-apps/aws/howto-aws-resources/snippets/app.bicep b/docs/content/guides/author-apps/aws/howto-aws-resources/snippets/app.bicep index 42f9ac636..f298336a1 100644 --- a/docs/content/guides/author-apps/aws/howto-aws-resources/snippets/app.bicep +++ b/docs/content/guides/author-apps/aws/howto-aws-resources/snippets/app.bicep @@ -15,7 +15,7 @@ resource s3 'AWS.S3/Bucket@default' = { @description('The environment ID of your Radius application. Set automatically by the rad CLI.') param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 's3app' properties: { environment: environment @@ -34,7 +34,7 @@ param aws_secret_access_key string param aws_region string = 'us-west-2' // get a radius container which uses the s3 bucket -resource frontend 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource frontend 'Applications.Core/containers@2023-10-01-preview' = { name: 'frontend' properties: { application: app.id diff --git a/docs/content/guides/author-apps/aws/howto-aws-resources/snippets/s3app.bicep b/docs/content/guides/author-apps/aws/howto-aws-resources/snippets/s3app.bicep index 93594c89b..b091624fa 100644 --- a/docs/content/guides/author-apps/aws/howto-aws-resources/snippets/s3app.bicep +++ b/docs/content/guides/author-apps/aws/howto-aws-resources/snippets/s3app.bicep @@ -16,7 +16,7 @@ resource s3 'AWS.S3/Bucket@default' = { @description('The environment ID of your Radius application. Set automatically by the rad CLI.') param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 's3app' properties: { environment: environment @@ -35,7 +35,7 @@ param aws_secret_access_key string param aws_region string = 'us-west-2' // get a radius container which uses the s3 bucket -resource frontend 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource frontend 'Applications.Core/containers@2023-10-01-preview' = { name: 'frontend' properties: { application: app.id diff --git a/docs/content/guides/author-apps/aws/overview/snippets/aws.bicep b/docs/content/guides/author-apps/aws/overview/snippets/aws.bicep index 8fc03b65a..d2717c515 100644 --- a/docs/content/guides/author-apps/aws/overview/snippets/aws.bicep +++ b/docs/content/guides/author-apps/aws/overview/snippets/aws.bicep @@ -23,14 +23,14 @@ resource s3 'AWS.S3/Bucket@default' = { } // get a radius container which uses the s3 bucket -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 's3app' properties: { environment: environment } } -resource frontend 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource frontend 'Applications.Core/containers@2023-10-01-preview' = { name: 's3container' properties: { application: app.id diff --git a/docs/content/guides/author-apps/azure/howto-azure-resources/snippets/container-wi.bicep b/docs/content/guides/author-apps/azure/howto-azure-resources/snippets/container-wi.bicep index 1e05faed8..9840e5735 100644 --- a/docs/content/guides/author-apps/azure/howto-azure-resources/snippets/container-wi.bicep +++ b/docs/content/guides/author-apps/azure/howto-azure-resources/snippets/container-wi.bicep @@ -7,7 +7,7 @@ param azLocation string = resourceGroup().location @description('Specifies the OIDC issuer URL') param oidcIssuer string -resource env 'Applications.Core/environments@2022-03-15-privatepreview' = { +resource env 'Applications.Core/environments@2023-10-01-preview' = { name: 'iam-quickstart' properties: { compute: { @@ -29,14 +29,14 @@ resource env 'Applications.Core/environments@2022-03-15-privatepreview' = { //ENVIRONMENT //CONTAINER -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: env.id } } -resource container 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource container 'Applications.Core/containers@2023-10-01-preview' = { name: 'mycontainer' properties: { application: app.id diff --git a/docs/content/guides/author-apps/azure/overview/index.md b/docs/content/guides/author-apps/azure/overview/index.md index b4831105c..166051eb4 100644 --- a/docs/content/guides/author-apps/azure/overview/index.md +++ b/docs/content/guides/author-apps/azure/overview/index.md @@ -12,7 +12,7 @@ Radius applications are able to connect to and leverage every Azure resource wit ## Configure an Azure Provider -The Azure provider allows you to deploy and connect to Azure resources from a Radius environment on any of the [supported clusters]({{< ref supported-clusters>}}). To configure an Azure provider, you can follow the documentation [here]({{< ref "/guides/operations/providers/howto-azure-provider" >}}). +The Azure provider allows you to deploy and connect to Azure resources from a Radius environment on any of the [supported clusters]({{< ref "/guides/operations/kubernetes/overview#supported-clusters" >}}). To configure an Azure provider, you can follow the documentation [here]({{< ref "/guides/operations/providers/howto-azure-provider" >}}). ## Resource library diff --git a/docs/content/guides/author-apps/azure/overview/snippets/azure-connection.bicep b/docs/content/guides/author-apps/azure/overview/snippets/azure-connection.bicep index 778c7c592..ac9a22a43 100644 --- a/docs/content/guides/author-apps/azure/overview/snippets/azure-connection.bicep +++ b/docs/content/guides/author-apps/azure/overview/snippets/azure-connection.bicep @@ -17,14 +17,14 @@ resource cache 'Microsoft.Cache/Redis@2019-07-01' = { } } -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: environment } } -resource container 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource container 'Applications.Core/containers@2023-10-01-preview' = { name: 'mycontainer' properties: { application: app.id diff --git a/docs/content/guides/author-apps/containers/howto-environment-variables/snippets/1-app.bicep b/docs/content/guides/author-apps/containers/howto-environment-variables/snippets/1-app.bicep index eb270d1f0..1b2c4b40a 100644 --- a/docs/content/guides/author-apps/containers/howto-environment-variables/snippets/1-app.bicep +++ b/docs/content/guides/author-apps/containers/howto-environment-variables/snippets/1-app.bicep @@ -2,14 +2,14 @@ import radius as rad param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: environment } } -resource container 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource container 'Applications.Core/containers@2023-10-01-preview' = { name: 'mycontainer' properties: { application: app.id diff --git a/docs/content/guides/author-apps/containers/howto-environment-variables/snippets/2-app.bicep b/docs/content/guides/author-apps/containers/howto-environment-variables/snippets/2-app.bicep index 69eca2a11..769f2cbf4 100644 --- a/docs/content/guides/author-apps/containers/howto-environment-variables/snippets/2-app.bicep +++ b/docs/content/guides/author-apps/containers/howto-environment-variables/snippets/2-app.bicep @@ -2,7 +2,7 @@ import radius as rad param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: environment @@ -10,7 +10,7 @@ resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { } //CONTAINER -resource container 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource container 'Applications.Core/containers@2023-10-01-preview' = { name: 'mycontainer' properties: { application: app.id diff --git a/docs/content/guides/author-apps/containers/howto-environment-variables/snippets/3-app.bicep b/docs/content/guides/author-apps/containers/howto-environment-variables/snippets/3-app.bicep index 634c002ac..85a561da6 100644 --- a/docs/content/guides/author-apps/containers/howto-environment-variables/snippets/3-app.bicep +++ b/docs/content/guides/author-apps/containers/howto-environment-variables/snippets/3-app.bicep @@ -2,7 +2,7 @@ import radius as rad param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: environment @@ -10,7 +10,7 @@ resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { } //CONTAINER -resource container 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource container 'Applications.Core/containers@2023-10-01-preview' = { name: 'mycontainer' properties: { application: app.id @@ -31,7 +31,7 @@ resource container 'Applications.Core/containers@2022-03-15-privatepreview' = { //CONTAINER //LINK -resource mongoDatabase 'Applications.Datastores/mongoDatabases@2022-03-15-privatepreview' = { +resource mongoDatabase 'Applications.Datastores/mongoDatabases@2023-10-01-preview' = { name: 'mongo-db' properties: { environment: environment diff --git a/docs/content/guides/author-apps/containers/howto-keyvault-volume/snippets/keyvault-wi.bicep b/docs/content/guides/author-apps/containers/howto-keyvault-volume/snippets/keyvault-wi.bicep index 1efd2de1b..a2910e02e 100644 --- a/docs/content/guides/author-apps/containers/howto-keyvault-volume/snippets/keyvault-wi.bicep +++ b/docs/content/guides/author-apps/containers/howto-keyvault-volume/snippets/keyvault-wi.bicep @@ -7,7 +7,7 @@ param azLocation string = resourceGroup().location @description('Specifies the environment for resources.') param oidcIssuer string -resource env 'Applications.Core/environments@2022-03-15-privatepreview' = { +resource env 'Applications.Core/environments@2023-10-01-preview' = { name: 'kv-volume-quickstart' properties: { compute: { @@ -29,14 +29,14 @@ resource env 'Applications.Core/environments@2022-03-15-privatepreview' = { //ENVIRONMENT //APP -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: env.id } } -resource volume 'Applications.Core/volumes@2022-03-15-privatepreview' = { +resource volume 'Applications.Core/volumes@2023-10-01-preview' = { name: 'myvolume' properties: { application: app.id @@ -72,7 +72,7 @@ resource keyvault 'Microsoft.KeyVault/vaults@2021-10-01' = { //APP //CONTAINER -resource container 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource container 'Applications.Core/containers@2023-10-01-preview' = { name: 'mycontainer' properties: { application: app.id diff --git a/docs/content/guides/author-apps/containers/howto-volumes/snippets/1-app.bicep b/docs/content/guides/author-apps/containers/howto-volumes/snippets/1-app.bicep index 50a68e925..97e9dd7a7 100644 --- a/docs/content/guides/author-apps/containers/howto-volumes/snippets/1-app.bicep +++ b/docs/content/guides/author-apps/containers/howto-volumes/snippets/1-app.bicep @@ -2,14 +2,14 @@ import radius as rad param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: environment } } -resource container 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource container 'Applications.Core/containers@2023-10-01-preview' = { name: 'mycontainer' properties: { application: app.id diff --git a/docs/content/guides/author-apps/containers/howto-volumes/snippets/2-app.bicep b/docs/content/guides/author-apps/containers/howto-volumes/snippets/2-app.bicep index eab8bd99f..e470e0d02 100644 --- a/docs/content/guides/author-apps/containers/howto-volumes/snippets/2-app.bicep +++ b/docs/content/guides/author-apps/containers/howto-volumes/snippets/2-app.bicep @@ -2,7 +2,7 @@ import radius as rad param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: environment @@ -10,7 +10,7 @@ resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { } //CONTAINER -resource container 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource container 'Applications.Core/containers@2023-10-01-preview' = { name: 'mycontainer' properties: { application: app.id diff --git a/docs/content/guides/author-apps/containers/overview/index.md b/docs/content/guides/author-apps/containers/overview/index.md index c21b8c862..ad8d890e7 100644 --- a/docs/content/guides/author-apps/containers/overview/index.md +++ b/docs/content/guides/author-apps/containers/overview/index.md @@ -26,6 +26,10 @@ Containers are deployed to the same Kubernetes cluster as your Radius installati Radius containers allow you to specify your image, ports, environment variables, volumes, and more. Refer to the [container resource schema]({{< ref "container-schema" >}}) for more information. +### Ports + +Ports allow you to expose your container to incoming network traffic. Refer to the [networking guide]({{< ref networking >}}) for more information on container networking. + ## Volumes Volumes can be mounted to the container to provide access to data. There are two types of volumes, ephemeral and persistent. @@ -77,7 +81,7 @@ For example, adding a connection called `database` that connects to a MongoDB re | `CONNECTION_DATABASE_USERNAME` | Username of the target database | | `CONNECTION_DATABASE_PASSWORD` | Password of the target database | -Alternatively, if you already have another convention you would like to follow or if you just prefer to be explicit, you may ignore the values generated by a connection and instead override it by setting your own environment variable values. Refer to the [environment variables quickstart]({{< ref howto-environment-variables >}}) for more details. +Alternatively, if you already have another convention you would like to follow or if you just prefer to be explicit, you may ignore the values generated by a connection and instead override it by setting your own environment variable values. Refer to the [environment variables how-to guide]({{< ref howto-environment-variables >}}) for more details. ## Extensions diff --git a/docs/content/guides/author-apps/dapr/_index.md b/docs/content/guides/author-apps/dapr/_index.md new file mode 100644 index 000000000..f5744fa90 --- /dev/null +++ b/docs/content/guides/author-apps/dapr/_index.md @@ -0,0 +1,7 @@ +--- +type: docs +title: "Dapr building blocks" +linkTitle: "Dapr" +description: "Easily leverage Dapr building blocks in your application for code and infrastructure portability" +weight: 500 +--- diff --git a/docs/content/guides/author-apps/dapr/dapr-buildingblocks.png b/docs/content/guides/author-apps/dapr/overview/dapr-buildingblocks.png similarity index 100% rename from docs/content/guides/author-apps/dapr/dapr-buildingblocks.png rename to docs/content/guides/author-apps/dapr/overview/dapr-buildingblocks.png diff --git a/docs/content/guides/author-apps/dapr/dapr-sidecar.png b/docs/content/guides/author-apps/dapr/overview/dapr-sidecar.png similarity index 100% rename from docs/content/guides/author-apps/dapr/dapr-sidecar.png rename to docs/content/guides/author-apps/dapr/overview/dapr-sidecar.png diff --git a/docs/content/guides/author-apps/dapr/index.md b/docs/content/guides/author-apps/dapr/overview/index.md similarity index 95% rename from docs/content/guides/author-apps/dapr/index.md rename to docs/content/guides/author-apps/dapr/overview/index.md index 5ce0cbff8..d81a23dfb 100644 --- a/docs/content/guides/author-apps/dapr/index.md +++ b/docs/content/guides/author-apps/dapr/overview/index.md @@ -1,11 +1,10 @@ --- type: docs -title: "Dapr building blocks" -linkTitle: "Dapr" +title: "Overview: Dapr building blocks" +linkTitle: "Overview" description: "Easily leverage Dapr building blocks in your application for code and infrastructure portability" -weight: 500 -slug: "dapr" -categories: "Concept" +weight: 100 +categories: "Overview" tags: ["Dapr"] --- @@ -61,7 +60,7 @@ For example, if you have a `Applications.Dapr/stateStores` resource named `mysta You can connect to a Dapr building block by manually referencing the resource name or by adding a connection. Connections automatically inject environment variables into your container with the resource name prefixed. -{{< rad file="snippets/dapr-componentname.bicep" embed=true marker="//MARKER" replace-key-ss="//STATESTORE" replace-value-ss="resource statestore 'Applications.Dapr/stateStores@2022-03-15-privatepreview' = {...}" >}} +{{< rad file="snippets/dapr-componentname.bicep" embed=true marker="//MARKER" replace-key-ss="//STATESTORE" replace-value-ss="resource statestore 'Applications.Dapr/stateStores@2023-10-01-preview' = {...}" >}} ### Service invocation diff --git a/docs/content/guides/author-apps/dapr/snippets/dapr-componentname.bicep b/docs/content/guides/author-apps/dapr/overview/snippets/dapr-componentname.bicep similarity index 84% rename from docs/content/guides/author-apps/dapr/snippets/dapr-componentname.bicep rename to docs/content/guides/author-apps/dapr/overview/snippets/dapr-componentname.bicep index 7e9e92742..11a12eec0 100644 --- a/docs/content/guides/author-apps/dapr/snippets/dapr-componentname.bicep +++ b/docs/content/guides/author-apps/dapr/overview/snippets/dapr-componentname.bicep @@ -14,7 +14,7 @@ resource account 'Microsoft.Storage/storageAccounts@2019-06-01' existing = { } } -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: environment @@ -22,7 +22,7 @@ resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { } //MARKER -resource container 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource container 'Applications.Core/containers@2023-10-01-preview' = { name: 'mycontainer' properties: { application: app.id @@ -43,7 +43,7 @@ resource container 'Applications.Core/containers@2022-03-15-privatepreview' = { } //STATESTORE -resource statestore 'Applications.Dapr/stateStores@2022-03-15-privatepreview' = { +resource statestore 'Applications.Dapr/stateStores@2023-10-01-preview' = { name: 'mystatestore' properties: { environment: environment diff --git a/docs/content/guides/author-apps/dapr/snippets/service-invocation.bicep b/docs/content/guides/author-apps/dapr/overview/snippets/service-invocation.bicep similarity index 73% rename from docs/content/guides/author-apps/dapr/snippets/service-invocation.bicep rename to docs/content/guides/author-apps/dapr/overview/snippets/service-invocation.bicep index 15f2ea225..572a6afc4 100644 --- a/docs/content/guides/author-apps/dapr/snippets/service-invocation.bicep +++ b/docs/content/guides/author-apps/dapr/overview/snippets/service-invocation.bicep @@ -1,12 +1,12 @@ import radius as rad -resource app 'Applications.Core/applications@2022-03-15-privatepreview' existing = { +resource app 'Applications.Core/applications@2023-10-01-preview' existing = { name: 'myapp' } // Backend is being invoked through service invocation -resource backend 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource backend 'Applications.Core/containers@2023-10-01-preview' = { name: 'backend' properties: { application: app.id @@ -24,7 +24,7 @@ resource backend 'Applications.Core/containers@2022-03-15-privatepreview' = { // Frontend invokes backend -resource frontend 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource frontend 'Applications.Core/containers@2023-10-01-preview' = { name: 'frontend' properties: { application: app.id diff --git a/docs/content/guides/author-apps/dapr/snippets/sidecar.bicep b/docs/content/guides/author-apps/dapr/overview/snippets/sidecar.bicep similarity index 70% rename from docs/content/guides/author-apps/dapr/snippets/sidecar.bicep rename to docs/content/guides/author-apps/dapr/overview/snippets/sidecar.bicep index 3580d69cc..9d5065ba9 100644 --- a/docs/content/guides/author-apps/dapr/snippets/sidecar.bicep +++ b/docs/content/guides/author-apps/dapr/overview/snippets/sidecar.bicep @@ -2,7 +2,7 @@ import radius as radius param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: environment @@ -10,7 +10,7 @@ resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { } //CONTAINER -resource container 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource container 'Applications.Core/containers@2023-10-01-preview' = { name: 'mycontainer' properties: { application: app.id diff --git a/docs/content/guides/author-apps/dapr/snippets/statestore.bicep b/docs/content/guides/author-apps/dapr/overview/snippets/statestore.bicep similarity index 85% rename from docs/content/guides/author-apps/dapr/snippets/statestore.bicep rename to docs/content/guides/author-apps/dapr/overview/snippets/statestore.bicep index 71aee6ecb..fe7cfbfdf 100644 --- a/docs/content/guides/author-apps/dapr/snippets/statestore.bicep +++ b/docs/content/guides/author-apps/dapr/overview/snippets/statestore.bicep @@ -3,7 +3,7 @@ import radius as radius param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: environment @@ -24,7 +24,7 @@ resource account 'Microsoft.Storage/storageAccounts@2019-06-01' existing = { } // The accompanying Dapr component resource is automatically created for you -resource stateStore 'Applications.Dapr/stateStores@2022-03-15-privatepreview' = { +resource stateStore 'Applications.Dapr/stateStores@2023-10-01-preview' = { name: 'mystatestore' properties: { environment: environment diff --git a/docs/content/guides/author-apps/kubernetes/overview/snippets/kubernetes-connection.bicep b/docs/content/guides/author-apps/kubernetes/overview/snippets/kubernetes-connection.bicep index 2e2dbf265..5b5d30747 100644 --- a/docs/content/guides/author-apps/kubernetes/overview/snippets/kubernetes-connection.bicep +++ b/docs/content/guides/author-apps/kubernetes/overview/snippets/kubernetes-connection.bicep @@ -15,14 +15,14 @@ resource secret 'core/Secret@v1' = { } } -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: environment } } -resource container 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource container 'Applications.Core/containers@2023-10-01-preview' = { name: 'mycontainer' properties: { application: app.id diff --git a/docs/content/guides/author-apps/networking/howto-tls-termination-cert-manager/snippets/app.bicep b/docs/content/guides/author-apps/networking/howto-tls-termination-cert-manager/snippets/app.bicep index c9dd97a33..f1eb7214d 100644 --- a/docs/content/guides/author-apps/networking/howto-tls-termination-cert-manager/snippets/app.bicep +++ b/docs/content/guides/author-apps/networking/howto-tls-termination-cert-manager/snippets/app.bicep @@ -3,14 +3,14 @@ import radius as radius @description('ID of the Radius environment. Passed in automatically via the rad CLI') param environment string -resource demoApplication 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource demoApplication 'Applications.Core/applications@2023-10-01-preview' = { name: 'demo-application' properties: { environment: environment } } -resource demoSecretStore 'Applications.Core/secretStores@2022-03-15-privatepreview' = { +resource demoSecretStore 'Applications.Core/secretStores@2023-10-01-preview' = { name: 'demo-secretstore' properties: { application: demoApplication.id @@ -27,7 +27,7 @@ resource demoSecretStore 'Applications.Core/secretStores@2022-03-15-privateprevi } } -resource demoGateway 'Applications.Core/gateways@2022-03-15-privatepreview' = { +resource demoGateway 'Applications.Core/gateways@2023-10-01-preview' = { name: 'demo-gateway' properties: { application: demoApplication.id @@ -47,14 +47,14 @@ resource demoGateway 'Applications.Core/gateways@2022-03-15-privatepreview' = { } } -resource demoRoute 'Applications.Core/httpRoutes@2022-03-15-privatepreview' = { +resource demoRoute 'Applications.Core/httpRoutes@2023-10-01-preview' = { name: 'demo-route' properties: { application: demoApplication.id } } -resource demoContainer 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource demoContainer 'Applications.Core/containers@2023-10-01-preview' = { name: 'demo-container' properties: { application: demoApplication.id diff --git a/docs/content/guides/author-apps/networking/howto-tls-termination/snippets/tls-termination-data.bicep b/docs/content/guides/author-apps/networking/howto-tls-termination/snippets/tls-termination-data.bicep index 2048438b0..f8d5abcaf 100644 --- a/docs/content/guides/author-apps/networking/howto-tls-termination/snippets/tls-termination-data.bicep +++ b/docs/content/guides/author-apps/networking/howto-tls-termination/snippets/tls-termination-data.bicep @@ -11,14 +11,14 @@ param tlscrt string @secure() param tlskey string -resource httpsApplication 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource httpsApplication 'Applications.Core/applications@2023-10-01-preview' = { name: 'https-application' properties: { environment: environment } } -resource httpsSecretStore 'Applications.Core/secretStores@2022-03-15-privatepreview' = { +resource httpsSecretStore 'Applications.Core/secretStores@2023-10-01-preview' = { name: 'https-secretstore' properties: { application: httpsApplication.id @@ -36,7 +36,7 @@ resource httpsSecretStore 'Applications.Core/secretStores@2022-03-15-privateprev } } -resource httpsGateway 'Applications.Core/gateways@2022-03-15-privatepreview' = { +resource httpsGateway 'Applications.Core/gateways@2023-10-01-preview' = { name: 'https-gateway' properties: { application: httpsApplication.id @@ -56,14 +56,14 @@ resource httpsGateway 'Applications.Core/gateways@2022-03-15-privatepreview' = { } } -resource httpsRoute 'Applications.Core/httpRoutes@2022-03-15-privatepreview' = { +resource httpsRoute 'Applications.Core/httpRoutes@2023-10-01-preview' = { name: 'https-route' properties: { application: httpsApplication.id } } -resource httpsContainer 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource httpsContainer 'Applications.Core/containers@2023-10-01-preview' = { name: 'https-container' properties: { application: httpsApplication.id diff --git a/docs/content/guides/author-apps/networking/howto-tls-termination/snippets/tls-termination-k8s-secret.bicep b/docs/content/guides/author-apps/networking/howto-tls-termination/snippets/tls-termination-k8s-secret.bicep index 2d8a7c076..73888fb75 100644 --- a/docs/content/guides/author-apps/networking/howto-tls-termination/snippets/tls-termination-k8s-secret.bicep +++ b/docs/content/guides/author-apps/networking/howto-tls-termination/snippets/tls-termination-k8s-secret.bicep @@ -3,14 +3,14 @@ import radius as radius @description('ID of your Radius environment. Passed in automatically by rad CLI') param environment string -resource httpsApplication 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource httpsApplication 'Applications.Core/applications@2023-10-01-preview' = { name: 'https-application' properties: { environment: environment } } -resource httpsSecretStore 'Applications.Core/secretStores@2022-03-15-privatepreview' = { +resource httpsSecretStore 'Applications.Core/secretStores@2023-10-01-preview' = { name: 'https-secretstore' properties: { application: httpsApplication.id @@ -25,7 +25,7 @@ resource httpsSecretStore 'Applications.Core/secretStores@2022-03-15-privateprev } } -resource httpsGateway 'Applications.Core/gateways@2022-03-15-privatepreview' = { +resource httpsGateway 'Applications.Core/gateways@2023-10-01-preview' = { name: 'https-gateway' properties: { application: httpsApplication.id @@ -45,14 +45,14 @@ resource httpsGateway 'Applications.Core/gateways@2022-03-15-privatepreview' = { } } -resource httpsRoute 'Applications.Core/httpRoutes@2022-03-15-privatepreview' = { +resource httpsRoute 'Applications.Core/httpRoutes@2023-10-01-preview' = { name: 'https-route' properties: { application: httpsApplication.id } } -resource httpsContainer 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource httpsContainer 'Applications.Core/containers@2023-10-01-preview' = { name: 'https-container' properties: { application: httpsApplication.id diff --git a/docs/content/guides/author-apps/networking/overview/snippets/networking-sslpassthrough.bicep b/docs/content/guides/author-apps/networking/overview/snippets/networking-sslpassthrough.bicep index f0d087121..d7aac2b0d 100644 --- a/docs/content/guides/author-apps/networking/overview/snippets/networking-sslpassthrough.bicep +++ b/docs/content/guides/author-apps/networking/overview/snippets/networking-sslpassthrough.bicep @@ -2,14 +2,14 @@ import radius as radius param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: environment } } -resource httpRoute 'Applications.Core/httpRoutes@2022-03-15-privatepreview' = { +resource httpRoute 'Applications.Core/httpRoutes@2023-10-01-preview' = { name: 'http-route' properties: { application: app.id @@ -17,7 +17,7 @@ resource httpRoute 'Applications.Core/httpRoutes@2022-03-15-privatepreview' = { } //GATEWAY -resource internetGateway 'Applications.Core/gateways@2022-03-15-privatepreview' = { +resource internetGateway 'Applications.Core/gateways@2023-10-01-preview' = { name: 'internet-gateway' properties: { application: app.id diff --git a/docs/content/guides/author-apps/networking/overview/snippets/networking-tlstermination.bicep b/docs/content/guides/author-apps/networking/overview/snippets/networking-tlstermination.bicep index 957922a8c..3d342c005 100644 --- a/docs/content/guides/author-apps/networking/overview/snippets/networking-tlstermination.bicep +++ b/docs/content/guides/author-apps/networking/overview/snippets/networking-tlstermination.bicep @@ -3,14 +3,14 @@ import radius as radius @description('The ID of your Radius environment. Set automatically by the rad CLI.') param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: environment } } -resource httpRoute 'Applications.Core/httpRoutes@2022-03-15-privatepreview' = { +resource httpRoute 'Applications.Core/httpRoutes@2023-10-01-preview' = { name: 'http-route' properties: { application: app.id @@ -18,7 +18,7 @@ resource httpRoute 'Applications.Core/httpRoutes@2022-03-15-privatepreview' = { } //GATEWAY -resource internetGateway 'Applications.Core/gateways@2022-03-15-privatepreview' = { +resource internetGateway 'Applications.Core/gateways@2023-10-01-preview' = { name: 'internet-gateway' properties: { application: app.id @@ -43,7 +43,7 @@ resource internetGateway 'Applications.Core/gateways@2022-03-15-privatepreview' } // secretstore resource to reference the TLS certficate and key. -resource wwwRadiusTLS 'Applications.Core/secretStores@2022-03-15-privatepreview' = { +resource wwwRadiusTLS 'Applications.Core/secretStores@2023-10-01-preview' = { name: 'tls-wwwradius' properties: { application: app.id diff --git a/docs/content/guides/author-apps/networking/overview/snippets/networking.bicep b/docs/content/guides/author-apps/networking/overview/snippets/networking.bicep index 1deb5f8db..c32062342 100644 --- a/docs/content/guides/author-apps/networking/overview/snippets/networking.bicep +++ b/docs/content/guides/author-apps/networking/overview/snippets/networking.bicep @@ -2,14 +2,14 @@ import radius as radius param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: environment } } -resource serviceA 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource serviceA 'Applications.Core/containers@2023-10-01-preview' = { name: 'service-a' properties: { application: app.id @@ -34,21 +34,21 @@ resource serviceA 'Applications.Core/containers@2022-03-15-privatepreview' = { } } -resource routeAWeb 'Applications.Core/httpRoutes@2022-03-15-privatepreview' = { +resource routeAWeb 'Applications.Core/httpRoutes@2023-10-01-preview' = { name: 'route-a-web' properties: { application: app.id } } -resource routeAApi 'Applications.Core/httpRoutes@2022-03-15-privatepreview' = { +resource routeAApi 'Applications.Core/httpRoutes@2023-10-01-preview' = { name: 'route-a-api' properties: { application: app.id } } -resource serviceB 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource serviceB 'Applications.Core/containers@2023-10-01-preview' = { name: 'service-b' properties: { application: app.id @@ -69,14 +69,14 @@ resource serviceB 'Applications.Core/containers@2022-03-15-privatepreview' = { } } -resource routeB 'Applications.Core/httpRoutes@2022-03-15-privatepreview' = { +resource routeB 'Applications.Core/httpRoutes@2023-10-01-preview' = { name: 'route-b' properties: { application: app.id } } -resource internetGateway 'Applications.Core/gateways@2022-03-15-privatepreview' = { +resource internetGateway 'Applications.Core/gateways@2023-10-01-preview' = { name: 'internet-gateway' properties: { application: app.id diff --git a/docs/content/guides/author-apps/secrets/overview/snippets/secretstore.bicep b/docs/content/guides/author-apps/secrets/overview/snippets/secretstore.bicep index 3db1bb36a..c618801a4 100644 --- a/docs/content/guides/author-apps/secrets/overview/snippets/secretstore.bicep +++ b/docs/content/guides/author-apps/secrets/overview/snippets/secretstore.bicep @@ -11,7 +11,7 @@ param tlscrt string @secure() param tlskey string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'corerp-resources-secretstore' properties: { environment: environment @@ -19,7 +19,7 @@ resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { } //SECRET_STORE_NEW -resource appCert 'Applications.Core/secretStores@2022-03-15-privatepreview' = { +resource appCert 'Applications.Core/secretStores@2023-10-01-preview' = { name: 'appcert' properties:{ application: app.id @@ -37,7 +37,7 @@ resource appCert 'Applications.Core/secretStores@2022-03-15-privatepreview' = { //SECRET_STORE_NEW //SECRET_STORE_REF -resource existingAppCert 'Applications.Core/secretStores@2022-03-15-privatepreview' = { +resource existingAppCert 'Applications.Core/secretStores@2023-10-01-preview' = { name: 'existing-appcert' properties:{ application: app.id diff --git a/docs/content/guides/deploy-apps/environments/overview/snippets/environment.bicep b/docs/content/guides/deploy-apps/environments/overview/snippets/environment.bicep index 414c31724..5f0c9ce4b 100644 --- a/docs/content/guides/deploy-apps/environments/overview/snippets/environment.bicep +++ b/docs/content/guides/deploy-apps/environments/overview/snippets/environment.bicep @@ -1,7 +1,7 @@ import radius as rad //ENV -resource environment 'Applications.Core/environments@2022-03-15-privatepreview' = { +resource environment 'Applications.Core/environments@2023-10-01-preview' = { name: 'myenv' properties: { compute: { diff --git a/docs/content/guides/deploy-apps/howto-deploy/howto-deploy-cicd/snippets/app.bicep b/docs/content/guides/deploy-apps/howto-deploy/howto-deploy-cicd/snippets/app.bicep index 4c16fb9d7..145ebd9a4 100644 --- a/docs/content/guides/deploy-apps/howto-deploy/howto-deploy-cicd/snippets/app.bicep +++ b/docs/content/guides/deploy-apps/howto-deploy/howto-deploy-cicd/snippets/app.bicep @@ -2,7 +2,7 @@ import radius as rad param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: environment diff --git a/docs/content/guides/deploy-apps/howto-deploy/howto-deploy-cicd/snippets/env.bicep b/docs/content/guides/deploy-apps/howto-deploy/howto-deploy-cicd/snippets/env.bicep index c918422c5..20e71840e 100644 --- a/docs/content/guides/deploy-apps/howto-deploy/howto-deploy-cicd/snippets/env.bicep +++ b/docs/content/guides/deploy-apps/howto-deploy/howto-deploy-cicd/snippets/env.bicep @@ -1,6 +1,6 @@ import radius as rad -resource environment 'Applications.Core/environments@2022-03-15-privatepreview' = { +resource environment 'Applications.Core/environments@2023-10-01-preview' = { name: 'myenv' properties: { compute: { diff --git a/docs/content/guides/operations/control-plane/howto-postman/index.md b/docs/content/guides/operations/control-plane/howto-postman/index.md index ad90dcc4d..8e57f1b6c 100644 --- a/docs/content/guides/operations/control-plane/howto-postman/index.md +++ b/docs/content/guides/operations/control-plane/howto-postman/index.md @@ -127,7 +127,7 @@ Next, you'll need to get the control plane API endpoint and use Postman to inter 1. Update your request URL to [list all the Radius environments]({{< ref api-environments >}}) in your resource group (_make sure to update the name of your resource group in the URL. In this example the resource group name is default_): ``` - /apis/api.ucp.dev/v1alpha3/planes/radius/local/resourcegroups/default/providers/Applications.Core/environments?api-version=2022-03-15-privatepreview + /apis/api.ucp.dev/v1alpha3/planes/radius/local/resourcegroups/default/providers/Applications.Core/environments?api-version=2023-10-01-preview ``` You should now see your Radius environment(s): diff --git a/docs/content/guides/operations/control-plane/observability/logging/fluentd/index.md b/docs/content/guides/operations/control-plane/observability/logging/fluentd/index.md index eec52a7aa..8babf8e80 100644 --- a/docs/content/guides/operations/control-plane/observability/logging/fluentd/index.md +++ b/docs/content/guides/operations/control-plane/observability/logging/fluentd/index.md @@ -10,7 +10,7 @@ tags: ["logs","observability"] ## Prerequisites -- [Supported Kubernetes cluster]({{< ref supported-clusters >}}) +- [Supported Kubernetes cluster]({{< ref "/guides/operations/kubernetes/overview#supported-clusters" >}}) - [kubectl](https://kubernetes.io/docs/tasks/tools/) - [Helm 3](https://helm.sh/) diff --git a/docs/content/guides/operations/control-plane/observability/metrics/prometheus/index.md b/docs/content/guides/operations/control-plane/observability/metrics/prometheus/index.md index d46f7d20d..660b4e91f 100644 --- a/docs/content/guides/operations/control-plane/observability/metrics/prometheus/index.md +++ b/docs/content/guides/operations/control-plane/observability/metrics/prometheus/index.md @@ -14,7 +14,7 @@ tags: ["metrics", "observability"] 1. Make sure you have the following pre-requisites: - - [Supported Kubernetes cluster]({{< ref supported-clusters >}}) + - [Supported Kubernetes cluster]({{< ref "/guides/operations/kubernetes/overview#supported-clusters" >}}) - [kubectl](https://kubernetes.io/docs/tasks/tools/) - [Helm 3](https://helm.sh/) - [Radius control plane installed]({{< ref kubernetes-install >}}) diff --git a/docs/content/guides/operations/groups/_index.md b/docs/content/guides/operations/groups/_index.md new file mode 100644 index 000000000..0d01fa5e0 --- /dev/null +++ b/docs/content/guides/operations/groups/_index.md @@ -0,0 +1,7 @@ +--- +type: docs +title: "Resource groups" +linkTitle: "Resource groups" +description: "Manage collections of resources with resource groups" +weight: 600 +--- diff --git a/docs/content/guides/operations/groups/howto-resourcegroups/index.md b/docs/content/guides/operations/groups/howto-resourcegroups/index.md new file mode 100644 index 000000000..5ab4a4681 --- /dev/null +++ b/docs/content/guides/operations/groups/howto-resourcegroups/index.md @@ -0,0 +1,89 @@ +--- +type: docs +title: "How-To: Manage resource groups" +linkTitle: "Manage groups" +description: "Learn how to manage resource groups in Radius" +weight: 200 +--- + +This guide will walk you through the process of managing resource groups in Radius. For more information on resource groups, see [Resource groups]({{< ref groups >}}). + +## Pre-requisites + +- [Supported Kubernetes cluster]({{< ref "/guides/operations/kubernetes/overview#supported-clusters" >}}) +- [Radius CLI]({{< ref howto-rad-cli >}}) + +## Step 1: Ensure Radius is installed + +Begin by making sure that Radius is installed on your Kubernetes cluster: + +```bash +rad install kubernetes +``` + +## Step 2: Create a resource group + +Run [`rad group create`]({{< ref rad_group_create >}}) to create a resource group: + +```bash +rad group create myGroup +``` + +You should see: + +``` +creating resource group "myGroup" in namespace "default"... + +resource group "myGroup" created +``` + +## Step 3: View your resource group + +Run [`rad group show`]({{< ref rad_group_show >}}) to view the your resource group: + +```bash +rad group show myGroup +``` + +You should see: + +``` +ID NAME +/planes/radius/local/resourcegroups/myGroup myGroup +``` + +You can use the `-o json` flag to view more information about the resource group: + +```bash +rad group show -o json +``` + +You should see: + +``` +{ + "id": "/planes/radius/local/resourcegroups/myGroup", + "location": "global", + "name": "myGroup", + "tags": {}, + "type": "System.Resources/resourceGroups", +} +``` + +## Step 4: Set your resource group as the default + +Setting a default resource group allows you to run commands like `rad deploy` without specifying the `-g/--group` flag explicitly every time. Run [`rad group switch`]({{< ref rad_group_switch >}}) to set your new resource group as the default: + +```bash +rad group switch myGroup +``` + +You can now run `rad deploy` or `rad recipe list` without needing to specify the group. + +## Step 5: Delete your resource group + +Run [`rad group delete`]({{< ref rad_group_delete >}}) to delete a resource group: + +```bash +rad group delete myGroup +``` diff --git a/docs/content/guides/operations/control-plane/groups/group-diagram.png b/docs/content/guides/operations/groups/overview/group-diagram.png similarity index 100% rename from docs/content/guides/operations/control-plane/groups/group-diagram.png rename to docs/content/guides/operations/groups/overview/group-diagram.png diff --git a/docs/content/guides/operations/control-plane/groups/group.svg b/docs/content/guides/operations/groups/overview/group.svg similarity index 100% rename from docs/content/guides/operations/control-plane/groups/group.svg rename to docs/content/guides/operations/groups/overview/group.svg diff --git a/docs/content/guides/operations/control-plane/groups/index.md b/docs/content/guides/operations/groups/overview/index.md similarity index 94% rename from docs/content/guides/operations/control-plane/groups/index.md rename to docs/content/guides/operations/groups/overview/index.md index 452be5f59..675f90e3a 100644 --- a/docs/content/guides/operations/control-plane/groups/index.md +++ b/docs/content/guides/operations/groups/overview/index.md @@ -1,8 +1,8 @@ --- type: docs -title: "Resource groups" -linkTitle: "Resource groups" -description: "Manage collections of resources with resource groups" +title: "Overview: Resource groups" +linkTitle: "Overview" +description: "Learn how to manage collections of resources with resource groups" weight: 100 --- diff --git a/docs/content/guides/operations/kubernetes/_index.md b/docs/content/guides/operations/kubernetes/_index.md index bd6df30b7..7853afc35 100644 --- a/docs/content/guides/operations/kubernetes/_index.md +++ b/docs/content/guides/operations/kubernetes/_index.md @@ -4,5 +4,4 @@ title: "Kubernetes platform" linkTitle: "Kubernetes" description: "Learn how Radius can run on Kubernetes" weight: 10 -tags: ["Kubernetes"] --- diff --git a/docs/content/guides/operations/kubernetes/kubernetes-install.md b/docs/content/guides/operations/kubernetes/kubernetes-install.md index 59e1692f2..3306323ba 100644 --- a/docs/content/guides/operations/kubernetes/kubernetes-install.md +++ b/docs/content/guides/operations/kubernetes/kubernetes-install.md @@ -1,6 +1,6 @@ --- type: docs -title: "Install Radius on Kubernetes" +title: "How-To: Install Radius on Kubernetes" linkTitle: "Installation" description: "Learn how to setup Radius on supported Kubernetes clusters" weight: 200 diff --git a/docs/content/guides/operations/kubernetes/kubernetes-mapping/index.md b/docs/content/guides/operations/kubernetes/kubernetes-mapping/index.md deleted file mode 100644 index 77989016f..000000000 --- a/docs/content/guides/operations/kubernetes/kubernetes-mapping/index.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -type: docs -title: "Radius resource to Kubernetes object mapping" -linkTitle: "Resource mapping" -description: "Learn how Radius resources map to Kubernetes objects" -weight: 200 -slug: "resource-mapping" -categories: "Concept" -tags: ["Kubernetes"] ---- - -When deploying resources such as a containers to environments running on Kubernetes, Radius will map these resources into one or more Kubernetes objects. This page describes these mappings and naming conventions. - -Diagram showing Radius resources being mapped to Kubernetes objects - -## Namespace mapping - -Application-scoped resources are by default generated in a new Kubernetes namespace with the name format `-'`. This prevents multiple applications with resources of the same name from conflicting with each other. - -For example, let's take an application named `'myapp'` with a container named `'frontend'`. This application is deployed into an environment configured with with the `'default'` namespace. A Kubernetes Deployment named `'frontend'` is now deployed into the namespace `'default-myapp'`. - -If you wish to override the default behavior and specify your own namespace for application resources to be generated into, you can leverage the [`kubernetesNamespace` application extension]({{< ref "application-schema#kubernetesNamespace" >}}). All application-scoped resources will now be deployed into this namespace instead. - -## Resource mapping - -The following resources map to Kubernetes objects: - -| Radius resource | Kubernetes object | -|----------------------------------|-------------------| -| [`Applications.Core/containers`]({{< ref container-schema >}}) | `apps/Deployment@v1` | -| [`Applications.Core/httpRoutes`]({{< ref httproute >}}) | `core/Service@v1` | -| [`Applications.Core/gateways`]({{< ref gateway >}}) | `projectcontour.io/HTTPProxy@v1` | -| [`Applications.Dapr/pubSubBrokers`]({{< ref dapr-pubsub >}}) | `dapr.io/Component@v1alpha1` | -| [`Applications.Dapr/secretStores`]({{< ref dapr-secretstore >}}) | `dapr.io/Component@v1alpha1` | -| [`Applications.Dapr/stateStores`]({{< ref dapr-statestore >}}) | `dapr.io/Component@v1alpha1` | - -## Resource naming - -Resources that are generated in Kubernetes use the same name as the resource in Radius. For example, a Radius container named 'frontend' will map to a Kubernetes Deployment named 'frontend'. This makes it easy to conceptually map between Radius and Kubernetes resources. - -For multiple Radius resources that map to a single Kubernetes resources (_i.e. daprPubSubBrokers, daprSecretStores, and daprStateStores all map to a dapr.io/Component_), when there are collisions in naming Radius has conflict logic to allow the first resource to be deployed, but throw a warning for subsequent resource deployments that have the same name. This prevents Radius resources unintentionally overwriting the same generated resource. diff --git a/docs/content/guides/operations/kubernetes/kubernetes-metadata/index.md b/docs/content/guides/operations/kubernetes/kubernetes-metadata/index.md index adb56bc2d..57db8eefa 100644 --- a/docs/content/guides/operations/kubernetes/kubernetes-metadata/index.md +++ b/docs/content/guides/operations/kubernetes/kubernetes-metadata/index.md @@ -38,7 +38,7 @@ You can set labels and annotations on an environment, application, or container ## Cascading metadata -Kubernetes metadata can be applied at the environment, application, or container layers. Metadata cascades down from the environment to the application to the containers, gateway and route resources. For example, you can set labels and annotations at an environment level and all containers within the environment will gain these labels and annotation, without the need for an explicit extension on the containers. The following resources will gain the Kubernetes metadata for their [output resources]({{< ref kubernetes-mapping >}}) from labels, annotations set at Environment, Application levels: +Kubernetes metadata can be applied at the environment, application, or container layers. Metadata cascades down from the environment to the application to the containers, gateway and route resources. For example, you can set labels and annotations at an environment level and all containers within the environment will gain these labels and annotation, without the need for an explicit extension on the containers. The following resources will gain the Kubernetes metadata for their [output resources]({{< ref "/guides/operations/kubernetes/overview#resource-mapping" >}}) from labels, annotations set at Environment, Application levels: - Applications.Core/containers - Applications.Core/httpRoutes diff --git a/docs/content/guides/operations/kubernetes/kubernetes-metadata/snippets/env.bicep b/docs/content/guides/operations/kubernetes/kubernetes-metadata/snippets/env.bicep index c5cc38638..06fc79a92 100644 --- a/docs/content/guides/operations/kubernetes/kubernetes-metadata/snippets/env.bicep +++ b/docs/content/guides/operations/kubernetes/kubernetes-metadata/snippets/env.bicep @@ -1,7 +1,7 @@ import radius as radius //ENV -resource env 'Applications.Core/environments@2022-03-15-privatepreview' = { +resource env 'Applications.Core/environments@2023-10-01-preview' = { name: 'myenv' properties: { compute: { @@ -22,7 +22,7 @@ resource env 'Applications.Core/environments@2022-03-15-privatepreview' = { //ENV //APP -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: env.id @@ -46,7 +46,7 @@ resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { //APP //CONTAINER -resource frontend 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource frontend 'Applications.Core/containers@2023-10-01-preview' = { name: 'frontend' properties: { application: app.id diff --git a/docs/content/guides/operations/kubernetes/supported-clusters.md b/docs/content/guides/operations/kubernetes/overview/index.md similarity index 57% rename from docs/content/guides/operations/kubernetes/supported-clusters.md rename to docs/content/guides/operations/kubernetes/overview/index.md index 390567eaa..740ec5447 100644 --- a/docs/content/guides/operations/kubernetes/supported-clusters.md +++ b/docs/content/guides/operations/kubernetes/overview/index.md @@ -1,20 +1,55 @@ --- type: docs -title: "Supported Kubernetes clusters" -linkTitle: "Supported clusters" -description: "Learn how to setup Radius on supported Kubernetes clusters" +title: "Overview: Radius on Kubernetes platform" +linkTitle: "Overview" +description: "Learn how Radius can run on Kubernetes" weight: 100 -categories: "How-To" -tags: ["Kubernetes", "control plane"] -aliases: - - /operations/kubernetes/supported-clusters/ +categories: ["Overview"] +tags: ["Kubernetes"] --- -## Minimum version +Radius offers a Kubernetes-based platform for hosting the [Radius control plane]({{< ref "/guides/operations/control-plane" >}}) and [Radius environments]({{< ref "/guides/deploy-apps/environments/overview" >}}). + +Diagram showing Radius resources being mapped to Kubernetes objects + +## Supported Kubernetes versions Kubernetes version `1.23.8` or higher is recommended to run Radius. -## Supported clusters +## Resource mapping + +Radius resources, when deployed to a Kubernetes environment, are mapped to one or more Kubernetes objects. The following table describes the mapping between Radius resources and Kubernetes objects: + +| Radius resource | Kubernetes object | +|----------------------------------|-------------------| +| [`Applications.Core/containers`]({{< ref container-schema >}}) | `apps/Deployment@v1` | +| [`Applications.Core/httpRoutes`]({{< ref httproute >}}) | `core/Service@v1` | +| [`Applications.Core/gateways`]({{< ref gateway >}}) | `projectcontour.io/HTTPProxy@v1` | +| [`Applications.Dapr/pubSubBrokers`]({{< ref dapr-pubsub >}}) | `dapr.io/Component@v1alpha1` | +| [`Applications.Dapr/secretStores`]({{< ref dapr-secretstore >}}) | `dapr.io/Component@v1alpha1` | +| [`Applications.Dapr/stateStores`]({{< ref dapr-statestore >}}) | `dapr.io/Component@v1alpha1` | + +### Namespace mapping + +Application-scoped resources are by default generated in a new Kubernetes namespace with the name format `'-'`. This prevents multiple applications with resources of the same name from conflicting with each other. + +For example, let's take an application named `'myapp'` with a container named `'frontend'`. This application is deployed into an environment configured with with the `'default'` namespace. A Kubernetes Deployment named `'frontend'` is now deployed into the namespace `'default-myapp'`. + +If you wish to override the default behavior and specify your own namespace for application resources to be generated into, you can leverage the [`kubernetesNamespace` application extension]({{< ref "application-schema#kubernetesNamespace" >}}). All application-scoped resources will now be deployed into this namespace instead. + +### Resource naming + +Resources that are generated in Kubernetes use the same name as the resource in Radius. For example, a Radius container named 'frontend' will map to a Kubernetes Deployment named `'frontend'`. This makes it easy to conceptually map between Radius and Kubernetes resources. + +For multiple Radius resources that map to a single Kubernetes resource (_e.g. daprPubSubBrokers, daprSecretStores, and daprStateStores all map to a dapr.io/Component_) and there are collisions in naming, Radius has conflict logic to allow the first resource to be deployed but will throw a warning for subsequent resource deployments that have the same name. This prevents Radius resources from unintentionally overwriting the same generated resource. + +## Kubernetes metadata + +Radius environments, applications, and resources can be annotated/labeled with Kubernetes metadata. Refer to the Kubernetes metadata page for more information: + +{{< button text="Kubernetes metadata" page="kubernetes-metadata" >}} + +## Supported Kubernetes clusters The following clusters have been tested and validated to ensure they support all of the features of Radius: diff --git a/docs/content/guides/operations/kubernetes/kubernetes-mapping/kubernetes-mapping.png b/docs/content/guides/operations/kubernetes/overview/kubernetes-mapping.png similarity index 100% rename from docs/content/guides/operations/kubernetes/kubernetes-mapping/kubernetes-mapping.png rename to docs/content/guides/operations/kubernetes/overview/kubernetes-mapping.png diff --git a/docs/content/guides/operations/providers/howto-aws-provider/index.md b/docs/content/guides/operations/providers/howto-aws-provider/index.md index bae7b513c..f273d3bf3 100644 --- a/docs/content/guides/operations/providers/howto-aws-provider/index.md +++ b/docs/content/guides/operations/providers/howto-aws-provider/index.md @@ -14,7 +14,7 @@ The AWS provider allows you to deploy and connect to AWS resources from a Radius ## Prerequisites -- [EKS cluster]({{< ref "guides/operations/kubernetes/supported-clusters" >}}) +- [EKS cluster]({{< ref "/guides/operations/kubernetes/overview#supported-clusters" >}}) - [AWS account](https://aws.amazon.com/premiumsupport/knowledge-center/create-and-activate-aws-account) and an [IAM user](https://docs.aws.amazon.com/IAM/latest/UserGuide/getting-started_create-admin-group.html) - [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html) diff --git a/docs/content/guides/recipes/howto-author-recipes/index.md b/docs/content/guides/recipes/howto-author-recipes/index.md index 7e60c45b1..5599d81a6 100644 --- a/docs/content/guides/recipes/howto-author-recipes/index.md +++ b/docs/content/guides/recipes/howto-author-recipes/index.md @@ -127,7 +127,7 @@ Now that your Recipe template has been stored, you can add it your Radius enviro {{% codetab %}} ```bash -rad recipe register myrecipe --environment myenv --link-type Applications.Datastores/redisCaches --template-kind bicep --template-path myregistry.azurecr.io/recipes/myrecipe:1.1.0 +rad recipe register myrecipe --environment myenv --resource-type Applications.Datastores/redisCaches --template-kind bicep --template-path myregistry.azurecr.io/recipes/myrecipe:1.1.0 ``` {{% /codetab %}} @@ -137,7 +137,7 @@ rad recipe register myrecipe --environment myenv --link-type Applications.Datast The template path value should represent the source path found in your Terraform module registry. ```bash -rad recipe register myrecipe --environment myenv --link-type Applications.Datastores/redisCaches --template-kind terraform --template-path user/recipes/myrecipe --template-version "1.1.0" +rad recipe register myrecipe --environment myenv --resource-type Applications.Datastores/redisCaches --template-kind terraform --template-path user/recipes/myrecipe --template-version "1.1.0" ``` {{% /codetab %}} diff --git a/docs/content/guides/recipes/howto-author-recipes/snippets/environment.bicep b/docs/content/guides/recipes/howto-author-recipes/snippets/environment.bicep index 781ebcfda..0f9307deb 100644 --- a/docs/content/guides/recipes/howto-author-recipes/snippets/environment.bicep +++ b/docs/content/guides/recipes/howto-author-recipes/snippets/environment.bicep @@ -1,6 +1,6 @@ import radius as radius -resource env 'Applications.Core/environments@2022-03-15-privatepreview' = { +resource env 'Applications.Core/environments@2023-10-01-preview' = { name: 'prod' properties: { compute: { diff --git a/docs/content/guides/recipes/overview/snippets/recipe-link-example.bicep b/docs/content/guides/recipes/overview/snippets/recipe-link-example.bicep index 79e024c22..e776370c6 100644 --- a/docs/content/guides/recipes/overview/snippets/recipe-link-example.bicep +++ b/docs/content/guides/recipes/overview/snippets/recipe-link-example.bicep @@ -3,7 +3,7 @@ param environment string param application string //BASIC -resource redis 'Applications.Datastores/redisCaches@2022-03-15-privatepreview'= { +resource redis 'Applications.Datastores/redisCaches@2023-10-01-preview'= { name: 'myresource' properties: { environment: environment @@ -17,7 +17,7 @@ resource redis 'Applications.Datastores/redisCaches@2022-03-15-privatepreview'= //PARAMETERS -resource redisParam 'Applications.Datastores/redisCaches@2022-03-15-privatepreview'= { +resource redisParam 'Applications.Datastores/redisCaches@2023-10-01-preview'= { name: 'myresource' properties: { environment: environment @@ -33,7 +33,7 @@ resource redisParam 'Applications.Datastores/redisCaches@2022-03-15-privateprevi //PARAMETERS //DEFAULT -resource redisDefault 'Applications.Datastores/redisCaches@2022-03-15-privatepreview'= { +resource redisDefault 'Applications.Datastores/redisCaches@2023-10-01-preview'= { name: 'myresource' properties: { environment: environment diff --git a/docs/content/reference/api/applications.core/api-applications.md b/docs/content/reference/api/applications.core/api-applications.md index 2dd2b387e..d86d9dd67 100644 --- a/docs/content/reference/api/applications.core/api-applications.md +++ b/docs/content/reference/api/applications.core/api-applications.md @@ -6,4 +6,4 @@ description: "Detailed reference documentation on the Applications.Core/applicat slug: "applications" --- -{{< redoc "swagger/specification/applications/resource-manager/Applications.Core/preview/2022-03-15-privatepreview/openapi.json" >}} +{{< redoc "swagger/specification/applications/resource-manager/Applications.Core/preview/2023-10-01-preview/openapi.json" >}} diff --git a/docs/content/reference/api/applications.core/api-containers.md b/docs/content/reference/api/applications.core/api-containers.md index f18af2d43..9809c7af5 100644 --- a/docs/content/reference/api/applications.core/api-containers.md +++ b/docs/content/reference/api/applications.core/api-containers.md @@ -6,4 +6,4 @@ description: "Detailed reference documentation on the Applications.Core/containe slug: "containers" --- -{{< redoc "swagger/specification/applications/resource-manager/Applications.Core/preview/2022-03-15-privatepreview/openapi.json" >}} +{{< redoc "swagger/specification/applications/resource-manager/Applications.Core/preview/2023-10-01-preview/openapi.json" >}} diff --git a/docs/content/reference/api/applications.core/api-environments.md b/docs/content/reference/api/applications.core/api-environments.md index e718a1e2f..cdbf2cc76 100644 --- a/docs/content/reference/api/applications.core/api-environments.md +++ b/docs/content/reference/api/applications.core/api-environments.md @@ -7,4 +7,4 @@ slug: "environments" --- -{{< redoc "swagger/specification/applications/resource-manager/Applications.Core/preview/2022-03-15-privatepreview/openapi.json" >}} +{{< redoc "swagger/specification/applications/resource-manager/Applications.Core/preview/2023-10-01-preview/openapi.json" >}} diff --git a/docs/content/reference/api/applications.core/api-extenders.md b/docs/content/reference/api/applications.core/api-extenders.md index deda96876..93c501608 100644 --- a/docs/content/reference/api/applications.core/api-extenders.md +++ b/docs/content/reference/api/applications.core/api-extenders.md @@ -6,4 +6,4 @@ description: "Detailed reference documentation on the Applications.Core/extender slug: "extenders" --- -{{< redoc "swagger/specification/applications/resource-manager/Applications.Core/preview/2022-03-15-privatepreview/openapi.json" >}} +{{< redoc "swagger/specification/applications/resource-manager/Applications.Core/preview/2023-10-01-preview/openapi.json" >}} diff --git a/docs/content/reference/api/applications.core/api-gateways.md b/docs/content/reference/api/applications.core/api-gateways.md index 563359874..81c4859fe 100644 --- a/docs/content/reference/api/applications.core/api-gateways.md +++ b/docs/content/reference/api/applications.core/api-gateways.md @@ -6,4 +6,4 @@ description: "Detailed reference documentation on the Applications.Core/gateways slug: "gateways" --- -{{< redoc "swagger/specification/applications/resource-manager/Applications.Core/preview/2022-03-15-privatepreview/openapi.json" >}} +{{< redoc "swagger/specification/applications/resource-manager/Applications.Core/preview/2023-10-01-preview/openapi.json" >}} diff --git a/docs/content/reference/api/applications.core/api-httproutes.md b/docs/content/reference/api/applications.core/api-httproutes.md index 38cedf0b3..4bddf57b8 100644 --- a/docs/content/reference/api/applications.core/api-httproutes.md +++ b/docs/content/reference/api/applications.core/api-httproutes.md @@ -6,4 +6,4 @@ description: "Detailed reference documentation on the Applications.Core/httpRout slug: "http-routes" --- -{{< redoc "swagger/specification/applications/resource-manager/Applications.Core/preview/2022-03-15-privatepreview/openapi.json" >}} +{{< redoc "swagger/specification/applications/resource-manager/Applications.Core/preview/2023-10-01-preview/openapi.json" >}} diff --git a/docs/content/reference/api/applications.core/api-secretstores.md b/docs/content/reference/api/applications.core/api-secretstores.md index dacd8d53d..7d3a29920 100644 --- a/docs/content/reference/api/applications.core/api-secretstores.md +++ b/docs/content/reference/api/applications.core/api-secretstores.md @@ -6,4 +6,4 @@ description: "Detailed reference documentation on the Applications.Core/secretSt slug: "secret-stores" --- -{{< redoc "swagger/specification/applications/resource-manager/Applications.Core/preview/2022-03-15-privatepreview/openapi.json" >}} +{{< redoc "swagger/specification/applications/resource-manager/Applications.Core/preview/2023-10-01-preview/openapi.json" >}} diff --git a/docs/content/reference/api/applications.core/api-volumes.md b/docs/content/reference/api/applications.core/api-volumes.md index 1e59b8758..5731acae2 100644 --- a/docs/content/reference/api/applications.core/api-volumes.md +++ b/docs/content/reference/api/applications.core/api-volumes.md @@ -6,4 +6,4 @@ description: "Detailed reference documentation on the Applications.Core/volumes slug: "volumes" --- -{{< redoc "swagger/specification/applications/resource-manager/Applications.Core/preview/2022-03-15-privatepreview/openapi.json" >}} +{{< redoc "swagger/specification/applications/resource-manager/Applications.Core/preview/2023-10-01-preview/openapi.json" >}} diff --git a/docs/content/reference/api/applications.dapr/_index.md b/docs/content/reference/api/applications.dapr/_index.md index a459a4580..dcfa31daa 100644 --- a/docs/content/reference/api/applications.dapr/_index.md +++ b/docs/content/reference/api/applications.dapr/_index.md @@ -5,4 +5,4 @@ linkTitle: "Applications.Dapr" description: "Detailed reference documentation on the Applications.Dapr API" --- -{{< redoc "swagger/specification/applications/resource-manager/Applications.Dapr/preview/2022-03-15-privatepreview/openapi.json" >}} +{{< redoc "swagger/specification/applications/resource-manager/Applications.Dapr/preview/2023-10-01-preview/openapi.json" >}} diff --git a/docs/content/reference/api/applications.dapr/api-pubsubbrokers.md b/docs/content/reference/api/applications.dapr/api-pubsubbrokers.md index 3bfd0b1f5..83c01cccd 100644 --- a/docs/content/reference/api/applications.dapr/api-pubsubbrokers.md +++ b/docs/content/reference/api/applications.dapr/api-pubsubbrokers.md @@ -6,4 +6,4 @@ description: "Detailed reference documentation on the Applications.Dapr/mongoDat slug: "pubSubBrokers" --- -{{< redoc "swagger/specification/applications/resource-manager/Applications.Dapr/preview/2022-03-15-privatepreview/openapi.json" >}} \ No newline at end of file +{{< redoc "swagger/specification/applications/resource-manager/Applications.Dapr/preview/2023-10-01-preview/openapi.json" >}} \ No newline at end of file diff --git a/docs/content/reference/api/applications.dapr/api-secretStores.md b/docs/content/reference/api/applications.dapr/api-secretStores.md index 7859e1507..758d42825 100644 --- a/docs/content/reference/api/applications.dapr/api-secretStores.md +++ b/docs/content/reference/api/applications.dapr/api-secretStores.md @@ -6,4 +6,4 @@ description: "Detailed reference documentation on the Applications.Dapr/secretSt slug: "secretStores" --- -{{< redoc "swagger/specification/applications/resource-manager/Applications.Dapr/preview/2022-03-15-privatepreview/openapi.json" >}} \ No newline at end of file +{{< redoc "swagger/specification/applications/resource-manager/Applications.Dapr/preview/2023-10-01-preview/openapi.json" >}} \ No newline at end of file diff --git a/docs/content/reference/api/applications.dapr/api-stateStores.md b/docs/content/reference/api/applications.dapr/api-stateStores.md index fa47af2ab..1c2166e08 100644 --- a/docs/content/reference/api/applications.dapr/api-stateStores.md +++ b/docs/content/reference/api/applications.dapr/api-stateStores.md @@ -6,4 +6,4 @@ description: "Detailed reference documentation on the Applications.Dapr/stateSto slug: "stateStores" --- -{{< redoc "swagger/specification/applications/resource-manager/Applications.Dapr/preview/2022-03-15-privatepreview/openapi.json" >}} \ No newline at end of file +{{< redoc "swagger/specification/applications/resource-manager/Applications.Dapr/preview/2023-10-01-preview/openapi.json" >}} \ No newline at end of file diff --git a/docs/content/reference/api/applications.datastores/_index.md b/docs/content/reference/api/applications.datastores/_index.md index 0b55c56a7..997dfb13e 100644 --- a/docs/content/reference/api/applications.datastores/_index.md +++ b/docs/content/reference/api/applications.datastores/_index.md @@ -5,4 +5,4 @@ linkTitle: "Applications.Datastores" description: "Detailed reference documentation on the Applications.Datastores API" --- -{{< redoc "swagger/specification/applications/resource-manager/Applications.Datastores/preview/2022-03-15-privatepreview/openapi.json" >}} +{{< redoc "swagger/specification/applications/resource-manager/Applications.Datastores/preview/2023-10-01-preview/openapi.json" >}} diff --git a/docs/content/reference/api/applications.datastores/api-mongodatabases.md b/docs/content/reference/api/applications.datastores/api-mongodatabases.md index 6aa3068ec..022eb2eef 100644 --- a/docs/content/reference/api/applications.datastores/api-mongodatabases.md +++ b/docs/content/reference/api/applications.datastores/api-mongodatabases.md @@ -6,4 +6,4 @@ description: "Detailed reference documentation on the Applications.Datastores/mo slug: "mongoDatabases" --- -{{< redoc "swagger/specification/applications/resource-manager/Applications.Datastores/preview/2022-03-15-privatepreview/openapi.json" >}} \ No newline at end of file +{{< redoc "swagger/specification/applications/resource-manager/Applications.Datastores/preview/2023-10-01-preview/openapi.json" >}} \ No newline at end of file diff --git a/docs/content/reference/api/applications.datastores/api-rediscaches.md b/docs/content/reference/api/applications.datastores/api-rediscaches.md index f9eb5813d..461887bdb 100644 --- a/docs/content/reference/api/applications.datastores/api-rediscaches.md +++ b/docs/content/reference/api/applications.datastores/api-rediscaches.md @@ -6,4 +6,4 @@ description: "Detailed reference documentation on the Applications.Datastores/re slug: "redisCaches" --- -{{< redoc "swagger/specification/applications/resource-manager/Applications.Datastores/preview/2022-03-15-privatepreview/openapi.json" >}} \ No newline at end of file +{{< redoc "swagger/specification/applications/resource-manager/Applications.Datastores/preview/2023-10-01-preview/openapi.json" >}} \ No newline at end of file diff --git a/docs/content/reference/api/applications.datastores/api-sqldatabases.md b/docs/content/reference/api/applications.datastores/api-sqldatabases.md index 3bfa3885a..9c727c2f0 100644 --- a/docs/content/reference/api/applications.datastores/api-sqldatabases.md +++ b/docs/content/reference/api/applications.datastores/api-sqldatabases.md @@ -6,4 +6,4 @@ description: "Detailed reference documentation on the Applications.Datastores/sq slug: "sqlDatabases" --- -{{< redoc "swagger/specification/applications/resource-manager/Applications.Datastores/preview/2022-03-15-privatepreview/openapi.json" >}} \ No newline at end of file +{{< redoc "swagger/specification/applications/resource-manager/Applications.Datastores/preview/2023-10-01-preview/openapi.json" >}} \ No newline at end of file diff --git a/docs/content/reference/api/applications.messaging/_index.md b/docs/content/reference/api/applications.messaging/_index.md index 645c789ed..9eae15c61 100644 --- a/docs/content/reference/api/applications.messaging/_index.md +++ b/docs/content/reference/api/applications.messaging/_index.md @@ -5,4 +5,4 @@ linkTitle: "Applications.Messaging" description: "Detailed reference documentation on the Applications.Messaging API" --- -{{< redoc "swagger/specification/applications/resource-manager/Applications.Messaging/preview/2022-03-15-privatepreview/openapi.json" >}} +{{< redoc "swagger/specification/applications/resource-manager/Applications.Messaging/preview/2023-10-01-preview/openapi.json" >}} diff --git a/docs/content/reference/api/applications.messaging/api-rabbitmqqueues.md b/docs/content/reference/api/applications.messaging/api-rabbitmqqueues.md index 0b6ca0385..1a845c129 100644 --- a/docs/content/reference/api/applications.messaging/api-rabbitmqqueues.md +++ b/docs/content/reference/api/applications.messaging/api-rabbitmqqueues.md @@ -6,4 +6,4 @@ description: "Detailed reference documentation on the Applications.Messaging/rab slug: "rabbitmqQueues" --- -{{< redoc "swagger/specification/applications/resource-manager/Applications.Messaging/preview/2022-03-15-privatepreview/openapi.json" >}} \ No newline at end of file +{{< redoc "swagger/specification/applications/resource-manager/Applications.Messaging/preview/2023-10-01-preview/openapi.json" >}} \ No newline at end of file diff --git a/docs/content/reference/cli/rad_resource_list.md b/docs/content/reference/cli/rad_resource_list.md index 04c967855..066cbc603 100644 --- a/docs/content/reference/cli/rad_resource_list.md +++ b/docs/content/reference/cli/rad_resource_list.md @@ -22,7 +22,7 @@ rad resource list [resourceType] [flags] ``` - sample list of resourceType: containers, gateways, httpRoutes, daprPubSubBrokers, extenders, mongoDatabases, rabbitMQMessageQueues, redisCaches, sqlDatabases, daprStateStores, daprSecretStores + sample list of resourceType: containers, gateways, httpRoutes, pubSubBrokers, extenders, mongoDatabases, rabbitMQMessageQueues, redisCaches, sqlDatabases, stateStores, secretStores # list all resources of a specified type in the default environment diff --git a/docs/content/reference/context-schema/index.md b/docs/content/reference/context-schema/index.md index 6c26b4d9c..52a44872f 100644 --- a/docs/content/reference/context-schema/index.md +++ b/docs/content/reference/context-schema/index.md @@ -90,5 +90,5 @@ The `context` object is automatically injected to Bicep templates when a Recipe | Key | Type | Description | |-----|------|-------------| -| [`region`] | string | Represents the region where AWS resources are deployed. -| [`account`] | string | Represents the account id of the AWS account. +| `region` | string | Represents the region where AWS resources are deployed. +| `account` | string | Represents the account id of the AWS account. diff --git a/docs/content/reference/resource-schema/cache/redis/snippets/redis-manual.bicep b/docs/content/reference/resource-schema/cache/redis/snippets/redis-manual.bicep index d0853fa41..f7407d3b6 100644 --- a/docs/content/reference/resource-schema/cache/redis/snippets/redis-manual.bicep +++ b/docs/content/reference/resource-schema/cache/redis/snippets/redis-manual.bicep @@ -3,7 +3,7 @@ import radius as radius @description('The ID of your Radius environment. Automatically injected by the rad CLI.') param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: environment @@ -15,7 +15,7 @@ resource azureRedis 'Microsoft.Cache/redis@2022-06-01' existing = { } //REDIS -resource redis 'Applications.Datastores/redisCaches@2022-03-15-privatepreview' = { +resource redis 'Applications.Datastores/redisCaches@2023-10-01-preview' = { name: 'redis' properties: { environment: environment diff --git a/docs/content/reference/resource-schema/cache/redis/snippets/redis-recipe.bicep b/docs/content/reference/resource-schema/cache/redis/snippets/redis-recipe.bicep index 9f7379de9..4a2138d5d 100644 --- a/docs/content/reference/resource-schema/cache/redis/snippets/redis-recipe.bicep +++ b/docs/content/reference/resource-schema/cache/redis/snippets/redis-recipe.bicep @@ -3,7 +3,7 @@ import radius as radius @description('The ID of your Radius environment. Automatically injected by the rad CLI.') param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: environment @@ -11,7 +11,7 @@ resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { } //REDIS -resource redis 'Applications.Datastores/redisCaches@2022-03-15-privatepreview' = { +resource redis 'Applications.Datastores/redisCaches@2023-10-01-preview' = { name: 'redis' properties: { environment: environment diff --git a/docs/content/reference/resource-schema/core-schema/application-schema/_index.md b/docs/content/reference/resource-schema/core-schema/application-schema/_index.md index af1bcd2fe..d6855ed02 100644 --- a/docs/content/reference/resource-schema/core-schema/application-schema/_index.md +++ b/docs/content/reference/resource-schema/core-schema/application-schema/_index.md @@ -31,7 +31,7 @@ Extensions allow you to customize how resources are generated or customized as p ##### kubernetesNamespace -The Kubernetes namespace extension allows you to customize how all of the resources within your application generate Kubernetes resources. See the [Kubernetes mapping guide]({{< ref kubernetes-mapping >}}) for more information on namespace mapping behavior. +The Kubernetes namespace extension allows you to customize how all of the resources within your application generate Kubernetes resources. See the [Kubernetes mapping guide]({{< ref "/guides/operations/kubernetes/overview#resource-mapping" >}}) for more information on namespace mapping behavior. | Key | Required | Description | Example | |------|:--------:|-------------|---------| diff --git a/docs/content/reference/resource-schema/core-schema/application-schema/snippets/app.bicep b/docs/content/reference/resource-schema/core-schema/application-schema/snippets/app.bicep index e70d746d0..939ed03d5 100644 --- a/docs/content/reference/resource-schema/core-schema/application-schema/snippets/app.bicep +++ b/docs/content/reference/resource-schema/core-schema/application-schema/snippets/app.bicep @@ -3,7 +3,7 @@ import radius as radius param environment string //APP -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: environment diff --git a/docs/content/reference/resource-schema/core-schema/container-schema/snippets/container.bicep b/docs/content/reference/resource-schema/core-schema/container-schema/snippets/container.bicep index c8f998a42..e3b2ca0c2 100644 --- a/docs/content/reference/resource-schema/core-schema/container-schema/snippets/container.bicep +++ b/docs/content/reference/resource-schema/core-schema/container-schema/snippets/container.bicep @@ -4,19 +4,19 @@ param environment string param azureStorage string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: environment } } -resource volume 'Applications.Core/volumes@2022-03-15-privatepreview' existing = { +resource volume 'Applications.Core/volumes@2023-10-01-preview' existing = { name: 'myvolume' } //CONTAINER -resource frontend 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource frontend 'Applications.Core/containers@2023-10-01-preview' = { name: 'frontend' properties: { application: app.id @@ -99,14 +99,14 @@ resource frontend 'Applications.Core/containers@2022-03-15-privatepreview' = { } //CONTAINER -resource http 'Applications.Core/httpRoutes@2022-03-15-privatepreview' = { +resource http 'Applications.Core/httpRoutes@2023-10-01-preview' = { name: 'http' properties: { application: app.id } } -resource db 'Applications.Datastores/mongoDatabases@2022-03-15-privatepreview' = { +resource db 'Applications.Datastores/mongoDatabases@2023-10-01-preview' = { name: 'database' properties: { environment: environment diff --git a/docs/content/reference/resource-schema/core-schema/environment-schema/snippets/environment.bicep b/docs/content/reference/resource-schema/core-schema/environment-schema/snippets/environment.bicep index d14776926..8beb4ed1a 100644 --- a/docs/content/reference/resource-schema/core-schema/environment-schema/snippets/environment.bicep +++ b/docs/content/reference/resource-schema/core-schema/environment-schema/snippets/environment.bicep @@ -3,7 +3,7 @@ import radius as rad param oidcIssuer string //ENV -resource environment 'Applications.Core/environments@2022-03-15-privatepreview' = { +resource environment 'Applications.Core/environments@2023-10-01-preview' = { name: 'myenv' properties: { compute: { diff --git a/docs/content/reference/resource-schema/core-schema/extender/snippets/extender-manual.bicep b/docs/content/reference/resource-schema/core-schema/extender/snippets/extender-manual.bicep index 0f2550da3..7c8013c0e 100644 --- a/docs/content/reference/resource-schema/core-schema/extender/snippets/extender-manual.bicep +++ b/docs/content/reference/resource-schema/core-schema/extender/snippets/extender-manual.bicep @@ -2,7 +2,7 @@ import radius as radius param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: environment @@ -10,7 +10,7 @@ resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { } //EXTENDER -resource twilio 'Applications.Core/extenders@2022-03-15-privatepreview' = { +resource twilio 'Applications.Core/extenders@2023-10-01-preview' = { name: 'twilio' properties: { application: app.id @@ -25,7 +25,7 @@ resource twilio 'Applications.Core/extenders@2022-03-15-privatepreview' = { } //EXTENDER -resource publisher 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource publisher 'Applications.Core/containers@2023-10-01-preview' = { name: 'publisher' properties: { application: app.id diff --git a/docs/content/reference/resource-schema/core-schema/extender/snippets/extender-recipe.bicep b/docs/content/reference/resource-schema/core-schema/extender/snippets/extender-recipe.bicep index a6f68c6e0..e1cc28979 100644 --- a/docs/content/reference/resource-schema/core-schema/extender/snippets/extender-recipe.bicep +++ b/docs/content/reference/resource-schema/core-schema/extender/snippets/extender-recipe.bicep @@ -4,7 +4,7 @@ param application string param environment string // EXTENDER -resource twilio 'Applications.Core/extenders@2022-03-15-privatepreview' = { +resource twilio 'Applications.Core/extenders@2023-10-01-preview' = { name: 'twilio' properties: { application: application @@ -16,7 +16,7 @@ resource twilio 'Applications.Core/extenders@2022-03-15-privatepreview' = { } //EXTENDER -resource publisher 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource publisher 'Applications.Core/containers@2023-10-01-preview' = { name: 'publisher' properties: { application: application diff --git a/docs/content/reference/resource-schema/core-schema/gateway/snippets/gateway.bicep b/docs/content/reference/resource-schema/core-schema/gateway/snippets/gateway.bicep index ab0ca4839..c0cab72fb 100644 --- a/docs/content/reference/resource-schema/core-schema/gateway/snippets/gateway.bicep +++ b/docs/content/reference/resource-schema/core-schema/gateway/snippets/gateway.bicep @@ -2,7 +2,7 @@ import radius as radius param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: environment @@ -10,7 +10,7 @@ resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { } //GATEWAY -resource gateway 'Applications.Core/gateways@2022-03-15-privatepreview' = { +resource gateway 'Applications.Core/gateways@2023-10-01-preview' = { name: 'gateway' properties: { application: app.id @@ -45,7 +45,7 @@ resource gateway 'Applications.Core/gateways@2022-03-15-privatepreview' = { } //GATEWAY -resource secretstore 'Applications.Core/secretStores@2022-03-15-privatepreview' = { +resource secretstore 'Applications.Core/secretStores@2023-10-01-preview' = { name: 'secretstore' properties: { application: app.id @@ -55,7 +55,7 @@ resource secretstore 'Applications.Core/secretStores@2022-03-15-privatepreview' } //FRONTENDROUTE -resource frontendroute 'Applications.Core/httpRoutes@2022-03-15-privatepreview' = { +resource frontendroute 'Applications.Core/httpRoutes@2023-10-01-preview' = { name: 'frontendroute' properties: { application: app.id @@ -64,7 +64,7 @@ resource frontendroute 'Applications.Core/httpRoutes@2022-03-15-privatepreview' //FRONTENDROUTE //BACKENDROUTE -resource backendroute 'Applications.Core/httpRoutes@2022-03-15-privatepreview' = { +resource backendroute 'Applications.Core/httpRoutes@2023-10-01-preview' = { name: 'backendroute' properties: { application: app.id @@ -73,7 +73,7 @@ resource backendroute 'Applications.Core/httpRoutes@2022-03-15-privatepreview' = //BACKENDROUTE //FRONTEND -resource frontend 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource frontend 'Applications.Core/containers@2023-10-01-preview' = { name: 'frontend' properties: { application: app.id @@ -99,7 +99,7 @@ resource frontend 'Applications.Core/containers@2022-03-15-privatepreview' = { //FRONTEND //BACKEND -resource backend 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource backend 'Applications.Core/containers@2023-10-01-preview' = { name: 'backend' properties: { application: app.id diff --git a/docs/content/reference/resource-schema/core-schema/httproute/snippets/httproute.bicep b/docs/content/reference/resource-schema/core-schema/httproute/snippets/httproute.bicep index 850eb40b9..44cbfbf88 100644 --- a/docs/content/reference/resource-schema/core-schema/httproute/snippets/httproute.bicep +++ b/docs/content/reference/resource-schema/core-schema/httproute/snippets/httproute.bicep @@ -2,7 +2,7 @@ import radius as radius param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: environment @@ -10,7 +10,7 @@ resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { } //HTTPROUTE -resource httproute 'Applications.Core/httpRoutes@2022-03-15-privatepreview' = { +resource httproute 'Applications.Core/httpRoutes@2023-10-01-preview' = { name: 'httproute' properties: { application: app.id @@ -19,7 +19,7 @@ resource httproute 'Applications.Core/httpRoutes@2022-03-15-privatepreview' = { //HTTPROUTE //FRONTEND -resource frontend 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource frontend 'Applications.Core/containers@2023-10-01-preview' = { name: 'frontend' properties: { application: app.id @@ -39,7 +39,7 @@ resource frontend 'Applications.Core/containers@2022-03-15-privatepreview' = { //FRONTEND //BACKEND -resource backend 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource backend 'Applications.Core/containers@2023-10-01-preview' = { name: 'backend' properties: { application: app.id diff --git a/docs/content/reference/resource-schema/core-schema/secretstore/snippets/secretstore.bicep b/docs/content/reference/resource-schema/core-schema/secretstore/snippets/secretstore.bicep index ec798e2a9..07d51231f 100644 --- a/docs/content/reference/resource-schema/core-schema/secretstore/snippets/secretstore.bicep +++ b/docs/content/reference/resource-schema/core-schema/secretstore/snippets/secretstore.bicep @@ -12,7 +12,7 @@ param tlscrt string @secure() param tlskey string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'corerp-resources-secretstore' location: location properties: { @@ -27,7 +27,7 @@ resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { } //SECRET_STORE_NEW -resource appCert 'Applications.Core/secretStores@2022-03-15-privatepreview' = { +resource appCert 'Applications.Core/secretStores@2023-10-01-preview' = { name: 'appcert' properties:{ application: app.id @@ -45,7 +45,7 @@ resource appCert 'Applications.Core/secretStores@2022-03-15-privatepreview' = { //SECRET_STORE_NEW //SECRET_STORE_REF -resource existingAppCert 'Applications.Core/secretStores@2022-03-15-privatepreview' = { +resource existingAppCert 'Applications.Core/secretStores@2023-10-01-preview' = { name: 'existing-appcert' properties:{ application: app.id diff --git a/docs/content/reference/resource-schema/core-schema/volumes/volume-azure-keyvault/snippets/volume-keyvault.bicep b/docs/content/reference/resource-schema/core-schema/volumes/volume-azure-keyvault/snippets/volume-keyvault.bicep index b9766b168..33cb3da31 100644 --- a/docs/content/reference/resource-schema/core-schema/volumes/volume-azure-keyvault/snippets/volume-keyvault.bicep +++ b/docs/content/reference/resource-schema/core-schema/volumes/volume-azure-keyvault/snippets/volume-keyvault.bicep @@ -5,7 +5,7 @@ param azLocation string = resourceGroup().location param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: environment @@ -27,7 +27,7 @@ resource keyvault 'Microsoft.KeyVault/vaults@2022-07-01' = { } //VOLUME -resource volume 'Applications.Core/volumes@2022-03-15-privatepreview' = { +resource volume 'Applications.Core/volumes@2023-10-01-preview' = { name: 'myvolume' properties: { application: app.id diff --git a/docs/content/reference/resource-schema/dapr-schema/dapr-extension/snippets/dapr.bicep b/docs/content/reference/resource-schema/dapr-schema/dapr-extension/snippets/dapr.bicep index a519f6eaf..7f9f4ee36 100644 --- a/docs/content/reference/resource-schema/dapr-schema/dapr-extension/snippets/dapr.bicep +++ b/docs/content/reference/resource-schema/dapr-schema/dapr-extension/snippets/dapr.bicep @@ -3,7 +3,7 @@ import radius as radius @description('The ID of your Radius environment. Automatically injected by the rad CLI.') param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: environment @@ -11,7 +11,7 @@ resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { } //SAMPLE -resource frontend 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource frontend 'Applications.Core/containers@2023-10-01-preview' = { name: 'frontend' properties: { application: app.id diff --git a/docs/content/reference/resource-schema/dapr-schema/dapr-pubsub/snippets/dapr-pubsub-manual.bicep b/docs/content/reference/resource-schema/dapr-schema/dapr-pubsub/snippets/dapr-pubsub-manual.bicep index 1d4599d8e..04697d1be 100644 --- a/docs/content/reference/resource-schema/dapr-schema/dapr-pubsub/snippets/dapr-pubsub-manual.bicep +++ b/docs/content/reference/resource-schema/dapr-schema/dapr-pubsub/snippets/dapr-pubsub-manual.bicep @@ -3,14 +3,14 @@ import radius as radius @description('The ID of your Radius environment. Automatically injected by the rad CLI.') param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'azure-resources-dapr-pubsub-generic' properties: { environment: environment } } -resource publisher 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource publisher 'Applications.Core/containers@2023-10-01-preview' = { name: 'publisher' properties: { application: app.id @@ -25,12 +25,12 @@ resource publisher 'Applications.Core/containers@2022-03-15-privatepreview' = { } } -resource kafkaRoute 'Applications.Core/httpRoutes@2022-03-15-privatepreview' existing = { +resource kafkaRoute 'Applications.Core/httpRoutes@2023-10-01-preview' existing = { name: 'kafka-route' } //SAMPLE -resource pubsub 'Applications.Dapr/pubSubBrokers@2022-03-15-privatepreview' = { +resource pubsub 'Applications.Dapr/pubSubBrokers@2023-10-01-preview' = { name: 'pubsub' properties: { environment: environment diff --git a/docs/content/reference/resource-schema/dapr-schema/dapr-pubsub/snippets/dapr-pubsub-recipe.bicep b/docs/content/reference/resource-schema/dapr-schema/dapr-pubsub/snippets/dapr-pubsub-recipe.bicep index d9db05c45..fd76666f9 100644 --- a/docs/content/reference/resource-schema/dapr-schema/dapr-pubsub/snippets/dapr-pubsub-recipe.bicep +++ b/docs/content/reference/resource-schema/dapr-schema/dapr-pubsub/snippets/dapr-pubsub-recipe.bicep @@ -3,7 +3,7 @@ import radius as radius @description('The ID of your Radius environment. Automatically injected by the rad CLI.') param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'dapr-pubsub' properties: { environment: environment @@ -11,7 +11,7 @@ resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { } //SAMPLE -resource pubsub 'Applications.Dapr/pubSubBrokers@2022-03-15-privatepreview' = { +resource pubsub 'Applications.Dapr/pubSubBrokers@2023-10-01-preview' = { name: 'pubsub' properties: { environment: environment diff --git a/docs/content/reference/resource-schema/dapr-schema/dapr-secretstore/snippets/dapr-secretstore-manual.bicep b/docs/content/reference/resource-schema/dapr-schema/dapr-secretstore/snippets/dapr-secretstore-manual.bicep index 38cae4425..9623150f0 100644 --- a/docs/content/reference/resource-schema/dapr-schema/dapr-secretstore/snippets/dapr-secretstore-manual.bicep +++ b/docs/content/reference/resource-schema/dapr-schema/dapr-secretstore/snippets/dapr-secretstore-manual.bicep @@ -3,7 +3,7 @@ import radius as radius @description('The ID of your Radius environment. Automatically injected by the rad CLI.') param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'dapr-secretstore-generic' properties: { environment: environment @@ -11,7 +11,7 @@ resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { } //SAMPLE -resource secretstore 'Applications.Dapr/secretStores@2022-03-15-privatepreview' = { +resource secretstore 'Applications.Dapr/secretStores@2023-10-01-preview' = { name: 'secretstore-generic' properties: { environment: environment diff --git a/docs/content/reference/resource-schema/dapr-schema/dapr-secretstore/snippets/dapr-secretstore-recipe.bicep b/docs/content/reference/resource-schema/dapr-schema/dapr-secretstore/snippets/dapr-secretstore-recipe.bicep index 4998b96a7..9b2a15ae6 100644 --- a/docs/content/reference/resource-schema/dapr-schema/dapr-secretstore/snippets/dapr-secretstore-recipe.bicep +++ b/docs/content/reference/resource-schema/dapr-schema/dapr-secretstore/snippets/dapr-secretstore-recipe.bicep @@ -3,7 +3,7 @@ import radius as radius @description('The ID of your Radius environment. Automatically injected by the rad CLI.') param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'dapr-secretstore-generic' properties: { environment: environment @@ -11,7 +11,7 @@ resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { } //SAMPLE -resource secretstore 'Applications.Dapr/secretStores@2022-03-15-privatepreview' = { +resource secretstore 'Applications.Dapr/secretStores@2023-10-01-preview' = { name: 'secretstore-generic' properties: { environment: environment diff --git a/docs/content/reference/resource-schema/dapr-schema/dapr-statestore/snippets/dapr-statestore-manual.bicep b/docs/content/reference/resource-schema/dapr-schema/dapr-statestore/snippets/dapr-statestore-manual.bicep index 032e90d20..1009cf597 100644 --- a/docs/content/reference/resource-schema/dapr-schema/dapr-statestore/snippets/dapr-statestore-manual.bicep +++ b/docs/content/reference/resource-schema/dapr-schema/dapr-statestore/snippets/dapr-statestore-manual.bicep @@ -7,7 +7,7 @@ param application string param environment string //SAMPLE -resource statestore 'Applications.Dapr/stateStores@2022-03-15-privatepreview' = { +resource statestore 'Applications.Dapr/stateStores@2023-10-01-preview' = { name: 'statestore' properties: { environment: environment diff --git a/docs/content/reference/resource-schema/dapr-schema/dapr-statestore/snippets/dapr-statestore-recipe.bicep b/docs/content/reference/resource-schema/dapr-schema/dapr-statestore/snippets/dapr-statestore-recipe.bicep index 6cfdc8f8c..0fab757ca 100644 --- a/docs/content/reference/resource-schema/dapr-schema/dapr-statestore/snippets/dapr-statestore-recipe.bicep +++ b/docs/content/reference/resource-schema/dapr-schema/dapr-statestore/snippets/dapr-statestore-recipe.bicep @@ -6,7 +6,7 @@ param application string @description('The ID of your Radius environment. Automatically injected by the rad CLI.') param environment string -resource myapp 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource myapp 'Applications.Core/containers@2023-10-01-preview' = { name: 'myapp' properties: { application: application @@ -28,7 +28,7 @@ resource myapp 'Applications.Core/containers@2022-03-15-privatepreview' = { } //SAMPLE -resource statestore 'Applications.Dapr/stateStores@2022-03-15-privatepreview' = { +resource statestore 'Applications.Dapr/stateStores@2023-10-01-preview' = { name: 'statestore' properties: { environment: environment diff --git a/docs/content/reference/resource-schema/databases/microsoft-sql/snippets/sql-manual.bicep b/docs/content/reference/resource-schema/databases/microsoft-sql/snippets/sql-manual.bicep index cceece40f..0dca7d2ca 100644 --- a/docs/content/reference/resource-schema/databases/microsoft-sql/snippets/sql-manual.bicep +++ b/docs/content/reference/resource-schema/databases/microsoft-sql/snippets/sql-manual.bicep @@ -8,7 +8,7 @@ param port int @secure() param password string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'cosmos-container' properties: { environment: environment @@ -23,7 +23,7 @@ resource sqldb 'Microsoft.Sql/servers@2021-02-01-preview' existing = { } //SQL -resource db 'Applications.Datastores/sqlDatabases@2022-03-15-privatepreview' = { +resource db 'Applications.Datastores/sqlDatabases@2023-10-01-preview' = { name: 'db' properties: { environment: environment diff --git a/docs/content/reference/resource-schema/databases/microsoft-sql/snippets/sql-recipe.bicep b/docs/content/reference/resource-schema/databases/microsoft-sql/snippets/sql-recipe.bicep index 1141af8dc..005d293bc 100644 --- a/docs/content/reference/resource-schema/databases/microsoft-sql/snippets/sql-recipe.bicep +++ b/docs/content/reference/resource-schema/databases/microsoft-sql/snippets/sql-recipe.bicep @@ -3,7 +3,7 @@ import radius as radius @description('The ID of your Radius environment. Automatically injected by the rad CLI.') param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'cosmos-container' properties: { environment: environment @@ -11,7 +11,7 @@ resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { } //SQL -resource db 'Applications.Datastores/sqlDatabases@2022-03-15-privatepreview' = { +resource db 'Applications.Datastores/sqlDatabases@2023-10-01-preview' = { name: 'db' properties: { environment: environment diff --git a/docs/content/reference/resource-schema/databases/mongodb/snippets/mongo-manual.bicep b/docs/content/reference/resource-schema/databases/mongodb/snippets/mongo-manual.bicep index 3d7c65c6f..eff6c2c33 100644 --- a/docs/content/reference/resource-schema/databases/mongodb/snippets/mongo-manual.bicep +++ b/docs/content/reference/resource-schema/databases/mongodb/snippets/mongo-manual.bicep @@ -12,7 +12,7 @@ resource cosmosAccount 'Microsoft.DocumentDB/databaseAccounts@2022-08-15' existi } -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'cosmos-container-usermanaged' properties: { environment: environment @@ -20,7 +20,7 @@ resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { } //MONGO -resource db 'Applications.Datastores/mongoDatabases@2022-03-15-privatepreview' = { +resource db 'Applications.Datastores/mongoDatabases@2023-10-01-preview' = { name: 'db' properties: { environment: environment diff --git a/docs/content/reference/resource-schema/databases/mongodb/snippets/mongo-recipe.bicep b/docs/content/reference/resource-schema/databases/mongodb/snippets/mongo-recipe.bicep index 9171be17e..10d683222 100644 --- a/docs/content/reference/resource-schema/databases/mongodb/snippets/mongo-recipe.bicep +++ b/docs/content/reference/resource-schema/databases/mongodb/snippets/mongo-recipe.bicep @@ -3,7 +3,7 @@ import radius as radius @description('The ID of your Radius environment. Automatically injected by the rad CLI.') param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'cosmos-container-usermanaged' properties: { environment: environment @@ -11,7 +11,7 @@ resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { } //MONGO -resource db 'Applications.Datastores/mongoDatabases@2022-03-15-privatepreview' = { +resource db 'Applications.Datastores/mongoDatabases@2023-10-01-preview' = { name: 'db' properties: { environment: environment diff --git a/docs/content/reference/resource-schema/messaging/rabbitmq/snippets/rabbitmq-manual.bicep b/docs/content/reference/resource-schema/messaging/rabbitmq/snippets/rabbitmq-manual.bicep index 2a596d8cb..7484a58ea 100644 --- a/docs/content/reference/resource-schema/messaging/rabbitmq/snippets/rabbitmq-manual.bicep +++ b/docs/content/reference/resource-schema/messaging/rabbitmq/snippets/rabbitmq-manual.bicep @@ -3,7 +3,7 @@ import radius as radius @description('The ID of your Radius environment. Automatically injected by the rad CLI.') param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: environment @@ -18,7 +18,7 @@ param rmqHost string param rmqPort int param vHost string -resource rabbitmq 'Applications.Messaging/rabbitmqQueues@2022-03-15-privatepreview' = { +resource rabbitmq 'Applications.Messaging/rabbitmqQueues@2023-10-01-preview' = { name: 'rabbitmq' properties: { environment: environment diff --git a/docs/content/reference/resource-schema/messaging/rabbitmq/snippets/rabbitmq-recipe.bicep b/docs/content/reference/resource-schema/messaging/rabbitmq/snippets/rabbitmq-recipe.bicep index bf7ed0103..edb8bed3a 100644 --- a/docs/content/reference/resource-schema/messaging/rabbitmq/snippets/rabbitmq-recipe.bicep +++ b/docs/content/reference/resource-schema/messaging/rabbitmq/snippets/rabbitmq-recipe.bicep @@ -3,7 +3,7 @@ import radius as radius @description('The ID of your Radius environment. Automatically injected by the rad CLI.') param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'myapp' properties: { environment: environment @@ -11,7 +11,7 @@ resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { } //SAMPLE -resource rabbitmq 'Applications.Messaging/rabbitmqQueues@2022-03-15-privatepreview' = { +resource rabbitmq 'Applications.Messaging/rabbitmqQueues@2023-10-01-preview' = { name: 'rabbitmq' properties: { environment: environment diff --git a/docs/content/tutorials/tutorial-dapr/index.md b/docs/content/tutorials/tutorial-dapr/index.md index b23ba3dc0..503e69821 100644 --- a/docs/content/tutorials/tutorial-dapr/index.md +++ b/docs/content/tutorials/tutorial-dapr/index.md @@ -18,7 +18,7 @@ For more details on the app and access to the source code, visit the `tutorials/ ## Prerequisites -- [Kubernetes cluster]({{< ref "supported-clusters" >}}) +- [Kubernetes cluster]({{< ref "/guides/operations/kubernetes/overview#supported-clusters" >}}) - [Radius CLI]({{< ref "getting-started" >}}) - [Radius environment]({{< ref "/guides/deploy-apps/environments/overview" >}}) - [Dapr installed on your Kubernetes cluster](https://docs.dapr.io/operations/hosting/kubernetes/kubernetes-deploy/) diff --git a/docs/content/tutorials/tutorial-dapr/snippets/dapr.bicep b/docs/content/tutorials/tutorial-dapr/snippets/dapr.bicep index f970dcc1c..3102a6925 100644 --- a/docs/content/tutorials/tutorial-dapr/snippets/dapr.bicep +++ b/docs/content/tutorials/tutorial-dapr/snippets/dapr.bicep @@ -4,7 +4,7 @@ import radius as radius @description('Specifies the environment for resources.') param environment string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'dapr' properties: { environment: environment @@ -12,7 +12,7 @@ resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { } // The backend container that is connected to the Dapr state store -resource backend 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource backend 'Applications.Core/containers@2023-10-01-preview' = { name: 'backend' properties: { application: app.id @@ -41,7 +41,7 @@ resource backend 'Applications.Core/containers@2022-03-15-privatepreview' = { } // The Dapr state store that is connected to the backend container -resource stateStore 'Applications.Dapr/stateStores@2022-03-15-privatepreview' = { +resource stateStore 'Applications.Dapr/stateStores@2023-10-01-preview' = { name: 'statestore' properties: { // Provision Redis Dapr state store automatically via the default Radius Recipe @@ -53,7 +53,7 @@ resource stateStore 'Applications.Dapr/stateStores@2022-03-15-privatepreview' = //FRONTEND // The frontend container that serves the application UI -resource frontend 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource frontend 'Applications.Core/containers@2023-10-01-preview' = { name: 'frontend' properties: { application: app.id diff --git a/docs/content/tutorials/tutorial-recipe/index.md b/docs/content/tutorials/tutorial-recipe/index.md index 1c3e274cc..c4286c64c 100644 --- a/docs/content/tutorials/tutorial-recipe/index.md +++ b/docs/content/tutorials/tutorial-recipe/index.md @@ -29,7 +29,7 @@ This how-to guide will teach you: This application is a simple to-do list which stores and visualizes to-do items. It consists of a frontend [container]({{< ref "guides/author-apps/containers" >}}) and a backend [Redis Cache]({{< ref redis >}}). -Screenshot of the todoapp with Kubernetes, Azure and AWS Redis Cache options +Screenshot of the todoapp with Kubernetes, Azure and AWS Redis Cache options {{< alert title="💡 Portable resources" color="info" >}} Developers don't need to specify what cloud resources they're using in their application. Instead, they choose the portable Redis API which can be provided by any cloud provider (or a Docker container). When deployed, a Recipe will select what infrastructure to deploy and run. @@ -153,7 +153,7 @@ This step requires an Azure subscription to deploy cloud resources, which will i 2. Register the Recipe to your Radius Environment: ```bash - rad recipe register azure --environment default --template-kind bicep --template-path radius.azurecr.io/recipes/azure/rediscaches:{{< param tag_version >}} --link-type Applications.Datastores/redisCaches + rad recipe register azure --environment default --template-kind bicep --template-path radius.azurecr.io/recipes/azure/rediscaches:{{< param tag_version >}} --resource-type Applications.Datastores/redisCaches ``` 3. Update your db resource to use the `azure` Recipe, instead of the default Recipe: diff --git a/docs/content/tutorials/tutorial-recipe/recipe-quickstart-diagram.png b/docs/content/tutorials/tutorial-recipe/recipe-tutorial-diagram.png similarity index 100% rename from docs/content/tutorials/tutorial-recipe/recipe-quickstart-diagram.png rename to docs/content/tutorials/tutorial-recipe/recipe-tutorial-diagram.png diff --git a/docs/content/tutorials/tutorial-recipe/snippets/app-azure.bicep b/docs/content/tutorials/tutorial-recipe/snippets/app-azure.bicep index 64aa17028..4b0d79142 100644 --- a/docs/content/tutorials/tutorial-recipe/snippets/app-azure.bicep +++ b/docs/content/tutorials/tutorial-recipe/snippets/app-azure.bicep @@ -7,7 +7,7 @@ param environment string param application string //DB -resource db 'Applications.Datastores/redisCaches@2022-03-15-privatepreview' = { +resource db 'Applications.Datastores/redisCaches@2023-10-01-preview' = { name: 'db' properties: { environment: environment diff --git a/docs/content/tutorials/tutorial-recipe/snippets/app.bicep b/docs/content/tutorials/tutorial-recipe/snippets/app.bicep index 1b74d8aa1..63ec11ae3 100644 --- a/docs/content/tutorials/tutorial-recipe/snippets/app.bicep +++ b/docs/content/tutorials/tutorial-recipe/snippets/app.bicep @@ -6,7 +6,7 @@ param environment string @description('The ID of your Radius application. Automatically injected by the rad CLI.') param application string -resource frontend 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource frontend 'Applications.Core/containers@2023-10-01-preview' = { name: 'frontend' properties: { application: application @@ -23,7 +23,7 @@ resource frontend 'Applications.Core/containers@2022-03-15-privatepreview' = { } } -resource db 'Applications.Datastores/redisCaches@2022-03-15-privatepreview' = { +resource db 'Applications.Datastores/redisCaches@2023-10-01-preview' = { name: 'db' properties: { environment: environment diff --git a/holding-pen/reference-apps/aws-rds/snippets/app.bicep b/holding-pen/reference-apps/aws-rds/snippets/app.bicep index ce781b7f9..c0dc30ef4 100644 --- a/holding-pen/reference-apps/aws-rds/snippets/app.bicep +++ b/holding-pen/reference-apps/aws-rds/snippets/app.bicep @@ -30,14 +30,14 @@ Naming constraints: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_ ''') param databaseIdentifier string -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: 'wordpress-app' properties: { environment: environment } } -resource wordpress 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource wordpress 'Applications.Core/containers@2023-10-01-preview' = { name: 'wordpress-container' properties: { application: app.id diff --git a/holding-pen/reference-apps/aws-sqs/snippets/app.bicep b/holding-pen/reference-apps/aws-sqs/snippets/app.bicep index 62dd6a0f9..f588fd3b3 100644 --- a/holding-pen/reference-apps/aws-sqs/snippets/app.bicep +++ b/holding-pen/reference-apps/aws-sqs/snippets/app.bicep @@ -17,7 +17,7 @@ var aws_credential = { } var app_name = 'sqs-sample-app' -resource app 'Applications.Core/applications@2022-03-15-privatepreview' = { +resource app 'Applications.Core/applications@2023-10-01-preview' = { name: app_name properties: { environment: environment @@ -32,7 +32,7 @@ resource queue 'AWS.SQS/Queue@default' = { } } -resource producer 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource producer 'Applications.Core/containers@2023-10-01-preview' = { name: 'producer' properties: { application: app.id @@ -49,7 +49,7 @@ resource producer 'Applications.Core/containers@2022-03-15-privatepreview' = { } } -resource consumer 'Applications.Core/containers@2022-03-15-privatepreview' = { +resource consumer 'Applications.Core/containers@2023-10-01-preview' = { name: 'consumer' properties: { application: app.id