Microsoft.AppPlatform Spring/applicationLiveViews 2023-03-01-preview

Remarks

Note: Azure Spring Apps Application Live Views (Microsoft.AppPlatform/Spring/applicationLiveViews) is now deprecated and will be retired on 2028-05-31. See https://aka.ms/asaretirement for more information.

Bicep resource definition

The Spring/applicationLiveViews resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Usage Examples

Bicep Samples

A basic example of deploying Spring Cloud Application Live View.

param resourceName string = 'acctest0001'
param location string = 'westeurope'

resource spring 'Microsoft.AppPlatform/Spring@2023-05-01-preview' = {
  name: resourceName
  location: location
  sku: {
    name: 'E0'
  }
  properties: {
    zoneRedundant: false
  }
}

resource applicationLiveView 'Microsoft.AppPlatform/Spring/applicationLiveViews@2023-05-01-preview' = {
  name: 'default'
  parent: spring
}

Azure Quickstart Samples

The following Azure Quickstart templates contain Bicep samples for deploying this resource type.

Bicep File Description
Deploy a simple Azure Spring Apps microservice application This template deploys a simple Azure Spring Apps microservice application to run on Azure.

Resource format

To create a Microsoft.AppPlatform/Spring/applicationLiveViews resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.AppPlatform/Spring/applicationLiveViews@2023-03-01-preview' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {}
}

Property Values

Microsoft.AppPlatform/Spring/applicationLiveViews

Name Description Value
name The resource name string (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: Spring
properties Application Live View properties payload ApplicationLiveViewProperties

ApplicationLiveViewProperties

Name Description Value

ARM template resource definition

The Spring/applicationLiveViews resource type can be deployed with operations that target:

Usage Examples

Azure Quickstart Templates

The following Azure Quickstart templates deploy this resource type.

Template Description
Deploy a simple Azure Spring Apps microservice application

Deploy to Azure
This template deploys a simple Azure Spring Apps microservice application to run on Azure.

Resource format

To create a Microsoft.AppPlatform/Spring/applicationLiveViews resource, add the following JSON to your template.

{
  "type": "Microsoft.AppPlatform/Spring/applicationLiveViews",
  "apiVersion": "2023-03-01-preview",
  "name": "string",
  "properties": {
  }
}

Property Values

Microsoft.AppPlatform/Spring/applicationLiveViews

Name Description Value
apiVersion The api version '2023-03-01-preview'
name The resource name string (required)
properties Application Live View properties payload ApplicationLiveViewProperties
type The resource type 'Microsoft.AppPlatform/Spring/applicationLiveViews'

ApplicationLiveViewProperties

Name Description Value

Terraform (AzAPI provider) resource definition

The Spring/applicationLiveViews resource type can be deployed with operations that target:

  • Resource groups For a list of changed properties in each API version, see change log.

Usage Examples

Terraform Samples

A basic example of deploying Spring Cloud Application Live View.

terraform {
  required_providers {
    azapi = {
      source = "Azure/azapi"
    }
  }
}

provider "azapi" {
  skip_provider_registration = false
}

variable "resource_name" {
  type    = string
  default = "acctest0001"
}

variable "location" {
  type    = string
  default = "westeurope"
}

resource "azapi_resource" "resourceGroup" {
  type     = "Microsoft.Resources/resourceGroups@2020-06-01"
  name     = var.resource_name
  location = var.location
}

resource "azapi_resource" "Spring" {
  type      = "Microsoft.AppPlatform/Spring@2023-05-01-preview"
  parent_id = azapi_resource.resourceGroup.id
  name      = var.resource_name
  location  = var.location
  body = {
    properties = {
      zoneRedundant = false
    }
    sku = {
      name = "E0"
    }
  }
  schema_validation_enabled = false
  response_export_values    = ["*"]
}

resource "azapi_resource" "applicationLiveView" {
  type                      = "Microsoft.AppPlatform/Spring/applicationLiveViews@2023-05-01-preview"
  parent_id                 = azapi_resource.Spring.id
  name                      = "default"
  schema_validation_enabled = false
  response_export_values    = ["*"]
}

Resource format

To create a Microsoft.AppPlatform/Spring/applicationLiveViews resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.AppPlatform/Spring/applicationLiveViews@2023-03-01-preview"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
    }
  }
}

Property Values

Microsoft.AppPlatform/Spring/applicationLiveViews

Name Description Value
name The resource name string (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: Spring
properties Application Live View properties payload ApplicationLiveViewProperties
type The resource type "Microsoft.AppPlatform/Spring/applicationLiveViews@2023-03-01-preview"

ApplicationLiveViewProperties

Name Description Value