Documentation ¶
Index ¶
- func PossibleValuesForExtendedLocationTypes() []string
- func PossibleValuesForIPAllocationMethodEnum() []string
- func PossibleValuesForIPPoolTypeEnum() []string
- func PossibleValuesForProvisioningStateEnum() []string
- func PossibleValuesForStatus() []string
- func ValidateLogicalNetworkID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type ExtendedLocation
- type ExtendedLocationTypes
- type GetOperationResponse
- type IPAllocationMethodEnum
- type IPPool
- type IPPoolInfo
- type IPPoolTypeEnum
- type ListAllCompleteResult
- type ListAllCustomPager
- type ListAllOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type LogicalNetworkId
- type LogicalNetworkProperties
- type LogicalNetworkPropertiesDhcpOptions
- type LogicalNetworkStatus
- type LogicalNetworkStatusProvisioningStatus
- type LogicalNetworks
- type LogicalNetworksClient
- func (c LogicalNetworksClient) CreateOrUpdate(ctx context.Context, id LogicalNetworkId, input LogicalNetworks) (result CreateOrUpdateOperationResponse, err error)
- func (c LogicalNetworksClient) CreateOrUpdateThenPoll(ctx context.Context, id LogicalNetworkId, input LogicalNetworks) error
- func (c LogicalNetworksClient) Delete(ctx context.Context, id LogicalNetworkId) (result DeleteOperationResponse, err error)
- func (c LogicalNetworksClient) DeleteThenPoll(ctx context.Context, id LogicalNetworkId) error
- func (c LogicalNetworksClient) Get(ctx context.Context, id LogicalNetworkId) (result GetOperationResponse, err error)
- func (c LogicalNetworksClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
- func (c LogicalNetworksClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error)
- func (c LogicalNetworksClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllCompleteResult, error)
- func (c LogicalNetworksClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListAllCompleteResult, err error)
- func (c LogicalNetworksClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
- func (c LogicalNetworksClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListCompleteResult, err error)
- func (c LogicalNetworksClient) Update(ctx context.Context, id LogicalNetworkId, input LogicalNetworksUpdateRequest) (result UpdateOperationResponse, err error)
- func (c LogicalNetworksClient) UpdateThenPoll(ctx context.Context, id LogicalNetworkId, input LogicalNetworksUpdateRequest) error
- type LogicalNetworksOperationPredicate
- type LogicalNetworksUpdateRequest
- type ProvisioningStateEnum
- type Route
- type RoutePropertiesFormat
- type RouteTable
- type RouteTablePropertiesFormat
- type Status
- type Subnet
- type SubnetPropertiesFormat
- type SubnetPropertiesFormatIPConfigurationReferencesInlined
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForExtendedLocationTypes ¶
func PossibleValuesForExtendedLocationTypes() []string
func PossibleValuesForIPAllocationMethodEnum ¶
func PossibleValuesForIPAllocationMethodEnum() []string
func PossibleValuesForIPPoolTypeEnum ¶
func PossibleValuesForIPPoolTypeEnum() []string
func PossibleValuesForProvisioningStateEnum ¶
func PossibleValuesForProvisioningStateEnum() []string
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []string
func ValidateLogicalNetworkID ¶
ValidateLogicalNetworkID checks that 'input' can be parsed as a Logical Network ID
Types ¶
type DeleteOperationResponse ¶
type ExtendedLocation ¶
type ExtendedLocation struct { Name *string `json:"name,omitempty"` Type *ExtendedLocationTypes `json:"type,omitempty"` }
type ExtendedLocationTypes ¶
type ExtendedLocationTypes string
const (
ExtendedLocationTypesCustomLocation ExtendedLocationTypes = "CustomLocation"
)
func (*ExtendedLocationTypes) UnmarshalJSON ¶
func (s *ExtendedLocationTypes) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LogicalNetworks }
type IPAllocationMethodEnum ¶
type IPAllocationMethodEnum string
const ( IPAllocationMethodEnumDynamic IPAllocationMethodEnum = "Dynamic" IPAllocationMethodEnumStatic IPAllocationMethodEnum = "Static" )
func (*IPAllocationMethodEnum) UnmarshalJSON ¶
func (s *IPAllocationMethodEnum) UnmarshalJSON(bytes []byte) error
type IPPool ¶
type IPPool struct { End *string `json:"end,omitempty"` IPPoolType *IPPoolTypeEnum `json:"ipPoolType,omitempty"` Info *IPPoolInfo `json:"info,omitempty"` Name *string `json:"name,omitempty"` Start *string `json:"start,omitempty"` }
type IPPoolInfo ¶
type IPPoolTypeEnum ¶
type IPPoolTypeEnum string
const ( IPPoolTypeEnumVM IPPoolTypeEnum = "vm" IPPoolTypeEnumVippool IPPoolTypeEnum = "vippool" )
func (*IPPoolTypeEnum) UnmarshalJSON ¶
func (s *IPPoolTypeEnum) UnmarshalJSON(bytes []byte) error
type ListAllCompleteResult ¶
type ListAllCompleteResult struct { LatestHttpResponse *http.Response Items []LogicalNetworks }
type ListAllCustomPager ¶
func (*ListAllCustomPager) NextPageLink ¶
func (p *ListAllCustomPager) NextPageLink() *odata.Link
type ListAllOperationResponse ¶
type ListAllOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]LogicalNetworks }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []LogicalNetworks }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]LogicalNetworks }
type LogicalNetworkId ¶
type LogicalNetworkId struct { SubscriptionId string ResourceGroupName string LogicalNetworkName string }
LogicalNetworkId is a struct representing the Resource ID for a Logical Network
func NewLogicalNetworkID ¶
func NewLogicalNetworkID(subscriptionId string, resourceGroupName string, logicalNetworkName string) LogicalNetworkId
NewLogicalNetworkID returns a new LogicalNetworkId struct
func ParseLogicalNetworkID ¶
func ParseLogicalNetworkID(input string) (*LogicalNetworkId, error)
ParseLogicalNetworkID parses 'input' into a LogicalNetworkId
func ParseLogicalNetworkIDInsensitively ¶
func ParseLogicalNetworkIDInsensitively(input string) (*LogicalNetworkId, error)
ParseLogicalNetworkIDInsensitively parses 'input' case-insensitively into a LogicalNetworkId note: this method should only be used for API response data and not user input
func (*LogicalNetworkId) FromParseResult ¶
func (id *LogicalNetworkId) FromParseResult(input resourceids.ParseResult) error
func (LogicalNetworkId) ID ¶
func (id LogicalNetworkId) ID() string
ID returns the formatted Logical Network ID
func (LogicalNetworkId) Segments ¶
func (id LogicalNetworkId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Logical Network ID
func (LogicalNetworkId) String ¶
func (id LogicalNetworkId) String() string
String returns a human-readable description of this Logical Network ID
type LogicalNetworkProperties ¶
type LogicalNetworkProperties struct { DhcpOptions *LogicalNetworkPropertiesDhcpOptions `json:"dhcpOptions,omitempty"` ProvisioningState *ProvisioningStateEnum `json:"provisioningState,omitempty"` Status *LogicalNetworkStatus `json:"status,omitempty"` Subnets *[]Subnet `json:"subnets,omitempty"` VMSwitchName *string `json:"vmSwitchName,omitempty"` }
type LogicalNetworkPropertiesDhcpOptions ¶
type LogicalNetworkPropertiesDhcpOptions struct {
DnsServers *[]string `json:"dnsServers,omitempty"`
}
type LogicalNetworkStatus ¶
type LogicalNetworkStatus struct { ErrorCode *string `json:"errorCode,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` ProvisioningStatus *LogicalNetworkStatusProvisioningStatus `json:"provisioningStatus,omitempty"` }
type LogicalNetworks ¶
type LogicalNetworks struct { ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *LogicalNetworkProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type LogicalNetworksClient ¶
type LogicalNetworksClient struct {
Client *resourcemanager.Client
}
func NewLogicalNetworksClientWithBaseURI ¶
func NewLogicalNetworksClientWithBaseURI(sdkApi sdkEnv.Api) (*LogicalNetworksClient, error)
func (LogicalNetworksClient) CreateOrUpdate ¶
func (c LogicalNetworksClient) CreateOrUpdate(ctx context.Context, id LogicalNetworkId, input LogicalNetworks) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (LogicalNetworksClient) CreateOrUpdateThenPoll ¶
func (c LogicalNetworksClient) CreateOrUpdateThenPoll(ctx context.Context, id LogicalNetworkId, input LogicalNetworks) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (LogicalNetworksClient) Delete ¶
func (c LogicalNetworksClient) Delete(ctx context.Context, id LogicalNetworkId) (result DeleteOperationResponse, err error)
Delete ...
func (LogicalNetworksClient) DeleteThenPoll ¶
func (c LogicalNetworksClient) DeleteThenPoll(ctx context.Context, id LogicalNetworkId) error
DeleteThenPoll performs Delete then polls until it's completed
func (LogicalNetworksClient) Get ¶
func (c LogicalNetworksClient) Get(ctx context.Context, id LogicalNetworkId) (result GetOperationResponse, err error)
Get ...
func (LogicalNetworksClient) List ¶
func (c LogicalNetworksClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
List ...
func (LogicalNetworksClient) ListAll ¶
func (c LogicalNetworksClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error)
ListAll ...
func (LogicalNetworksClient) ListAllComplete ¶
func (c LogicalNetworksClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllCompleteResult, error)
ListAllComplete retrieves all the results into a single object
func (LogicalNetworksClient) ListAllCompleteMatchingPredicate ¶
func (c LogicalNetworksClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate LogicalNetworksOperationPredicate) (result ListAllCompleteResult, err error)
ListAllCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (LogicalNetworksClient) ListComplete ¶
func (c LogicalNetworksClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (LogicalNetworksClient) ListCompleteMatchingPredicate ¶
func (c LogicalNetworksClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate LogicalNetworksOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (LogicalNetworksClient) Update ¶
func (c LogicalNetworksClient) Update(ctx context.Context, id LogicalNetworkId, input LogicalNetworksUpdateRequest) (result UpdateOperationResponse, err error)
Update ...
func (LogicalNetworksClient) UpdateThenPoll ¶
func (c LogicalNetworksClient) UpdateThenPoll(ctx context.Context, id LogicalNetworkId, input LogicalNetworksUpdateRequest) error
UpdateThenPoll performs Update then polls until it's completed
type LogicalNetworksOperationPredicate ¶
type LogicalNetworksOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (LogicalNetworksOperationPredicate) Matches ¶
func (p LogicalNetworksOperationPredicate) Matches(input LogicalNetworks) bool
type ProvisioningStateEnum ¶
type ProvisioningStateEnum string
const ( ProvisioningStateEnumAccepted ProvisioningStateEnum = "Accepted" ProvisioningStateEnumCanceled ProvisioningStateEnum = "Canceled" ProvisioningStateEnumDeleting ProvisioningStateEnum = "Deleting" ProvisioningStateEnumFailed ProvisioningStateEnum = "Failed" ProvisioningStateEnumInProgress ProvisioningStateEnum = "InProgress" ProvisioningStateEnumSucceeded ProvisioningStateEnum = "Succeeded" )
func (*ProvisioningStateEnum) UnmarshalJSON ¶
func (s *ProvisioningStateEnum) UnmarshalJSON(bytes []byte) error
type Route ¶
type Route struct { Name *string `json:"name,omitempty"` Properties *RoutePropertiesFormat `json:"properties,omitempty"` }
type RoutePropertiesFormat ¶
type RouteTable ¶
type RouteTable struct { Etag *string `json:"etag,omitempty"` Name *string `json:"name,omitempty"` Properties *RouteTablePropertiesFormat `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type RouteTablePropertiesFormat ¶
type RouteTablePropertiesFormat struct {
Routes *[]Route `json:"routes,omitempty"`
}
type Subnet ¶
type Subnet struct { Name *string `json:"name,omitempty"` Properties *SubnetPropertiesFormat `json:"properties,omitempty"` }
type SubnetPropertiesFormat ¶
type SubnetPropertiesFormat struct { AddressPrefix *string `json:"addressPrefix,omitempty"` AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` IPAllocationMethod *IPAllocationMethodEnum `json:"ipAllocationMethod,omitempty"` IPConfigurationReferences *[]SubnetPropertiesFormatIPConfigurationReferencesInlined `json:"ipConfigurationReferences,omitempty"` IPPools *[]IPPool `json:"ipPools,omitempty"` RouteTable *RouteTable `json:"routeTable,omitempty"` Vlan *int64 `json:"vlan,omitempty"` }
type SubnetPropertiesFormatIPConfigurationReferencesInlined ¶
type SubnetPropertiesFormatIPConfigurationReferencesInlined struct {
ID *string `json:"ID,omitempty"`
}
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_logicalnetwork.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listall.go
- method_update.go
- model_extendedlocation.go
- model_ippool.go
- model_ippoolinfo.go
- model_logicalnetworkproperties.go
- model_logicalnetworkpropertiesdhcpoptions.go
- model_logicalnetworks.go
- model_logicalnetworkstatus.go
- model_logicalnetworkstatusprovisioningstatus.go
- model_logicalnetworksupdaterequest.go
- model_route.go
- model_routepropertiesformat.go
- model_routetable.go
- model_routetablepropertiesformat.go
- model_subnet.go
- model_subnetpropertiesformat.go
- model_subnetpropertiesformatipconfigurationreferencesinlined.go
- predicates.go
- version.go