methodazure

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2025 License: Apache-2.0 Imports: 6 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) GetBackendIpConfigurations added in v0.0.14

func (b *BackendAddressPool) GetBackendIpConfigurations() []*InterfaceIpConfiguration

func (*BackendAddressPool) GetExtraProperties

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

func (*BackendAddressPool) GetId added in v0.0.14

func (b *BackendAddressPool) GetId() string

func (*BackendAddressPool) GetLoadBalancerBackendAddresses added in v0.0.14

func (b *BackendAddressPool) GetLoadBalancerBackendAddresses() []*LoadBalancerBackendAddress

func (*BackendAddressPool) GetLocation added in v0.0.14

func (b *BackendAddressPool) GetLocation() *string

func (*BackendAddressPool) GetName added in v0.0.14

func (b *BackendAddressPool) GetName() string

func (*BackendAddressPool) GetSyncMode added in v0.0.14

func (b *BackendAddressPool) GetSyncMode() *SyncMode

func (*BackendAddressPool) GetType added in v0.0.14

func (b *BackendAddressPool) GetType() string

func (*BackendAddressPool) GetVirtualNetwork added in v0.0.14

func (b *BackendAddressPool) GetVirtualNetwork() *Subresource

func (*BackendAddressPool) String

func (b *BackendAddressPool) String() string

func (*BackendAddressPool) UnmarshalJSON

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

type FileParam added in v0.0.14

type FileParam struct {
	io.Reader
	// contains filtered or unexported fields
}

FileParam is a file type suitable for multipart/form-data uploads.

func NewFileParam added in v0.0.14

func NewFileParam(
	reader io.Reader,
	filename string,
	contentType string,
	opts ...FileParamOption,
) *FileParam

NewFileParam returns a *FileParam type suitable for multipart/form-data uploads. All file upload endpoints accept a simple io.Reader, which is usually created by opening a file via os.Open.

However, some endpoints require additional metadata about the file such as a specific Content-Type or custom filename. FileParam makes it easier to create the correct type signature for these endpoints.

func (*FileParam) ContentType added in v0.0.14

func (f *FileParam) ContentType() string

func (*FileParam) Name added in v0.0.14

func (f *FileParam) Name() string

type FileParamOption added in v0.0.14

type FileParamOption interface {
	// contains filtered or unexported methods
}

FileParamOption adapts the behavior of the FileParam. No options are implemented yet, but this interface allows for future extensibility.

type IamReport added in v0.0.14

