Microsoft.Network security合作夥伴供應商

Bicep 資源定義

securityPartnerProviders 資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔

資源格式

若要建立 Microsoft.Network/securityPartnerProviders 資源,請將下列 Bicep 新增至範本。

resource symbolicname 'Microsoft.Network/securityPartnerProviders@2025-05-01' = {
  location: 'string'
  name: 'string'
  properties: {
    securityProviderName: 'string'
    virtualHub: {
      id: 'string'
    }
  }
  tags: {
    {customized property}: 'string'
  }
}

屬性值

Microsoft.Network/security合作夥伴供應商

名字 描述 價值
位置 資源位置。 字串
名字 資源名稱 字串 (必要)
性能 安全性合作夥伴提供者的屬性。 SecurityPartnerProviderPropertiesFormat
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤

CommonResourceTags

名字 描述 價值

共同子資源

名字 描述 價值
識別碼 資源標識碼。 字串

SecurityPartnerProviderPropertiesFormat

名字 描述 價值
securityProviderName (安全提供程式名稱) 安全性提供者名稱。 “檢查點”
“IBoss”
'ZScaler'
虛擬中心 Security Partner Provider 所屬的 virtualHub。 共同子資源

使用範例

Bicep 範例

部署可與虛擬中樞相關聯的安全性合作夥伴提供者的基本範例。

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

resource securityPartnerProvider 'Microsoft.Network/securityPartnerProviders@2022-07-01' = {
  name: resourceName
  location: location
  properties: {
    securityProviderName: 'ZScaler'
  }
}

ARM 樣本資源定義

securityPartnerProviders 資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔

資源格式

若要建立 Microsoft.Network/securityPartnerProviders 資源,請將下列 JSON 新增至範本。

{
  "type": "Microsoft.Network/securityPartnerProviders",
  "apiVersion": "2025-05-01",
  "name": "string",
  "location": "string",
  "properties": {
    "securityProviderName": "string",
    "virtualHub": {
      "id": "string"
    }
  },
  "tags": {
    "{customized property}": "string"
  }
}

屬性值

Microsoft.Network/security合作夥伴供應商

名字 描述 價值
apiVersion API 版本 '2025-05-01'
位置 資源位置。 字串
名字 資源名稱 字串 (必要)
性能 安全性合作夥伴提供者的屬性。 SecurityPartnerProviderPropertiesFormat
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤
型別 資源類型 “Microsoft.Network/securityPartnerProviders”

CommonResourceTags

名字 描述 價值

共同子資源

名字 描述 價值
識別碼 資源標識碼。 字串

SecurityPartnerProviderPropertiesFormat

名字 描述 價值
securityProviderName (安全提供程式名稱) 安全性提供者名稱。 “檢查點”
“IBoss”
'ZScaler'
虛擬中心 Security Partner Provider 所屬的 virtualHub。 共同子資源

使用範例

Terraform (AzAPI 提供者) 資源定義

securityPartnerProviders 資源類型可以使用目標作業來部署:

  • 資源群組

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔

資源格式

若要建立 Microsoft.Network/securityPartnerProviders 資源,請將下列 Terraform 新增至範本。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Network/securityPartnerProviders@2025-05-01"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      securityProviderName = "string"
      virtualHub = {
        id = "string"
      }
    }
  }
}

屬性值

Microsoft.Network/security合作夥伴供應商

名字 描述 價值
位置 資源位置。 字串
名字 資源名稱 字串 (必要)
性能 安全性合作夥伴提供者的屬性。 SecurityPartnerProviderPropertiesFormat
標籤 資源標籤 標記名稱和值的字典。
型別 資源類型 「Microsoft.Network/securityPartnerProviders@2025-05-01」

CommonResourceTags

名字 描述 價值

共同子資源

名字 描述 價值
識別碼 資源標識碼。 字串

SecurityPartnerProviderPropertiesFormat

名字 描述 價值
securityProviderName (安全提供程式名稱) 安全性提供者名稱。 “檢查點”
“IBoss”
'ZScaler'
虛擬中心 Security Partner Provider 所屬的 virtualHub。 共同子資源

使用範例

Terraform 範例

部署可與虛擬中樞相關聯的安全性合作夥伴提供者的基本範例。

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" "securityPartnerProvider" {
  type      = "Microsoft.Network/securityPartnerProviders@2022-07-01"
  parent_id = azapi_resource.resourceGroup.id
  name      = var.resource_name
  location  = var.location
  body = {
    properties = {
      securityProviderName = "ZScaler"
    }
  }
  schema_validation_enabled = false
  response_export_values    = ["*"]
}