Documentation ¶
Index ¶
- func PossibleValuesForWorkloadNetworkProvisioningState() []string
- func ValidatePrivateCloudID(input interface{}, key string) (warnings []string, errors []error)
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type PrivateCloudId
- type WorkloadNetwork
- type WorkloadNetworkOperationPredicate
- type WorkloadNetworkProperties
- type WorkloadNetworkProvisioningState
- type WorkloadNetworksClient
- func (c WorkloadNetworksClient) Get(ctx context.Context, id PrivateCloudId) (result GetOperationResponse, err error)
- func (c WorkloadNetworksClient) List(ctx context.Context, id PrivateCloudId) (result ListOperationResponse, err error)
- func (c WorkloadNetworksClient) ListComplete(ctx context.Context, id PrivateCloudId) (ListCompleteResult, error)
- func (c WorkloadNetworksClient) ListCompleteMatchingPredicate(ctx context.Context, id PrivateCloudId, ...) (result ListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForWorkloadNetworkProvisioningState ¶
func PossibleValuesForWorkloadNetworkProvisioningState() []string
func ValidatePrivateCloudID ¶
ValidatePrivateCloudID checks that 'input' can be parsed as a Private Cloud ID
Types ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WorkloadNetwork }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []WorkloadNetwork }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]WorkloadNetwork }
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 WorkloadNetwork ¶
type WorkloadNetwork struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *WorkloadNetworkProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type WorkloadNetworkOperationPredicate ¶
func (WorkloadNetworkOperationPredicate) Matches ¶
func (p WorkloadNetworkOperationPredicate) Matches(input WorkloadNetwork) bool
type WorkloadNetworkProperties ¶
type WorkloadNetworkProperties struct {
ProvisioningState *WorkloadNetworkProvisioningState `json:"provisioningState,omitempty"`
}
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 WorkloadNetworksClient ¶
type WorkloadNetworksClient struct {
Client *resourcemanager.Client
}
func NewWorkloadNetworksClientWithBaseURI ¶
func NewWorkloadNetworksClientWithBaseURI(sdkApi sdkEnv.Api) (*WorkloadNetworksClient, error)
func (WorkloadNetworksClient) Get ¶
func (c WorkloadNetworksClient) Get(ctx context.Context, id PrivateCloudId) (result GetOperationResponse, err error)
Get ...
func (WorkloadNetworksClient) List ¶
func (c WorkloadNetworksClient) List(ctx context.Context, id PrivateCloudId) (result ListOperationResponse, err error)
List ...
func (WorkloadNetworksClient) ListComplete ¶
func (c WorkloadNetworksClient) ListComplete(ctx context.Context, id PrivateCloudId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (WorkloadNetworksClient) ListCompleteMatchingPredicate ¶
func (c WorkloadNetworksClient) ListCompleteMatchingPredicate(ctx context.Context, id PrivateCloudId, predicate WorkloadNetworkOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate