virtualnetworks

package
v0.20240710.1075622 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: MPL-2.0 Imports: 13 Imported by: 0

README

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

The virtualnetworks 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/virtualnetworks"

Client Initialization

client := virtualnetworks.NewVirtualNetworksClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: VirtualNetworksClient.CreateOrUpdate

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

payload := virtualnetworks.VirtualNetwork{
	// ...
}


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

Example Usage: VirtualNetworksClient.Delete

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

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

Example Usage: VirtualNetworksClient.Get

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

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

Example Usage: VirtualNetworksClient.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: VirtualNetworksClient.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
}
ctx := context.TODO()
id := commonids.NewSubnetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkValue", "subnetValue")

// alternatively `client.ResourceNavigationLinksList(ctx, id)` can be used to do batched pagination
items, err := client.ResourceNavigationLinksListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}
ctx := context.TODO()
id := commonids.NewSubnetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkValue", "subnetValue")

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

Example Usage: VirtualNetworksClient.SubnetsPrepareNetworkPolicies

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

payload := virtualnetworks.PrepareNetworkPoliciesRequest{
	// ...
}


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

Example Usage: VirtualNetworksClient.SubnetsUnprepareNetworkPolicies

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

payload := virtualnetworks.UnprepareNetworkPoliciesRequest{
	// ...
}


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

Example Usage: VirtualNetworksClient.UpdateTags

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

payload := virtualnetworks.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
}

Example Usage: VirtualNetworksClient.VirtualNetworksCheckIPAddressAvailability

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

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

Example Usage: VirtualNetworksClient.VirtualNetworksListDdosProtectionStatus

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

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

Example Usage: VirtualNetworksClient.VirtualNetworksListUsage

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

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

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 PossibleValuesForIsWorkloadProtected

func PossibleValuesForIsWorkloadProtected() []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 PossibleValuesForVirtualNetworkEncryptionEnforcement

func PossibleValuesForVirtualNetworkEncryptionEnforcement() []string

func PossibleValuesForVirtualNetworkPeeringLevel

func PossibleValuesForVirtualNetworkPeeringLevel() []string

func PossibleValuesForVirtualNetworkPeeringState

func PossibleValuesForVirtualNetworkPeeringState() []string

func PossibleValuesForVirtualNetworkPrivateEndpointNetworkPolicies

func PossibleValuesForVirtualNetworkPrivateEndpointNetworkPolicies() []string

func PossibleValuesForVirtualNetworkPrivateLinkServiceNetworkPolicies

func PossibleValuesForVirtualNetworkPrivateLinkServiceNetworkPolicies() []string

Types

type AddressSpace

type AddressSpace struct {
	AddressPrefixes *[]string `json:"addressPrefixes,omitempty"`
}

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        *VirtualNetwork
}

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 DhcpOptions

type DhcpOptions struct {
	DnsServers *[]string `json:"dnsServers,omitempty"`
}

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        *VirtualNetwork
}

type IPAddressAvailabilityResult

type IPAddressAvailabilityResult struct {
	Available            *bool     `json:"available,omitempty"`
	AvailableIPAddresses *[]string `json:"availableIPAddresses,omitempty"`
	IsPlatformReserved   *bool     `json:"isPlatformReserved,omitempty"`
}

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 IsWorkloadProtected

type IsWorkloadProtected string
const (
	IsWorkloadProtectedFalse IsWorkloadProtected = "False"
	IsWorkloadProtectedTrue  IsWorkloadProtected = "True"
)

func (*IsWorkloadProtected) UnmarshalJSON

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

type ListAllCompleteResult

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

type ListAllCustomPager added in v0.20240628.1153531

type ListAllCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListAllCustomPager) NextPageLink() *odata.Link

type ListAllOperationResponse

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

type ListCompleteResult

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

type ListCustomPager added in v0.20240628.1153531

type ListCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListCustomPager) NextPageLink() *odata.Link

type ListOperationResponse

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

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 NetworkIntentPolicy

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

type NetworkIntentPolicyConfiguration

