networksecuritygroups

package
v0.20240516.1091934 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networksecuritygroups Documentation

The networksecuritygroups SDK allows for interaction with the Azure Resource Manager Service network (API Version 2023-11-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/networksecuritygroups"

Client Initialization

client := networksecuritygroups.NewNetworkSecurityGroupsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: NetworkSecurityGroupsClient.CreateOrUpdate

ctx := context.TODO()
id := networksecuritygroups.NewNetworkSecurityGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkSecurityGroupValue")

payload := networksecuritygroups.NetworkSecurityGroup{
	// ...
}


if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: NetworkSecurityGroupsClient.Delete

ctx := context.TODO()
id := networksecuritygroups.NewNetworkSecurityGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkSecurityGroupValue")

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: NetworkSecurityGroupsClient.Get

ctx := context.TODO()
id := networksecuritygroups.NewNetworkSecurityGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkSecurityGroupValue")

read, err := client.Get(ctx, id, networksecuritygroups.DefaultGetOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: NetworkSecurityGroupsClient.List

ctx := context.TODO()
id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

// alternatively `client.List(ctx, id)` can be used to do batched pagination
items, err := client.ListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: NetworkSecurityGroupsClient.ListAll

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination
items, err := client.ListAllComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: NetworkSecurityGroupsClient.UpdateTags

ctx := context.TODO()
id := networksecuritygroups.NewNetworkSecurityGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkSecurityGroupValue")

payload := networksecuritygroups.TagsObject{
	// ...
}


read, err := client.UpdateTags(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForDdosSettingsProtectionMode

func PossibleValuesForDdosSettingsProtectionMode() []string

func PossibleValuesForDeleteOptions

func PossibleValuesForDeleteOptions() []string

func PossibleValuesForFlowLogFormatType

func PossibleValuesForFlowLogFormatType() []string

func PossibleValuesForGatewayLoadBalancerTunnelInterfaceType

func PossibleValuesForGatewayLoadBalancerTunnelInterfaceType() []string

func PossibleValuesForGatewayLoadBalancerTunnelProtocol

func PossibleValuesForGatewayLoadBalancerTunnelProtocol() []string

func PossibleValuesForIPAllocationMethod

func PossibleValuesForIPAllocationMethod() []string

func PossibleValuesForIPVersion

func PossibleValuesForIPVersion() []string

func PossibleValuesForLoadBalancerBackendAddressAdminState

func PossibleValuesForLoadBalancerBackendAddressAdminState() []string

func PossibleValuesForNatGatewaySkuName

func PossibleValuesForNatGatewaySkuName() []string

func PossibleValuesForNetworkInterfaceAuxiliaryMode

func PossibleValuesForNetworkInterfaceAuxiliaryMode() []string

func PossibleValuesForNetworkInterfaceAuxiliarySku

func PossibleValuesForNetworkInterfaceAuxiliarySku() []string

func PossibleValuesForNetworkInterfaceMigrationPhase

func PossibleValuesForNetworkInterfaceMigrationPhase() []string

func PossibleValuesForNetworkInterfaceNicType

func PossibleValuesForNetworkInterfaceNicType() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForPublicIPAddressDnsSettingsDomainNameLabelScope

func PossibleValuesForPublicIPAddressDnsSettingsDomainNameLabelScope() []string

func PossibleValuesForPublicIPAddressMigrationPhase

func PossibleValuesForPublicIPAddressMigrationPhase() []string

func PossibleValuesForPublicIPAddressSkuName

func PossibleValuesForPublicIPAddressSkuName() []string

func PossibleValuesForPublicIPAddressSkuTier

func PossibleValuesForPublicIPAddressSkuTier() []string

func PossibleValuesForRouteNextHopType

func PossibleValuesForRouteNextHopType() []string

func PossibleValuesForSecurityRuleAccess

func PossibleValuesForSecurityRuleAccess() []string

func PossibleValuesForSecurityRuleDirection

func PossibleValuesForSecurityRuleDirection() []string

func PossibleValuesForSecurityRuleProtocol

func PossibleValuesForSecurityRuleProtocol() []string

func PossibleValuesForSharingScope

func PossibleValuesForSharingScope() []string

func PossibleValuesForSyncMode

func PossibleValuesForSyncMode() []string

func PossibleValuesForTransportProtocol

func PossibleValuesForTransportProtocol() []string

func PossibleValuesForVirtualNetworkPrivateEndpointNetworkPolicies

func PossibleValuesForVirtualNetworkPrivateEndpointNetworkPolicies() []string

func PossibleValuesForVirtualNetworkPrivateLinkServiceNetworkPolicies

func PossibleValuesForVirtualNetworkPrivateLinkServiceNetworkPolicies() []string

func ValidateNetworkSecurityGroupID

func ValidateNetworkSecurityGroupID(input interface{}, key string) (warnings []string, errors []error)

ValidateNetworkSecurityGroupID checks that 'input' can be parsed as a Network Security Group ID

Types

type ApplicationGatewayBackendAddress

type ApplicationGatewayBackendAddress struct {
	Fqdn      *string `json:"fqdn,omitempty"`
	IPAddress *string `json:"ipAddress,omitempty"`
}

type ApplicationGatewayBackendAddressPool

type ApplicationGatewayBackendAddressPool struct {
	Etag       *string                                               `json:"etag,omitempty"`
	Id         *string                                               `json:"id,omitempty"`
	Name       *string                                               `json:"name,omitempty"`
	Properties *ApplicationGatewayBackendAddressPoolPropertiesFormat `json:"properties,omitempty"`
	Type       *string                                               `json:"type,omitempty"`
}

type ApplicationGatewayBackendAddressPoolPropertiesFormat

type ApplicationGatewayBackendAddressPoolPropertiesFormat struct {
	BackendAddresses        *[]ApplicationGatewayBackendAddress `json:"backendAddresses,omitempty"`
	BackendIPConfigurations *[]NetworkInterfaceIPConfiguration  `json:"backendIPConfigurations,omitempty"`
	ProvisioningState       *ProvisioningState                  `json:"provisioningState,omitempty"`
}

type ApplicationGatewayIPConfiguration

type ApplicationGatewayIPConfiguration struct {
	Etag       *string                                            `json:"etag,omitempty"`
	Id         *string                                            `json:"id,omitempty"`
	Name       *string                                            `json:"name,omitempty"`
	Properties *ApplicationGatewayIPConfigurationPropertiesFormat `json:"properties,omitempty"`
	Type       *string                                            `json:"type,omitempty"`
}

type ApplicationGatewayIPConfigurationPropertiesFormat

type ApplicationGatewayIPConfigurationPropertiesFormat struct {
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"`
	Subnet            *SubResource       `json:"subnet,omitempty"`
}

type ApplicationSecurityGroup

type ApplicationSecurityGroup struct {
	Etag       *string                                   `json:"etag,omitempty"`
	Id         *string                                   `json:"id,omitempty"`
	Location   *string                                   `json:"location,omitempty"`
	Name       *string                                   `json:"name,omitempty"`
	Properties *ApplicationSecurityGroupPropertiesFormat `json:"properties,omitempty"`
	Tags       *map[string]string                        `json:"tags,omitempty"`
	Type       *string                                   `json:"type,omitempty"`
}

type ApplicationSecurityGroupPropertiesFormat

type ApplicationSecurityGroupPropertiesFormat struct {
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"`
	ResourceGuid      *string            `json:"resourceGuid,omitempty"`
}

type BackendAddressPool

type BackendAddressPool struct {
	Etag       *string                             `json:"etag,omitempty"`
	Id         *string                             `json:"id,omitempty"`
	Name       *string                             `json:"name,omitempty"`
	Properties *BackendAddressPoolPropertiesFormat `json:"properties,omitempty"`
	Type       *string                             `json:"type,omitempty"`
}

type BackendAddressPoolPropertiesFormat

type BackendAddressPoolPropertiesFormat struct {
	BackendIPConfigurations      *[]NetworkInterfaceIPConfiguration    `json:"backendIPConfigurations,omitempty"`
	DrainPeriodInSeconds         *int64                                `json:"drainPeriodInSeconds,omitempty"`
	InboundNatRules              *[]SubResource                        `json:"inboundNatRules,omitempty"`
	LoadBalancerBackendAddresses *[]LoadBalancerBackendAddress         `json:"loadBalancerBackendAddresses,omitempty"`
	LoadBalancingRules           *[]SubResource                        `json:"loadBalancingRules,omitempty"`
	Location                     *string                               `json:"location,omitempty"`
	OutboundRule                 *SubResource                          `json:"outboundRule,omitempty"`
	OutboundRules                *[]SubResource                        `json:"outboundRules,omitempty"`
	ProvisioningState            *ProvisioningState                    `json:"provisioningState,omitempty"`
	SyncMode                     *SyncMode                             `json:"syncMode,omitempty"`
	TunnelInterfaces             *[]GatewayLoadBalancerTunnelInterface `json:"tunnelInterfaces,omitempty"`
	VirtualNetwork               *SubResource                          `json:"virtualNetwork,omitempty"`
}

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *NetworkSecurityGroup
}

type CustomDnsConfigPropertiesFormat

type CustomDnsConfigPropertiesFormat struct {
	Fqdn        *string   `json:"fqdn,omitempty"`
	IPAddresses *[]string `json:"ipAddresses,omitempty"`
}

type DdosSettings

type DdosSettings struct {
	DdosProtectionPlan *SubResource                `json:"ddosProtectionPlan,omitempty"`
	ProtectionMode     *DdosSettingsProtectionMode `json:"protectionMode,omitempty"`
}

type DdosSettingsProtectionMode

type DdosSettingsProtectionMode string
const (
	DdosSettingsProtectionModeDisabled                DdosSettingsProtectionMode = "Disabled"
	DdosSettingsProtectionModeEnabled                 DdosSettingsProtectionMode = "Enabled"
	DdosSettingsProtectionModeVirtualNetworkInherited DdosSettingsProtectionMode = "VirtualNetworkInherited"
)

func (*DdosSettingsProtectionMode) UnmarshalJSON

func (s *DdosSettingsProtectionMode) UnmarshalJSON(bytes []byte) error

type Delegation

type Delegation struct {
	Etag       *string                            `json:"etag,omitempty"`
	Id         *string                            `json:"id,omitempty"`
	Name       *string                            `json:"name,omitempty"`
	Properties *ServiceDelegationPropertiesFormat `json:"properties,omitempty"`
	Type       *string                            `json:"type,omitempty"`
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteOptions

type DeleteOptions string
const (
	DeleteOptionsDelete DeleteOptions = "Delete"
	DeleteOptionsDetach DeleteOptions = "Detach"
)

func (*DeleteOptions) UnmarshalJSON

func (s *DeleteOptions) UnmarshalJSON(bytes []byte) error

type FlowLog

type FlowLog struct {
	Etag       *string                  `json:"etag,omitempty"`
	Id         *string                  `json:"id,omitempty"`
	Location   *string                  `json:"location,omitempty"`
	Name       *string                  `json:"name,omitempty"`
	Properties *FlowLogPropertiesFormat `json:"properties,omitempty"`
	Tags       *map[string]string       `json:"tags,omitempty"`
	Type       *string                  `json:"type,omitempty"`
}

type FlowLogFormatParameters

type FlowLogFormatParameters struct {
	Type    *FlowLogFormatType `json:"type,omitempty"`
	Version *int64             `json:"version,omitempty"`
}

type FlowLogFormatType

type FlowLogFormatType string
const (
	FlowLogFormatTypeJSON FlowLogFormatType = "JSON"
)

func (*FlowLogFormatType) UnmarshalJSON

func (s *FlowLogFormatType) UnmarshalJSON(bytes []byte) error

type FlowLogPropertiesFormat

type FlowLogPropertiesFormat struct {
	Enabled                    *bool                       `json:"enabled,omitempty"`
	FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"`
	Format                     *FlowLogFormatParameters    `json:"format,omitempty"`
	ProvisioningState          *ProvisioningState          `json:"provisioningState,omitempty"`
	RetentionPolicy            *RetentionPolicyParameters  `json:"retentionPolicy,omitempty"`
	StorageId                  string                      `json:"storageId"`
	TargetResourceGuid         *string                     `json:"targetResourceGuid,omitempty"`
	TargetResourceId           string                      `json:"targetResourceId"`
}

type FrontendIPConfiguration

type FrontendIPConfiguration struct {
	Etag       *string                                  `json:"etag,omitempty"`
	Id         *string                                  `json:"id,omitempty"`
	Name       *string                                  `json:"name,omitempty"`
	Properties *FrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"`
	Type       *string                                  `json:"type,omitempty"`
	Zones      *zones.Schema                            `json:"zones,omitempty"`
}

type FrontendIPConfigurationPropertiesFormat

type FrontendIPConfigurationPropertiesFormat struct {
	GatewayLoadBalancer       *SubResource        `json:"gatewayLoadBalancer,omitempty"`
	InboundNatPools           *[]SubResource      `json:"inboundNatPools,omitempty"`
	InboundNatRules           *[]SubResource      `json:"inboundNatRules,omitempty"`
	LoadBalancingRules        *[]SubResource      `json:"loadBalancingRules,omitempty"`
	OutboundRules             *[]SubResource      `json:"outboundRules,omitempty"`
	PrivateIPAddress          *string             `json:"privateIPAddress,omitempty"`
	PrivateIPAddressVersion   *IPVersion          `json:"privateIPAddressVersion,omitempty"`
	PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
	ProvisioningState         *ProvisioningState  `json:"provisioningState,omitempty"`
	PublicIPAddress           *PublicIPAddress    `json:"publicIPAddress,omitempty"`
	PublicIPPrefix            *SubResource        `json:"publicIPPrefix,omitempty"`
	Subnet                    *Subnet             `json:"subnet,omitempty"`
}

type GatewayLoadBalancerTunnelInterface

type GatewayLoadBalancerTunnelInterface struct {
	Identifier *int64                                  `json:"identifier,omitempty"`
	Port       *int64                                  `json:"port,omitempty"`
	Protocol   *GatewayLoadBalancerTunnelProtocol      `json:"protocol,omitempty"`
	Type       *GatewayLoadBalancerTunnelInterfaceType `json:"type,omitempty"`
}

type GatewayLoadBalancerTunnelInterfaceType

type GatewayLoadBalancerTunnelInterfaceType string
const (
	GatewayLoadBalancerTunnelInterfaceTypeExternal GatewayLoadBalancerTunnelInterfaceType = "External"
	GatewayLoadBalancerTunnelInterfaceTypeInternal GatewayLoadBalancerTunnelInterfaceType = "Internal"
	GatewayLoadBalancerTunnelInterfaceTypeNone     GatewayLoadBalancerTunnelInterfaceType = "None"
)

func (*GatewayLoadBalancerTunnelInterfaceType) UnmarshalJSON

func (s *GatewayLoadBalancerTunnelInterfaceType) UnmarshalJSON(bytes []byte) error

type GatewayLoadBalancerTunnelProtocol

type GatewayLoadBalancerTunnelProtocol string
const (
	GatewayLoadBalancerTunnelProtocolNative GatewayLoadBalancerTunnelProtocol = "Native"
	GatewayLoadBalancerTunnelProtocolNone   GatewayLoadBalancerTunnelProtocol = "None"
	GatewayLoadBalancerTunnelProtocolVXLAN  GatewayLoadBalancerTunnelProtocol = "VXLAN"
)

func (*GatewayLoadBalancerTunnelProtocol) UnmarshalJSON

func (s *GatewayLoadBalancerTunnelProtocol) UnmarshalJSON(bytes []byte) error

type GetOperationOptions

type GetOperationOptions struct {
	Expand *string
}

func DefaultGetOperationOptions

func DefaultGetOperationOptions() GetOperationOptions

func (GetOperationOptions) ToHeaders

func (o GetOperationOptions) ToHeaders() *client.Headers

func (GetOperationOptions) ToOData

func (o GetOperationOptions) ToOData() *odata.Query

func (GetOperationOptions) ToQuery

func (o GetOperationOptions) ToQuery() *client.QueryParams

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *NetworkSecurityGroup
}

type IPAllocationMethod

type IPAllocationMethod string
const (
	IPAllocationMethodDynamic IPAllocationMethod = "Dynamic"
	IPAllocationMethodStatic  IPAllocationMethod = "Static"
)

func (*IPAllocationMethod) UnmarshalJSON

func (s *IPAllocationMethod) UnmarshalJSON(bytes []byte) error

type IPConfiguration

type IPConfiguration struct {
	Etag       *string                          `json:"etag,omitempty"`
	Id         *string                          `json:"id,omitempty"`
	Name       *string                          `json:"name,omitempty"`
	Properties *IPConfigurationPropertiesFormat `json:"properties,omitempty"`
}

type IPConfigurationProfile

type IPConfigurationProfile struct {
	Etag       *string                                 `json:"etag,omitempty"`
	Id         *string                                 `json:"id,omitempty"`
	Name       *string                                 `json:"name,omitempty"`
	Properties *IPConfigurationProfilePropertiesFormat `json:"properties,omitempty"`
	Type       *string                                 `json:"type,omitempty"`
}

type IPConfigurationProfilePropertiesFormat

type IPConfigurationProfilePropertiesFormat struct {
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"`
	Subnet            *Subnet            `json:"subnet,omitempty"`
}

type IPConfigurationPropertiesFormat

type IPConfigurationPropertiesFormat struct {
	PrivateIPAddress          *string             `json:"privateIPAddress,omitempty"`
	PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
	ProvisioningState         *ProvisioningState  `json:"provisioningState,omitempty"`
	PublicIPAddress           *PublicIPAddress    `json:"publicIPAddress,omitempty"`
	Subnet                    *Subnet             `json:"subnet,omitempty"`
}

type IPTag

type IPTag struct {
	IPTagType *string `json:"ipTagType,omitempty"`
	Tag       *string `json:"tag,omitempty"`
}

type IPVersion

type IPVersion string
const (
	IPVersionIPvFour IPVersion = "IPv4"
	IPVersionIPvSix  IPVersion = "IPv6"
)

func (*IPVersion) UnmarshalJSON

func (s *IPVersion) UnmarshalJSON(bytes []byte) error

type InboundNatRule

type InboundNatRule struct {
	Etag       *string                         `json:"etag,omitempty"`
	Id         *string                         `json:"id,omitempty"`
	Name       *string                         `json:"name,omitempty"`
	Properties *InboundNatRulePropertiesFormat `json:"properties,omitempty"`
	Type       *string                         `json:"type,omitempty"`
}

type InboundNatRulePropertiesFormat

type InboundNatRulePropertiesFormat struct {
	BackendAddressPool      *SubResource                     `json:"backendAddressPool,omitempty"`
	BackendIPConfiguration  *NetworkInterfaceIPConfiguration `json:"backendIPConfiguration,omitempty"`
	BackendPort             *int64                           `json:"backendPort,omitempty"`
	EnableFloatingIP        *bool                            `json:"enableFloatingIP,omitempty"`
	EnableTcpReset          *bool                            `json:"enableTcpReset,omitempty"`
	FrontendIPConfiguration *SubResource                     `json:"frontendIPConfiguration,omitempty"`
	FrontendPort            *int64                           `json:"frontendPort,omitempty"`
	FrontendPortRangeEnd    *int64                           `json:"frontendPortRangeEnd,omitempty"`
	FrontendPortRangeStart  *int64                           `json:"frontendPortRangeStart,omitempty"`
	IdleTimeoutInMinutes    *int64                           `json:"idleTimeoutInMinutes,omitempty"`
	Protocol                *TransportProtocol               `json:"protocol,omitempty"`
	ProvisioningState       *ProvisioningState               `json:"provisioningState,omitempty"`
}

type ListAllCompleteResult

type ListAllCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []NetworkSecurityGroup
}

type ListAllOperationResponse

type ListAllOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]NetworkSecurityGroup
}

