methodazure

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(b bool) *bool

Bool returns a pointer to the given bool value.

func Byte

func Byte(b byte) *byte

Byte returns a pointer to the given byte value.

func Complex64

func Complex64(c complex64) *complex64

Complex64 returns a pointer to the given complex64 value.

func Complex128

func Complex128(c complex128) *complex128

Complex128 returns a pointer to the given complex128 value.

func Float32

func Float32(f float32) *float32

Float32 returns a pointer to the given float32 value.

func Float64

func Float64(f float64) *float64

Float64 returns a pointer to the given float64 value.

func Int

func Int(i int) *int

Int returns a pointer to the given int value.

func Int8

func Int8(i int8) *int8

Int8 returns a pointer to the given int8 value.

func Int16

func Int16(i int16) *int16

Int16 returns a pointer to the given int16 value.

func Int32

func Int32(i int32) *int32

Int32 returns a pointer to the given int32 value.

func Int64

func Int64(i int64) *int64

Int64 returns a pointer to the given int64 value.

func MustParseDate

func MustParseDate(date string) time.Time

MustParseDate attempts to parse the given string as a date time.Time, and panics upon failure.

func MustParseDateTime

func MustParseDateTime(datetime string) time.Time

MustParseDateTime attempts to parse the given string as a datetime time.Time, and panics upon failure.

func Rune

func Rune(r rune) *rune

Rune returns a pointer to the given rune value.

func String

func String(s string) *string

String returns a pointer to the given string value.

func Time

func Time(t time.Time) *time.Time

Time returns a pointer to the given time.Time value.

func UUID

func UUID(u uuid.UUID) *uuid.UUID

UUID returns a pointer to the given uuid.UUID value.

func Uint

func Uint(u uint) *uint

Uint returns a pointer to the given uint value.

func Uint8

func Uint8(u uint8) *uint8

Uint8 returns a pointer to the given uint8 value.

func Uint16

func Uint16(u uint16) *uint16

Uint16 returns a pointer to the given uint16 value.

func Uint32

func Uint32(u uint32) *uint32

Uint32 returns a pointer to the given uint32 value.

func Uint64

func Uint64(u uint64) *uint64

Uint64 returns a pointer to the given uint64 value.

func Uintptr

func Uintptr(u uintptr) *uintptr

Uintptr returns a pointer to the given uintptr value.

Types

type BackendAddressPool

type BackendAddressPool struct {
	Id                           string                        `json:"id" url:"id"`
	Name                         string                        `json:"name" url:"name"`
	Type                         string                        `json:"type" url:"type"`
	LoadBalancerBackendAddresses []*LoadBalancerBackendAddress `json:"loadBalancerBackendAddresses,omitempty" url:"loadBalancerBackendAddresses,omitempty"`
	Location                     *string                       `json:"location,omitempty" url:"location,omitempty"`
	SyncMode                     *SyncMode                     `json:"syncMode,omitempty" url:"syncMode,omitempty"`
	VirtualNetwork               *Subresource                  `json:"virtualNetwork,omitempty" url:"virtualNetwork,omitempty"`
	BackendIpConfigurations      []*InterfaceIpConfiguration   `json:"backendIpConfigurations,omitempty" url:"backendIpConfigurations,omitempty"`
	// contains filtered or unexported fields
}

Collection of backend address pools used by the load balancer: https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork/v5#BackendAddressPool

func (*BackendAddressPool) GetExtraProperties

func (b *BackendAddressPool) GetExtraProperties() map[string]interface{}

func (*BackendAddressPool) String

func (b *BackendAddressPool) String() string

func (*BackendAddressPool) UnmarshalJSON

func (b *BackendAddressPool) UnmarshalJSON(data []byte) error

type InterfaceIpConfiguration

type InterfaceIpConfiguration struct {
	Id               string           `json:"id" url:"id"`
	Name             string           `json:"name" url:"name"`
	Type             *string          `json:"type,omitempty" url:"type,omitempty"`
	PrivateIpAddress *string          `json:"privateIpAddress,omitempty" url:"privateIpAddress,omitempty"`
	PublicIpAddress  *PublicIpAddress `json:"publicIpAddress,omitempty" url:"publicIpAddress,omitempty"`
	Subnet           *Subnet          `json:"subnet,omitempty" url:"subnet,omitempty"`
	// contains filtered or unexported fields
}

