parse

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationSecurityGroupId

type ApplicationSecurityGroupId struct {
	SubscriptionId string
	ResourceGroup  string
	Name           string
}

func ApplicationSecurityGroupID

func ApplicationSecurityGroupID(input string) (*ApplicationSecurityGroupId, error)

ApplicationSecurityGroupID parses a ApplicationSecurityGroup ID into an ApplicationSecurityGroupId struct

func NewApplicationSecurityGroupID

func NewApplicationSecurityGroupID(subscriptionId, resourceGroup, name string) ApplicationSecurityGroupId

func (ApplicationSecurityGroupId) ID

func (ApplicationSecurityGroupId) String

func (id ApplicationSecurityGroupId) String() string

type BackendAddressPoolAddressId

type BackendAddressPoolAddressId struct {
	SubscriptionId         string
	ResourceGroup          string
	LoadBalancerName       string
	BackendAddressPoolName string
	AddressName            string
}

func BackendAddressPoolAddressID

func BackendAddressPoolAddressID(input string) (*BackendAddressPoolAddressId, error)

BackendAddressPoolAddressID parses a BackendAddressPoolAddress ID into an BackendAddressPoolAddressId struct

func NewBackendAddressPoolAddressID

func NewBackendAddressPoolAddressID(subscriptionId, resourceGroup, loadBalancerName, backendAddressPoolName, addressName string) BackendAddressPoolAddressId

func (BackendAddressPoolAddressId) ID

func (BackendAddressPoolAddressId) String

func (id BackendAddressPoolAddressId) String() string

type LocalNetworkGatewayId

type LocalNetworkGatewayId struct {
	SubscriptionId string
	ResourceGroup  string
	Name           string
}

func LocalNetworkGatewayID

func LocalNetworkGatewayID(input string) (*LocalNetworkGatewayId, error)

LocalNetworkGatewayID parses a LocalNetworkGateway ID into an LocalNetworkGatewayId struct

func NewLocalNetworkGatewayID

func NewLocalNetworkGatewayID(subscriptionId, resourceGroup, name string) LocalNetworkGatewayId

func (LocalNetworkGatewayId) ID

func (id LocalNetworkGatewayId) ID() string

func (LocalNetworkGatewayId) String

func (id LocalNetworkGatewayId) String() string

type NetworkGatewayConnectionId

type NetworkGatewayConnectionId struct {
	SubscriptionId string
	ResourceGroup  string
	ConnectionName string
}

func NetworkGatewayConnectionID

func NetworkGatewayConnectionID(input string) (*NetworkGatewayConnectionId, error)

NetworkGatewayConnectionID parses a NetworkGatewayConnection ID into an NetworkGatewayConnectionId struct

func NewNetworkGatewayConnectionID

func NewNetworkGatewayConnectionID(subscriptionId, resourceGroup, connectionName string) NetworkGatewayConnectionId

func (NetworkGatewayConnectionId) ID

func (NetworkGatewayConnectionId) String

func (id NetworkGatewayConnectionId) String() string

type NetworkInterfaceId

type NetworkInterfaceId struct {
	SubscriptionId string
	ResourceGroup  string
	Name           string
}

func NetworkInterfaceID

func NetworkInterfaceID(input string) (*NetworkInterfaceId, error)

NetworkInterfaceID parses a NetworkInterface ID into an NetworkInterfaceId struct

func NewNetworkInterfaceID

func NewNetworkInterfaceID(subscriptionId, resourceGroup, name string) NetworkInterfaceId

func (NetworkInterfaceId) ID

func (id NetworkInterfaceId) ID() string

func (NetworkInterfaceId) String

func (id NetworkInterfaceId) String() string

type NetworkInterfaceIpConfigurationId

type NetworkInterfaceIpConfigurationId struct {
	SubscriptionId       string
	ResourceGroup        string
	NetworkInterfaceName string
	IpConfigurationName  string
}

func NetworkInterfaceIpConfigurationID