type ListCompleteResult

type ListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []NetworkSecurityGroup
}

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]NetworkSecurityGroup
}

type LoadBalancerBackendAddress

type LoadBalancerBackendAddress struct {
	Name       *string                                     `json:"name,omitempty"`
	Properties *LoadBalancerBackendAddressPropertiesFormat `json:"properties,omitempty"`
}

type LoadBalancerBackendAddressAdminState

type LoadBalancerBackendAddressAdminState string
const (
	LoadBalancerBackendAddressAdminStateDown LoadBalancerBackendAddressAdminState = "Down"
	LoadBalancerBackendAddressAdminStateNone LoadBalancerBackendAddressAdminState = "None"
	LoadBalancerBackendAddressAdminStateUp   LoadBalancerBackendAddressAdminState = "Up"
)

func (*LoadBalancerBackendAddressAdminState) UnmarshalJSON

func (s *LoadBalancerBackendAddressAdminState) UnmarshalJSON(bytes []byte) error

type LoadBalancerBackendAddressPropertiesFormat

type LoadBalancerBackendAddressPropertiesFormat struct {
	AdminState                          *LoadBalancerBackendAddressAdminState `json:"adminState,omitempty"`
	IPAddress                           *string                               `json:"ipAddress,omitempty"`
	InboundNatRulesPortMapping          *[]NatRulePortMapping                 `json:"inboundNatRulesPortMapping,omitempty"`
	LoadBalancerFrontendIPConfiguration *SubResource                          `json:"loadBalancerFrontendIPConfiguration,omitempty"`
	NetworkInterfaceIPConfiguration     *SubResource                          `json:"networkInterfaceIPConfiguration,omitempty"`
	Subnet                              *SubResource                          `json:"subnet,omitempty"`
	VirtualNetwork                      *SubResource                          `json:"virtualNetwork,omitempty"`
}

