다음을 통해 공유


Microsoft.Network networkVirtualAppliances/virtualApplianceSites 2020-06-01

Bicep resource definition

The networkVirtualAppliances/virtualApplianceSites 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/networkVirtualAppliances/virtualApplianceSites resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Network/networkVirtualAppliances/virtualApplianceSites@2020-06-01' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    addressPrefix: 'string'
    o365Policy: {
      breakOutCategories: {
        allow: bool
        default: bool
        optimize: bool
      }
    }
  }
}

Property values

BreakOutCategoryPolicies

Name Description Value
allow Flag to control breakout of o365 allow category. bool
default Flag to control breakout of o365 default category. bool
optimize Flag to control breakout of o365 optimize category. bool

Microsoft.Network/networkVirtualAppliances/virtualApplianceSites

Name Description Value
name The resource name string (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: networkVirtualAppliances
properties The properties of the Virtual Appliance Sites. VirtualApplianceSiteProperties

Office365PolicyProperties

Name Description Value
breakOutCategories Office 365 breakout categories. BreakOutCategoryPolicies

VirtualApplianceSiteProperties

Name Description Value
addressPrefix Address Prefix. string
o365Policy Office 365 Policy. Office365PolicyProperties

ARM template resource definition

The networkVirtualAppliances/virtualApplianceSites 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/networkVirtualAppliances/virtualApplianceSites resource, add the following JSON to your template.

{
  "type": "Microsoft.Network/networkVirtualAppliances/virtualApplianceSites",
  "apiVersion": "2020-06-01",
  "name": "string",
  "properties": {
    "addressPrefix": "string",
    "o365Policy": {
      "breakOutCategories": {
        "allow": "bool",
        "default": "bool",
        "optimize": "bool"
      }
    }
  }
}

Property values

BreakOutCategoryPolicies

Name Description Value
allow Flag to control breakout of o365 allow category. bool
default Flag to control breakout of o365 default category. bool
optimize Flag to control breakout of o365 optimize category. bool

Microsoft.Network/networkVirtualAppliances/virtualApplianceSites

Name Description Value
apiVersion The api version '2020-06-01'
name The resource name string (required)
properties The properties of the Virtual Appliance Sites. VirtualApplianceSiteProperties
type The resource type 'Microsoft.Network/networkVirtualAppliances/virtualApplianceSites'

Office365PolicyProperties

Name Description Value
breakOutCategories Office 365 breakout categories. BreakOutCategoryPolicies

VirtualApplianceSiteProperties

Name Description Value
addressPrefix Address Prefix. string
o365Policy Office 365 Policy. Office365PolicyProperties

Terraform (AzAPI provider) resource definition

The networkVirtualAppliances/virtualApplianceSites 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/networkVirtualAppliances/virtualApplianceSites resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Network/networkVirtualAppliances/virtualApplianceSites@2020-06-01"
  name = "string"
  body = jsonencode({
    properties = {
      addressPrefix = "string"
      o365Policy = {
        breakOutCategories = {
          allow = bool
          default = bool
          optimize = bool
        }
      }
    }
  })
}

Property values

BreakOutCategoryPolicies

Name Description Value
allow Flag to control breakout of o365 allow category. bool
default Flag to control breakout of o365 default category. bool
optimize Flag to control breakout of o365 optimize category. bool

Microsoft.Network/networkVirtualAppliances/virtualApplianceSites

Name Description Value
name The resource name string (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: networkVirtualAppliances
properties The properties of the Virtual Appliance Sites. VirtualApplianceSiteProperties
type The resource type "Microsoft.Network/networkVirtualAppliances/virtualApplianceSites@2020-06-01"

Office365PolicyProperties

Name Description Value
breakOutCategories Office 365 breakout categories. BreakOutCategoryPolicies

VirtualApplianceSiteProperties

Name Description Value
addressPrefix Address Prefix. string
o365Policy Office 365 Policy. Office365PolicyProperties