func NetworkInterfaceIpConfigurationID(input string) (*NetworkInterfaceIpConfigurationId, error)

NetworkInterfaceIpConfigurationID parses a NetworkInterfaceIpConfiguration ID into an NetworkInterfaceIpConfigurationId struct

func NewNetworkInterfaceIpConfigurationID

func NewNetworkInterfaceIpConfigurationID(subscriptionId, resourceGroup, networkInterfaceName, ipConfigurationName string) NetworkInterfaceIpConfigurationId

func (NetworkInterfaceIpConfigurationId) ID

func (NetworkInterfaceIpConfigurationId) String

type NetworkSecurityGroupId

type NetworkSecurityGroupId struct {
	SubscriptionId string
	ResourceGroup  string
	Name           string
}

func NetworkSecurityGroupID

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

NetworkSecurityGroupID parses a NetworkSecurityGroup ID into an NetworkSecurityGroupId struct

func NewNetworkSecurityGroupID

func NewNetworkSecurityGroupID(subscriptionId, resourceGroup, name string) NetworkSecurityGroupId

func (NetworkSecurityGroupId) ID

func (NetworkSecurityGroupId) String

func (id NetworkSecurityGroupId) String() string

type PublicIpAddressId

type PublicIpAddressId struct {
	SubscriptionId string
	ResourceGroup  string
	Name           string
}

func NewPublicIpAddressID

func NewPublicIpAddressID(subscriptionId, resourceGroup, name string) PublicIpAddressId

func PublicIpAddressID

func PublicIpAddressID(input string) (*PublicIpAddressId, error)

PublicIpAddressID parses a PublicIpAddress ID into an PublicIpAddressId struct

func (PublicIpAddressId) ID

func (id PublicIpAddressId) ID() string

func (PublicIpAddressId) String

func (id PublicIpAddressId) String() string

type RouteId

type RouteId struct {
	SubscriptionId string
	ResourceGroup  string
	RouteTableName string
	Name           string
}

func NewRouteID

func NewRouteID(subscriptionId, resourceGroup, routeTableName, name string) RouteId

func RouteID

func RouteID(input string) (*RouteId, error)

RouteID parses a Route ID into an RouteId struct

func (RouteId) ID

func (id RouteId) ID() string

func (RouteId) String

func (id RouteId) String() string

type RouteTableId

type RouteTableId struct {
	SubscriptionId string
	ResourceGroup  string
	Name           string
}

func NewRouteTableID

func NewRouteTableID(subscriptionId, resourceGroup, name string) RouteTableId

func RouteTableID

func RouteTableID(input string) (*RouteTableId, error)

RouteTableID parses a RouteTable ID into an RouteTableId struct

func (RouteTableId) ID

func (id RouteTableId) ID() string

func (RouteTableId) String

func (id RouteTableId) String() string

type SecurityRuleId

type SecurityRuleId struct {
	SubscriptionId           string
	ResourceGroup            string
	NetworkSecurityGroupName string
	Name                     string
}

func NewSecurityRuleID

func NewSecurityRuleID(subscriptionId, resourceGroup, networkSecurityGroupName, name string) SecurityRuleId

func SecurityRuleID

func SecurityRuleID(input string) (*SecurityRuleId, error)

SecurityRuleID parses a SecurityRule ID into an SecurityRuleId struct

func (SecurityRuleId) ID

func (id SecurityRuleId) ID() string

func (SecurityRuleId) String

func (id SecurityRuleId) String() string

type SubnetId

type SubnetId struct {
	SubscriptionId     string
	ResourceGroup      string
	VirtualNetworkName string
	Name               string
}

func NewSubnetID

func NewSubnetID(subscriptionId, resourceGroup, virtualNetworkName, name string) SubnetId

func SubnetID

func SubnetID(input string) (*SubnetId, error)

SubnetID parses a Subnet ID into an SubnetId struct

func SubnetIDInsensitively

func SubnetIDInsensitively(input string) (*SubnetId, error)

