Microsoft. ApiManagement 서비스/사용자 2025-09-01-preview

Bicep 자원 정의

다음을 대상으로 하는 작업으로 서비스/사용자 리소스 유형을 배포할 수 있습니다.

  • Resource groups - 자원 그룹 배치 명령

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

리소스 형식

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

resource symbolicname 'Microsoft.ApiManagement/service/users@2025-09-01-preview' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    appType: 'string'
    confirmation: 'string'
    email: 'string'
    firstName: 'string'
    identities: [
      {
        id: 'string'
        provider: 'string'
      }
    ]
    lastName: 'string'
    note: 'string'
    password: 'string'
    state: 'string'
  }
}

속성 값

Microsoft.ApiManagement/service/users

Name Description 가치
name 리소스 이름 string

Constraints:
최소 길이 = 1
최대 길이 = 80(필수)
parent Bicep에서는 자식 리소스의 부모 리소스를 지정할 수 있습니다. 자식 리소스가 부모 리소스 외부에서 선언된 경우에만 이 속성을 추가해야 합니다.

자세한 내용은 Child 리소스 outside parent resource를 참조하세요.
형식의 리소스에 대한 기호 이름: 서비스
속성 사용자 엔터티는 계약 속성을 만듭니다. UserCreateParameterPropertiesOrUserContractProperties

UserCreateParameterPropertiesOrUserContractProperties

Name Description 가치
앱 유형 사용자 만들기 요청을 보내는 애플리케이션의 유형을 결정합니다. 기본값은 레거시 포털입니다. 'developerPortal'
'portal'
확인 새로 만든 사용자에게 보낼 확인 전자 메일의 유형을 결정합니다. '초대'
'등록'
메일 주소 이메일 주소. 비어 있지 않아야 하며 서비스 인스턴스 내에서 고유해야 합니다. string

Constraints:
최소 길이 = 1
최대 길이 = 254(필수)
firstName 이름. string

Constraints:
최소 길이 = 1
최대 길이 = 100(필수)
ID 사용자 ID의 컬렉션입니다. UserIdentityContract[]
성 성. string

Constraints:
최소 길이 = 1
최대 길이 = 100(필수)
메모 관리자가 설정한 사용자에 대한 선택적 참고 사항입니다. string
암호 사용자 암호입니다. 값이 제공되지 않으면 기본 암호가 생성됩니다. string
state 계정 상태입니다. 사용자가 활성 상태인지 여부를 지정합니다. 차단된 사용자는 개발자 포털에 로그인하거나 구독된 제품의 API를 호출할 수 없습니다. 기본 상태는 활성입니다. 'active'
'차단됨'
'deleted'
'보류 중'

UserIdentityContract

Name Description 가치
id 공급자 내의 식별자 값입니다. string
provider ID 공급자 이름입니다. string

사용 예제

Bicep 샘플

API Management 사용자 배포의 기본 예제입니다.

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

resource service 'Microsoft.ApiManagement/service@2021-08-01' = {
  name: resourceName
  location: location
  sku: {
    capacity: 1
    name: 'Developer'
  }
  properties: {
    certificates: []
    customProperties: {
      'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false'
      'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false'
      'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false'
      'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA': 'false'
      'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA': 'false'
      'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA': 'false'
      'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA': 'false'
      'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA': 'false'
      'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256': 'false'
      'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_GCM_SHA256': 'false'
      'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_CBC_SHA': 'false'
      'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_CBC_SHA256': 'false'
      'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_GCM_SHA384': 'false'
      'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168': 'false'
      'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30': 'false'
      'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false'
      'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false'
    }
    disableGateway: false
    publicNetworkAccess: 'Enabled'
    publisherEmail: 'pub1@email.com'
    publisherName: 'pub1'
    virtualNetworkType: 'None'
  }
}

resource user 'Microsoft.ApiManagement/service/users@2021-08-01' = {
  name: resourceName
  parent: service
  properties: {
    email: 'azure-acctest230630032559695401@example.com'
    firstName: 'Acceptance'
    lastName: 'Test'
  }
}

ARM 템플릿 리소스 정의

다음을 대상으로 하는 작업으로 서비스/사용자 리소스 유형을 배포할 수 있습니다.

  • Resource groups - 자원 그룹 배치 명령

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

리소스 형식

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

{
  "type": "Microsoft.ApiManagement/service/users",
  "apiVersion": "2025-09-01-preview",
  "name": "string",
  "properties": {
    "appType": "string",
    "confirmation": "string",
    "email": "string",
    "firstName": "string",
    "identities": [
      {
        "id": "string",
        "provider": "string"
      }
    ],
    "lastName": "string",
    "note": "string",
    "password": "string",
    "state": "string"
  }
}

속성 값

Microsoft.ApiManagement/service/users

Name Description 가치
API버전 api 버전 '2025-09-01-미리보기'
name 리소스 이름 string

Constraints:
최소 길이 = 1
최대 길이 = 80(필수)
속성 사용자 엔터티는 계약 속성을 만듭니다. UserCreateParameterPropertiesOrUserContractProperties
type 리소스 종류 'Microsoft.ApiManagement/service/users'

UserCreateParameterPropertiesOrUserContractProperties

Name Description 가치
앱 유형 사용자 만들기 요청을 보내는 애플리케이션의 유형을 결정합니다. 기본값은 레거시 포털입니다. 'developerPortal'
'portal'
확인 새로 만든 사용자에게 보낼 확인 전자 메일의 유형을 결정합니다. '초대'
'등록'
메일 주소 이메일 주소. 비어 있지 않아야 하며 서비스 인스턴스 내에서 고유해야 합니다. string

