Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidateSiteID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type DeletePacketCoreOperationResponse
- type GetOperationResponse
- type PacketCoreControlPlaneResourceId
- type ProvisioningState
- type Site
- type SiteClient
- func (c SiteClient) CreateOrUpdate(ctx context.Context, id SiteId, input Site) (result CreateOrUpdateOperationResponse, err error)
- func (c SiteClient) CreateOrUpdateThenPoll(ctx context.Context, id SiteId, input Site) error
- func (c SiteClient) Delete(ctx context.Context, id SiteId) (result DeleteOperationResponse, err error)
- func (c SiteClient) DeletePacketCore(ctx context.Context, id SiteId, input SiteDeletePacketCore) (result DeletePacketCoreOperationResponse, err error)
- func (c SiteClient) DeletePacketCoreThenPoll(ctx context.Context, id SiteId, input SiteDeletePacketCore) error
- func (c SiteClient) DeleteThenPoll(ctx context.Context, id SiteId) error
- func (c SiteClient) Get(ctx context.Context, id SiteId) (result GetOperationResponse, err error)
- func (c SiteClient) UpdateTags(ctx context.Context, id SiteId, input TagsObject) (result UpdateTagsOperationResponse, err error)
- type SiteDeletePacketCore
- type SiteId
- type SitePropertiesFormat
- type SubResource
- type TagsObject
- type UpdateTagsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateSiteID ¶
ValidateSiteID checks that 'input' can be parsed as a Site ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeletePacketCoreOperationResponse ¶
type DeletePacketCoreOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type PacketCoreControlPlaneResourceId ¶
type PacketCoreControlPlaneResourceId struct {
Id string `json:"id"`
}
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUnknown ProvisioningState = "Unknown" )
type Site ¶
type Site struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *SitePropertiesFormat `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type SiteClient ¶
func NewSiteClientWithBaseURI ¶
func NewSiteClientWithBaseURI(endpoint string) SiteClient
func (SiteClient) CreateOrUpdate ¶
func (c SiteClient) CreateOrUpdate(ctx context.Context, id SiteId, input Site) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (SiteClient) CreateOrUpdateThenPoll ¶
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (SiteClient) Delete ¶
func (c SiteClient) Delete(ctx context.Context, id SiteId) (result DeleteOperationResponse, err error)
Delete ...
func (SiteClient) DeletePacketCore ¶
func (c SiteClient) DeletePacketCore(ctx context.Context, id SiteId, input SiteDeletePacketCore) (result DeletePacketCoreOperationResponse, err error)
DeletePacketCore ...
func (SiteClient) DeletePacketCoreThenPoll ¶
func (c SiteClient) DeletePacketCoreThenPoll(ctx context.Context, id SiteId, input SiteDeletePacketCore) error
DeletePacketCoreThenPoll performs DeletePacketCore then polls until it's completed
func (SiteClient) DeleteThenPoll ¶
func (c SiteClient) DeleteThenPoll(ctx context.Context, id SiteId) error
DeleteThenPoll performs Delete then polls until it's completed
func (SiteClient) Get ¶
func (c SiteClient) Get(ctx context.Context, id SiteId) (result GetOperationResponse, err error)
Get ...
func (SiteClient) UpdateTags ¶
func (c SiteClient) UpdateTags(ctx context.Context, id SiteId, input TagsObject) (result UpdateTagsOperationResponse, err error)
UpdateTags ...
type SiteDeletePacketCore ¶
type SiteDeletePacketCore struct {
PacketCore *PacketCoreControlPlaneResourceId `json:"packetCore,omitempty"`
}
type SiteId ¶
type SiteId struct { SubscriptionId string ResourceGroupName string MobileNetworkName string SiteName string }
SiteId is a struct representing the Resource ID for a Site
func NewSiteID ¶
func NewSiteID(subscriptionId string, resourceGroupName string, mobileNetworkName string, siteName string) SiteId
NewSiteID returns a new SiteId struct
func ParseSiteID ¶
ParseSiteID parses 'input' into a SiteId
func ParseSiteIDInsensitively ¶
ParseSiteIDInsensitively parses 'input' case-insensitively into a SiteId note: this method should only be used for API response data and not user input
func (SiteId) Segments ¶
func (id SiteId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Site ID
type SitePropertiesFormat ¶
type SitePropertiesFormat struct { NetworkFunctions *[]SubResource `json:"networkFunctions,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type SubResource ¶
type SubResource struct {
Id string `json:"id"`
}
type TagsObject ¶
Source Files ¶
- client.go
- constants.go
- id_site.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_deletepacketcore_autorest.go
- method_get_autorest.go
- method_updatetags_autorest.go
- model_packetcorecontrolplaneresourceid.go
- model_site.go
- model_sitedeletepacketcore.go
- model_sitepropertiesformat.go
- model_subresource.go
- model_tagsobject.go
- version.go