type NetworkIntentPolicyConfiguration struct {
	NetworkIntentPolicyName   *string              `json:"networkIntentPolicyName,omitempty"`
	SourceNetworkIntentPolicy *NetworkIntentPolicy `json:"sourceNetworkIntentPolicy,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 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 PrepareNetworkPoliciesRequest

type PrepareNetworkPoliciesRequest struct {
	NetworkIntentPolicyConfigurations *[]NetworkIntentPolicyConfiguration `json:"networkIntentPolicyConfigurations,omitempty"`
	ServiceName                       *string                             `json:"serviceName,omitempty"`
}

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 PublicIPDdosProtectionStatusResult

type PublicIPDdosProtectionStatusResult struct {
	DdosProtectionPlanId *string              `json:"ddosProtectionPlanId,omitempty"`
	IsWorkloadProtected  *IsWorkloadProtected `json:"isWorkloadProtected,omitempty"`
	PublicIPAddress      *string              `json:"publicIpAddress,omitempty"`
	PublicIPAddressId    *string              `json:"publicIpAddressId,omitempty"`
}

type PublicIPDdosProtectionStatusResultOperationPredicate

type PublicIPDdosProtectionStatusResultOperationPredicate struct {
	DdosProtectionPlanId *string
	PublicIPAddress      *string
	PublicIPAddressId    *string
}

func (PublicIPDdosProtectionStatusResultOperationPredicate) Matches

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 ResourceNavigationLinkOperationPredicate

type ResourceNavigationLinkOperationPredicate struct {
	Etag *string
	Id   *string
	Name *string
	Type *string
}

func (ResourceNavigationLinkOperationPredicate) Matches

type ResourceNavigationLinksListCompleteResult

type ResourceNavigationLinksListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ResourceNavigationLink
}

type ResourceNavigationLinksListCustomPager added in v0.20240628.1153531

type ResourceNavigationLinksListCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}

type ResourceNavigationLinksListOperationResponse

type ResourceNavigationLinksListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ResourceNavigationLink
}

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 ServiceAssociationLinkOperationPredicate

type ServiceAssociationLinkOperationPredicate struct {
	Etag *string
	Id   *string
	Name *string
	Type *string
}

func (ServiceAssociationLinkOperationPredicate) Matches

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 ServiceAssociationLinksListCompleteResult

type ServiceAssociationLinksListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ServiceAssociationLink
}

type ServiceAssociationLinksListCustomPager added in v0.20240628.1153531

type ServiceAssociationLinksListCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}

type ServiceAssociationLinksListOperationResponse

type ServiceAssociationLinksListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ServiceAssociationLink
}

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 SubnetsPrepareNetworkPoliciesOperationResponse

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

type SubnetsUnprepareNetworkPoliciesOperationResponse

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

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 UnprepareNetworkPoliciesRequest

type UnprepareNetworkPoliciesRequest struct {
	ServiceName *string `json:"serviceName,omitempty"`
}

type UpdateTagsOperationResponse

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

type VirtualNetwork

type VirtualNetwork 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       *VirtualNetworkPropertiesFormat `json:"properties,omitempty"`
	Tags             *map[string]string              `json:"tags,omitempty"`
	Type             *string                         `json:"type,omitempty"`
}

type VirtualNetworkBgpCommunities

type VirtualNetworkBgpCommunities struct {
	RegionalCommunity       *string `json:"regionalCommunity,omitempty"`
	VirtualNetworkCommunity string  `json:"virtualNetworkCommunity"`
}

type VirtualNetworkEncryption

type VirtualNetworkEncryption struct {
	Enabled     bool                                 `json:"enabled"`
	Enforcement *VirtualNetworkEncryptionEnforcement `json:"enforcement,omitempty"`
}

type VirtualNetworkEncryptionEnforcement

type VirtualNetworkEncryptionEnforcement string
const (
	VirtualNetworkEncryptionEnforcementAllowUnencrypted VirtualNetworkEncryptionEnforcement = "AllowUnencrypted"
	VirtualNetworkEncryptionEnforcementDropUnencrypted  VirtualNetworkEncryptionEnforcement = "DropUnencrypted"
)

func (*VirtualNetworkEncryptionEnforcement) UnmarshalJSON

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

type VirtualNetworkOperationPredicate

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

func (VirtualNetworkOperationPredicate) Matches

type VirtualNetworkPeering

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

type VirtualNetworkPeeringLevel

type VirtualNetworkPeeringLevel string
const (
	VirtualNetworkPeeringLevelFullyInSync             VirtualNetworkPeeringLevel = "FullyInSync"
	VirtualNetworkPeeringLevelLocalAndRemoteNotInSync VirtualNetworkPeeringLevel = "LocalAndRemoteNotInSync"
	VirtualNetworkPeeringLevelLocalNotInSync          VirtualNetworkPeeringLevel = "LocalNotInSync"
	VirtualNetworkPeeringLevelRemoteNotInSync         VirtualNetworkPeeringLevel = "RemoteNotInSync"
)

func (*VirtualNetworkPeeringLevel) UnmarshalJSON

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

type VirtualNetworkPeeringPropertiesFormat

type VirtualNetworkPeeringPropertiesFormat struct {
	AllowForwardedTraffic            *bool                         `json:"allowForwardedTraffic,omitempty"`
	AllowGatewayTransit              *bool                         `json:"allowGatewayTransit,omitempty"`
	AllowVirtualNetworkAccess        *bool                         `json:"allowVirtualNetworkAccess,omitempty"`
	DoNotVerifyRemoteGateways        *bool                         `json:"doNotVerifyRemoteGateways,omitempty"`
	EnableOnlyIPv6Peering            *bool                         `json:"enableOnlyIPv6Peering,omitempty"`
	LocalAddressSpace                *AddressSpace                 `json:"localAddressSpace,omitempty"`
	LocalSubnetNames                 *[]string                     `json:"localSubnetNames,omitempty"`
	LocalVirtualNetworkAddressSpace  *AddressSpace                 `json:"localVirtualNetworkAddressSpace,omitempty"`
	PeerCompleteVnets                *bool                         `json:"peerCompleteVnets,omitempty"`
	PeeringState                     *VirtualNetworkPeeringState   `json:"peeringState,omitempty"`
	PeeringSyncLevel                 *VirtualNetworkPeeringLevel   `json:"peeringSyncLevel,omitempty"`
	ProvisioningState                *ProvisioningState            `json:"provisioningState,omitempty"`
	RemoteAddressSpace               *AddressSpace                 `json:"remoteAddressSpace,omitempty"`
	RemoteBgpCommunities             *VirtualNetworkBgpCommunities `json:"remoteBgpCommunities,omitempty"`
	RemoteSubnetNames                *[]string                     `json:"remoteSubnetNames,omitempty"`
	RemoteVirtualNetwork             *SubResource                  `json:"remoteVirtualNetwork,omitempty"`
	RemoteVirtualNetworkAddressSpace *AddressSpace                 `json:"remoteVirtualNetworkAddressSpace,omitempty"`
	RemoteVirtualNetworkEncryption   *VirtualNetworkEncryption     `json:"remoteVirtualNetworkEncryption,omitempty"`
	ResourceGuid                     *string                       `json:"resourceGuid,omitempty"`
	UseRemoteGateways                *bool                         `json:"useRemoteGateways,omitempty"`
}

type VirtualNetworkPeeringState

type VirtualNetworkPeeringState string
const (
	VirtualNetworkPeeringStateConnected    VirtualNetworkPeeringState = "Connected"
	VirtualNetworkPeeringStateDisconnected VirtualNetworkPeeringState = "Disconnected"
	VirtualNetworkPeeringStateInitiated    VirtualNetworkPeeringState = "Initiated"
)

func (*VirtualNetworkPeeringState) UnmarshalJSON

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

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 VirtualNetworkPropertiesFormat

type VirtualNetworkPropertiesFormat struct {
	AddressSpace           *AddressSpace                 `json:"addressSpace,omitempty"`
	BgpCommunities         *VirtualNetworkBgpCommunities `json:"bgpCommunities,omitempty"`
	DdosProtectionPlan     *SubResource                  `json:"ddosProtectionPlan,omitempty"`
	DhcpOptions            *DhcpOptions                  `json:"dhcpOptions,omitempty"`
	EnableDdosProtection   *bool                         `json:"enableDdosProtection,omitempty"`
	EnableVMProtection     *bool                         `json:"enableVmProtection,omitempty"`
	Encryption             *VirtualNetworkEncryption     `json:"encryption,omitempty"`
	FlowLogs               *[]FlowLog                    `json:"flowLogs,omitempty"`
	FlowTimeoutInMinutes   *int64                        `json:"flowTimeoutInMinutes,omitempty"`
	IPAllocations          *[]SubResource                `json:"ipAllocations,omitempty"`
	ProvisioningState      *ProvisioningState            `json:"provisioningState,omitempty"`
	ResourceGuid           *string                       `json:"resourceGuid,omitempty"`
	Subnets                *[]Subnet                     `json:"subnets,omitempty"`
	VirtualNetworkPeerings *[]VirtualNetworkPeering      `json:"virtualNetworkPeerings,omitempty"`
}

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"`
}

