Documentation
¶
Index ¶
- func Bool(b bool) *bool
- func Byte(b byte) *byte
- func Complex128(c complex128) *complex128
- func Complex64(c complex64) *complex64
- func Float32(f float32) *float32
- func Float64(f float64) *float64
- func Int(i int) *int
- func Int16(i int16) *int16
- func Int32(i int32) *int32
- func Int64(i int64) *int64
- func Int8(i int8) *int8
- func MustParseDate(date string) time.Time
- func MustParseDateTime(datetime string) time.Time
- func Rune(r rune) *rune
- func String(s string) *string
- func Time(t time.Time) *time.Time
- func UUID(u uuid.UUID) *uuid.UUID
- func Uint(u uint) *uint
- func Uint16(u uint16) *uint16
- func Uint32(u uint32) *uint32
- func Uint64(u uint64) *uint64
- func Uint8(u uint8) *uint8
- func Uintptr(u uintptr) *uintptr
- type BackendAddressPool
- func (b *BackendAddressPool) GetBackendIpConfigurations() []*InterfaceIpConfiguration
- func (b *BackendAddressPool) GetExtraProperties() map[string]interface{}
- func (b *BackendAddressPool) GetId() string
- func (b *BackendAddressPool) GetLoadBalancerBackendAddresses() []*LoadBalancerBackendAddress
- func (b *BackendAddressPool) GetLocation() *string
- func (b *BackendAddressPool) GetName() string
- func (b *BackendAddressPool) GetSyncMode() *SyncMode
- func (b *BackendAddressPool) GetType() string
- func (b *BackendAddressPool) GetVirtualNetwork() *Subresource
- func (b *BackendAddressPool) String() string
- func (b *BackendAddressPool) UnmarshalJSON(data []byte) error
- type FileParam
- type FileParamOption
- type IamReport
- func (i *IamReport) GetErrors() []string
- func (i *IamReport) GetExtraProperties() map[string]interface{}
- func (i *IamReport) GetRoleAssignments() []*RoleAssignment
- func (i *IamReport) GetRoleDefinitions() []*RoleDefinition
- func (i *IamReport) GetSubscriptionId() string
- func (i *IamReport) GetTenantId() string
- func (i *IamReport) String() string
- func (i *IamReport) UnmarshalJSON(data []byte) error
- type InterfaceIpConfiguration
- func (i *InterfaceIpConfiguration) GetExtraProperties() map[string]interface{}
- func (i *InterfaceIpConfiguration) GetId() string
- func (i *InterfaceIpConfiguration) GetName() string
- func (i *InterfaceIpConfiguration) GetPrivateIpAddress() *string
- func (i *InterfaceIpConfiguration) GetPublicIpAddress() *PublicIpAddress
- func (i *InterfaceIpConfiguration) GetSubnet() *Subnet
- func (i *InterfaceIpConfiguration) GetType() *string
- func (i *InterfaceIpConfiguration) String() string
- func (i *InterfaceIpConfiguration) UnmarshalJSON(data []byte) error
- type LoadBalancer
- func (l *LoadBalancer) GetBackendAddressPools() []*BackendAddressPool
- func (l *LoadBalancer) GetExtraProperties() map[string]interface{}
- func (l *LoadBalancer) GetFrontendIpConfigurations() []*InterfaceIpConfiguration
- func (l *LoadBalancer) GetId() string
- func (l *LoadBalancer) GetLoadBalancingRules() []*LoadBalancingRule
- func (l *LoadBalancer) GetLocation() string
- func (l *LoadBalancer) GetName() string
- func (l *LoadBalancer) GetResourceGroup() string
- func (l *LoadBalancer) GetResourceGroupId() string
- func (l *LoadBalancer) GetSku() *LoadBalancerSku
- func (l *LoadBalancer) String() string
- func (l *LoadBalancer) UnmarshalJSON(data []byte) error
- type LoadBalancerBackendAddress
- func (l *LoadBalancerBackendAddress) GetAdminState() *LoadBalancerBackendAddressAdminState
- func (l *LoadBalancerBackendAddress) GetExtraProperties() map[string]interface{}
- func (l *LoadBalancerBackendAddress) GetInboundNatRulesPortMapping() []*NatRulePortMapping
- func (l *LoadBalancerBackendAddress) GetIpAddress() *string
- func (l *LoadBalancerBackendAddress) GetLoadBalancerFrontendIpConfiguration() *Subresource
- func (l *LoadBalancerBackendAddress) GetName() string
- func (l *LoadBalancerBackendAddress) GetNetworkInterface() *NetworkInterface
- func (l *LoadBalancerBackendAddress) GetNetworkInterfaceIpConfigurations() *Subresource
- func (l *LoadBalancerBackendAddress) GetSubnet() *Subresource
- func (l *LoadBalancerBackendAddress) GetVirtualNetwork() *Subresource
- func (l *LoadBalancerBackendAddress) String() string
- func (l *LoadBalancerBackendAddress) UnmarshalJSON(data []byte) error
- type LoadBalancerBackendAddressAdminState
- type LoadBalancerReport
- func (l *LoadBalancerReport) GetErrors() []string
- func (l *LoadBalancerReport) GetExtraProperties() map[string]interface{}
- func (l *LoadBalancerReport) GetLoadBalancers() []*LoadBalancer
- func (l *LoadBalancerReport) GetSubscriptionId() string
- func (l *LoadBalancerReport) GetTenantId() string
- func (l *LoadBalancerReport) String() string
- func (l *LoadBalancerReport) UnmarshalJSON(data []byte) error
- type LoadBalancerSku
- type LoadBalancerSkuName
- type LoadBalancerSkuTier
- type LoadBalancingRule
- func (l *LoadBalancingRule) GetBackendAddressPool() *Subresource
- func (l *LoadBalancingRule) GetBackendAddressPools() []*Subresource
- func (l *LoadBalancingRule) GetBackendPort() int
- func (l *LoadBalancingRule) GetExtraProperties() map[string]interface{}
- func (l *LoadBalancingRule) GetFrontendIpConfiguration() *Subresource
- func (l *LoadBalancingRule) GetFrontendPort() int
- func (l *LoadBalancingRule) GetId() string
- func (l *LoadBalancingRule) GetName() string
- func (l *LoadBalancingRule) GetProtocol() TransportProtocol
- func (l *LoadBalancingRule) String() string
- func (l *LoadBalancingRule) UnmarshalJSON(data []byte) error
- type NatRulePortMapping
- func (n *NatRulePortMapping) GetBackendPort() int
- func (n *NatRulePortMapping) GetExtraProperties() map[string]interface{}
- func (n *NatRulePortMapping) GetFrontendPort() int
- func (n *NatRulePortMapping) GetInboundNatRuleName() string
- func (n *NatRulePortMapping) String() string
- func (n *NatRulePortMapping) UnmarshalJSON(data []byte) error
- type NetworkInterface
- func (n *NetworkInterface) GetExtraProperties() map[string]interface{}
- func (n *NetworkInterface) GetId() string
- func (n *NetworkInterface) GetMacAddress() *string
- func (n *NetworkInterface) GetName() string
- func (n *NetworkInterface) GetNetworkSecurityGroupId() *string
- func (n *NetworkInterface) String() string
- func (n *NetworkInterface) UnmarshalJSON(data []byte) error
- type Permission
- func (p *Permission) GetActions() []string
- func (p *Permission) GetDataActions() []string
- func (p *Permission) GetExtraProperties() map[string]interface{}
- func (p *Permission) GetNotActions() []string
- func (p *Permission) GetNotDataActions() []string
- func (p *Permission) String() string
- func (p *Permission) UnmarshalJSON(data []byte) error
- type PrincipalType
- type PublicIpAddress
- func (p *PublicIpAddress) GetDnsSettings() *PublicIpAddressDnsSettings
- func (p *PublicIpAddress) GetExtraProperties() map[string]interface{}
- func (p *PublicIpAddress) GetId() string
- func (p *PublicIpAddress) GetIpAddress() string
- func (p *PublicIpAddress) GetLocation() string
- func (p *PublicIpAddress) String() string
- func (p *PublicIpAddress) UnmarshalJSON(data []byte) error
- type PublicIpAddressDnsSettings
- func (p *PublicIpAddressDnsSettings) GetDomainNameLabel() string
- func (p *PublicIpAddressDnsSettings) GetExtraProperties() map[string]interface{}
- func (p *PublicIpAddressDnsSettings) GetFqdn() string
- func (p *PublicIpAddressDnsSettings) GetReverseFqdn() string
- func (p *PublicIpAddressDnsSettings) String() string
- func (p *PublicIpAddressDnsSettings) UnmarshalJSON(data []byte) error
- type ResourceGroup
- type RoleAssignment
- func (r *RoleAssignment) GetCondition() *string
- func (r *RoleAssignment) GetConditionVersion() *string
- func (r *RoleAssignment) GetCreatedBy() *string
- func (r *RoleAssignment) GetCreatedOn() *time.Time
- func (r *RoleAssignment) GetDelegatedManagedIdentityResourceId() *string
- func (r *RoleAssignment) GetDescription() *string
- func (r *RoleAssignment) GetExtraProperties() map[string]interface{}
- func (r *RoleAssignment) GetId() string
- func (r *RoleAssignment) GetName() string
- func (r *RoleAssignment) GetPrincipalId() string
- func (r *RoleAssignment) GetPrincipalType() *PrincipalType
- func (r *RoleAssignment) GetRoleDefinitionId() string
- func (r *RoleAssignment) GetScope() *string
- func (r *RoleAssignment) GetType() string
- func (r *RoleAssignment) GetUpdatedBy() *string
- func (r *RoleAssignment) GetUpdatedOn() *time.Time
- func (r *RoleAssignment) MarshalJSON() ([]byte, error)
- func (r *RoleAssignment) String() string
- func (r *RoleAssignment) UnmarshalJSON(data []byte) error
- type RoleDefinition
- func (r *RoleDefinition) GetAssignableScopes() []string
- func (r *RoleDefinition) GetDescription() *string
- func (r *RoleDefinition) GetExtraProperties() map[string]interface{}
- func (r *RoleDefinition) GetId() string
- func (r *RoleDefinition) GetName() string
- func (r *RoleDefinition) GetPermissions() []*Permission
- func (r *RoleDefinition) GetRoleName() *string
- func (r *RoleDefinition) GetRoleType() *string
- func (r *RoleDefinition) GetType() string
- func (r *RoleDefinition) String() string
- func (r *RoleDefinition) UnmarshalJSON(data []byte) error
- type Subnet
- func (s *Subnet) GetAddressPrefix() *string
- func (s *Subnet) GetAddressPrefixes() []string
- func (s *Subnet) GetExtraProperties() map[string]interface{}
- func (s *Subnet) GetId() string
- func (s *Subnet) GetName() string
- func (s *Subnet) GetNetworkSecurityGroupId() *string
- func (s *Subnet) GetType() *string
- func (s *Subnet) String() string
- func (s *Subnet) UnmarshalJSON(data []byte) error
- type Subresource
- type SyncMode
- type TransportProtocol
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Complex128 ¶
func Complex128(c complex128) *complex128
Complex128 returns a pointer to the given complex128 value.
func MustParseDate ¶
MustParseDate attempts to parse the given string as a date time.Time, and panics upon failure.
func MustParseDateTime ¶
MustParseDateTime attempts to parse the given string as a datetime time.Time, and panics upon failure.
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
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
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) GetExtraProperties ¶ added in v0.0.14
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 (*IamReport) GetTenantId ¶ added in v0.0.14
func (*IamReport) UnmarshalJSON ¶ added in v0.0.14
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 (l *LoadBalancerBackendAddress) GetAdminState() *LoadBalancerBackendAddressAdminState
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)
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 ¶
func (l LoadBalancerSkuName) Ptr() *LoadBalancerSkuName
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 ¶
func (l LoadBalancerSkuTier) Ptr() *LoadBalancerSkuTier
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 (*Subnet) GetAddressPrefixes ¶ added in v0.0.14
func (*Subnet) GetExtraProperties ¶
func (*Subnet) GetNetworkSecurityGroupId ¶ added in v0.0.14
func (*Subnet) UnmarshalJSON ¶
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 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 ¶
func (t TransportProtocol) Ptr() *TransportProtocol