Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidateSiteID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- 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) 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 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 DeleteOperationResponse ¶
type GetOperationResponse ¶
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" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
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 ¶
type SiteClient struct {
Client *resourcemanager.Client
}
func NewSiteClientWithBaseURI ¶
func NewSiteClientWithBaseURI(sdkApi sdkEnv.Api) (*SiteClient, error)
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) 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 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) FromParseResult ¶
func (id *SiteId) FromParseResult(input resourceids.ParseResult) error
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 ¶
Click to show internal directories.
Click to hide internal directories.