type VirtualNetworkUsage

type VirtualNetworkUsage struct {
	CurrentValue *float64                 `json:"currentValue,omitempty"`
	Id           *string                  `json:"id,omitempty"`
	Limit        *float64                 `json:"limit,omitempty"`
	Name         *VirtualNetworkUsageName `json:"name,omitempty"`
	Unit         *string                  `json:"unit,omitempty"`
}

type VirtualNetworkUsageName

type VirtualNetworkUsageName struct {
	LocalizedValue *string `json:"localizedValue,omitempty"`
	Value          *string `json:"value,omitempty"`
}

type VirtualNetworkUsageOperationPredicate

type VirtualNetworkUsageOperationPredicate struct {
	CurrentValue *float64
	Id           *string
	Limit        *float64
	Unit         *string
}

func (VirtualNetworkUsageOperationPredicate) Matches

type VirtualNetworksCheckIPAddressAvailabilityOperationOptions

type VirtualNetworksCheckIPAddressAvailabilityOperationOptions struct {
	IPAddress *string
}

func (VirtualNetworksCheckIPAddressAvailabilityOperationOptions) ToHeaders

func (VirtualNetworksCheckIPAddressAvailabilityOperationOptions) ToOData

func (VirtualNetworksCheckIPAddressAvailabilityOperationOptions) ToQuery

