azure-native-v2.network.VirtualApplianceSite
Explore with Pulumi AI
Virtual Appliance Site resource. Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01.
Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01.
Create VirtualApplianceSite Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VirtualApplianceSite(name: string, args: VirtualApplianceSiteArgs, opts?: CustomResourceOptions);
@overload
def VirtualApplianceSite(resource_name: str,
args: VirtualApplianceSiteArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VirtualApplianceSite(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_virtual_appliance_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
address_prefix: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
o365_policy: Optional[Office365PolicyPropertiesArgs] = None,
site_name: Optional[str] = None)
func NewVirtualApplianceSite(ctx *Context, name string, args VirtualApplianceSiteArgs, opts ...ResourceOption) (*VirtualApplianceSite, error)
public VirtualApplianceSite(string name, VirtualApplianceSiteArgs args, CustomResourceOptions? opts = null)
public VirtualApplianceSite(String name, VirtualApplianceSiteArgs args)
public VirtualApplianceSite(String name, VirtualApplianceSiteArgs args, CustomResourceOptions options)
type: azure-native:network:VirtualApplianceSite
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. VirtualApplianceSiteArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. VirtualApplianceSiteArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. VirtualApplianceSiteArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. VirtualApplianceSiteArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. VirtualApplianceSiteArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var virtualApplianceSiteResource = new AzureNative.Network.VirtualApplianceSite("virtualApplianceSiteResource", new()
{
NetworkVirtualApplianceName = "string",
ResourceGroupName = "string",
AddressPrefix = "string",
Id = "string",
Name = "string",
O365Policy =
{
{ "breakOutCategories",
{
{ "allow", false },
{ "default", false },
{ "optimize", false },
} },
},
SiteName = "string",
});
example, err := network.NewVirtualApplianceSite(ctx, "virtualApplianceSiteResource", &network.VirtualApplianceSiteArgs{
NetworkVirtualApplianceName: "string",
ResourceGroupName: "string",
AddressPrefix: "string",
Id: "string",
Name: "string",
O365Policy: map[string]interface{}{
"breakOutCategories": map[string]interface{}{
"allow": false,
"default": false,
"optimize": false,
},
},
SiteName: "string",
})
var virtualApplianceSiteResource = new VirtualApplianceSite("virtualApplianceSiteResource", VirtualApplianceSiteArgs.builder()
.networkVirtualApplianceName("string")
.resourceGroupName("string")
.addressPrefix("string")
.id("string")
.name("string")
.o365Policy(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.siteName("string")
.build());
virtual_appliance_site_resource = azure_native.network.VirtualApplianceSite("virtualApplianceSiteResource",
network_virtual_appliance_name=string,
resource_group_name=string,
address_prefix=string,
id=string,
name=string,
o365_policy={
breakOutCategories: {
allow: False,
default: False,
optimize: False,
},
},
site_name=string)
const virtualApplianceSiteResource = new azure_native.network.VirtualApplianceSite("virtualApplianceSiteResource", {
networkVirtualApplianceName: "string",
resourceGroupName: "string",
addressPrefix: "string",
id: "string",
name: "string",
o365Policy: {
breakOutCategories: {
allow: false,
"default": false,
optimize: false,
},
},
siteName: "string",
});
type: azure-native:network:VirtualApplianceSite
properties:
addressPrefix: string
id: string
name: string
networkVirtualApplianceName: string
o365Policy:
breakOutCategories:
allow: false
default: false
optimize: false
resourceGroupName: string
siteName: string
VirtualApplianceSite Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VirtualApplianceSite resource accepts the following input properties:
- Network
Virtual Appliance Name This property is required. Changes to this property will trigger replacement.
- The name of the Network Virtual Appliance.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- Address
Prefix string - Address Prefix.
- Id string
- Resource ID.
- Name string
- Name of the virtual appliance site.
- O365Policy
Pulumi.
Azure Native. Network. Inputs. Office365Policy Properties - Office 365 Policy.
- Site
Name Changes to this property will trigger replacement.
- The name of the site.
- Network
Virtual Appliance Name This property is required. Changes to this property will trigger replacement.
- The name of the Network Virtual Appliance.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- Address
Prefix string - Address Prefix.
- Id string
- Resource ID.
- Name string
- Name of the virtual appliance site.
- O365Policy
Office365Policy
Properties Args - Office 365 Policy.
- Site
Name Changes to this property will trigger replacement.
- The name of the site.
- network
Virtual Appliance Name This property is required. Changes to this property will trigger replacement.
- The name of the Network Virtual Appliance.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- address
Prefix String - Address Prefix.
- id String
- Resource ID.
- name String
- Name of the virtual appliance site.
- o365Policy
Office365Policy
Properties - Office 365 Policy.
- site
Name Changes to this property will trigger replacement.
- The name of the site.
- network
Virtual Appliance Name This property is required. Changes to this property will trigger replacement.
- The name of the Network Virtual Appliance.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- address
Prefix string - Address Prefix.
- id string
- Resource ID.
- name string
- Name of the virtual appliance site.
- o365Policy
Office365Policy
Properties - Office 365 Policy.
- site
Name Changes to this property will trigger replacement.
- The name of the site.
- network_
virtual_ appliance_ name This property is required. Changes to this property will trigger replacement.
- The name of the Network Virtual Appliance.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- address_
prefix str - Address Prefix.
- id str
- Resource ID.
- name str
- Name of the virtual appliance site.
- o365_
policy Office365PolicyProperties Args - Office 365 Policy.
- site_
name Changes to this property will trigger replacement.
- The name of the site.
- network
Virtual Appliance Name This property is required. Changes to this property will trigger replacement.
- The name of the Network Virtual Appliance.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- address
Prefix String - Address Prefix.
- id String
- Resource ID.
- name String
- Name of the virtual appliance site.
- o365Policy Property Map
- Office 365 Policy.
- site
Name Changes to this property will trigger replacement.
- The name of the site.
Outputs
All input properties are implicitly available as output properties. Additionally, the VirtualApplianceSite resource produces the following output properties:
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
State string - The provisioning state of the resource.
- Type string
- Site type.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
State string - The provisioning state of the resource.
- Type string
- Site type.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
State String - The provisioning state of the resource.
- type String
- Site type.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- id string
- The provider-assigned unique ID for this managed resource.
- provisioning
State string - The provisioning state of the resource.
- type string
- Site type.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- id str
- The provider-assigned unique ID for this managed resource.
- provisioning_
state str - The provisioning state of the resource.
- type str
- Site type.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
State String - The provisioning state of the resource.
- type String
- Site type.
Supporting Types
BreakOutCategoryPolicies, BreakOutCategoryPoliciesArgs
BreakOutCategoryPoliciesResponse, BreakOutCategoryPoliciesResponseArgs
Office365PolicyProperties, Office365PolicyPropertiesArgs
- Break
Out Pulumi.Categories Azure Native. Network. Inputs. Break Out Category Policies - Office 365 breakout categories.
- Break
Out BreakCategories Out Category Policies - Office 365 breakout categories.
- break
Out BreakCategories Out Category Policies - Office 365 breakout categories.
- break
Out BreakCategories Out Category Policies - Office 365 breakout categories.
- break_
out_ Breakcategories Out Category Policies - Office 365 breakout categories.
- break
Out Property MapCategories - Office 365 breakout categories.
Office365PolicyPropertiesResponse, Office365PolicyPropertiesResponseArgs
- Break
Out Pulumi.Categories Azure Native. Network. Inputs. Break Out Category Policies Response - Office 365 breakout categories.
- Break
Out BreakCategories Out Category Policies Response - Office 365 breakout categories.
- break
Out BreakCategories Out Category Policies Response - Office 365 breakout categories.
- break
Out BreakCategories Out Category Policies Response - Office 365 breakout categories.
- break_
out_ Breakcategories Out Category Policies Response - Office 365 breakout categories.
- break
Out Property MapCategories - Office 365 breakout categories.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:network:VirtualApplianceSite site1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0