Share via


Microsoft.Network securityPartnerProviders 2023-09-01

Bicep resource definition

The securityPartnerProviders resource type can be deployed with operations that target:

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

Resource format

To create a Microsoft.Network/securityPartnerProviders resource, add the following Bicep to your template.

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

Property Values

Microsoft.Network/securityPartnerProviders

Name Description Value
location Resource location. string
name The resource name string (required)
properties Properties of the Security Partner Provider. SecurityPartnerProviderPropertiesFormat
tags Resource tags Dictionary of tag names and values. See Tags in templates

ResourceTags

Name Description Value

SecurityPartnerProviderPropertiesFormat

Name Description Value
securityProviderName The security provider name. 'Checkpoint'
'IBoss'
'ZScaler'
virtualHub The virtualHub to which the Security Partner Provider belongs. SubResource

SubResource

Name Description Value
id Resource ID. string

Usage Examples

Bicep Samples

A basic example of deploying Security Partner Provider which could be associated to virtual hub.

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

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

ARM template resource definition

The securityPartnerProviders resource type can be deployed with operations that target:

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

Resource format

To create a Microsoft.Network/securityPartnerProviders resource, add the following JSON to your template.

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

Property Values

Microsoft.Network/securityPartnerProviders

Name Description Value
apiVersion The api version '2023-09-01'
location Resource location. string
name The resource name string (required)
properties Properties of the Security Partner Provider. SecurityPartnerProviderPropertiesFormat
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.Network/securityPartnerProviders'

ResourceTags

Name Description Value

SecurityPartnerProviderPropertiesFormat

Name Description Value
securityProviderName The security provider name. 'Checkpoint'
'IBoss'
'ZScaler'
virtualHub The virtualHub to which the Security Partner Provider belongs. SubResource

SubResource

Name Description Value
id Resource ID. string

Usage Examples

Terraform (AzAPI provider) resource definition

The securityPartnerProviders resource type can be deployed with operations that target:

  • Resource groups

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

Resource format

To create a Microsoft.Network/securityPartnerProviders resource, add the following Terraform to your template.

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

Property Values

Microsoft.Network/securityPartnerProviders

Name Description Value
location Resource location. string
name The resource name string (required)
properties Properties of the Security Partner Provider. SecurityPartnerProviderPropertiesFormat
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.Network/securityPartnerProviders@2023-09-01"

ResourceTags

Name Description Value

SecurityPartnerProviderPropertiesFormat

Name Description Value
securityProviderName The security provider name. 'Checkpoint'
'IBoss'
'ZScaler'
virtualHub The virtualHub to which the Security Partner Provider belongs. SubResource

SubResource

Name Description Value
id Resource ID. string

Usage Examples

Terraform Samples

A basic example of deploying Security Partner Provider which could be associated to virtual hub.

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