SubnetIDInsensitively parses an Subnet ID into an SubnetId struct, insensitively This should only be used to parse an ID for rewriting, the SubnetID method should be used instead for validation etc.

Whilst this may seem strange, this enables Terraform have consistent casing which works around issues in Core, whilst handling broken API responses.

func (SubnetId) ID

func (id SubnetId) ID() string

func (SubnetId) String

func (id SubnetId) String() string

type VirtualNetworkGatewayId

type VirtualNetworkGatewayId struct {
	SubscriptionId string
	ResourceGroup  string
	Name           string
}

func NewVirtualNetworkGatewayID

func NewVirtualNetworkGatewayID(subscriptionId, resourceGroup, name string) VirtualNetworkGatewayId

func VirtualNetworkGatewayID

func VirtualNetworkGatewayID(input string) (*VirtualNetworkGatewayId, error)

VirtualNetworkGatewayID parses a VirtualNetworkGateway ID into an VirtualNetworkGatewayId struct

func (VirtualNetworkGatewayId) ID

func (VirtualNetworkGatewayId) String

func (id VirtualNetworkGatewayId) String() string

type VirtualNetworkGatewayIpConfigurationId

type VirtualNetworkGatewayIpConfigurationId struct {
	SubscriptionId            string
	ResourceGroup             string
	VirtualNetworkGatewayName string
	IpConfigurationName       string
}

func NewVirtualNetworkGatewayIpConfigurationID

func NewVirtualNetworkGatewayIpConfigurationID(subscriptionId, resourceGroup, virtualNetworkGatewayName, ipConfigurationName string) VirtualNetworkGatewayIpConfigurationId

func VirtualNetworkGatewayIpConfigurationID

func VirtualNetworkGatewayIpConfigurationID(input string) (*VirtualNetworkGatewayIpConfigurationId, error)

VirtualNetworkGatewayIpConfigurationID parses a VirtualNetworkGatewayIpConfiguration ID into an VirtualNetworkGatewayIpConfigurationId struct

func (VirtualNetworkGatewayIpConfigurationId) ID

func (VirtualNetworkGatewayIpConfigurationId) String

type VirtualNetworkId

type VirtualNetworkId struct {
	SubscriptionId string
	ResourceGroup  string
	Name           string
}

func NewVirtualNetworkID

func NewVirtualNetworkID(subscriptionId, resourceGroup, name string) VirtualNetworkId

func VirtualNetworkID

func VirtualNetworkID(input string) (*VirtualNetworkId, error)

VirtualNetworkID parses a VirtualNetwork ID into an VirtualNetworkId struct

func VirtualNetworkIDInsensitively

func VirtualNetworkIDInsensitively(input string) (*VirtualNetworkId, error)

VirtualNetworkIDInsensitively parses an VirtualNetwork ID into an VirtualNetworkId struct, insensitively This should only be used to parse an ID for rewriting, the VirtualNetworkID method should be used instead for validation etc.

Whilst this may seem strange, this enables Terraform have consistent casing which works around issues in Core, whilst handling broken API responses.

func (VirtualNetworkId) ID

func (id VirtualNetworkId) ID() string

func (VirtualNetworkId) String

func (id VirtualNetworkId) String() string

type VirtualNetworkPeeringId

type VirtualNetworkPeeringId struct {
	SubscriptionId     string
	ResourceGroup      string
	VirtualNetworkName string
	Name               string
}

func NewVirtualNetworkPeeringID

func NewVirtualNetworkPeeringID(subscriptionId, resourceGroup, virtualNetworkName, name string) VirtualNetworkPeeringId

func VirtualNetworkPeeringID

func VirtualNetworkPeeringID(input string) (*VirtualNetworkPeeringId, error)

VirtualNetworkPeeringID parses a VirtualNetworkPeering ID into an VirtualNetworkPeeringId struct

func (VirtualNetworkPeeringId) ID

func (VirtualNetworkPeeringId) String

func (id VirtualNetworkPeeringId) String() string

Jump to

Keyboard shortcuts

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