Microsoft.AppPlatform 스프링/빌드서비스

비고

참고: Azure Spring Apps Build Services(Microsoft.AppPlatform/Spring/buildServices)는 현재 지원 중단되었으며 2028년 5월 31일에 폐지됩니다. 자세한 내용은 https://aka.ms/asaretirement을 참조하세요.

Bicep 리소스 정의

Spring/buildServices 리소스 종류는 다음을 대상으로 하는 작업으로 배포할 수 있습니다.

각 API 버전에서 변경된 속성 목록은 변경 로그참조하세요.

사용 예제

Azure 빠른 시작 샘플

다음 Azure 빠른 시작 템플릿에는 이 리소스 유형을 배포하기 위한 Bicep 샘플이 포함되어 있습니다.

Bicep 파일 묘사
간단한 Azure Spring Apps 마이크로 서비스 애플리케이션 배포 이 템플릿은 Azure에서 실행할 간단한 Azure Spring Apps 마이크로 서비스 애플리케이션을 배포합니다.

리소스 형식

Microsoft.AppPlatform/Spring/buildServices 리소스를 만들려면 템플릿에 다음 Bicep을 추가합니다.

resource symbolicname 'Microsoft.AppPlatform/Spring/buildServices@2024-05-01-preview' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    containerRegistry: 'string'
    resourceRequests: {}
  }
}

속성 값

Microsoft.AppPlatform/Spring/buildServices

이름 묘사 값
이름 리소스 이름 string(필수)
부모 Bicep에서 자식 리소스에 대한 부모 리소스를 지정할 수 있습니다. 자식 리소스가 부모 리소스 외부에서 선언된 경우에만 이 속성을 추가해야 합니다.

자세한 내용은 부모 리소스외부의 자식 리소스 참조하세요.
형식 리소스의 기호 이름: Spring
속성 빌드 리소스의 속성 BuildServiceProperties

빌드서비스프로퍼티

이름 묘사 값
컨테이너레지스트리 이 빌드 서비스에 사용되는 컨테이너 레지스트리의 리소스 ID입니다. 문자열
resource요청 이 빌드 서비스의 런타임 리소스 구성입니다. buildServicePropertiesResourceRequests

BuildServicePropertiesResourceRequests 빌드서비스 프로퍼티

이름 묘사 값

ARM 템플릿 리소스 정의

Spring/buildServices 리소스 종류는 다음을 대상으로 하는 작업으로 배포할 수 있습니다.

사용 예제

Azure 빠른 시작 템플릿

다음 Azure 빠른 시작 템플릿은 이 리소스 유형을 배포할 있습니다.

템플렛 묘사
간단한 Azure Spring Apps 마이크로 서비스 애플리케이션 배포

Azure에 배포
이 템플릿은 Azure에서 실행할 간단한 Azure Spring Apps 마이크로 서비스 애플리케이션을 배포합니다.

리소스 형식

Microsoft.AppPlatform/Spring/buildServices 리소스를 만들려면 템플릿에 다음 JSON을 추가합니다.

{
  "type": "Microsoft.AppPlatform/Spring/buildServices",
  "apiVersion": "2024-05-01-preview",
  "name": "string",
  "properties": {
    "containerRegistry": "string",
    "resourceRequests": {
    }
  }
}

속성 값

Microsoft.AppPlatform/Spring/buildServices

이름 묘사 값
API버전 api 버전 '2024-05-01-미리보기'
이름 리소스 이름 string(필수)
속성 빌드 리소스의 속성 BuildServiceProperties
형 리소스 종류 'Microsoft.AppPlatform/Spring/buildServices'

빌드서비스프로퍼티

이름 묘사 값
컨테이너레지스트리 이 빌드 서비스에 사용되는 컨테이너 레지스트리의 리소스 ID입니다. 문자열
resource요청 이 빌드 서비스의 런타임 리소스 구성입니다. buildServicePropertiesResourceRequests

BuildServicePropertiesResourceRequests 빌드서비스 프로퍼티

이름 묘사 값

Terraform(AzAPI 공급자) 리소스 정의

Spring/buildServices 리소스 종류는 다음을 대상으로 하는 작업으로 배포할 수 있습니다.

  • 자원 그룹 각 API 버전에서 변경된 속성 목록은 변경 로그를 참조하세요.

사용 예제

Terraform 샘플

Spring Cloud Build Service를 배포하는 기본 예제입니다.

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    = ["*"]
}

data "azapi_resource_id" "buildService" {
  type      = "Microsoft.AppPlatform/Spring/buildServices@2023-05-01-preview"
  parent_id = azapi_resource.Spring.id
  name      = "default"
}

resource "azapi_resource_action" "buildService" {
  type        = "Microsoft.AppPlatform/Spring/buildServices@2023-05-01-preview"
  resource_id = data.azapi_resource_id.buildService.id
  method      = "PUT"
  body = {
    properties = {
    }
  }
  response_export_values = ["*"]
}

data "azapi_resource" "buildService" {
  type      = "Microsoft.AppPlatform/Spring/buildServices@2023-05-01-preview"
  name      = "default"
  parent_id = azapi_resource.Spring.id

  depends_on = [azapi_resource_action.buildService]
}

리소스 형식

Microsoft.AppPlatform/Spring/buildServices 리소스를 만들려면 템플릿에 다음 Terraform을 추가합니다.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.AppPlatform/Spring/buildServices@2024-05-01-preview"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      containerRegistry = "string"
      resourceRequests = {
      }
    }
  }
}

속성 값

Microsoft.AppPlatform/Spring/buildServices

이름 묘사 값
이름 리소스 이름 string(필수)
부모 ID 이 리소스의 부모인 리소스의 ID입니다. 형식 리소스의 ID: Spring
속성 빌드 리소스의 속성 BuildServiceProperties
형 리소스 종류 "Microsoft.AppPlatform/Spring/buildServices@2024-05-01-preview"

빌드서비스프로퍼티

이름 묘사 값
컨테이너레지스트리 이 빌드 서비스에 사용되는 컨테이너 레지스트리의 리소스 ID입니다. 문자열
resource요청 이 빌드 서비스의 런타임 리소스 구성입니다. buildServicePropertiesResourceRequests

BuildServicePropertiesResourceRequests 빌드서비스 프로퍼티

이름 묘사 값