type NatGateway

type NatGateway struct {
	Etag       *string                     `json:"etag,omitempty"`
	Id         *string                     `json:"id,omitempty"`
	Location   *string                     `json:"location,omitempty"`
	Name       *string                     `json:"name,omitempty"`
	Properties *NatGatewayPropertiesFormat `json:"properties,omitempty"`
	Sku        *NatGatewaySku              `json:"sku,omitempty"`
	Tags       *map[string]string          `json:"tags,omitempty"`
	Type       *string                     `json:"type,omitempty"`
	Zones      *zones.Schema               `json:"zones,omitempty"`
}

type NatGatewayPropertiesFormat

type NatGatewayPropertiesFormat struct {
	IdleTimeoutInMinutes *int64             `json:"idleTimeoutInMinutes,omitempty"`
	ProvisioningState    *ProvisioningState `json:"provisioningState,omitempty"`
	PublicIPAddresses    *[]SubResource     `json:"publicIpAddresses,omitempty"`
	PublicIPPrefixes     *[]SubResource     `json:"publicIpPrefixes,omitempty"`
	ResourceGuid         *string            `json:"resourceGuid,omitempty"`
	Subnets              *[]SubResource     `json:"subnets,omitempty"`
}

type NatGatewaySku

type NatGatewaySku struct {
	Name *NatGatewaySkuName `json:"name,omitempty"`
}

type NatGatewaySkuName

type NatGatewaySkuName string
const (
	NatGatewaySkuNameStandard NatGatewaySkuName = "Standard"
)

func (*NatGatewaySkuName) UnmarshalJSON

func (s *NatGatewaySkuName) UnmarshalJSON(bytes []byte) error

type NatRulePortMapping

type NatRulePortMapping struct {
	BackendPort        *int64  `json:"backendPort,omitempty"`
	FrontendPort       *int64  `json:"frontendPort,omitempty"`
	InboundNatRuleName *string `json:"inboundNatRuleName,omitempty"`
}

type NetworkInterface

type NetworkInterface struct {
	Etag             *string                           `json:"etag,omitempty"`
	ExtendedLocation *edgezones.Model                  `json:"extendedLocation,omitempty"`
	Id               *string                           `json:"id,omitempty"`
	Location         *string                           `json:"location,omitempty"`
	Name             *string                           `json:"name,omitempty"`
	Properties       *NetworkInterfacePropertiesFormat `json:"properties,omitempty"`
	Tags             *map[string]string                `json:"tags,omitempty"`
	Type             *string                           `json:"type,omitempty"`
}

type NetworkInterfaceAuxiliaryMode

type NetworkInterfaceAuxiliaryMode string
const (
	NetworkInterfaceAuxiliaryModeAcceleratedConnections NetworkInterfaceAuxiliaryMode = "AcceleratedConnections"
	NetworkInterfaceAuxiliaryModeFloating               NetworkInterfaceAuxiliaryMode = "Floating"
	NetworkInterfaceAuxiliaryModeMaxConnections         NetworkInterfaceAuxiliaryMode = "MaxConnections"
	NetworkInterfaceAuxiliaryModeNone                   NetworkInterfaceAuxiliaryMode = "None"
)

func (*NetworkInterfaceAuxiliaryMode) UnmarshalJSON

func (s *NetworkInterfaceAuxiliaryMode) UnmarshalJSON(bytes []byte) error

type NetworkInterfaceAuxiliarySku

