Documentation ¶
Index ¶
- func PossibleValuesForWorkloadNetworkProvisioningState() []string
- func ValidateGatewayID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePrivateCloudID(input interface{}, key string) (warnings []string, errors []error)
- type GatewayId
- type PrivateCloudId
- type WorkloadNetworkGateway
- type WorkloadNetworkGatewayOperationPredicate
- type WorkloadNetworkGatewayProperties
- type WorkloadNetworkGatewaysClient
- func (c WorkloadNetworkGatewaysClient) WorkloadNetworksGetGateway(ctx context.Context, id GatewayId) (result WorkloadNetworksGetGatewayOperationResponse, err error)
- func (c WorkloadNetworkGatewaysClient) WorkloadNetworksListGateways(ctx context.Context, id PrivateCloudId) (result WorkloadNetworksListGatewaysOperationResponse, err error)
- func (c WorkloadNetworkGatewaysClient) WorkloadNetworksListGatewaysComplete(ctx context.Context, id PrivateCloudId) (WorkloadNetworksListGatewaysCompleteResult, error)
- func (c WorkloadNetworkGatewaysClient) WorkloadNetworksListGatewaysCompleteMatchingPredicate(ctx context.Context, id PrivateCloudId, ...) (result WorkloadNetworksListGatewaysCompleteResult, err error)
- type WorkloadNetworkProvisioningState
- type WorkloadNetworksGetGatewayOperationResponse
- type WorkloadNetworksListGatewaysCompleteResult
- type WorkloadNetworksListGatewaysOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForWorkloadNetworkProvisioningState ¶
func PossibleValuesForWorkloadNetworkProvisioningState() []string
func ValidateGatewayID ¶
ValidateGatewayID checks that 'input' can be parsed as a Gateway ID
func ValidatePrivateCloudID ¶
ValidatePrivateCloudID checks that 'input' can be parsed as a Private Cloud ID
Types ¶
type GatewayId ¶
type GatewayId struct { SubscriptionId string ResourceGroupName string PrivateCloudName string GatewayId string }
GatewayId is a struct representing the Resource ID for a Gateway
func NewGatewayID ¶
func NewGatewayID(subscriptionId string, resourceGroupName string, privateCloudName string, gatewayId string) GatewayId
NewGatewayID returns a new GatewayId struct
func ParseGatewayID ¶
ParseGatewayID parses 'input' into a GatewayId
func ParseGatewayIDInsensitively ¶
ParseGatewayIDInsensitively parses 'input' case-insensitively into a GatewayId note: this method should only be used for API response data and not user input
func (*GatewayId) FromParseResult ¶
func (id *GatewayId) FromParseResult(input resourceids.ParseResult) error
func (GatewayId) Segments ¶
func (id GatewayId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Gateway ID
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 WorkloadNetworkGateway ¶
type WorkloadNetworkGateway struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *WorkloadNetworkGatewayProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type WorkloadNetworkGatewayOperationPredicate ¶
func (WorkloadNetworkGatewayOperationPredicate) Matches ¶
func (p WorkloadNetworkGatewayOperationPredicate) Matches(input WorkloadNetworkGateway) bool
type WorkloadNetworkGatewayProperties ¶
type WorkloadNetworkGatewayProperties struct { DisplayName *string `json:"displayName,omitempty"` Path *string `json:"path,omitempty"` ProvisioningState *WorkloadNetworkProvisioningState `json:"provisioningState,omitempty"` }
type WorkloadNetworkGatewaysClient ¶
type WorkloadNetworkGatewaysClient struct {
Client *resourcemanager.Client
}
func NewWorkloadNetworkGatewaysClientWithBaseURI ¶
func NewWorkloadNetworkGatewaysClientWithBaseURI(sdkApi sdkEnv.Api) (*WorkloadNetworkGatewaysClient, error)
func (WorkloadNetworkGatewaysClient) WorkloadNetworksGetGateway ¶
func (c WorkloadNetworkGatewaysClient) WorkloadNetworksGetGateway(ctx context.Context, id GatewayId) (result WorkloadNetworksGetGatewayOperationResponse, err error)
WorkloadNetworksGetGateway ...
func (WorkloadNetworkGatewaysClient) WorkloadNetworksListGateways ¶
func (c WorkloadNetworkGatewaysClient) WorkloadNetworksListGateways(ctx context.Context, id PrivateCloudId) (result WorkloadNetworksListGatewaysOperationResponse, err error)
WorkloadNetworksListGateways ...
func (WorkloadNetworkGatewaysClient) WorkloadNetworksListGatewaysComplete ¶
func (c WorkloadNetworkGatewaysClient) WorkloadNetworksListGatewaysComplete(ctx context.Context, id PrivateCloudId) (WorkloadNetworksListGatewaysCompleteResult, error)
WorkloadNetworksListGatewaysComplete retrieves all the results into a single object
func (WorkloadNetworkGatewaysClient) WorkloadNetworksListGatewaysCompleteMatchingPredicate ¶
func (c WorkloadNetworkGatewaysClient) WorkloadNetworksListGatewaysCompleteMatchingPredicate(ctx context.Context, id PrivateCloudId, predicate WorkloadNetworkGatewayOperationPredicate) (result WorkloadNetworksListGatewaysCompleteResult, err error)
WorkloadNetworksListGatewaysCompleteMatchingPredicate retrieves all the results and then applies the predicate
type WorkloadNetworkProvisioningState ¶
type WorkloadNetworkProvisioningState string
const ( WorkloadNetworkProvisioningStateBuilding WorkloadNetworkProvisioningState = "Building" WorkloadNetworkProvisioningStateCanceled WorkloadNetworkProvisioningState = "Canceled" WorkloadNetworkProvisioningStateDeleting WorkloadNetworkProvisioningState = "Deleting" WorkloadNetworkProvisioningStateFailed WorkloadNetworkProvisioningState = "Failed" WorkloadNetworkProvisioningStateSucceeded WorkloadNetworkProvisioningState = "Succeeded" WorkloadNetworkProvisioningStateUpdating WorkloadNetworkProvisioningState = "Updating" )
func (*WorkloadNetworkProvisioningState) UnmarshalJSON ¶
func (s *WorkloadNetworkProvisioningState) UnmarshalJSON(bytes []byte) error
type WorkloadNetworksGetGatewayOperationResponse ¶
type WorkloadNetworksGetGatewayOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WorkloadNetworkGateway }
type WorkloadNetworksListGatewaysCompleteResult ¶
type WorkloadNetworksListGatewaysCompleteResult struct { LatestHttpResponse *http.Response Items []WorkloadNetworkGateway }
type WorkloadNetworksListGatewaysOperationResponse ¶
type WorkloadNetworksListGatewaysOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]WorkloadNetworkGateway }