func (*InterfaceIpConfiguration) GetExtraProperties

func (i *InterfaceIpConfiguration) GetExtraProperties() map[string]interface{}

func (*InterfaceIpConfiguration) String

func (i *InterfaceIpConfiguration) String() string

func (*InterfaceIpConfiguration) UnmarshalJSON

func (i *InterfaceIpConfiguration) UnmarshalJSON(data []byte) error

type LoadBalancer

type LoadBalancer struct {
	Id                       string                      `json:"id" url:"id"`
	Name                     string                      `json:"name" url:"name"`
	Location                 string                      `json:"location" url:"location"`
	ResourceGroup            string                      `json:"resourceGroup" url:"resourceGroup"`
	ResourceGroupId          string                      `json:"resourceGroupId" url:"resourceGroupId"`
	Sku                      *LoadBalancerSku            `json:"sku,omitempty" url:"sku,omitempty"`
	BackendAddressPools      []*BackendAddressPool       `json:"backendAddressPools,omitempty" url:"backendAddressPools,omitempty"`
	FrontendIpConfigurations []*InterfaceIpConfiguration `json:"frontendIPConfigurations,omitempty" url:"frontendIPConfigurations,omitempty"`
	LoadBalancingRules       []*LoadBalancingRule        `json:"loadBalancingRules,omitempty" url:"loadBalancingRules,omitempty"`
	// contains filtered or unexported fields
}

LoadBalancer represents an Azure Load Balancer as defined in the Azure Go SDK: https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork/v5#LoadBalancer

func (*LoadBalancer) GetExtraProperties

func (l *LoadBalancer) GetExtraProperties() map[string]interface{}

func (*LoadBalancer) String

func (l *LoadBalancer) String() string

func (*LoadBalancer) UnmarshalJSON

func (l *LoadBalancer) UnmarshalJSON(data []byte) error

type LoadBalancerBackendAddress

type LoadBalancerBackendAddress struct {
	Name                                string                                `json:"name" url:"name"`
	AdminState                          *LoadBalancerBackendAddressAdminState `json:"adminState,omitempty" url:"adminState,omitempty"`
	IpAddress                           *string                               `json:"ipAddress,omitempty" url:"ipAddress,omitempty"`
	LoadBalancerFrontendIpConfiguration *Subresource                          `json:"loadBalancerFrontendIPConfiguration,omitempty" url:"loadBalancerFrontendIPConfiguration,omitempty"`
	Subnet                              *Subresource                          `json:"subnet,omitempty" url:"subnet,omitempty"`
	VirtualNetwork                      *Subresource                          `json:"virtualNetwork,omitempty" url:"virtualNetwork,omitempty"`
	InboundNatRulesPortMapping          []*NatRulePortMapping                 `json:"inboundNatRulesPortMapping,omitempty" url:"inboundNatRulesPortMapping,omitempty"`
	NetworkInterfaceIpConfigurations    *Subresource                          `json:"networkInterfaceIpConfigurations,omitempty" url:"networkInterfaceIpConfigurations,omitempty"`
	NetworkInterface                    *NetworkInterface                     `json:"networkInterface,omitempty" url:"networkInterface,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadBalancerBackendAddress) GetExtraProperties

func (l *LoadBalancerBackendAddress) GetExtraProperties() map[string]interface{}

func (*LoadBalancerBackendAddress) String

func (l *LoadBalancerBackendAddress) String() string

func (*LoadBalancerBackendAddress) UnmarshalJSON

func (l *LoadBalancerBackendAddress) UnmarshalJSON(data []byte) error

type LoadBalancerBackendAddressAdminState

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

func NewLoadBalancerBackendAddressAdminStateFromString

func NewLoadBalancerBackendAddressAdminStateFromString(s string) (LoadBalancerBackendAddressAdminState, error)

func (LoadBalancerBackendAddressAdminState) Ptr

type LoadBalancerReport

type LoadBalancerReport struct {
	SubscriptionId string          `json:"subscriptionId" url:"subscriptionId"`
	TenantId       string          `json:"tenantId" url:"tenantId"`
	LoadBalancers  []*LoadBalancer `json:"loadBalancers,omitempty" url:"loadBalancers,omitempty"`
	Errors         []string        `json:"errors,omitempty" url:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadBalancerReport) GetExtraProperties

func (l *LoadBalancerReport) GetExtraProperties() map[string]interface{}

