Documentation ¶
Index ¶
- func PossibleValuesForProximityPlacementGroupType() []string
- func PossibleValuesForStatusLevelTypes() []string
- func ValidateProximityPlacementGroupID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationOptions
- type GetOperationResponse
- type InstanceViewStatus
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type ProximityPlacementGroup
- type ProximityPlacementGroupId
- type ProximityPlacementGroupOperationPredicate
- type ProximityPlacementGroupProperties
- type ProximityPlacementGroupType
- type ProximityPlacementGroupsClient
- func (c ProximityPlacementGroupsClient) CreateOrUpdate(ctx context.Context, id ProximityPlacementGroupId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c ProximityPlacementGroupsClient) Delete(ctx context.Context, id ProximityPlacementGroupId) (result DeleteOperationResponse, err error)
- func (c ProximityPlacementGroupsClient) Get(ctx context.Context, id ProximityPlacementGroupId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c ProximityPlacementGroupsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
- func (c ProximityPlacementGroupsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c ProximityPlacementGroupsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c ProximityPlacementGroupsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
- func (c ProximityPlacementGroupsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c ProximityPlacementGroupsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListBySubscriptionCompleteResult, err error)
- func (c ProximityPlacementGroupsClient) Update(ctx context.Context, id ProximityPlacementGroupId, input UpdateResource) (result UpdateOperationResponse, err error)
- type StatusLevelTypes
- type SubResourceWithColocationStatus
- type UpdateOperationResponse
- type UpdateResource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProximityPlacementGroupType ¶
func PossibleValuesForProximityPlacementGroupType() []string
func PossibleValuesForStatusLevelTypes ¶
func PossibleValuesForStatusLevelTypes() []string
func ValidateProximityPlacementGroupID ¶
func ValidateProximityPlacementGroupID(input interface{}, key string) (warnings []string, errors []error)
ValidateProximityPlacementGroupID checks that 'input' can be parsed as a Proximity Placement Group ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *ProximityPlacementGroup }
type DeleteOperationResponse ¶
type GetOperationOptions ¶
type GetOperationOptions struct {
IncludeColocationStatus *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ProximityPlacementGroup }
type InstanceViewStatus ¶
type InstanceViewStatus struct { Code *string `json:"code,omitempty"` DisplayStatus *string `json:"displayStatus,omitempty"` Level *StatusLevelTypes `json:"level,omitempty"` Message *string `json:"message,omitempty"` Time *string `json:"time,omitempty"` }
func (*InstanceViewStatus) GetTimeAsTime ¶
func (o *InstanceViewStatus) GetTimeAsTime() (*time.Time, error)
func (*InstanceViewStatus) SetTimeAsTime ¶
func (o *InstanceViewStatus) SetTimeAsTime(input time.Time)
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []ProximityPlacementGroup
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]ProximityPlacementGroup // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []ProximityPlacementGroup
}
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]ProximityPlacementGroup // contains filtered or unexported fields }
func (ListBySubscriptionOperationResponse) HasMore ¶
func (r ListBySubscriptionOperationResponse) HasMore() bool
func (ListBySubscriptionOperationResponse) LoadMore ¶
func (r ListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionOperationResponse, err error)
type ProximityPlacementGroup ¶
type ProximityPlacementGroupId ¶
type ProximityPlacementGroupId struct { SubscriptionId string ResourceGroupName string ProximityPlacementGroupName string }
ProximityPlacementGroupId is a struct representing the Resource ID for a Proximity Placement Group
func NewProximityPlacementGroupID ¶
func NewProximityPlacementGroupID(subscriptionId string, resourceGroupName string, proximityPlacementGroupName string) ProximityPlacementGroupId
NewProximityPlacementGroupID returns a new ProximityPlacementGroupId struct
func ParseProximityPlacementGroupID ¶
func ParseProximityPlacementGroupID(input string) (*ProximityPlacementGroupId, error)
ParseProximityPlacementGroupID parses 'input' into a ProximityPlacementGroupId
func ParseProximityPlacementGroupIDInsensitively ¶
func ParseProximityPlacementGroupIDInsensitively(input string) (*ProximityPlacementGroupId, error)
ParseProximityPlacementGroupIDInsensitively parses 'input' case-insensitively into a ProximityPlacementGroupId note: this method should only be used for API response data and not user input
func (ProximityPlacementGroupId) ID ¶
func (id ProximityPlacementGroupId) ID() string
ID returns the formatted Proximity Placement Group ID
func (ProximityPlacementGroupId) Segments ¶
func (id ProximityPlacementGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Proximity Placement Group ID
func (ProximityPlacementGroupId) String ¶
func (id ProximityPlacementGroupId) String() string
String returns a human-readable description of this Proximity Placement Group ID
type ProximityPlacementGroupOperationPredicate ¶
type ProximityPlacementGroupOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (ProximityPlacementGroupOperationPredicate) Matches ¶
func (p ProximityPlacementGroupOperationPredicate) Matches(input ProximityPlacementGroup) bool
type ProximityPlacementGroupProperties ¶
type ProximityPlacementGroupProperties struct { AvailabilitySets *[]SubResourceWithColocationStatus `json:"availabilitySets,omitempty"` ColocationStatus *InstanceViewStatus `json:"colocationStatus"` ProximityPlacementGroupType *ProximityPlacementGroupType `json:"proximityPlacementGroupType,omitempty"` VirtualMachineScaleSets *[]SubResourceWithColocationStatus `json:"virtualMachineScaleSets,omitempty"` VirtualMachines *[]SubResourceWithColocationStatus `json:"virtualMachines,omitempty"` }
type ProximityPlacementGroupType ¶
type ProximityPlacementGroupType string
const ( ProximityPlacementGroupTypeStandard ProximityPlacementGroupType = "Standard" ProximityPlacementGroupTypeUltra ProximityPlacementGroupType = "Ultra" )
type ProximityPlacementGroupsClient ¶
type ProximityPlacementGroupsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewProximityPlacementGroupsClientWithBaseURI ¶
func NewProximityPlacementGroupsClientWithBaseURI(endpoint string) ProximityPlacementGroupsClient
func (ProximityPlacementGroupsClient) CreateOrUpdate ¶
func (c ProximityPlacementGroupsClient) CreateOrUpdate(ctx context.Context, id ProximityPlacementGroupId, input ProximityPlacementGroup) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ProximityPlacementGroupsClient) Delete ¶
func (c ProximityPlacementGroupsClient) Delete(ctx context.Context, id ProximityPlacementGroupId) (result DeleteOperationResponse, err error)
Delete ...
func (ProximityPlacementGroupsClient) Get ¶
func (c ProximityPlacementGroupsClient) Get(ctx context.Context, id ProximityPlacementGroupId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (ProximityPlacementGroupsClient) ListByResourceGroup ¶
func (c ProximityPlacementGroupsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (ProximityPlacementGroupsClient) ListByResourceGroupComplete ¶
func (c ProximityPlacementGroupsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (ProximityPlacementGroupsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c ProximityPlacementGroupsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ProximityPlacementGroupOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ProximityPlacementGroupsClient) ListBySubscription ¶
func (c ProximityPlacementGroupsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (ProximityPlacementGroupsClient) ListBySubscriptionComplete ¶
func (c ProximityPlacementGroupsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (ProximityPlacementGroupsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c ProximityPlacementGroupsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ProximityPlacementGroupOperationPredicate) (resp ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ProximityPlacementGroupsClient) Update ¶
func (c ProximityPlacementGroupsClient) Update(ctx context.Context, id ProximityPlacementGroupId, input UpdateResource) (result UpdateOperationResponse, err error)
Update ...
type StatusLevelTypes ¶
type StatusLevelTypes string
const ( StatusLevelTypesError StatusLevelTypes = "Error" StatusLevelTypesInfo StatusLevelTypes = "Info" StatusLevelTypesWarning StatusLevelTypes = "Warning" )
type SubResourceWithColocationStatus ¶
type SubResourceWithColocationStatus struct { ColocationStatus *InstanceViewStatus `json:"colocationStatus"` Id *string `json:"id,omitempty"` }
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *ProximityPlacementGroup }
type UpdateResource ¶
Source Files ¶
- client.go
- constants.go
- id_proximityplacementgroup.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listbysubscription_autorest.go
- method_update_autorest.go
- model_instanceviewstatus.go
- model_proximityplacementgroup.go
- model_proximityplacementgroupproperties.go
- model_subresourcewithcolocationstatus.go
- model_updateresource.go
- predicates.go
- version.go