Constraints:
최소 길이 = 1
최대 길이 = 254(필수)
firstName 이름. string

Constraints:
최소 길이 = 1
최대 길이 = 100(필수)
ID 사용자 ID의 컬렉션입니다. UserIdentityContract[]
성 성. string

Constraints:
최소 길이 = 1
최대 길이 = 100(필수)
메모 관리자가 설정한 사용자에 대한 선택적 참고 사항입니다. string
암호 사용자 암호입니다. 값이 제공되지 않으면 기본 암호가 생성됩니다. string
state 계정 상태입니다. 사용자가 활성 상태인지 여부를 지정합니다. 차단된 사용자는 개발자 포털에 로그인하거나 구독된 제품의 API를 호출할 수 없습니다. 기본 상태는 활성입니다. 'active'
'차단됨'
'deleted'
'보류 중'

UserIdentityContract

Name Description 가치
id 공급자 내의 식별자 값입니다. string
provider ID 공급자 이름입니다. string

사용 예제

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

다음을 대상으로 하는 작업으로 서비스/사용자 리소스 유형을 배포할 수 있습니다.

  • 리소스 그룹

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

리소스 형식

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.ApiManagement/service/users@2025-09-01-preview"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      appType = "string"
      confirmation = "string"
      email = "string"
      firstName = "string"
      identities = [
        {
          id = "string"
          provider = "string"
        }
      ]
      lastName = "string"
      note = "string"
      password = "string"
      state = "string"
    }
  }
}

속성 값

Microsoft.ApiManagement/service/users

Name Description 가치
name 리소스 이름 string

Constraints:
최소 길이 = 1
최대 길이 = 80(필수)
parent_id 이 리소스의 부모인 리소스의 ID입니다. 유형의 리소스에 대한 ID: 서비스
속성 사용자 엔터티는 계약 속성을 만듭니다. UserCreateParameterPropertiesOrUserContractProperties
type 리소스 종류 "Microsoft. ApiManagement/service/users@2025-09-01-preview"

UserCreateParameterPropertiesOrUserContractProperties

Name Description 가치
앱 유형 사용자 만들기 요청을 보내는 애플리케이션의 유형을 결정합니다. 기본값은 레거시 포털입니다. 'developerPortal'
'portal'
확인 새로 만든 사용자에게 보낼 확인 전자 메일의 유형을 결정합니다. '초대'
'등록'
메일 주소 이메일 주소. 비어 있지 않아야 하며 서비스 인스턴스 내에서 고유해야 합니다. string

Constraints:
최소 길이 = 1
최대 길이 = 254(필수)
firstName 이름. string

Constraints:
최소 길이 = 1
최대 길이 = 100(필수)
ID 사용자 ID의 컬렉션입니다. UserIdentityContract[]
성 성. string

Constraints:
최소 길이 = 1
최대 길이 = 100(필수)
메모 관리자가 설정한 사용자에 대한 선택적 참고 사항입니다. string
암호 사용자 암호입니다. 값이 제공되지 않으면 기본 암호가 생성됩니다. string
state 계정 상태입니다. 사용자가 활성 상태인지 여부를 지정합니다. 차단된 사용자는 개발자 포털에 로그인하거나 구독된 제품의 API를 호출할 수 없습니다. 기본 상태는 활성입니다. 'active'
'차단됨'
'deleted'
'보류 중'

UserIdentityContract

Name Description 가치
id 공급자 내의 식별자 값입니다. string
provider ID 공급자 이름입니다. string

사용 예제

Terraform 샘플

API Management 사용자 배포의 기본 예제입니다.

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" "service" {
  type      = "Microsoft.ApiManagement/service@2021-08-01"
  parent_id = azapi_resource.resourceGroup.id
  name      = var.resource_name
  location  = var.location
  body = {
    properties = {
      certificates = [
      ]
      customProperties = {
        "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30"                      = "false"
        "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10"                      = "false"
        "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11"                      = "false"
        "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA" = "false"
        "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" = "false"
        "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA"   = "false"
        "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA"   = "false"
        "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA"         = "false"
        "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256"      = "false"
        "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_GCM_SHA256"      = "false"
        "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_CBC_SHA"         = "false"
        "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_CBC_SHA256"      = "false"
        "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_GCM_SHA384"      = "false"
        "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168"                         = "false"
        "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30"                              = "false"
        "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10"                              = "false"
        "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11"                              = "false"
      }
      disableGateway      = false
      publicNetworkAccess = "Enabled"
      publisherEmail      = "pub1@email.com"
      publisherName       = "pub1"
      virtualNetworkType  = "None"
    }
    sku = {
      capacity = 1
      name     = "Developer"
    }
  }
  schema_validation_enabled = false
  response_export_values    = ["*"]
  timeouts {
    create = "180m"
    update = "180m"
    delete = "180m"
  }
}

resource "azapi_resource" "user" {
  type      = "Microsoft.ApiManagement/service/users@2021-08-01"
  parent_id = azapi_resource.service.id
  name      = var.resource_name
  body = {
    properties = {
      email     = "azure-acctest230630032559695401@example.com"
      firstName = "Acceptance"
      lastName  = "Test"
    }
  }
  schema_validation_enabled = false
  response_export_values    = ["*"]
}