Documentation ¶
Index ¶
- func PossibleValuesForSegmentStatusEnum() []string
- func PossibleValuesForWorkloadNetworkSegmentProvisioningState() []string
- func ValidatePrivateCloudID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSegmentID(input interface{}, key string) (warnings []string, errors []error)
- type PrivateCloudId
- type SegmentId
- type SegmentStatusEnum
- type WorkloadNetworkSegment
- type WorkloadNetworkSegmentOperationPredicate
- type WorkloadNetworkSegmentPortVif
- type WorkloadNetworkSegmentProperties
- type WorkloadNetworkSegmentProvisioningState
- type WorkloadNetworkSegmentSubnet
- type WorkloadNetworkSegmentsClient
- func (c WorkloadNetworkSegmentsClient) WorkloadNetworksCreateSegments(ctx context.Context, id SegmentId, input WorkloadNetworkSegment) (result WorkloadNetworksCreateSegmentsOperationResponse, err error)
- func (c WorkloadNetworkSegmentsClient) WorkloadNetworksCreateSegmentsThenPoll(ctx context.Context, id SegmentId, input WorkloadNetworkSegment) error
- func (c WorkloadNetworkSegmentsClient) WorkloadNetworksDeleteSegment(ctx context.Context, id SegmentId) (result WorkloadNetworksDeleteSegmentOperationResponse, err error)
- func (c WorkloadNetworkSegmentsClient) WorkloadNetworksDeleteSegmentThenPoll(ctx context.Context, id SegmentId) error
- func (c WorkloadNetworkSegmentsClient) WorkloadNetworksGetSegment(ctx context.Context, id SegmentId) (result WorkloadNetworksGetSegmentOperationResponse, err error)
- func (c WorkloadNetworkSegmentsClient) WorkloadNetworksListSegments(ctx context.Context, id PrivateCloudId) (result WorkloadNetworksListSegmentsOperationResponse, err error)
- func (c WorkloadNetworkSegmentsClient) WorkloadNetworksListSegmentsComplete(ctx context.Context, id PrivateCloudId) (WorkloadNetworksListSegmentsCompleteResult, error)
- func (c WorkloadNetworkSegmentsClient) WorkloadNetworksListSegmentsCompleteMatchingPredicate(ctx context.Context, id PrivateCloudId, ...) (result WorkloadNetworksListSegmentsCompleteResult, err error)
- func (c WorkloadNetworkSegmentsClient) WorkloadNetworksUpdateSegments(ctx context.Context, id SegmentId, input WorkloadNetworkSegment) (result WorkloadNetworksUpdateSegmentsOperationResponse, err error)
- func (c WorkloadNetworkSegmentsClient) WorkloadNetworksUpdateSegmentsThenPoll(ctx context.Context, id SegmentId, input WorkloadNetworkSegment) error
- type WorkloadNetworksCreateSegmentsOperationResponse
- type WorkloadNetworksDeleteSegmentOperationResponse
- type WorkloadNetworksGetSegmentOperationResponse
- type WorkloadNetworksListSegmentsCompleteResult
- type WorkloadNetworksListSegmentsCustomPager
- type WorkloadNetworksListSegmentsOperationResponse
- type WorkloadNetworksUpdateSegmentsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForSegmentStatusEnum ¶
func PossibleValuesForSegmentStatusEnum() []string
func PossibleValuesForWorkloadNetworkSegmentProvisioningState ¶
func PossibleValuesForWorkloadNetworkSegmentProvisioningState() []string
func ValidatePrivateCloudID ¶
ValidatePrivateCloudID checks that 'input' can be parsed as a Private Cloud ID
func ValidateSegmentID ¶
ValidateSegmentID checks that 'input' can be parsed as a Segment ID
Types ¶
type PrivateCloudId ¶
type PrivateCloudId struct { SubscriptionId string ResourceGroupName string PrivateCloudName string }
PrivateCloudId is a struct representing the Resource ID for a Private Cloud
func NewPrivateCloudID ¶
func NewPrivateCloudID(subscriptionId string, resourceGroupName string, privateCloudName string) PrivateCloudId
NewPrivateCloudID returns a new PrivateCloudId struct
func ParsePrivateCloudID ¶
func ParsePrivateCloudID(input string) (*PrivateCloudId, error)
ParsePrivateCloudID parses 'input' into a PrivateCloudId
func ParsePrivateCloudIDInsensitively ¶
func ParsePrivateCloudIDInsensitively(input string) (*PrivateCloudId, error)
ParsePrivateCloudIDInsensitively parses 'input' case-insensitively into a PrivateCloudId note: this method should only be used for API response data and not user input
func (*PrivateCloudId) FromParseResult ¶
func (id *PrivateCloudId) FromParseResult(input resourceids.ParseResult) error
func (PrivateCloudId) ID ¶
func (id PrivateCloudId) ID() string
ID returns the formatted Private Cloud ID
func (PrivateCloudId) Segments ¶
func (id PrivateCloudId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Private Cloud ID
func (PrivateCloudId) String ¶
func (id PrivateCloudId) String() string
String returns a human-readable description of this Private Cloud ID
type SegmentId ¶
type SegmentId struct { SubscriptionId string ResourceGroupName string PrivateCloudName string SegmentId string }
SegmentId is a struct representing the Resource ID for a Segment
func NewSegmentID ¶
func NewSegmentID(subscriptionId string, resourceGroupName string, privateCloudName string, segmentId string) SegmentId
NewSegmentID returns a new SegmentId struct
func ParseSegmentID ¶
ParseSegmentID parses 'input' into a SegmentId
func ParseSegmentIDInsensitively ¶
ParseSegmentIDInsensitively parses 'input' case-insensitively into a SegmentId note: this method should only be used for API response data and not user input
func (*SegmentId) FromParseResult ¶
func (id *SegmentId) FromParseResult(input resourceids.ParseResult) error
func (SegmentId) Segments ¶
func (id SegmentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Segment ID
type SegmentStatusEnum ¶
type SegmentStatusEnum string
const ( SegmentStatusEnumFAILURE SegmentStatusEnum = "FAILURE" SegmentStatusEnumSUCCESS SegmentStatusEnum = "SUCCESS" )
func (*SegmentStatusEnum) UnmarshalJSON ¶
func (s *SegmentStatusEnum) UnmarshalJSON(bytes []byte) error
type WorkloadNetworkSegment ¶
type WorkloadNetworkSegment struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *WorkloadNetworkSegmentProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type WorkloadNetworkSegmentOperationPredicate ¶
func (WorkloadNetworkSegmentOperationPredicate) Matches ¶
func (p WorkloadNetworkSegmentOperationPredicate) Matches(input WorkloadNetworkSegment) bool
type WorkloadNetworkSegmentPortVif ¶
type WorkloadNetworkSegmentPortVif struct {
PortName *string `json:"portName,omitempty"`
}
type WorkloadNetworkSegmentProperties ¶
type WorkloadNetworkSegmentProperties struct { ConnectedGateway *string `json:"connectedGateway,omitempty"` DisplayName *string `json:"displayName,omitempty"` PortVif *[]WorkloadNetworkSegmentPortVif `json:"portVif,omitempty"` ProvisioningState *WorkloadNetworkSegmentProvisioningState `json:"provisioningState,omitempty"` Revision *int64 `json:"revision,omitempty"` Status *SegmentStatusEnum `json:"status,omitempty"` Subnet *WorkloadNetworkSegmentSubnet `json:"subnet,omitempty"` }
type WorkloadNetworkSegmentProvisioningState ¶
type WorkloadNetworkSegmentProvisioningState string
const ( WorkloadNetworkSegmentProvisioningStateBuilding WorkloadNetworkSegmentProvisioningState = "Building" WorkloadNetworkSegmentProvisioningStateCanceled WorkloadNetworkSegmentProvisioningState = "Canceled" WorkloadNetworkSegmentProvisioningStateDeleting WorkloadNetworkSegmentProvisioningState = "Deleting" WorkloadNetworkSegmentProvisioningStateFailed WorkloadNetworkSegmentProvisioningState = "Failed" WorkloadNetworkSegmentProvisioningStateSucceeded WorkloadNetworkSegmentProvisioningState = "Succeeded" WorkloadNetworkSegmentProvisioningStateUpdating WorkloadNetworkSegmentProvisioningState = "Updating" )
func (*WorkloadNetworkSegmentProvisioningState) UnmarshalJSON ¶
func (s *WorkloadNetworkSegmentProvisioningState) UnmarshalJSON(bytes []byte) error
type WorkloadNetworkSegmentsClient ¶
type WorkloadNetworkSegmentsClient struct {
Client *resourcemanager.Client
}
func NewWorkloadNetworkSegmentsClientWithBaseURI ¶
func NewWorkloadNetworkSegmentsClientWithBaseURI(sdkApi sdkEnv.Api) (*WorkloadNetworkSegmentsClient, error)
func (WorkloadNetworkSegmentsClient) WorkloadNetworksCreateSegments ¶
func (c WorkloadNetworkSegmentsClient) WorkloadNetworksCreateSegments(ctx context.Context, id SegmentId, input WorkloadNetworkSegment) (result WorkloadNetworksCreateSegmentsOperationResponse, err error)
WorkloadNetworksCreateSegments ...
func (WorkloadNetworkSegmentsClient) WorkloadNetworksCreateSegmentsThenPoll ¶
func (c WorkloadNetworkSegmentsClient) WorkloadNetworksCreateSegmentsThenPoll(ctx context.Context, id SegmentId, input WorkloadNetworkSegment) error
WorkloadNetworksCreateSegmentsThenPoll performs WorkloadNetworksCreateSegments then polls until it's completed
func (WorkloadNetworkSegmentsClient) WorkloadNetworksDeleteSegment ¶
func (c WorkloadNetworkSegmentsClient) WorkloadNetworksDeleteSegment(ctx context.Context, id SegmentId) (result WorkloadNetworksDeleteSegmentOperationResponse, err error)
WorkloadNetworksDeleteSegment ...
func (WorkloadNetworkSegmentsClient) WorkloadNetworksDeleteSegmentThenPoll ¶
func (c WorkloadNetworkSegmentsClient) WorkloadNetworksDeleteSegmentThenPoll(ctx context.Context, id SegmentId) error
WorkloadNetworksDeleteSegmentThenPoll performs WorkloadNetworksDeleteSegment then polls until it's completed
func (WorkloadNetworkSegmentsClient) WorkloadNetworksGetSegment ¶
func (c WorkloadNetworkSegmentsClient) WorkloadNetworksGetSegment(ctx context.Context, id SegmentId) (result WorkloadNetworksGetSegmentOperationResponse, err error)
WorkloadNetworksGetSegment ...
func (WorkloadNetworkSegmentsClient) WorkloadNetworksListSegments ¶
func (c WorkloadNetworkSegmentsClient) WorkloadNetworksListSegments(ctx context.Context, id PrivateCloudId) (result WorkloadNetworksListSegmentsOperationResponse, err error)
WorkloadNetworksListSegments ...
func (WorkloadNetworkSegmentsClient) WorkloadNetworksListSegmentsComplete ¶
func (c WorkloadNetworkSegmentsClient) WorkloadNetworksListSegmentsComplete(ctx context.Context, id PrivateCloudId) (WorkloadNetworksListSegmentsCompleteResult, error)
WorkloadNetworksListSegmentsComplete retrieves all the results into a single object
func (WorkloadNetworkSegmentsClient) WorkloadNetworksListSegmentsCompleteMatchingPredicate ¶
func (c WorkloadNetworkSegmentsClient) WorkloadNetworksListSegmentsCompleteMatchingPredicate(ctx context.Context, id PrivateCloudId, predicate WorkloadNetworkSegmentOperationPredicate) (result WorkloadNetworksListSegmentsCompleteResult, err error)
WorkloadNetworksListSegmentsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (WorkloadNetworkSegmentsClient) WorkloadNetworksUpdateSegments ¶
func (c WorkloadNetworkSegmentsClient) WorkloadNetworksUpdateSegments(ctx context.Context, id SegmentId, input WorkloadNetworkSegment) (result WorkloadNetworksUpdateSegmentsOperationResponse, err error)
WorkloadNetworksUpdateSegments ...
func (WorkloadNetworkSegmentsClient) WorkloadNetworksUpdateSegmentsThenPoll ¶
func (c WorkloadNetworkSegmentsClient) WorkloadNetworksUpdateSegmentsThenPoll(ctx context.Context, id SegmentId, input WorkloadNetworkSegment) error
WorkloadNetworksUpdateSegmentsThenPoll performs WorkloadNetworksUpdateSegments then polls until it's completed
type WorkloadNetworksGetSegmentOperationResponse ¶
type WorkloadNetworksGetSegmentOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WorkloadNetworkSegment }
type WorkloadNetworksListSegmentsCompleteResult ¶
type WorkloadNetworksListSegmentsCompleteResult struct { LatestHttpResponse *http.Response Items []WorkloadNetworkSegment }
type WorkloadNetworksListSegmentsCustomPager ¶ added in v0.20240628.1153531
func (*WorkloadNetworksListSegmentsCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *WorkloadNetworksListSegmentsCustomPager) NextPageLink() *odata.Link
type WorkloadNetworksListSegmentsOperationResponse ¶
type WorkloadNetworksListSegmentsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]WorkloadNetworkSegment }
Source Files ¶
- client.go
- constants.go
- id_privatecloud.go
- id_segment.go
- method_workloadnetworkscreatesegments.go
- method_workloadnetworksdeletesegment.go
- method_workloadnetworksgetsegment.go
- method_workloadnetworkslistsegments.go
- method_workloadnetworksupdatesegments.go
- model_workloadnetworksegment.go
- model_workloadnetworksegmentportvif.go
- model_workloadnetworksegmentproperties.go
- model_workloadnetworksegmentsubnet.go
- predicates.go
- version.go