type VirtualNetworksCheckIPAddressAvailabilityOperationResponse

type VirtualNetworksCheckIPAddressAvailabilityOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *IPAddressAvailabilityResult
}

type VirtualNetworksClient

type VirtualNetworksClient struct {
	Client *resourcemanager.Client
}

func NewVirtualNetworksClientWithBaseURI

func NewVirtualNetworksClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualNetworksClient, error)

func (VirtualNetworksClient) CreateOrUpdate

CreateOrUpdate ...

func (VirtualNetworksClient) CreateOrUpdateThenPoll

func (c VirtualNetworksClient) CreateOrUpdateThenPoll(ctx context.Context, id commonids.VirtualNetworkId, input VirtualNetwork) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (VirtualNetworksClient) Delete

Delete ...

func (VirtualNetworksClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (VirtualNetworksClient) Get

Get ...

func (VirtualNetworksClient) List

List ...

func (VirtualNetworksClient) ListAll

ListAll ...

func (VirtualNetworksClient) ListAllComplete

ListAllComplete retrieves all the results into a single object

func (VirtualNetworksClient) ListAllCompleteMatchingPredicate

func (c VirtualNetworksClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate VirtualNetworkOperationPredicate) (result ListAllCompleteResult, err error)

ListAllCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (VirtualNetworksClient) ListComplete

ListComplete retrieves all the results into a single object

func (VirtualNetworksClient) ListCompleteMatchingPredicate

func (c VirtualNetworksClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate VirtualNetworkOperationPredicate) (result ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (c VirtualNetworksClient) ResourceNavigationLinksList(ctx context.Context, id commonids.SubnetId) (result ResourceNavigationLinksListOperationResponse, err error)

ResourceNavigationLinksList ...

func (VirtualNetworksClient) ResourceNavigationLinksListComplete

ResourceNavigationLinksListComplete retrieves all the results into a single object

func (VirtualNetworksClient) ResourceNavigationLinksListCompleteMatchingPredicate

func (c VirtualNetworksClient) ResourceNavigationLinksListCompleteMatchingPredicate(ctx context.Context, id commonids.SubnetId, predicate ResourceNavigationLinkOperationPredicate) (result ResourceNavigationLinksListCompleteResult, err error)

ResourceNavigationLinksListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (c VirtualNetworksClient) ServiceAssociationLinksList(ctx context.Context, id commonids.SubnetId) (result ServiceAssociationLinksListOperationResponse, err error)

ServiceAssociationLinksList ...

func (VirtualNetworksClient) ServiceAssociationLinksListComplete

ServiceAssociationLinksListComplete retrieves all the results into a single object

func (VirtualNetworksClient) ServiceAssociationLinksListCompleteMatchingPredicate

func (c VirtualNetworksClient) ServiceAssociationLinksListCompleteMatchingPredicate(ctx context.Context, id commonids.SubnetId, predicate ServiceAssociationLinkOperationPredicate) (result ServiceAssociationLinksListCompleteResult, err error)

ServiceAssociationLinksListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (VirtualNetworksClient) SubnetsPrepareNetworkPolicies

SubnetsPrepareNetworkPolicies ...

func (VirtualNetworksClient) SubnetsPrepareNetworkPoliciesThenPoll

func (c VirtualNetworksClient) SubnetsPrepareNetworkPoliciesThenPoll(ctx context.Context, id commonids.SubnetId, input PrepareNetworkPoliciesRequest) error

SubnetsPrepareNetworkPoliciesThenPoll performs SubnetsPrepareNetworkPolicies then polls until it's completed

func (VirtualNetworksClient) SubnetsUnprepareNetworkPolicies

SubnetsUnprepareNetworkPolicies ...

func (VirtualNetworksClient) SubnetsUnprepareNetworkPoliciesThenPoll

func (c VirtualNetworksClient) SubnetsUnprepareNetworkPoliciesThenPoll(ctx context.Context, id commonids.SubnetId, input UnprepareNetworkPoliciesRequest) error

SubnetsUnprepareNetworkPoliciesThenPoll performs SubnetsUnprepareNetworkPolicies then polls until it's completed

func (VirtualNetworksClient) UpdateTags

UpdateTags ...

func (VirtualNetworksClient) VirtualNetworksCheckIPAddressAvailability

VirtualNetworksCheckIPAddressAvailability ...

func (VirtualNetworksClient) VirtualNetworksListDdosProtectionStatus

VirtualNetworksListDdosProtectionStatus ...

func (VirtualNetworksClient) VirtualNetworksListDdosProtectionStatusThenPoll

func (c VirtualNetworksClient) VirtualNetworksListDdosProtectionStatusThenPoll(ctx context.Context, id commonids.VirtualNetworkId, options VirtualNetworksListDdosProtectionStatusOperationOptions) error

VirtualNetworksListDdosProtectionStatusThenPoll performs VirtualNetworksListDdosProtectionStatus then polls until it's completed

func (VirtualNetworksClient) VirtualNetworksListUsage

VirtualNetworksListUsage ...

func (VirtualNetworksClient) VirtualNetworksListUsageComplete

VirtualNetworksListUsageComplete retrieves all the results into a single object

func (VirtualNetworksClient) VirtualNetworksListUsageCompleteMatchingPredicate

func (c VirtualNetworksClient) VirtualNetworksListUsageCompleteMatchingPredicate(ctx context.Context, id commonids.VirtualNetworkId, predicate VirtualNetworkUsageOperationPredicate) (result VirtualNetworksListUsageCompleteResult, err error)

VirtualNetworksListUsageCompleteMatchingPredicate retrieves all the results and then applies the predicate

type VirtualNetworksListDdosProtectionStatusCompleteResult

type VirtualNetworksListDdosProtectionStatusCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []PublicIPDdosProtectionStatusResult
}

type VirtualNetworksListDdosProtectionStatusCustomPager added in v0.20240628.1153531

type VirtualNetworksListDdosProtectionStatusCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}

type VirtualNetworksListDdosProtectionStatusOperationOptions

type VirtualNetworksListDdosProtectionStatusOperationOptions struct {
	SkipToken *string
	Top       *int64
}

func (VirtualNetworksListDdosProtectionStatusOperationOptions) ToHeaders

func (VirtualNetworksListDdosProtectionStatusOperationOptions) ToOData

func (VirtualNetworksListDdosProtectionStatusOperationOptions) ToQuery

type VirtualNetworksListDdosProtectionStatusOperationResponse

type VirtualNetworksListDdosProtectionStatusOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]PublicIPDdosProtectionStatusResult
}

type VirtualNetworksListUsageCompleteResult

type VirtualNetworksListUsageCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []VirtualNetworkUsage
}

type VirtualNetworksListUsageCustomPager added in v0.20240628.1153531

type VirtualNetworksListUsageCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *VirtualNetworksListUsageCustomPager) NextPageLink() *odata.Link

type VirtualNetworksListUsageOperationResponse

type VirtualNetworksListUsageOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]VirtualNetworkUsage
}

Source Files

Jump to

Keyboard shortcuts

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