Documentation ¶
Index ¶
- func PossibleValuesForExpressRouteLinkAdminState() []string
- func PossibleValuesForExpressRouteLinkConnectorType() []string
- func PossibleValuesForExpressRouteLinkMacSecCipher() []string
- func PossibleValuesForExpressRouteLinkMacSecSciState() []string
- func PossibleValuesForExpressRoutePortsBillingType() []string
- func PossibleValuesForExpressRoutePortsEncapsulation() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateExpressRoutePortID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type ExpressRouteLink
- type ExpressRouteLinkAdminState
- type ExpressRouteLinkConnectorType
- type ExpressRouteLinkMacSecCipher
- type ExpressRouteLinkMacSecConfig
- type ExpressRouteLinkMacSecSciState
- type ExpressRouteLinkPropertiesFormat
- type ExpressRoutePort
- type ExpressRoutePortId
- type ExpressRoutePortOperationPredicate
- type ExpressRoutePortPropertiesFormat
- type ExpressRoutePortsBillingType
- type ExpressRoutePortsClient
- func (c ExpressRoutePortsClient) CreateOrUpdate(ctx context.Context, id ExpressRoutePortId, input ExpressRoutePort) (result CreateOrUpdateOperationResponse, err error)
- func (c ExpressRoutePortsClient) CreateOrUpdateThenPoll(ctx context.Context, id ExpressRoutePortId, input ExpressRoutePort) error
- func (c ExpressRoutePortsClient) Delete(ctx context.Context, id ExpressRoutePortId) (result DeleteOperationResponse, err error)
- func (c ExpressRoutePortsClient) DeleteThenPoll(ctx context.Context, id ExpressRoutePortId) error
- func (c ExpressRoutePortsClient) GenerateLOA(ctx context.Context, id ExpressRoutePortId, ...) (result GenerateLOAOperationResponse, err error)
- func (c ExpressRoutePortsClient) Get(ctx context.Context, id ExpressRoutePortId) (result GetOperationResponse, err error)
- func (c ExpressRoutePortsClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
- func (c ExpressRoutePortsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c ExpressRoutePortsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c ExpressRoutePortsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c ExpressRoutePortsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c ExpressRoutePortsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListCompleteResult, err error)
- func (c ExpressRoutePortsClient) UpdateTags(ctx context.Context, id ExpressRoutePortId, input TagsObject) (result UpdateTagsOperationResponse, err error)
- type ExpressRoutePortsEncapsulation
- type GenerateExpressRoutePortsLOARequest
- type GenerateExpressRoutePortsLOAResult
- type GenerateLOAOperationResponse
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type ProvisioningState
- type SubResource
- type TagsObject
- type UpdateTagsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForExpressRouteLinkAdminState ¶
func PossibleValuesForExpressRouteLinkAdminState() []string
func PossibleValuesForExpressRouteLinkConnectorType ¶
func PossibleValuesForExpressRouteLinkConnectorType() []string
func PossibleValuesForExpressRouteLinkMacSecCipher ¶
func PossibleValuesForExpressRouteLinkMacSecCipher() []string
func PossibleValuesForExpressRouteLinkMacSecSciState ¶
func PossibleValuesForExpressRouteLinkMacSecSciState() []string
func PossibleValuesForExpressRoutePortsBillingType ¶
func PossibleValuesForExpressRoutePortsBillingType() []string
func PossibleValuesForExpressRoutePortsEncapsulation ¶
func PossibleValuesForExpressRoutePortsEncapsulation() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateExpressRoutePortID ¶
ValidateExpressRoutePortID checks that 'input' can be parsed as a Express Route Port ID
Types ¶
type DeleteOperationResponse ¶
type ExpressRouteLink ¶
type ExpressRouteLink struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ExpressRouteLinkPropertiesFormat `json:"properties,omitempty"` }
type ExpressRouteLinkAdminState ¶
type ExpressRouteLinkAdminState string
const ( ExpressRouteLinkAdminStateDisabled ExpressRouteLinkAdminState = "Disabled" ExpressRouteLinkAdminStateEnabled ExpressRouteLinkAdminState = "Enabled" )
func (*ExpressRouteLinkAdminState) UnmarshalJSON ¶
func (s *ExpressRouteLinkAdminState) UnmarshalJSON(bytes []byte) error
type ExpressRouteLinkConnectorType ¶
type ExpressRouteLinkConnectorType string
const ( ExpressRouteLinkConnectorTypeLC ExpressRouteLinkConnectorType = "LC" ExpressRouteLinkConnectorTypeSC ExpressRouteLinkConnectorType = "SC" )
func (*ExpressRouteLinkConnectorType) UnmarshalJSON ¶
func (s *ExpressRouteLinkConnectorType) UnmarshalJSON(bytes []byte) error
type ExpressRouteLinkMacSecCipher ¶
type ExpressRouteLinkMacSecCipher string
const ( ExpressRouteLinkMacSecCipherGcmAesOneTwoEight ExpressRouteLinkMacSecCipher = "GcmAes128" ExpressRouteLinkMacSecCipherGcmAesTwoFiveSix ExpressRouteLinkMacSecCipher = "GcmAes256" ExpressRouteLinkMacSecCipherGcmAesXpnOneTwoEight ExpressRouteLinkMacSecCipher = "GcmAesXpn128" ExpressRouteLinkMacSecCipherGcmAesXpnTwoFiveSix ExpressRouteLinkMacSecCipher = "GcmAesXpn256" )
func (*ExpressRouteLinkMacSecCipher) UnmarshalJSON ¶
func (s *ExpressRouteLinkMacSecCipher) UnmarshalJSON(bytes []byte) error
type ExpressRouteLinkMacSecConfig ¶
type ExpressRouteLinkMacSecConfig struct { CakSecretIdentifier *string `json:"cakSecretIdentifier,omitempty"` Cipher *ExpressRouteLinkMacSecCipher `json:"cipher,omitempty"` CknSecretIdentifier *string `json:"cknSecretIdentifier,omitempty"` SciState *ExpressRouteLinkMacSecSciState `json:"sciState,omitempty"` }
type ExpressRouteLinkMacSecSciState ¶
type ExpressRouteLinkMacSecSciState string
const ( ExpressRouteLinkMacSecSciStateDisabled ExpressRouteLinkMacSecSciState = "Disabled" ExpressRouteLinkMacSecSciStateEnabled ExpressRouteLinkMacSecSciState = "Enabled" )
func (*ExpressRouteLinkMacSecSciState) UnmarshalJSON ¶
func (s *ExpressRouteLinkMacSecSciState) UnmarshalJSON(bytes []byte) error
type ExpressRouteLinkPropertiesFormat ¶
type ExpressRouteLinkPropertiesFormat struct { AdminState *ExpressRouteLinkAdminState `json:"adminState,omitempty"` ColoLocation *string `json:"coloLocation,omitempty"` ConnectorType *ExpressRouteLinkConnectorType `json:"connectorType,omitempty"` InterfaceName *string `json:"interfaceName,omitempty"` MacSecConfig *ExpressRouteLinkMacSecConfig `json:"macSecConfig,omitempty"` PatchPanelId *string `json:"patchPanelId,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` RackId *string `json:"rackId,omitempty"` RouterName *string `json:"routerName,omitempty"` }
type ExpressRoutePort ¶
type ExpressRoutePort struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *ExpressRoutePortPropertiesFormat `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ExpressRoutePortId ¶
type ExpressRoutePortId struct { SubscriptionId string ResourceGroupName string ExpressRoutePortName string }
ExpressRoutePortId is a struct representing the Resource ID for a Express Route Port
func NewExpressRoutePortID ¶
func NewExpressRoutePortID(subscriptionId string, resourceGroupName string, expressRoutePortName string) ExpressRoutePortId
NewExpressRoutePortID returns a new ExpressRoutePortId struct
func ParseExpressRoutePortID ¶
func ParseExpressRoutePortID(input string) (*ExpressRoutePortId, error)
ParseExpressRoutePortID parses 'input' into a ExpressRoutePortId
func ParseExpressRoutePortIDInsensitively ¶
func ParseExpressRoutePortIDInsensitively(input string) (*ExpressRoutePortId, error)
ParseExpressRoutePortIDInsensitively parses 'input' case-insensitively into a ExpressRoutePortId note: this method should only be used for API response data and not user input
func (*ExpressRoutePortId) FromParseResult ¶
func (id *ExpressRoutePortId) FromParseResult(input resourceids.ParseResult) error
func (ExpressRoutePortId) ID ¶
func (id ExpressRoutePortId) ID() string
ID returns the formatted Express Route Port ID
func (ExpressRoutePortId) Segments ¶
func (id ExpressRoutePortId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Express Route Port ID
func (ExpressRoutePortId) String ¶
func (id ExpressRoutePortId) String() string
String returns a human-readable description of this Express Route Port ID
type ExpressRoutePortOperationPredicate ¶
type ExpressRoutePortOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (ExpressRoutePortOperationPredicate) Matches ¶
func (p ExpressRoutePortOperationPredicate) Matches(input ExpressRoutePort) bool
type ExpressRoutePortPropertiesFormat ¶
type ExpressRoutePortPropertiesFormat struct { AllocationDate *string `json:"allocationDate,omitempty"` BandwidthInGbps *int64 `json:"bandwidthInGbps,omitempty"` BillingType *ExpressRoutePortsBillingType `json:"billingType,omitempty"` Circuits *[]SubResource `json:"circuits,omitempty"` Encapsulation *ExpressRoutePortsEncapsulation `json:"encapsulation,omitempty"` EtherType *string `json:"etherType,omitempty"` Links *[]ExpressRouteLink `json:"links,omitempty"` Mtu *string `json:"mtu,omitempty"` PeeringLocation *string `json:"peeringLocation,omitempty"` ProvisionedBandwidthInGbps *float64 `json:"provisionedBandwidthInGbps,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ResourceGuid *string `json:"resourceGuid,omitempty"` }
type ExpressRoutePortsBillingType ¶
type ExpressRoutePortsBillingType string
const ( ExpressRoutePortsBillingTypeMeteredData ExpressRoutePortsBillingType = "MeteredData" ExpressRoutePortsBillingTypeUnlimitedData ExpressRoutePortsBillingType = "UnlimitedData" )
func (*ExpressRoutePortsBillingType) UnmarshalJSON ¶
func (s *ExpressRoutePortsBillingType) UnmarshalJSON(bytes []byte) error
type ExpressRoutePortsClient ¶
type ExpressRoutePortsClient struct {
Client *resourcemanager.Client
}
func NewExpressRoutePortsClientWithBaseURI ¶
func NewExpressRoutePortsClientWithBaseURI(sdkApi sdkEnv.Api) (*ExpressRoutePortsClient, error)
func (ExpressRoutePortsClient) CreateOrUpdate ¶
func (c ExpressRoutePortsClient) CreateOrUpdate(ctx context.Context, id ExpressRoutePortId, input ExpressRoutePort) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ExpressRoutePortsClient) CreateOrUpdateThenPoll ¶
func (c ExpressRoutePortsClient) CreateOrUpdateThenPoll(ctx context.Context, id ExpressRoutePortId, input ExpressRoutePort) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ExpressRoutePortsClient) Delete ¶
func (c ExpressRoutePortsClient) Delete(ctx context.Context, id ExpressRoutePortId) (result DeleteOperationResponse, err error)
Delete ...
func (ExpressRoutePortsClient) DeleteThenPoll ¶
func (c ExpressRoutePortsClient) DeleteThenPoll(ctx context.Context, id ExpressRoutePortId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ExpressRoutePortsClient) GenerateLOA ¶
func (c ExpressRoutePortsClient) GenerateLOA(ctx context.Context, id ExpressRoutePortId, input GenerateExpressRoutePortsLOARequest) (result GenerateLOAOperationResponse, err error)
GenerateLOA ...
func (ExpressRoutePortsClient) Get ¶
func (c ExpressRoutePortsClient) Get(ctx context.Context, id ExpressRoutePortId) (result GetOperationResponse, err error)
Get ...
func (ExpressRoutePortsClient) List ¶
func (c ExpressRoutePortsClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
func (ExpressRoutePortsClient) ListByResourceGroup ¶
func (c ExpressRoutePortsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (ExpressRoutePortsClient) ListByResourceGroupComplete ¶
func (c ExpressRoutePortsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (ExpressRoutePortsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c ExpressRoutePortsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ExpressRoutePortOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ExpressRoutePortsClient) ListComplete ¶
func (c ExpressRoutePortsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ExpressRoutePortsClient) ListCompleteMatchingPredicate ¶
func (c ExpressRoutePortsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ExpressRoutePortOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ExpressRoutePortsClient) UpdateTags ¶
func (c ExpressRoutePortsClient) UpdateTags(ctx context.Context, id ExpressRoutePortId, input TagsObject) (result UpdateTagsOperationResponse, err error)
UpdateTags ...
type ExpressRoutePortsEncapsulation ¶
type ExpressRoutePortsEncapsulation string
const ( ExpressRoutePortsEncapsulationDotOneQ ExpressRoutePortsEncapsulation = "Dot1Q" ExpressRoutePortsEncapsulationQinQ ExpressRoutePortsEncapsulation = "QinQ" )
func (*ExpressRoutePortsEncapsulation) UnmarshalJSON ¶
func (s *ExpressRoutePortsEncapsulation) UnmarshalJSON(bytes []byte) error
type GenerateExpressRoutePortsLOARequest ¶
type GenerateExpressRoutePortsLOARequest struct {
CustomerName string `json:"customerName"`
}
type GenerateExpressRoutePortsLOAResult ¶
type GenerateExpressRoutePortsLOAResult struct {
EncodedContent *string `json:"encodedContent,omitempty"`
}
type GenerateLOAOperationResponse ¶
type GenerateLOAOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GenerateExpressRoutePortsLOAResult }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ExpressRoutePort }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []ExpressRoutePort }
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ExpressRoutePort }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []ExpressRoutePort }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ExpressRoutePort }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type SubResource ¶
type SubResource struct {
Id *string `json:"id,omitempty"`
}
type TagsObject ¶
type UpdateTagsOperationResponse ¶
type UpdateTagsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ExpressRoutePort }
Source Files ¶
- client.go
- constants.go
- id_expressrouteport.go
- method_createorupdate.go
- method_delete.go
- method_generateloa.go
- method_get.go
- method_list.go
- method_listbyresourcegroup.go
- method_updatetags.go
- model_expressroutelink.go
- model_expressroutelinkmacsecconfig.go
- model_expressroutelinkpropertiesformat.go
- model_expressrouteport.go
- model_expressrouteportpropertiesformat.go
- model_generateexpressrouteportsloarequest.go
- model_generateexpressrouteportsloaresult.go
- model_subresource.go
- model_tagsobject.go
- predicates.go
- version.go