type NetworkInterfaceAuxiliarySku string
const (
	NetworkInterfaceAuxiliarySkuAEight NetworkInterfaceAuxiliarySku = "A8"
	NetworkInterfaceAuxiliarySkuAFour  NetworkInterfaceAuxiliarySku = "A4"
	NetworkInterfaceAuxiliarySkuAOne   NetworkInterfaceAuxiliarySku = "A1"
	NetworkInterfaceAuxiliarySkuATwo   NetworkInterfaceAuxiliarySku = "A2"
	NetworkInterfaceAuxiliarySkuNone   NetworkInterfaceAuxiliarySku = "None"
)

func (*NetworkInterfaceAuxiliarySku) UnmarshalJSON

func (s *NetworkInterfaceAuxiliarySku) UnmarshalJSON(bytes []byte) error

type NetworkInterfaceDnsSettings

type NetworkInterfaceDnsSettings struct {
	AppliedDnsServers        *[]string `json:"appliedDnsServers,omitempty"`
	DnsServers               *[]string `json:"dnsServers,omitempty"`
	InternalDnsNameLabel     *string   `json:"internalDnsNameLabel,omitempty"`
	InternalDomainNameSuffix *string   `json:"internalDomainNameSuffix,omitempty"`
	InternalFqdn             *string   `json:"internalFqdn,omitempty"`
}

type NetworkInterfaceIPConfiguration

type NetworkInterfaceIPConfiguration struct {
	Etag       *string                                          `json:"etag,omitempty"`
	Id         *string                                          `json:"id,omitempty"`
	Name       *string                                          `json:"name,omitempty"`
	Properties *NetworkInterfaceIPConfigurationPropertiesFormat `json:"properties,omitempty"`
	Type       *string                                          `json:"type,omitempty"`
}

type NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties

type NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties struct {
	Fqdns              *[]string `json:"fqdns,omitempty"`
	GroupId            *string   `json:"groupId,omitempty"`
	RequiredMemberName *string   `json:"requiredMemberName,omitempty"`
}

type NetworkInterfaceIPConfigurationPropertiesFormat

type NetworkInterfaceIPConfigurationPropertiesFormat struct {
	ApplicationGatewayBackendAddressPools *[]ApplicationGatewayBackendAddressPool                         `json:"applicationGatewayBackendAddressPools,omitempty"`
	ApplicationSecurityGroups             *[]ApplicationSecurityGroup                                     `json:"applicationSecurityGroups,omitempty"`
	GatewayLoadBalancer                   *SubResource                                                    `json:"gatewayLoadBalancer,omitempty"`
	LoadBalancerBackendAddressPools       *[]BackendAddressPool                                           `json:"loadBalancerBackendAddressPools,omitempty"`
	LoadBalancerInboundNatRules           *[]InboundNatRule                                               `json:"loadBalancerInboundNatRules,omitempty"`
	Primary                               *bool                                                           `json:"primary,omitempty"`
	PrivateIPAddress                      *string                                                         `json:"privateIPAddress,omitempty"`
	PrivateIPAddressPrefixLength          *int64                                                          `json:"privateIPAddressPrefixLength,omitempty"`
	PrivateIPAddressVersion               *IPVersion                                                      `json:"privateIPAddressVersion,omitempty"`
	PrivateIPAllocationMethod             *IPAllocationMethod                                             `json:"privateIPAllocationMethod,omitempty"`
	PrivateLinkConnectionProperties       *NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties `json:"privateLinkConnectionProperties,omitempty"`
	ProvisioningState                     *ProvisioningState                                              `json:"provisioningState,omitempty"`
	PublicIPAddress                       *PublicIPAddress                                                `json:"publicIPAddress,omitempty"`
	Subnet                                *Subnet                                                         `json:"subnet,omitempty"`
	VirtualNetworkTaps                    *[]VirtualNetworkTap                                            `json:"virtualNetworkTaps,omitempty"`
}

type NetworkInterfaceMigrationPhase

type NetworkInterfaceMigrationPhase string
const (
	NetworkInterfaceMigrationPhaseAbort     NetworkInterfaceMigrationPhase = "Abort"
	NetworkInterfaceMigrationPhaseCommit    NetworkInterfaceMigrationPhase = "Commit"
	NetworkInterfaceMigrationPhaseCommitted NetworkInterfaceMigrationPhase = "Committed"
	NetworkInterfaceMigrationPhaseNone      NetworkInterfaceMigrationPhase = "None"
	NetworkInterfaceMigrationPhasePrepare   NetworkInterfaceMigrationPhase = "Prepare"
)

func (*NetworkInterfaceMigrationPhase) UnmarshalJSON

func (s *NetworkInterfaceMigrationPhase) UnmarshalJSON(bytes []byte) error

type NetworkInterfaceNicType

type NetworkInterfaceNicType string
const (
	NetworkInterfaceNicTypeElastic  NetworkInterfaceNicType = "Elastic"
	NetworkInterfaceNicTypeStandard NetworkInterfaceNicType = "Standard"
)

func (*NetworkInterfaceNicType) UnmarshalJSON

func (s *NetworkInterfaceNicType) UnmarshalJSON(bytes []byte) error

type NetworkInterfacePropertiesFormat

type NetworkInterfacePropertiesFormat struct {
	AuxiliaryMode               *NetworkInterfaceAuxiliaryMode      `json:"auxiliaryMode,omitempty"`
	AuxiliarySku                *NetworkInterfaceAuxiliarySku       `json:"auxiliarySku,omitempty"`
	DisableTcpStateTracking     *bool                               `json:"disableTcpStateTracking,omitempty"`
	DnsSettings                 *NetworkInterfaceDnsSettings        `json:"dnsSettings,omitempty"`
	DscpConfiguration           *SubResource                        `json:"dscpConfiguration,omitempty"`
	EnableAcceleratedNetworking *bool                               `json:"enableAcceleratedNetworking,omitempty"`
	EnableIPForwarding          *bool                               `json:"enableIPForwarding,omitempty"`
	HostedWorkloads             *[]string                           `json:"hostedWorkloads,omitempty"`
	IPConfigurations            *[]NetworkInterfaceIPConfiguration  `json:"ipConfigurations,omitempty"`
	MacAddress                  *string                             `json:"macAddress,omitempty"`
	MigrationPhase              *NetworkInterfaceMigrationPhase     `json:"migrationPhase,omitempty"`
	NetworkSecurityGroup        *NetworkSecurityGroup               `json:"networkSecurityGroup,omitempty"`
	NicType                     *NetworkInterfaceNicType            `json:"nicType,omitempty"`
	Primary                     *bool                               `json:"primary,omitempty"`
	PrivateEndpoint             *PrivateEndpoint                    `json:"privateEndpoint,omitempty"`
	PrivateLinkService          *PrivateLinkService                 `json:"privateLinkService,omitempty"`
	ProvisioningState           *ProvisioningState                  `json:"provisioningState,omitempty"`
	ResourceGuid                *string                             `json:"resourceGuid,omitempty"`
	TapConfigurations           *[]NetworkInterfaceTapConfiguration `json:"tapConfigurations,omitempty"`
	VirtualMachine              *SubResource                        `json:"virtualMachine,omitempty"`
	VnetEncryptionSupported     *bool                               `json:"vnetEncryptionSupported,omitempty"`
	WorkloadType                *string                             `json:"workloadType,omitempty"`
}

type NetworkInterfaceTapConfiguration

type NetworkInterfaceTapConfiguration struct {
	Etag       *string                                           `json:"etag,omitempty"`
	Id         *string                                           `json:"id,omitempty"`
	Name       *string                                           `json:"name,omitempty"`
	Properties *NetworkInterfaceTapConfigurationPropertiesFormat `json:"properties,omitempty"`
	Type       *string                                           `json:"type,omitempty"`
}

type NetworkInterfaceTapConfigurationPropertiesFormat

type NetworkInterfaceTapConfigurationPropertiesFormat struct {
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"`
	VirtualNetworkTap *VirtualNetworkTap `json:"virtualNetworkTap,omitempty"`
}

type NetworkSecurityGroup

type NetworkSecurityGroup struct {
	Etag       *string                               `json:"etag,omitempty"`
	Id         *string                               `json:"id,omitempty"`
	Location   *string                               `json:"location,omitempty"`
	Name       *string                               `json:"name,omitempty"`
	Properties *NetworkSecurityGroupPropertiesFormat `json:"properties,omitempty"`
	Tags       *map[string]string                    `json:"tags,omitempty"`
	Type       *string                               `json:"type,omitempty"`
}