func (*LoadBalancerReport) String

func (l *LoadBalancerReport) String() string

func (*LoadBalancerReport) UnmarshalJSON

func (l *LoadBalancerReport) UnmarshalJSON(data []byte) error

type LoadBalancerSku

type LoadBalancerSku struct {
	Name LoadBalancerSkuName `json:"name" url:"name"`
	Tier LoadBalancerSkuTier `json:"tier" url:"tier"`
	// contains filtered or unexported fields
}

func (*LoadBalancerSku) GetExtraProperties

func (l *LoadBalancerSku) GetExtraProperties() map[string]interface{}

func (*LoadBalancerSku) String

func (l *LoadBalancerSku) String() string

func (*LoadBalancerSku) UnmarshalJSON

func (l *LoadBalancerSku) UnmarshalJSON(data []byte) error

type LoadBalancerSkuName

type LoadBalancerSkuName string
const (
	LoadBalancerSkuNameBasic    LoadBalancerSkuName = "Basic"
	LoadBalancerSkuNameGateway  LoadBalancerSkuName = "Gateway"
	LoadBalancerSkuNameStandard LoadBalancerSkuName = "Standard"
	LoadBalancerSkuNameUnknown  LoadBalancerSkuName = "Unknown"
)

func NewLoadBalancerSkuNameFromString

func NewLoadBalancerSkuNameFromString(s string) (LoadBalancerSkuName, error)

func (LoadBalancerSkuName) Ptr

type LoadBalancerSkuTier

type LoadBalancerSkuTier string
const (
	LoadBalancerSkuTierGlobal   LoadBalancerSkuTier = "Global"
	LoadBalancerSkuTierRegional LoadBalancerSkuTier = "Regional"
	LoadBalancerSkuTierUnknown  LoadBalancerSkuTier = "Unknown"
)

func NewLoadBalancerSkuTierFromString

func NewLoadBalancerSkuTierFromString(s string) (LoadBalancerSkuTier, error)

func (LoadBalancerSkuTier) Ptr

type LoadBalancingRule

type LoadBalancingRule struct {
	Id                      string            `json:"id" url:"id"`
	Name                    string            `json:"name" url:"name"`
	FrontendPort            int               `json:"frontendPort" url:"frontendPort"`
	Protocol                TransportProtocol `json:"protocol" url:"protocol"`
	BackendAddressPool      *Subresource      `json:"backendAddressPool,omitempty" url:"backendAddressPool,omitempty"`
	BackendAddressPools     []*Subresource    `json:"backendAddressPools,omitempty" url:"backendAddressPools,omitempty"`
	BackendPort             int               `json:"backendPort" url:"backendPort"`
	FrontendIpConfiguration *Subresource      `json:"frontendIPConfiguration,omitempty" url:"frontendIPConfiguration,omitempty"`
	// contains filtered or unexported fields
}

LoadBalancingRule represents an Azure Load Balancing Rule as defined in the Azure Go SDK: https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork/v5#LoadBalancingRule

func (*LoadBalancingRule) GetExtraProperties

func (l *LoadBalancingRule) GetExtraProperties() map[string]interface{}

func (*LoadBalancingRule) String

func (l *LoadBalancingRule) String() string

func (*LoadBalancingRule) UnmarshalJSON

func (l *LoadBalancingRule) UnmarshalJSON(data []byte) error

type NatRulePortMapping

type NatRulePortMapping struct {
	BackendPort        int    `json:"backendPort" url:"backendPort"`
	FrontendPort       int    `json:"frontendPort" url:"frontendPort"`
	InboundNatRuleName string `json:"inboundNatRuleName" url:"inboundNatRuleName"`
	// contains filtered or unexported fields
}

func (*NatRulePortMapping) GetExtraProperties

func (n *NatRulePortMapping) GetExtraProperties() map[string]interface{}

func (*NatRulePortMapping) String

func (n *NatRulePortMapping) String() string

func (*NatRulePortMapping) UnmarshalJSON

func (n *NatRulePortMapping) UnmarshalJSON(data []byte) error

type NetworkInterface added in v0.0.12

