다음을 통해 공유


Microsoft.Web staticSites 2021-03-01

Bicep 리소스 정의

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

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

리소스 형식

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

resource symbolicname 'Microsoft.Web/staticSites@2021-03-01' = {
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  kind: 'string'
  location: 'string'
  name: 'string'
  properties: {
    allowConfigFileUpdates: bool
    branch: 'string'
    buildProperties: {
      apiBuildCommand: 'string'
      apiLocation: 'string'
      appArtifactLocation: 'string'
      appBuildCommand: 'string'
      appLocation: 'string'
      githubActionSecretNameOverride: 'string'
      outputLocation: 'string'
      skipGithubActionWorkflowGeneration: bool
    }
    enterpriseGradeCdnStatus: 'string'
    provider: 'string'
    repositoryToken: 'string'
    repositoryUrl: 'string'
    stagingEnvironmentPolicy: 'string'
    templateProperties: {
      description: 'string'
      isPrivate: bool
      owner: 'string'
      repositoryName: 'string'
      templateRepositoryUrl: 'string'
    }
  }
  sku: {
    capabilities: [
      {
        name: 'string'
        reason: 'string'
        value: 'string'
      }
    ]
    capacity: int
    family: 'string'
    locations: [
      'string'
    ]
    name: 'string'
    size: 'string'
    skuCapacity: {
      default: int
      elasticMaximum: int
      maximum: int
      minimum: int
      scaleType: 'string'
    }
    tier: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

속성 값

능력

이름 묘사
이름 SKU 기능의 이름입니다. 문자열
이유 SKU 기능의 이유입니다. 문자열
SKU 기능의 값입니다. 문자열

ManagedServiceIdentity

이름 묘사
관리 서비스 ID의 유형입니다. 'None'
'SystemAssigned'
'SystemAssigned, UserAssigned'
'UserAssigned'
userAssignedIdentities 리소스와 연결된 사용자 할당 ID 목록입니다. 사용자 ID 사전 키 참조는 '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} 형식의 ARM 리소스 ID입니다. ManagedServiceIdentityUserAssignedIdentities

ManagedServiceIdentityUserAssignedIdentities

이름 묘사

Microsoft.Web/staticSites

이름 묘사
신원 관리되는 서비스 ID입니다. ManagedServiceIdentity
종류 리소스 종류입니다. 문자열
위치 리소스 위치입니다. string(필수)
이름 리소스 이름 string(필수)
속성 핵심 리소스 속성 StaticSite
sku 확장 가능한 리소스에 대한 SKU에 대한 설명입니다. SkuDescription
태그 리소스 태그 태그 이름 및 값의 사전입니다. 템플릿 태그를 참조하세요.

ResourceTags

이름 묘사

SkuCapacity

이름 묘사
기본값 이 App Service 계획 SKU의 기본 작업자 수입니다. int
elasticMaximum 이 App Service 계획 SKU의 최대 탄력적 작업자 수입니다. int
최대 이 App Service 계획 SKU의 최대 작업자 수입니다. int
최소 이 App Service 계획 SKU의 최소 작업자 수입니다. int
scaleType App Service 계획에 사용할 수 있는 크기 조정 구성입니다. 문자열

SkuDescription

이름 묘사
기능 SKU의 기능(예: Traffic Manager를 사용하도록 설정)? 기능[]
용량 리소스에 할당된 현재 인스턴스 수입니다. int
가족 리소스 SKU의 패밀리 코드입니다. 문자열
위치 SKU의 위치입니다. string[]
이름 리소스 SKU의 이름입니다. 문자열
크기 리소스 SKU의 크기 지정자입니다. 문자열
skuCapacity SKU의 최소, 최대 및 기본 배율 값입니다. SkuCapacity
계층 리소스 SKU의 서비스 계층입니다. 문자열

StaticSite

이름 묘사
allowConfigFileUpdates <코드는 이 정적 웹앱에 대해 구성 파일이 잠겨 있으면 false</code>>. 그렇지 않으면 <코드가 true</code>>. bool
가지 리포지토리의 대상 분기입니다. 문자열
buildProperties 리포지토리에서 구성할 속성을 빌드합니다. StaticSiteBuildProperties
enterpriseGradeCdnStatus 정적 웹앱에 트래픽을 제공하는 엔터프라이즈급 CDN의 상태를 나타내는 상태입니다. '사용 안 함'
'사용 안 림'
'Enabled'
'사용'
공급자 정적 사이트의 기본 환경에 마지막 배포를 제출한 공급자입니다. 문자열
repositoryToken 사용자의 github 리포지토리 토큰입니다. Github Actions 워크플로 파일 및 API 비밀을 설정하는 데 사용됩니다. 문자열
repositoryUrl 정적 사이트의 리포지토리에 대한 URL입니다. 문자열
stagingEnvironmentPolicy 스테이징 환경이 정적 웹앱에 허용되는지 여부를 나타내는 상태입니다. '사용 안 함'
'Enabled'
templateProperties 새 리포지토리를 생성하기 위한 템플릿 옵션입니다. StaticSiteTemplateOptions

StaticSiteBuildProperties

이름 묘사
apiBuildCommand Azure Functions API 애플리케이션을 배포하는 동안 실행할 사용자 지정 명령입니다. 문자열
apiLocation 리포지토리 내의 api 코드 경로입니다. 문자열
appArtifactLocation 사용되지 않음: 빌드 후 앱 아티팩트 경로(OutputLocation을 위해 사용되지 않음) 문자열
appBuildCommand 정적 콘텐츠 애플리케이션을 배포하는 동안 실행할 사용자 지정 명령입니다. 문자열
appLocation 리포지토리 내의 앱 코드 경로입니다. 문자열
githubActionSecretNameOverride Github 작업 비밀 이름이 재정의됩니다. 문자열
outputLocation 빌드 후 앱의 출력 경로입니다. 문자열
skipGithubActionWorkflowGeneration Github 작업 워크플로 생성을 건너뜁니다. bool

StaticSiteTemplateOptions

이름 묘사
묘사 새로 생성된 리포지토리에 대한 설명입니다. 문자열
isPrivate 새로 생성된 리포지토리가 프라이빗 리포지토리인지 여부입니다. 기본값은 false(즉, public)입니다. bool
소유자 새로 생성된 리포지토리의 소유자입니다. 문자열
repositoryName 새로 생성된 리포지토리의 이름입니다. 문자열
templateRepositoryUrl 템플릿 리포지토리의 URL입니다. 새로 생성된 리포지토리는 이 리포지토리를 기반으로 합니다. 문자열

UserAssignedIdentity

이름 묘사

ARM 템플릿 리소스 정의

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

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

리소스 형식

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

{
  "type": "Microsoft.Web/staticSites",
  "apiVersion": "2021-03-01",
  "name": "string",
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {
      }
    }
  },
  "kind": "string",
  "location": "string",
  "properties": {
    "allowConfigFileUpdates": "bool",
    "branch": "string",
    "buildProperties": {
      "apiBuildCommand": "string",
      "apiLocation": "string",
      "appArtifactLocation": "string",
      "appBuildCommand": "string",
      "appLocation": "string",
      "githubActionSecretNameOverride": "string",
      "outputLocation": "string",
      "skipGithubActionWorkflowGeneration": "bool"
    },
    "enterpriseGradeCdnStatus": "string",
    "provider": "string",
    "repositoryToken": "string",
    "repositoryUrl": "string",
    "stagingEnvironmentPolicy": "string",
    "templateProperties": {
      "description": "string",
      "isPrivate": "bool",
      "owner": "string",
      "repositoryName": "string",
      "templateRepositoryUrl": "string"
    }
  },
  "sku": {
    "capabilities": [
      {
        "name": "string",
        "reason": "string",
        "value": "string"
      }
    ],
    "capacity": "int",
    "family": "string",
    "locations": [ "string" ],
    "name": "string",
    "size": "string",
    "skuCapacity": {
      "default": "int",
      "elasticMaximum": "int",
      "maximum": "int",
      "minimum": "int",
      "scaleType": "string"
    },
    "tier": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

속성 값

능력

이름 묘사
이름 SKU 기능의 이름입니다. 문자열
이유 SKU 기능의 이유입니다. 문자열
SKU 기능의 값입니다. 문자열

ManagedServiceIdentity

이름 묘사
관리 서비스 ID의 유형입니다. 'None'
'SystemAssigned'
'SystemAssigned, UserAssigned'
'UserAssigned'
userAssignedIdentities 리소스와 연결된 사용자 할당 ID 목록입니다. 사용자 ID 사전 키 참조는 '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} 형식의 ARM 리소스 ID입니다. ManagedServiceIdentityUserAssignedIdentities

ManagedServiceIdentityUserAssignedIdentities

이름 묘사

Microsoft.Web/staticSites

이름 묘사
apiVersion api 버전 '2021-03-01'
신원 관리되는 서비스 ID입니다. ManagedServiceIdentity
종류 리소스 종류입니다. 문자열
위치 리소스 위치입니다. string(필수)
이름 리소스 이름 string(필수)
속성 핵심 리소스 속성 StaticSite
sku 확장 가능한 리소스에 대한 SKU에 대한 설명입니다. SkuDescription
태그 리소스 태그 태그 이름 및 값의 사전입니다. 템플릿 태그를 참조하세요.
리소스 종류 'Microsoft.Web/staticSites'

ResourceTags

이름 묘사

SkuCapacity

이름 묘사
기본값 이 App Service 계획 SKU의 기본 작업자 수입니다. int
elasticMaximum 이 App Service 계획 SKU의 최대 탄력적 작업자 수입니다. int
최대 이 App Service 계획 SKU의 최대 작업자 수입니다. int
최소 이 App Service 계획 SKU의 최소 작업자 수입니다. int
scaleType App Service 계획에 사용할 수 있는 크기 조정 구성입니다. 문자열

SkuDescription

이름 묘사
기능 SKU의 기능(예: Traffic Manager를 사용하도록 설정)? 기능[]
용량 리소스에 할당된 현재 인스턴스 수입니다. int
가족 리소스 SKU의 패밀리 코드입니다. 문자열
위치 SKU의 위치입니다. string[]
이름 리소스 SKU의 이름입니다. 문자열
크기 리소스 SKU의 크기 지정자입니다. 문자열
skuCapacity SKU의 최소, 최대 및 기본 배율 값입니다. SkuCapacity
계층 리소스 SKU의 서비스 계층입니다. 문자열

StaticSite

이름 묘사
allowConfigFileUpdates <코드는 이 정적 웹앱에 대해 구성 파일이 잠겨 있으면 false</code>>. 그렇지 않으면 <코드가 true</code>>. bool
가지 리포지토리의 대상 분기입니다. 문자열
buildProperties 리포지토리에서 구성할 속성을 빌드합니다. StaticSiteBuildProperties
enterpriseGradeCdnStatus 정적 웹앱에 트래픽을 제공하는 엔터프라이즈급 CDN의 상태를 나타내는 상태입니다. '사용 안 함'
'사용 안 림'
'Enabled'
'사용'
공급자 정적 사이트의 기본 환경에 마지막 배포를 제출한 공급자입니다. 문자열
repositoryToken 사용자의 github 리포지토리 토큰입니다. Github Actions 워크플로 파일 및 API 비밀을 설정하는 데 사용됩니다. 문자열
repositoryUrl 정적 사이트의 리포지토리에 대한 URL입니다. 문자열
stagingEnvironmentPolicy 스테이징 환경이 정적 웹앱에 허용되는지 여부를 나타내는 상태입니다. '사용 안 함'
'Enabled'
templateProperties 새 리포지토리를 생성하기 위한 템플릿 옵션입니다. StaticSiteTemplateOptions

StaticSiteBuildProperties

이름 묘사
apiBuildCommand Azure Functions API 애플리케이션을 배포하는 동안 실행할 사용자 지정 명령입니다. 문자열
apiLocation 리포지토리 내의 api 코드 경로입니다. 문자열
appArtifactLocation 사용되지 않음: 빌드 후 앱 아티팩트 경로(OutputLocation을 위해 사용되지 않음) 문자열
appBuildCommand 정적 콘텐츠 애플리케이션을 배포하는 동안 실행할 사용자 지정 명령입니다. 문자열
appLocation 리포지토리 내의 앱 코드 경로입니다. 문자열
githubActionSecretNameOverride Github 작업 비밀 이름이 재정의됩니다. 문자열
outputLocation 빌드 후 앱의 출력 경로입니다. 문자열
skipGithubActionWorkflowGeneration Github 작업 워크플로 생성을 건너뜁니다. bool

StaticSiteTemplateOptions

이름 묘사
묘사 새로 생성된 리포지토리에 대한 설명입니다. 문자열
isPrivate 새로 생성된 리포지토리가 프라이빗 리포지토리인지 여부입니다. 기본값은 false(즉, public)입니다. bool
소유자 새로 생성된 리포지토리의 소유자입니다. 문자열
repositoryName 새로 생성된 리포지토리의 이름입니다. 문자열
templateRepositoryUrl 템플릿 리포지토리의 URL입니다. 새로 생성된 리포지토리는 이 리포지토리를 기반으로 합니다. 문자열

UserAssignedIdentity

이름 묘사

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

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

  • 리소스 그룹

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

리소스 형식

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Web/staticSites@2021-03-01"
  name = "string"
  identity = {
    type = "string"
    userAssignedIdentities = {
      {customized property} = {
      }
    }
  }
  kind = "string"
  location = "string"
  sku = {
    capabilities = [
      {
        name = "string"
        reason = "string"
        value = "string"
      }
    ]
    capacity = int
    family = "string"
    locations = [
      "string"
    ]
    name = "string"
    size = "string"
    skuCapacity = {
      default = int
      elasticMaximum = int
      maximum = int
      minimum = int
      scaleType = "string"
    }
    tier = "string"
  }
  tags = {
    {customized property} = "string"
  }
  body = jsonencode({
    properties = {
      allowConfigFileUpdates = bool
      branch = "string"
      buildProperties = {
        apiBuildCommand = "string"
        apiLocation = "string"
        appArtifactLocation = "string"
        appBuildCommand = "string"
        appLocation = "string"
        githubActionSecretNameOverride = "string"
        outputLocation = "string"
        skipGithubActionWorkflowGeneration = bool
      }
      enterpriseGradeCdnStatus = "string"
      provider = "string"
      repositoryToken = "string"
      repositoryUrl = "string"
      stagingEnvironmentPolicy = "string"
      templateProperties = {
        description = "string"
        isPrivate = bool
        owner = "string"
        repositoryName = "string"
        templateRepositoryUrl = "string"
      }
    }
  })
}

속성 값

능력

이름 묘사
이름 SKU 기능의 이름입니다. 문자열
이유 SKU 기능의 이유입니다. 문자열
SKU 기능의 값입니다. 문자열

ManagedServiceIdentity

이름 묘사
관리 서비스 ID의 유형입니다. 'None'
'SystemAssigned'
'SystemAssigned, UserAssigned'
'UserAssigned'
userAssignedIdentities 리소스와 연결된 사용자 할당 ID 목록입니다. 사용자 ID 사전 키 참조는 '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} 형식의 ARM 리소스 ID입니다. ManagedServiceIdentityUserAssignedIdentities

ManagedServiceIdentityUserAssignedIdentities

이름 묘사

Microsoft.Web/staticSites

이름 묘사
신원 관리되는 서비스 ID입니다. ManagedServiceIdentity
종류 리소스 종류입니다. 문자열
위치 리소스 위치입니다. string(필수)
이름 리소스 이름 string(필수)
속성 핵심 리소스 속성 StaticSite
sku 확장 가능한 리소스에 대한 SKU에 대한 설명입니다. SkuDescription
태그 리소스 태그 태그 이름 및 값의 사전입니다.
리소스 종류 "Microsoft.Web/staticSites@2021-03-01"

ResourceTags

이름 묘사

SkuCapacity

이름 묘사
기본값 이 App Service 계획 SKU의 기본 작업자 수입니다. int
elasticMaximum 이 App Service 계획 SKU의 최대 탄력적 작업자 수입니다. int
최대 이 App Service 계획 SKU의 최대 작업자 수입니다. int
최소 이 App Service 계획 SKU의 최소 작업자 수입니다. int
scaleType App Service 계획에 사용할 수 있는 크기 조정 구성입니다. 문자열

SkuDescription

이름 묘사
기능 SKU의 기능(예: Traffic Manager를 사용하도록 설정)? 기능[]
용량 리소스에 할당된 현재 인스턴스 수입니다. int
가족 리소스 SKU의 패밀리 코드입니다. 문자열
위치 SKU의 위치입니다. string[]
이름 리소스 SKU의 이름입니다. 문자열
크기 리소스 SKU의 크기 지정자입니다. 문자열
skuCapacity SKU의 최소, 최대 및 기본 배율 값입니다. SkuCapacity
계층 리소스 SKU의 서비스 계층입니다. 문자열

StaticSite

이름 묘사
allowConfigFileUpdates <코드는 이 정적 웹앱에 대해 구성 파일이 잠겨 있으면 false</code>>. 그렇지 않으면 <코드가 true</code>>. bool
가지 리포지토리의 대상 분기입니다. 문자열
buildProperties 리포지토리에서 구성할 속성을 빌드합니다. StaticSiteBuildProperties
enterpriseGradeCdnStatus 정적 웹앱에 트래픽을 제공하는 엔터프라이즈급 CDN의 상태를 나타내는 상태입니다. '사용 안 함'
'사용 안 림'
'Enabled'
'사용'
공급자 정적 사이트의 기본 환경에 마지막 배포를 제출한 공급자입니다. 문자열
repositoryToken 사용자의 github 리포지토리 토큰입니다. Github Actions 워크플로 파일 및 API 비밀을 설정하는 데 사용됩니다. 문자열
repositoryUrl 정적 사이트의 리포지토리에 대한 URL입니다. 문자열
stagingEnvironmentPolicy 스테이징 환경이 정적 웹앱에 허용되는지 여부를 나타내는 상태입니다. '사용 안 함'
'Enabled'
templateProperties 새 리포지토리를 생성하기 위한 템플릿 옵션입니다. StaticSiteTemplateOptions

StaticSiteBuildProperties

이름 묘사
apiBuildCommand Azure Functions API 애플리케이션을 배포하는 동안 실행할 사용자 지정 명령입니다. 문자열
apiLocation 리포지토리 내의 api 코드 경로입니다. 문자열
appArtifactLocation 사용되지 않음: 빌드 후 앱 아티팩트 경로(OutputLocation을 위해 사용되지 않음) 문자열
appBuildCommand 정적 콘텐츠 애플리케이션을 배포하는 동안 실행할 사용자 지정 명령입니다. 문자열
appLocation 리포지토리 내의 앱 코드 경로입니다. 문자열
githubActionSecretNameOverride Github 작업 비밀 이름이 재정의됩니다. 문자열
outputLocation 빌드 후 앱의 출력 경로입니다. 문자열
skipGithubActionWorkflowGeneration Github 작업 워크플로 생성을 건너뜁니다. bool

StaticSiteTemplateOptions

이름 묘사
묘사 새로 생성된 리포지토리에 대한 설명입니다. 문자열
isPrivate 새로 생성된 리포지토리가 프라이빗 리포지토리인지 여부입니다. 기본값은 false(즉, public)입니다. bool
소유자 새로 생성된 리포지토리의 소유자입니다. 문자열
repositoryName 새로 생성된 리포지토리의 이름입니다. 문자열
templateRepositoryUrl 템플릿 리포지토리의 URL입니다. 새로 생성된 리포지토리는 이 리포지토리를 기반으로 합니다. 문자열

UserAssignedIdentity

이름 묘사