type NetworkSecurityGroupId

type NetworkSecurityGroupId struct {
	SubscriptionId           string
	ResourceGroupName        string
	NetworkSecurityGroupName string
}

NetworkSecurityGroupId is a struct representing the Resource ID for a Network Security Group

func NewNetworkSecurityGroupID

func NewNetworkSecurityGroupID(subscriptionId string, resourceGroupName string, networkSecurityGroupName string) NetworkSecurityGroupId

NewNetworkSecurityGroupID returns a new NetworkSecurityGroupId struct

func ParseNetworkSecurityGroupID

func ParseNetworkSecurityGroupID(input string) (*NetworkSecurityGroupId, error)

ParseNetworkSecurityGroupID parses 'input' into a NetworkSecurityGroupId

func ParseNetworkSecurityGroupIDInsensitively

func ParseNetworkSecurityGroupIDInsensitively(input string) (*NetworkSecurityGroupId, error)

ParseNetworkSecurityGroupIDInsensitively parses 'input' case-insensitively into a NetworkSecurityGroupId note: this method should only be used for API response data and not user input

func (*NetworkSecurityGroupId) FromParseResult

func (id *NetworkSecurityGroupId) FromParseResult(input resourceids.ParseResult) error

func (NetworkSecurityGroupId) ID

ID returns the formatted Network Security Group ID

func (NetworkSecurityGroupId) Segments