type NetworkInterface struct {
	Id                     string  `json:"id" url:"id"`
	Name                   string  `json:"name" url:"name"`
	NetworkSecurityGroupId *string `json:"networkSecurityGroupID,omitempty" url:"networkSecurityGroupID,omitempty"`
	MacAddress             *string `json:"macAddress,omitempty" url:"macAddress,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkInterface) GetExtraProperties added in v0.0.12

func (n *NetworkInterface) GetExtraProperties() map[string]interface{}

func (*NetworkInterface) String added in v0.0.12

func (n *NetworkInterface) String() string

func (*NetworkInterface) UnmarshalJSON added in v0.0.12

func (n *NetworkInterface) UnmarshalJSON(data []byte) error

type PublicIpAddress

type PublicIpAddress struct {
	Id          string                      `json:"id" url:"id"`
	Location    string                      `json:"location" url:"location"`
	IpAddress   string                      `json:"ipAddress" url:"ipAddress"`
	DnsSettings *PublicIpAddressDnsSettings `json:"dnsSettings,omitempty" url:"dnsSettings,omitempty"`
	// contains filtered or unexported fields
}

func (*PublicIpAddress) GetExtraProperties

func (p *PublicIpAddress) GetExtraProperties() map[string]interface{}

func (*PublicIpAddress) String

func (p *PublicIpAddress) String() string

func (*PublicIpAddress) UnmarshalJSON

func (p *PublicIpAddress) UnmarshalJSON(data []byte) error

type PublicIpAddressDnsSettings

type PublicIpAddressDnsSettings struct {
	DomainNameLabel string `json:"domainNameLabel" url:"domainNameLabel"`
	Fqdn            string `json:"fqdn" url:"fqdn"`
	ReverseFqdn     string `json:"reverseFqdn" url:"reverseFqdn"`
	// contains filtered or unexported fields
}

func (*PublicIpAddressDnsSettings) GetExtraProperties

func (p *PublicIpAddressDnsSettings) GetExtraProperties() map[string]interface{}

func (*PublicIpAddressDnsSettings) String

func (p *PublicIpAddressDnsSettings) String() string

func (*PublicIpAddressDnsSettings) UnmarshalJSON

func (p *PublicIpAddressDnsSettings) UnmarshalJSON(data []byte) error

type ResourceGroup added in v0.0.12

type ResourceGroup struct {
	Id   string `json:"id" url:"id"`
	Name string `json:"name" url:"name"`
	// contains filtered or unexported fields
}

func (*ResourceGroup) GetExtraProperties added in v0.0.12

func (r *ResourceGroup) GetExtraProperties() map[string]interface{}

func (*ResourceGroup) String added in v0.0.12

func (r *ResourceGroup) String() string

func (*ResourceGroup) UnmarshalJSON added in v0.0.12

func (r *ResourceGroup) UnmarshalJSON(data []byte) error

type Subnet

type Subnet struct {
	Id                     string   `json:"id" url:"id"`
	Name                   string   `json:"name" url:"name"`
	Type                   *string  `json:"type,omitempty" url:"type,omitempty"`
	AddressPrefix          *string  `json:"addressPrefix,omitempty" url:"addressPrefix,omitempty"`
	AddressPrefixes        []string `json:"addressPrefixes,omitempty" url:"addressPrefixes,omitempty"`
	NetworkSecurityGroupId *string  `json:"networkSecurityGroupID,omitempty" url:"networkSecurityGroupID,omitempty"`
	// contains filtered or unexported fields
}

func (*Subnet) GetExtraProperties

func (s *Subnet) GetExtraProperties() map[string]interface{}

func (*Subnet) String

func (s *Subnet) String() string

func (*Subnet) UnmarshalJSON

func (s *Subnet) UnmarshalJSON(data []byte) error

type Subresource added in v0.0.12

type Subresource struct {
	Id string `json:"id" url:"id"`
	// contains filtered or unexported fields
}

func (*Subresource) GetExtraProperties added in v0.0.12

func (s *Subresource) GetExtraProperties() map[string]interface{}

func (*Subresource) String added in v0.0.12

func (s *Subresource) String() string

func (*Subresource) UnmarshalJSON added in v0.0.12

func (s *Subresource) UnmarshalJSON(data []byte) error

type SyncMode

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

func NewSyncModeFromString

func NewSyncModeFromString(s string) (SyncMode, error)

func (SyncMode) Ptr

func (s SyncMode) Ptr() *SyncMode

type TransportProtocol

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

func NewTransportProtocolFromString

func NewTransportProtocolFromString(s string) (TransportProtocol, error)

func (TransportProtocol) Ptr

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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