type IamReport struct {
	SubscriptionId  string            `json:"subscriptionId" url:"subscriptionId"`
	TenantId        string            `json:"tenantId" url:"tenantId"`
	RoleAssignments []*RoleAssignment `json:"roleAssignments,omitempty" url:"roleAssignments,omitempty"`
	RoleDefinitions []*RoleDefinition `json:"roleDefinitions,omitempty" url:"roleDefinitions,omitempty"`
	Errors          []string          `json:"errors,omitempty" url:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*IamReport) GetErrors added in v0.0.14

func (i *IamReport) GetErrors() []string

func (*IamReport) GetExtraProperties added in v0.0.14

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

func (*IamReport) GetRoleAssignments added in v0.0.14

func (i *IamReport) GetRoleAssignments() []*RoleAssignment

func (*IamReport) GetRoleDefinitions added in v0.0.14

func (i *IamReport) GetRoleDefinitions() []*RoleDefinition

func (*IamReport) GetSubscriptionId added in v0.0.14

func (i *IamReport) GetSubscriptionId() string

func (*IamReport) GetTenantId added in v0.0.14

func (i *IamReport) GetTenantId() string

func (*IamReport) String added in v0.0.14

func (i *IamReport) String() string

func (*IamReport) UnmarshalJSON added in v0.0.14

func (i *IamReport) 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) GetId added in v0.0.14

func (i *InterfaceIpConfiguration) GetId() string

func (*InterfaceIpConfiguration) GetName added in v0.0.14

func (i *InterfaceIpConfiguration) GetName() string

func (*InterfaceIpConfiguration) GetPrivateIpAddress added in v0.0.14

func (i *InterfaceIpConfiguration) GetPrivateIpAddress() *string

func (*InterfaceIpConfiguration) GetPublicIpAddress added in v0.0.14

func (i *InterfaceIpConfiguration) GetPublicIpAddress() *PublicIpAddress

func (*InterfaceIpConfiguration) GetSubnet added in v0.0.14

func (i *InterfaceIpConfiguration) GetSubnet() *Subnet

func (*InterfaceIpConfiguration) GetType added in v0.0.14

func (i *InterfaceIpConfiguration) GetType() *string

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) GetBackendAddressPools added in v0.0.14

func (l *LoadBalancer) GetBackendAddressPools() []*BackendAddressPool

func (*LoadBalancer) GetExtraProperties

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

func (*LoadBalancer) GetFrontendIpConfigurations added in v0.0.14

func (l *LoadBalancer) GetFrontendIpConfigurations() []*InterfaceIpConfiguration

func (*LoadBalancer) GetId added in v0.0.14

func (l *LoadBalancer) GetId() string

func (*LoadBalancer) GetLoadBalancingRules added in v0.0.14

func (l *LoadBalancer) GetLoadBalancingRules() []*LoadBalancingRule

func (*LoadBalancer) GetLocation added in v0.0.14

func (l *LoadBalancer) GetLocation() string

func (*LoadBalancer) GetName added in v0.0.14

func (l *LoadBalancer) GetName() string

func (*LoadBalancer) GetResourceGroup added in v0.0.14

func (l *LoadBalancer) GetResourceGroup() string

func (*LoadBalancer) GetResourceGroupId added in v0.0.14

func (l *LoadBalancer) GetResourceGroupId() string

func (*LoadBalancer) GetSku added in v0.0.14

func (l *LoadBalancer) GetSku() *LoadBalancerSku

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) GetAdminState added in v0.0.14

func (*LoadBalancerBackendAddress) GetExtraProperties

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

func (*LoadBalancerBackendAddress) GetInboundNatRulesPortMapping added in v0.0.14

func (l *LoadBalancerBackendAddress) GetInboundNatRulesPortMapping() []*NatRulePortMapping

func (*LoadBalancerBackendAddress) GetIpAddress added in v0.0.14

func (l *LoadBalancerBackendAddress) GetIpAddress() *string

func (*LoadBalancerBackendAddress) GetLoadBalancerFrontendIpConfiguration added in v0.0.14

func (l *LoadBalancerBackendAddress) GetLoadBalancerFrontendIpConfiguration() *Subresource

func (*LoadBalancerBackendAddress) GetName added in v0.0.14

func (l *LoadBalancerBackendAddress) GetName() string

func (*LoadBalancerBackendAddress) GetNetworkInterface added in v0.0.14

func (l *LoadBalancerBackendAddress) GetNetworkInterface() *NetworkInterface

func (*LoadBalancerBackendAddress) GetNetworkInterfaceIpConfigurations added in v0.0.14

func (l *LoadBalancerBackendAddress) GetNetworkInterfaceIpConfigurations() *Subresource

func (*LoadBalancerBackendAddress) GetSubnet added in v0.0.14

func (l *LoadBalancerBackendAddress) GetSubnet() *Subresource

func (*LoadBalancerBackendAddress) GetVirtualNetwork added in v0.0.14

func (l *LoadBalancerBackendAddress) GetVirtualNetwork() *Subresource

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) GetErrors added in v0.0.14

func (l *LoadBalancerReport) GetErrors() []string

func (*LoadBalancerReport) GetExtraProperties

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

func (*LoadBalancerReport) GetLoadBalancers added in v0.0.14

func (l *LoadBalancerReport) GetLoadBalancers() []*LoadBalancer

func (*LoadBalancerReport) GetSubscriptionId added in v0.0.14

func (l *LoadBalancerReport) GetSubscriptionId() string

func (*LoadBalancerReport) GetTenantId added in v0.0.14

func (l *LoadBalancerReport) GetTenantId() string

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) GetName added in v0.0.14

func (l *LoadBalancerSku) GetName() LoadBalancerSkuName

func (*LoadBalancerSku) GetTier added in v0.0.14

func (l *LoadBalancerSku) GetTier() LoadBalancerSkuTier

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) GetBackendAddressPool added in v0.0.14

func (l *LoadBalancingRule) GetBackendAddressPool() *Subresource

func (*LoadBalancingRule) GetBackendAddressPools added in v0.0.14

func (l *LoadBalancingRule) GetBackendAddressPools() []*Subresource

func (*LoadBalancingRule) GetBackendPort added in v0.0.14

func (l *LoadBalancingRule) GetBackendPort() int

func (*LoadBalancingRule) GetExtraProperties

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

func (*LoadBalancingRule) GetFrontendIpConfiguration added in v0.0.14

func (l *LoadBalancingRule) GetFrontendIpConfiguration() *Subresource

func (*LoadBalancingRule) GetFrontendPort added in v0.0.14

func (l *LoadBalancingRule) GetFrontendPort() int

func (*LoadBalancingRule) GetId added in v0.0.14

func (l *LoadBalancingRule) GetId() string

func (*LoadBalancingRule) GetName added in v0.0.14

func (l *LoadBalancingRule) GetName() string

func (*LoadBalancingRule) GetProtocol added in v0.0.14

func (l *LoadBalancingRule) GetProtocol() TransportProtocol

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) GetBackendPort added in v0.0.14

func (n *NatRulePortMapping) GetBackendPort() int

func (*NatRulePortMapping) GetExtraProperties

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

func (*NatRulePortMapping) GetFrontendPort added in v0.0.14

func (n *NatRulePortMapping) GetFrontendPort() int

func (*NatRulePortMapping) GetInboundNatRuleName added in v0.0.14

func (n *NatRulePortMapping) GetInboundNatRuleName() string

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) GetId added in v0.0.14

func (n *NetworkInterface) GetId() string

func (*NetworkInterface) GetMacAddress added in v0.0.14

func (n *NetworkInterface) GetMacAddress() *string

func (*NetworkInterface) GetName added in v0.0.14

func (n *NetworkInterface) GetName() string

func (*NetworkInterface) GetNetworkSecurityGroupId added in v0.0.14

func (n *NetworkInterface) GetNetworkSecurityGroupId() *string

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 Permission added in v0.0.14

type Permission struct {
	Actions        []string `json:"actions,omitempty" url:"actions,omitempty"`
	DataActions    []string `json:"dataActions,omitempty" url:"dataActions,omitempty"`
	NotActions     []string `json:"notActions,omitempty" url:"notActions,omitempty"`
	NotDataActions []string `json:"notDataActions,omitempty" url:"notDataActions,omitempty"`
	// contains filtered or unexported fields
}

func (*Permission) GetActions added in v0.0.14

func (p *Permission) GetActions() []string

func (*Permission) GetDataActions added in v0.0.14

func (p *Permission) GetDataActions() []string

func (*Permission) GetExtraProperties added in v0.0.14

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

func (*Permission) GetNotActions added in v0.0.14

func (p *Permission) GetNotActions() []string

func (*Permission) GetNotDataActions added in v0.0.14

func (p *Permission) GetNotDataActions() []string

func (*Permission) String added in v0.0.14

func (p *Permission) String() string

func (*Permission) UnmarshalJSON added in v0.0.14

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

type PrincipalType added in v0.0.14

type PrincipalType string
const (
	PrincipalTypeDevice           PrincipalType = "Device"
	PrincipalTypeForeignGroup     PrincipalType = "ForeignGroup"
	PrincipalTypeGroup            PrincipalType = "Group"
	PrincipalTypeServicePrincipal PrincipalType = "ServicePrincipal"
	PrincipalTypeUser             PrincipalType = "User"
	PrincipalTypeUnknown          PrincipalType = "Unknown"
)

func NewPrincipalTypeFromString added in v0.0.14

func NewPrincipalTypeFromString(s string) (PrincipalType, error)

func (PrincipalType) Ptr added in v0.0.14

func (p PrincipalType) Ptr() *PrincipalType

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) GetDnsSettings added in v0.0.14

func (p *PublicIpAddress) GetDnsSettings() *PublicIpAddressDnsSettings

func (*PublicIpAddress) GetExtraProperties

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

func (*PublicIpAddress) GetId added in v0.0.14

func (p *PublicIpAddress) GetId() string

func (*PublicIpAddress) GetIpAddress added in v0.0.14

func (p *PublicIpAddress) GetIpAddress() string

func (*PublicIpAddress) GetLocation added in v0.0.14

func (p *PublicIpAddress) GetLocation() string

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) GetDomainNameLabel added in v0.0.14

func (p *PublicIpAddressDnsSettings) GetDomainNameLabel() string

func (*PublicIpAddressDnsSettings) GetExtraProperties

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

func (*PublicIpAddressDnsSettings) GetFqdn added in v0.0.14

func (p *PublicIpAddressDnsSettings) GetFqdn() string

func (*PublicIpAddressDnsSettings) GetReverseFqdn added in v0.0.14

func (p *PublicIpAddressDnsSettings) GetReverseFqdn() string

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) GetId added in v0.0.14

func (r *ResourceGroup) GetId() string

func (*ResourceGroup) GetName added in v0.0.14

func (r *ResourceGroup) GetName() string

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 RoleAssignment added in v0.0.14

type RoleAssignment struct {
	Id                                 string         `json:"id" url:"id"`
	Name                               string         `json:"name" url:"name"`
	Type                               string         `json:"type" url:"type"`
	PrincipalId                        string         `json:"principalId" url:"principalId"`
	RoleDefinitionId                   string         `json:"roleDefinitionId" url:"roleDefinitionId"`
	Condition                          *string        `json:"condition,omitempty" url:"condition,omitempty"`
	ConditionVersion                   *string        `json:"conditionVersion,omitempty" url:"conditionVersion,omitempty"`
	DelegatedManagedIdentityResourceId *string        `json:"delegatedManagedIdentityResourceId,omitempty" url:"delegatedManagedIdentityResourceId,omitempty"`
	Description                        *string        `json:"description,omitempty" url:"description,omitempty"`
	PrincipalType                      *PrincipalType `json:"principalType,omitempty" url:"principalType,omitempty"`
	CreatedBy                          *string        `json:"createdBy,omitempty" url:"createdBy,omitempty"`
	CreatedOn                          *time.Time     `json:"createdOn,omitempty" url:"createdOn,omitempty"`
	Scope                              *string        `json:"scope,omitempty" url:"scope,omitempty"`
	UpdatedBy                          *string        `json:"updatedBy,omitempty" url:"updatedBy,omitempty"`
	UpdatedOn                          *time.Time     `json:"updatedOn,omitempty" url:"updatedOn,omitempty"`
	// contains filtered or unexported fields
}

An Azure Role assignment is a mapping between a user, group, service principal, or managed identity to a role. This type is mirrored after the RoleAssignment type: https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/authorization/armauthorization/v2#RoleAssignment

func (*RoleAssignment) GetCondition added in v0.0.14

func (r *RoleAssignment) GetCondition() *string

func (*RoleAssignment) GetConditionVersion added in v0.0.14

func (r *RoleAssignment) GetConditionVersion() *string

func (*RoleAssignment) GetCreatedBy added in v0.0.14

func (r *RoleAssignment) GetCreatedBy() *string

func (*RoleAssignment) GetCreatedOn added in v0.0.14

func (r *RoleAssignment) GetCreatedOn() *time.Time

func (*RoleAssignment) GetDelegatedManagedIdentityResourceId added in v0.0.14

func (r *RoleAssignment) GetDelegatedManagedIdentityResourceId() *string

func (*RoleAssignment) GetDescription added in v0.0.14

func (r *RoleAssignment) GetDescription() *string

func (*RoleAssignment) GetExtraProperties added in v0.0.14

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

func (*RoleAssignment) GetId added in v0.0.14

func (r *RoleAssignment) GetId() string

func (*RoleAssignment) GetName added in v0.0.14

func (r *RoleAssignment) GetName() string

func (*RoleAssignment) GetPrincipalId added in v0.0.14

func (r *RoleAssignment) GetPrincipalId() string

func (*RoleAssignment) GetPrincipalType added in v0.0.14

func (r *RoleAssignment) GetPrincipalType() *PrincipalType

func (*RoleAssignment) GetRoleDefinitionId added in v0.0.14

func (r *RoleAssignment) GetRoleDefinitionId() string

func (*RoleAssignment) GetScope added in v0.0.14

func (r *RoleAssignment) GetScope() *string

func (*RoleAssignment) GetType added in v0.0.14

func (r *RoleAssignment) GetType() string

func (*RoleAssignment) GetUpdatedBy added in v0.0.14

func (r *RoleAssignment) GetUpdatedBy() *string

func (*RoleAssignment) GetUpdatedOn added in v0.0.14

func (r *RoleAssignment) GetUpdatedOn() *time.Time

func (*RoleAssignment) MarshalJSON added in v0.0.14

func (r *RoleAssignment) MarshalJSON() ([]byte, error)

func (*RoleAssignment) String added in v0.0.14

func (r *RoleAssignment) String() string

func (*RoleAssignment) UnmarshalJSON added in v0.0.14

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

type RoleDefinition added in v0.0.14

type RoleDefinition struct {
	Id               string        `json:"id" url:"id"`
	Name             string        `json:"name" url:"name"`
	Type             string        `json:"type" url:"type"`
	AssignableScopes []string      `json:"assignableScopes,omitempty" url:"assignableScopes,omitempty"`
	Description      *string       `json:"description,omitempty" url:"description,omitempty"`
	RoleName         *string       `json:"roleName,omitempty" url:"roleName,omitempty"`
	RoleType         *string       `json:"roleType,omitempty" url:"roleType,omitempty"`
	Permissions      []*Permission `json:"permissions,omitempty" url:"permissions,omitempty"`
	// contains filtered or unexported fields
}

An Azure Role definition describes certain actions that can be performed on resource(s). This type is mirrored after the RoleDefinition type: https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/authorization/armauthorization/v2#RoleDefinition

func (*RoleDefinition) GetAssignableScopes added in v0.0.14

func (r *RoleDefinition) GetAssignableScopes() []string

func (*RoleDefinition) GetDescription added in v0.0.14

func (r *RoleDefinition) GetDescription() *string

func (*RoleDefinition) GetExtraProperties added in v0.0.14

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

func (*RoleDefinition) GetId added in v0.0.14

func (r *RoleDefinition) GetId() string

func (*RoleDefinition) GetName added in v0.0.14

func (r *RoleDefinition) GetName() string

func (*RoleDefinition) GetPermissions added in v0.0.14

func (r *RoleDefinition) GetPermissions() []*Permission

func (*RoleDefinition) GetRoleName added in v0.0.14

func (r *RoleDefinition) GetRoleName() *string

func (*RoleDefinition) GetRoleType added in v0.0.14

func (r *RoleDefinition) GetRoleType() *string

func (*RoleDefinition) GetType added in v0.0.14

func (r *RoleDefinition) GetType() string

func (*RoleDefinition) String added in v0.0.14

func (r *RoleDefinition) String() string

func (*RoleDefinition) UnmarshalJSON added in v0.0.14

func (r *RoleDefinition) 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) GetAddressPrefix added in v0.0.14

func (s *Subnet) GetAddressPrefix() *string

func (*Subnet) GetAddressPrefixes added in v0.0.14

func (s *Subnet) GetAddressPrefixes() []string

func (*Subnet) GetExtraProperties

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

func (*Subnet) GetId added in v0.0.14

func (s *Subnet) GetId() string

func (*Subnet) GetName added in v0.0.14

func (s *Subnet) GetName() string

func (*Subnet) GetNetworkSecurityGroupId added in v0.0.14

func (s *Subnet) GetNetworkSecurityGroupId() *string

func (*Subnet) GetType added in v0.0.14

func (s *Subnet) GetType() *string

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) GetId added in v0.0.14

func (s *Subresource) GetId() string

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