func (id NetworkSecurityGroupId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Network Security Group ID

func (NetworkSecurityGroupId) String

func (id NetworkSecurityGroupId) String() string

String returns a human-readable description of this Network Security Group ID

type NetworkSecurityGroupOperationPredicate

type NetworkSecurityGroupOperationPredicate struct {
	Etag     *string
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (NetworkSecurityGroupOperationPredicate) Matches

type NetworkSecurityGroupPropertiesFormat

type NetworkSecurityGroupPropertiesFormat struct {
	DefaultSecurityRules *[]SecurityRule     `json:"defaultSecurityRules,omitempty"`
	FlowLogs             *[]FlowLog          `json:"flowLogs,omitempty"`
	FlushConnection      *bool               `json:"flushConnection,omitempty"`
	NetworkInterfaces    *[]NetworkInterface `json:"networkInterfaces,omitempty"`
	ProvisioningState    *ProvisioningState  `json:"provisioningState,omitempty"`
	ResourceGuid         *string             `json:"resourceGuid,omitempty"`
	SecurityRules        *[]SecurityRule     `json:"securityRules,omitempty"`
	Subnets              *[]Subnet           `json:"subnets,omitempty"`
}

type NetworkSecurityGroupsClient

type NetworkSecurityGroupsClient struct {
	Client *resourcemanager.Client
}

func NewNetworkSecurityGroupsClientWithBaseURI

func NewNetworkSecurityGroupsClientWithBaseURI(sdkApi sdkEnv.Api) (*NetworkSecurityGroupsClient, error)

func (NetworkSecurityGroupsClient) CreateOrUpdate

CreateOrUpdate ...

func (NetworkSecurityGroupsClient) CreateOrUpdateThenPoll

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (NetworkSecurityGroupsClient) Delete

Delete ...

func (NetworkSecurityGroupsClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (NetworkSecurityGroupsClient) Get

Get ...

func (NetworkSecurityGroupsClient) List

List ...

func (NetworkSecurityGroupsClient) ListAll

ListAll ...

func (NetworkSecurityGroupsClient) ListAllComplete

ListAllComplete retrieves all the results into a single object

func (NetworkSecurityGroupsClient) ListAllCompleteMatchingPredicate

ListAllCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (NetworkSecurityGroupsClient) ListComplete

ListComplete retrieves all the results into a single object

func (NetworkSecurityGroupsClient) ListCompleteMatchingPredicate

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (NetworkSecurityGroupsClient) UpdateTags

UpdateTags ...

type PrivateEndpoint

type PrivateEndpoint struct {
	Etag             *string                    `json:"etag,omitempty"`
	ExtendedLocation *edgezones.Model           `json:"extendedLocation,omitempty"`
	Id               *string                    `json:"id,omitempty"`
	Location         *string                    `json:"location,omitempty"`
	Name             *string                    `json:"name,omitempty"`
	Properties       *PrivateEndpointProperties `json:"properties,omitempty"`
	Tags             *map[string]string         `json:"tags,omitempty"`
	Type             *string                    `json:"type,omitempty"`
}

type PrivateEndpointConnection

type PrivateEndpointConnection struct {
	Etag       *string                              `json:"etag,omitempty"`
	Id         *string                              `json:"id,omitempty"`
	Name       *string                              `json:"name,omitempty"`
	Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"`
	Type       *string                              `json:"type,omitempty"`
}

type PrivateEndpointConnectionProperties

type PrivateEndpointConnectionProperties struct {
	LinkIdentifier                    *string                            `json:"linkIdentifier,omitempty"`
	PrivateEndpoint                   *PrivateEndpoint                   `json:"privateEndpoint,omitempty"`
	PrivateEndpointLocation           *string                            `json:"privateEndpointLocation,omitempty"`
	PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"`
	ProvisioningState                 *ProvisioningState                 `json:"provisioningState,omitempty"`
}

type PrivateEndpointIPConfiguration

type PrivateEndpointIPConfiguration struct {
	Etag       *string                                   `json:"etag,omitempty"`
	Name       *string                                   `json:"name,omitempty"`
	Properties *PrivateEndpointIPConfigurationProperties `json:"properties,omitempty"`
	Type       *string                                   `json:"type,omitempty"`
}

type PrivateEndpointIPConfigurationProperties

type PrivateEndpointIPConfigurationProperties struct {
	GroupId          *string `json:"groupId,omitempty"`
	MemberName       *string `json:"memberName,omitempty"`
	PrivateIPAddress *string `json:"privateIPAddress,omitempty"`
}

type PrivateEndpointProperties

type PrivateEndpointProperties struct {
	ApplicationSecurityGroups           *[]ApplicationSecurityGroup        `json:"applicationSecurityGroups,omitempty"`
	CustomDnsConfigs                    *[]CustomDnsConfigPropertiesFormat `json:"customDnsConfigs,omitempty"`
	CustomNetworkInterfaceName          *string                            `json:"customNetworkInterfaceName,omitempty"`
	IPConfigurations                    *[]PrivateEndpointIPConfiguration  `json:"ipConfigurations,omitempty"`
	ManualPrivateLinkServiceConnections *[]PrivateLinkServiceConnection    `json:"manualPrivateLinkServiceConnections,omitempty"`
	NetworkInterfaces                   *[]NetworkInterface                `json:"networkInterfaces,omitempty"`
	PrivateLinkServiceConnections       *[]PrivateLinkServiceConnection    `json:"privateLinkServiceConnections,omitempty"`
	ProvisioningState                   *ProvisioningState                 `json:"provisioningState,omitempty"`
	Subnet                              *Subnet                            `json:"subnet,omitempty"`
}

type PrivateLinkService

type PrivateLinkService struct {
	Etag             *string                       `json:"etag,omitempty"`
	ExtendedLocation *edgezones.Model              `json:"extendedLocation,omitempty"`
	Id               *string                       `json:"id,omitempty"`
	Location         *string                       `json:"location,omitempty"`
	Name             *string                       `json:"name,omitempty"`
	Properties       *PrivateLinkServiceProperties `json:"properties,omitempty"`
	Tags             *map[string]string            `json:"tags,omitempty"`
	Type             *string                       `json:"type,omitempty"`
}

type PrivateLinkServiceConnection

type PrivateLinkServiceConnection struct {
	Etag       *string                                 `json:"etag,omitempty"`
	Id         *string                                 `json:"id,omitempty"`
	Name       *string                                 `json:"name,omitempty"`
	Properties *PrivateLinkServiceConnectionProperties `json:"properties,omitempty"`
	Type       *string                                 `json:"type,omitempty"`
}

type PrivateLinkServiceConnectionProperties

type PrivateLinkServiceConnectionProperties struct {
	GroupIds                          *[]string                          `json:"groupIds,omitempty"`
	PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"`
	PrivateLinkServiceId              *string                            `json:"privateLinkServiceId,omitempty"`
	ProvisioningState                 *ProvisioningState                 `json:"provisioningState,omitempty"`
	RequestMessage                    *string                            `json:"requestMessage,omitempty"`
}

type PrivateLinkServiceConnectionState

type PrivateLinkServiceConnectionState struct {
	ActionsRequired *string `json:"actionsRequired,omitempty"`
	Description     *string `json:"description,omitempty"`
	Status          *string `json:"status,omitempty"`
}

type PrivateLinkServiceIPConfiguration

type PrivateLinkServiceIPConfiguration struct {
	Etag       *string                                      `json:"etag,omitempty"`
	Id         *string                                      `json:"id,omitempty"`
	Name       *string                                      `json:"name,omitempty"`
	Properties *PrivateLinkServiceIPConfigurationProperties `json:"properties,omitempty"`
	Type       *string                                      `json:"type,omitempty"`
}

type PrivateLinkServiceIPConfigurationProperties

type PrivateLinkServiceIPConfigurationProperties struct {
	Primary                   *bool               `json:"primary,omitempty"`
	PrivateIPAddress          *string             `json:"privateIPAddress,omitempty"`
	PrivateIPAddressVersion   *IPVersion          `json:"privateIPAddressVersion,omitempty"`
	PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
	ProvisioningState         *ProvisioningState  `json:"provisioningState,omitempty"`
	Subnet                    *Subnet             `json:"subnet,omitempty"`
}

type PrivateLinkServiceProperties

type PrivateLinkServiceProperties struct {
	Alias                                *string                              `json:"alias,omitempty"`
	AutoApproval                         *ResourceSet                         `json:"autoApproval,omitempty"`
	EnableProxyProtocol                  *bool                                `json:"enableProxyProtocol,omitempty"`
	Fqdns                                *[]string                            `json:"fqdns,omitempty"`
	IPConfigurations                     *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"`
	LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration           `json:"loadBalancerFrontendIpConfigurations,omitempty"`
	NetworkInterfaces                    *[]NetworkInterface                  `json:"networkInterfaces,omitempty"`
	PrivateEndpointConnections           *[]PrivateEndpointConnection         `json:"privateEndpointConnections,omitempty"`
	ProvisioningState                    *ProvisioningState                   `json:"provisioningState,omitempty"`
	Visibility                           *ResourceSet                         `json:"visibility,omitempty"`
}

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateDeleting  ProvisioningState = "Deleting"
	ProvisioningStateFailed    ProvisioningState = "Failed"
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
	ProvisioningStateUpdating  ProvisioningState = "Updating"
)

func (*ProvisioningState) UnmarshalJSON

func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error

type PublicIPAddress

type PublicIPAddress struct {
	Etag             *string                          `json:"etag,omitempty"`
	ExtendedLocation *edgezones.Model                 `json:"extendedLocation,omitempty"`
	Id               *string                          `json:"id,omitempty"`
	Location         *string                          `json:"location,omitempty"`
	Name             *string                          `json:"name,omitempty"`
	Properties       *PublicIPAddressPropertiesFormat `json:"properties,omitempty"`
	Sku              *PublicIPAddressSku              `json:"sku,omitempty"`
	Tags             *map[string]string               `json:"tags,omitempty"`
	Type             *string                          `json:"type,omitempty"`
	Zones            *zones.Schema                    `json:"zones,omitempty"`
}

type PublicIPAddressDnsSettings

type PublicIPAddressDnsSettings struct {
	DomainNameLabel      *string                                         `json:"domainNameLabel,omitempty"`
	DomainNameLabelScope *PublicIPAddressDnsSettingsDomainNameLabelScope `json:"domainNameLabelScope,omitempty"`
	Fqdn                 *string                                         `json:"fqdn,omitempty"`
	ReverseFqdn          *string                                         `json:"reverseFqdn,omitempty"`
}

type PublicIPAddressDnsSettingsDomainNameLabelScope

type PublicIPAddressDnsSettingsDomainNameLabelScope string
const (
	PublicIPAddressDnsSettingsDomainNameLabelScopeNoReuse            PublicIPAddressDnsSettingsDomainNameLabelScope = "NoReuse"
	PublicIPAddressDnsSettingsDomainNameLabelScopeResourceGroupReuse PublicIPAddressDnsSettingsDomainNameLabelScope = "ResourceGroupReuse"
	PublicIPAddressDnsSettingsDomainNameLabelScopeSubscriptionReuse  PublicIPAddressDnsSettingsDomainNameLabelScope = "SubscriptionReuse"
	PublicIPAddressDnsSettingsDomainNameLabelScopeTenantReuse        PublicIPAddressDnsSettingsDomainNameLabelScope = "TenantReuse"
)

func (*PublicIPAddressDnsSettingsDomainNameLabelScope) UnmarshalJSON

func (s *PublicIPAddressDnsSettingsDomainNameLabelScope) UnmarshalJSON(bytes []byte) error

type PublicIPAddressMigrationPhase

type PublicIPAddressMigrationPhase string
const (
	PublicIPAddressMigrationPhaseAbort     PublicIPAddressMigrationPhase = "Abort"
	PublicIPAddressMigrationPhaseCommit    PublicIPAddressMigrationPhase = "Commit"
	PublicIPAddressMigrationPhaseCommitted PublicIPAddressMigrationPhase = "Committed"
	PublicIPAddressMigrationPhaseNone      PublicIPAddressMigrationPhase = "None"
	PublicIPAddressMigrationPhasePrepare   PublicIPAddressMigrationPhase = "Prepare"
)

func (*PublicIPAddressMigrationPhase) UnmarshalJSON

func (s *PublicIPAddressMigrationPhase) UnmarshalJSON(bytes []byte) error

type PublicIPAddressPropertiesFormat

type PublicIPAddressPropertiesFormat struct {
	DdosSettings             *DdosSettings                  `json:"ddosSettings,omitempty"`
	DeleteOption             *DeleteOptions                 `json:"deleteOption,omitempty"`
	DnsSettings              *PublicIPAddressDnsSettings    `json:"dnsSettings,omitempty"`
	IPAddress                *string                        `json:"ipAddress,omitempty"`
	IPConfiguration          *IPConfiguration               `json:"ipConfiguration,omitempty"`
	IPTags                   *[]IPTag                       `json:"ipTags,omitempty"`
	IdleTimeoutInMinutes     *int64                         `json:"idleTimeoutInMinutes,omitempty"`
	LinkedPublicIPAddress    *PublicIPAddress               `json:"linkedPublicIPAddress,omitempty"`
	MigrationPhase           *PublicIPAddressMigrationPhase `json:"migrationPhase,omitempty"`
	NatGateway               *NatGateway                    `json:"natGateway,omitempty"`
	ProvisioningState        *ProvisioningState             `json:"provisioningState,omitempty"`
	PublicIPAddressVersion   *IPVersion                     `json:"publicIPAddressVersion,omitempty"`
	PublicIPAllocationMethod *IPAllocationMethod            `json:"publicIPAllocationMethod,omitempty"`
	PublicIPPrefix           *SubResource                   `json:"publicIPPrefix,omitempty"`
	ResourceGuid             *string                        `json:"resourceGuid,omitempty"`
	ServicePublicIPAddress   *PublicIPAddress               `json:"servicePublicIPAddress,omitempty"`
}

type PublicIPAddressSku

type PublicIPAddressSku struct {
	Name *PublicIPAddressSkuName `json:"name,omitempty"`
	Tier *PublicIPAddressSkuTier `json:"tier,omitempty"`
}

type PublicIPAddressSkuName

type PublicIPAddressSkuName string
const (
	PublicIPAddressSkuNameBasic    PublicIPAddressSkuName = "Basic"
	PublicIPAddressSkuNameStandard PublicIPAddressSkuName = "Standard"
)

func (*PublicIPAddressSkuName) UnmarshalJSON

func (s *PublicIPAddressSkuName) UnmarshalJSON(bytes []byte) error

type PublicIPAddressSkuTier

type PublicIPAddressSkuTier string
const (
	PublicIPAddressSkuTierGlobal   PublicIPAddressSkuTier = "Global"
	PublicIPAddressSkuTierRegional PublicIPAddressSkuTier = "Regional"
)

func (*PublicIPAddressSkuTier) UnmarshalJSON

func (s *PublicIPAddressSkuTier) UnmarshalJSON(bytes []byte) error
type ResourceNavigationLink struct {
	Etag       *string                       `json:"etag,omitempty"`
	Id         *string                       `json:"id,omitempty"`
	Name       *string                       `json:"name,omitempty"`
	Properties *ResourceNavigationLinkFormat `json:"properties,omitempty"`
	Type       *string                       `json:"type,omitempty"`
}

type ResourceNavigationLinkFormat

type ResourceNavigationLinkFormat struct {
	Link               *string            `json:"link,omitempty"`
	LinkedResourceType *string            `json:"linkedResourceType,omitempty"`
	ProvisioningState  *ProvisioningState `json:"provisioningState,omitempty"`
}

type ResourceSet

type ResourceSet struct {
	Subscriptions *[]string `json:"subscriptions,omitempty"`
}

type RetentionPolicyParameters

type RetentionPolicyParameters struct {
	Days    *int64 `json:"days,omitempty"`
	Enabled *bool  `json:"enabled,omitempty"`
}

type Route

type Route struct {
	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	Properties *RoutePropertiesFormat `json:"properties,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

type RouteNextHopType

type RouteNextHopType string
const (
	RouteNextHopTypeInternet              RouteNextHopType = "Internet"
	RouteNextHopTypeNone                  RouteNextHopType = "None"
	RouteNextHopTypeVirtualAppliance      RouteNextHopType = "VirtualAppliance"
	RouteNextHopTypeVirtualNetworkGateway RouteNextHopType = "VirtualNetworkGateway"
	RouteNextHopTypeVnetLocal             RouteNextHopType = "VnetLocal"
)

func (*RouteNextHopType) UnmarshalJSON

func (s *RouteNextHopType) UnmarshalJSON(bytes []byte) error

type RoutePropertiesFormat

type RoutePropertiesFormat struct {
	AddressPrefix     *string            `json:"addressPrefix,omitempty"`
	HasBgpOverride    *bool              `json:"hasBgpOverride,omitempty"`
	NextHopIPAddress  *string            `json:"nextHopIpAddress,omitempty"`
	NextHopType       RouteNextHopType   `json:"nextHopType"`
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"`
}

type RouteTable

type RouteTable struct {
	Etag       *string                     `json:"etag,omitempty"`
	Id         *string                     `json:"id,omitempty"`
	Location   *string                     `json:"location,omitempty"`
	Name       *string                     `json:"name,omitempty"`
	Properties *RouteTablePropertiesFormat `json:"properties,omitempty"`
	Tags       *map[string]string          `json:"tags,omitempty"`
	Type       *string                     `json:"type,omitempty"`
}

type RouteTablePropertiesFormat

type RouteTablePropertiesFormat struct {
	DisableBgpRoutePropagation *bool              `json:"disableBgpRoutePropagation,omitempty"`
	ProvisioningState          *ProvisioningState `json:"provisioningState,omitempty"`
	ResourceGuid               *string            `json:"resourceGuid,omitempty"`
	Routes                     *[]Route           `json:"routes,omitempty"`
	Subnets                    *[]Subnet          `json:"subnets,omitempty"`
}

type SecurityRule

type SecurityRule struct {
	Etag       *string                       `json:"etag,omitempty"`
	Id         *string                       `json:"id,omitempty"`
	Name       *string                       `json:"name,omitempty"`
	Properties *SecurityRulePropertiesFormat `json:"properties,omitempty"`
	Type       *string                       `json:"type,omitempty"`
}

type SecurityRuleAccess

type SecurityRuleAccess string
const (
	SecurityRuleAccessAllow SecurityRuleAccess = "Allow"
	SecurityRuleAccessDeny  SecurityRuleAccess = "Deny"
)

func (*SecurityRuleAccess) UnmarshalJSON

func (s *SecurityRuleAccess) UnmarshalJSON(bytes []byte) error

type SecurityRuleDirection

type SecurityRuleDirection string
const (
	SecurityRuleDirectionInbound  SecurityRuleDirection = "Inbound"
	SecurityRuleDirectionOutbound SecurityRuleDirection = "Outbound"
)

func (*SecurityRuleDirection) UnmarshalJSON

func (s *SecurityRuleDirection) UnmarshalJSON(bytes []byte) error

type SecurityRulePropertiesFormat

type SecurityRulePropertiesFormat struct {
	Access                               SecurityRuleAccess          `json:"access"`
	Description                          *string                     `json:"description,omitempty"`
	DestinationAddressPrefix             *string                     `json:"destinationAddressPrefix,omitempty"`
	DestinationAddressPrefixes           *[]string                   `json:"destinationAddressPrefixes,omitempty"`
	DestinationApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"destinationApplicationSecurityGroups,omitempty"`
	DestinationPortRange                 *string                     `json:"destinationPortRange,omitempty"`
	DestinationPortRanges                *[]string                   `json:"destinationPortRanges,omitempty"`
	Direction                            SecurityRuleDirection       `json:"direction"`
	Priority                             int64                       `json:"priority"`
	Protocol                             SecurityRuleProtocol        `json:"protocol"`
	ProvisioningState                    *ProvisioningState          `json:"provisioningState,omitempty"`
	SourceAddressPrefix                  *string                     `json:"sourceAddressPrefix,omitempty"`
	SourceAddressPrefixes                *[]string                   `json:"sourceAddressPrefixes,omitempty"`
	SourceApplicationSecurityGroups      *[]ApplicationSecurityGroup `json:"sourceApplicationSecurityGroups,omitempty"`
	SourcePortRange                      *string                     `json:"sourcePortRange,omitempty"`
	SourcePortRanges                     *[]string                   `json:"sourcePortRanges,omitempty"`
}

type SecurityRuleProtocol

type SecurityRuleProtocol string
const (
	SecurityRuleProtocolAh   SecurityRuleProtocol = "Ah"
	SecurityRuleProtocolAny  SecurityRuleProtocol = "*"
	SecurityRuleProtocolEsp  SecurityRuleProtocol = "Esp"
	SecurityRuleProtocolIcmp SecurityRuleProtocol = "Icmp"
	SecurityRuleProtocolTcp  SecurityRuleProtocol = "Tcp"
	SecurityRuleProtocolUdp  SecurityRuleProtocol = "Udp"
)

func (*SecurityRuleProtocol) UnmarshalJSON

func (s *SecurityRuleProtocol) UnmarshalJSON(bytes []byte) error
type ServiceAssociationLink struct {
	Etag       *string                                 `json:"etag,omitempty"`
	Id         *string                                 `json:"id,omitempty"`
	Name       *string                                 `json:"name,omitempty"`
	Properties *ServiceAssociationLinkPropertiesFormat `json:"properties,omitempty"`
	Type       *string                                 `json:"type,omitempty"`
}

type ServiceAssociationLinkPropertiesFormat

type ServiceAssociationLinkPropertiesFormat struct {
	AllowDelete        *bool              `json:"allowDelete,omitempty"`
	Link               *string            `json:"link,omitempty"`
	LinkedResourceType *string            `json:"linkedResourceType,omitempty"`
	Locations          *[]string          `json:"locations,omitempty"`
	ProvisioningState  *ProvisioningState `json:"provisioningState,omitempty"`
}

type ServiceDelegationPropertiesFormat

type ServiceDelegationPropertiesFormat struct {
	Actions           *[]string          `json:"actions,omitempty"`
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"`
	ServiceName       *string            `json:"serviceName,omitempty"`
}

type ServiceEndpointPolicy

type ServiceEndpointPolicy struct {
	Etag       *string                                `json:"etag,omitempty"`
	Id         *string                                `json:"id,omitempty"`
	Kind       *string                                `json:"kind,omitempty"`
	Location   *string                                `json:"location,omitempty"`
	Name       *string                                `json:"name,omitempty"`
	Properties *ServiceEndpointPolicyPropertiesFormat `json:"properties,omitempty"`
	Tags       *map[string]string                     `json:"tags,omitempty"`
	Type       *string                                `json:"type,omitempty"`
}

type ServiceEndpointPolicyDefinition

type ServiceEndpointPolicyDefinition struct {
	Etag       *string                                          `json:"etag,omitempty"`
	Id         *string                                          `json:"id,omitempty"`
	Name       *string                                          `json:"name,omitempty"`
	Properties *ServiceEndpointPolicyDefinitionPropertiesFormat `json:"properties,omitempty"`
	Type       *string                                          `json:"type,omitempty"`
}

type ServiceEndpointPolicyDefinitionPropertiesFormat

type ServiceEndpointPolicyDefinitionPropertiesFormat struct {
	Description       *string            `json:"description,omitempty"`
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"`
	Service           *string            `json:"service,omitempty"`
	ServiceResources  *[]string          `json:"serviceResources,omitempty"`
}

type ServiceEndpointPolicyPropertiesFormat

type ServiceEndpointPolicyPropertiesFormat struct {
	ContextualServiceEndpointPolicies *[]string                          `json:"contextualServiceEndpointPolicies,omitempty"`
	ProvisioningState                 *ProvisioningState                 `json:"provisioningState,omitempty"`
	ResourceGuid                      *string                            `json:"resourceGuid,omitempty"`
	ServiceAlias                      *string                            `json:"serviceAlias,omitempty"`
	ServiceEndpointPolicyDefinitions  *[]ServiceEndpointPolicyDefinition `json:"serviceEndpointPolicyDefinitions,omitempty"`
	Subnets                           *[]Subnet                          `json:"subnets,omitempty"`
}

type ServiceEndpointPropertiesFormat

type ServiceEndpointPropertiesFormat struct {
	Locations         *[]string          `json:"locations,omitempty"`
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"`
	Service           *string            `json:"service,omitempty"`
}

type SharingScope

type SharingScope string
const (
	SharingScopeDelegatedServices SharingScope = "DelegatedServices"
	SharingScopeTenant            SharingScope = "Tenant"
)

func (*SharingScope) UnmarshalJSON

func (s *SharingScope) UnmarshalJSON(bytes []byte) error

type SubResource

type SubResource struct {
	Id *string `json:"id,omitempty"`
}

type Subnet

type Subnet struct {
	Etag       *string                 `json:"etag,omitempty"`
	Id         *string                 `json:"id,omitempty"`
	Name       *string                 `json:"name,omitempty"`
	Properties *SubnetPropertiesFormat `json:"properties,omitempty"`
	Type       *string                 `json:"type,omitempty"`
}

type SubnetPropertiesFormat

type SubnetPropertiesFormat struct {
	AddressPrefix                      *string                                          `json:"addressPrefix,omitempty"`
	AddressPrefixes                    *[]string                                        `json:"addressPrefixes,omitempty"`
	ApplicationGatewayIPConfigurations *[]ApplicationGatewayIPConfiguration             `json:"applicationGatewayIPConfigurations,omitempty"`
	DefaultOutboundAccess              *bool                                            `json:"defaultOutboundAccess,omitempty"`
	Delegations                        *[]Delegation                                    `json:"delegations,omitempty"`
	IPAllocations                      *[]SubResource                                   `json:"ipAllocations,omitempty"`
	IPConfigurationProfiles            *[]IPConfigurationProfile                        `json:"ipConfigurationProfiles,omitempty"`
	IPConfigurations                   *[]IPConfiguration                               `json:"ipConfigurations,omitempty"`
	NatGateway                         *SubResource                                     `json:"natGateway,omitempty"`
	NetworkSecurityGroup               *NetworkSecurityGroup                            `json:"networkSecurityGroup,omitempty"`
	PrivateEndpointNetworkPolicies     *VirtualNetworkPrivateEndpointNetworkPolicies    `json:"privateEndpointNetworkPolicies,omitempty"`
	PrivateEndpoints                   *[]PrivateEndpoint                               `json:"privateEndpoints,omitempty"`
	PrivateLinkServiceNetworkPolicies  *VirtualNetworkPrivateLinkServiceNetworkPolicies `json:"privateLinkServiceNetworkPolicies,omitempty"`
	ProvisioningState                  *ProvisioningState                               `json:"provisioningState,omitempty"`
	Purpose                            *string                                          `json:"purpose,omitempty"`
	ResourceNavigationLinks            *[]ResourceNavigationLink                        `json:"resourceNavigationLinks,omitempty"`
	RouteTable                         *RouteTable                                      `json:"routeTable,omitempty"`
	ServiceAssociationLinks            *[]ServiceAssociationLink                        `json:"serviceAssociationLinks,omitempty"`
	ServiceEndpointPolicies            *[]ServiceEndpointPolicy                         `json:"serviceEndpointPolicies,omitempty"`
	ServiceEndpoints                   *[]ServiceEndpointPropertiesFormat               `json:"serviceEndpoints,omitempty"`
	SharingScope                       *SharingScope                                    `json:"sharingScope,omitempty"`
}

type SyncMode

type SyncMode string
const (
	SyncModeAutomatic SyncMode = "Automatic"
	SyncModeManual    SyncMode = "Manual"
)

func (*SyncMode) UnmarshalJSON

func (s *SyncMode) UnmarshalJSON(bytes []byte) error

type TagsObject

type TagsObject struct {
	Tags *map[string]string `json:"tags,omitempty"`
}

type TrafficAnalyticsConfigurationProperties

type TrafficAnalyticsConfigurationProperties struct {
	Enabled                  *bool   `json:"enabled,omitempty"`
	TrafficAnalyticsInterval *int64  `json:"trafficAnalyticsInterval,omitempty"`
	WorkspaceId              *string `json:"workspaceId,omitempty"`
	WorkspaceRegion          *string `json:"workspaceRegion,omitempty"`
	WorkspaceResourceId      *string `json:"workspaceResourceId,omitempty"`
}

type TrafficAnalyticsProperties

type TrafficAnalyticsProperties struct {
	NetworkWatcherFlowAnalyticsConfiguration *TrafficAnalyticsConfigurationProperties `json:"networkWatcherFlowAnalyticsConfiguration,omitempty"`
}

type TransportProtocol

type TransportProtocol string
const (
	TransportProtocolAll TransportProtocol = "All"
	TransportProtocolTcp TransportProtocol = "Tcp"
	TransportProtocolUdp TransportProtocol = "Udp"
)

func (*TransportProtocol) UnmarshalJSON

func (s *TransportProtocol) UnmarshalJSON(bytes []byte) error

type UpdateTagsOperationResponse

type UpdateTagsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *NetworkSecurityGroup
}

type VirtualNetworkPrivateEndpointNetworkPolicies

type VirtualNetworkPrivateEndpointNetworkPolicies string
const (
	VirtualNetworkPrivateEndpointNetworkPoliciesDisabled                    VirtualNetworkPrivateEndpointNetworkPolicies = "Disabled"
	VirtualNetworkPrivateEndpointNetworkPoliciesEnabled                     VirtualNetworkPrivateEndpointNetworkPolicies = "Enabled"
	VirtualNetworkPrivateEndpointNetworkPoliciesNetworkSecurityGroupEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "NetworkSecurityGroupEnabled"
	VirtualNetworkPrivateEndpointNetworkPoliciesRouteTableEnabled           VirtualNetworkPrivateEndpointNetworkPolicies = "RouteTableEnabled"
)

func (*VirtualNetworkPrivateEndpointNetworkPolicies) UnmarshalJSON

func (s *VirtualNetworkPrivateEndpointNetworkPolicies) UnmarshalJSON(bytes []byte) error

type VirtualNetworkPrivateLinkServiceNetworkPolicies

type VirtualNetworkPrivateLinkServiceNetworkPolicies string
const (
	VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Disabled"
	VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled  VirtualNetworkPrivateLinkServiceNetworkPolicies = "Enabled"
)

func (*VirtualNetworkPrivateLinkServiceNetworkPolicies) UnmarshalJSON

type VirtualNetworkTap

type VirtualNetworkTap struct {
	Etag       *string                            `json:"etag,omitempty"`
	Id         *string                            `json:"id,omitempty"`
	Location   *string                            `json:"location,omitempty"`
	Name       *string                            `json:"name,omitempty"`
	Properties *VirtualNetworkTapPropertiesFormat `json:"properties,omitempty"`
	Tags       *map[string]string                 `json:"tags,omitempty"`
	Type       *string                            `json:"type,omitempty"`
}

type VirtualNetworkTapPropertiesFormat

type VirtualNetworkTapPropertiesFormat struct {
	DestinationLoadBalancerFrontEndIPConfiguration *FrontendIPConfiguration            `json:"destinationLoadBalancerFrontEndIPConfiguration,omitempty"`
	DestinationNetworkInterfaceIPConfiguration     *NetworkInterfaceIPConfiguration    `json:"destinationNetworkInterfaceIPConfiguration,omitempty"`
	DestinationPort                                *int64                              `json:"destinationPort,omitempty"`
	NetworkInterfaceTapConfigurations              *[]NetworkInterfaceTapConfiguration `json:"networkInterfaceTapConfigurations,omitempty"`
	ProvisioningState                              *ProvisioningState                  `json:"provisioningState,omitempty"`
	ResourceGuid                                   *string                             `json:"resourceGuid,omitempty"`
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL