Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidateDataNetworkID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DataNetwork
- type DataNetworkClient
- func (c DataNetworkClient) CreateOrUpdate(ctx context.Context, id DataNetworkId, input DataNetwork) (result CreateOrUpdateOperationResponse, err error)
- func (c DataNetworkClient) CreateOrUpdateThenPoll(ctx context.Context, id DataNetworkId, input DataNetwork) error
- func (c DataNetworkClient) Delete(ctx context.Context, id DataNetworkId) (result DeleteOperationResponse, err error)
- func (c DataNetworkClient) DeleteThenPoll(ctx context.Context, id DataNetworkId) error
- func (c DataNetworkClient) Get(ctx context.Context, id DataNetworkId) (result GetOperationResponse, err error)
- func (c DataNetworkClient) UpdateTags(ctx context.Context, id DataNetworkId, input TagsObject) (result UpdateTagsOperationResponse, err error)
- type DataNetworkId
- type DataNetworkPropertiesFormat
- type DeleteOperationResponse
- type GetOperationResponse
- type ProvisioningState
- type TagsObject
- type UpdateTagsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateDataNetworkID ¶
ValidateDataNetworkID checks that 'input' can be parsed as a Data Network ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DataNetwork ¶
type DataNetwork struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *DataNetworkPropertiesFormat `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type DataNetworkClient ¶
func NewDataNetworkClientWithBaseURI ¶
func NewDataNetworkClientWithBaseURI(endpoint string) DataNetworkClient
func (DataNetworkClient) CreateOrUpdate ¶
func (c DataNetworkClient) CreateOrUpdate(ctx context.Context, id DataNetworkId, input DataNetwork) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DataNetworkClient) CreateOrUpdateThenPoll ¶
func (c DataNetworkClient) CreateOrUpdateThenPoll(ctx context.Context, id DataNetworkId, input DataNetwork) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (DataNetworkClient) Delete ¶
func (c DataNetworkClient) Delete(ctx context.Context, id DataNetworkId) (result DeleteOperationResponse, err error)
Delete ...
func (DataNetworkClient) DeleteThenPoll ¶
func (c DataNetworkClient) DeleteThenPoll(ctx context.Context, id DataNetworkId) error
DeleteThenPoll performs Delete then polls until it's completed
func (DataNetworkClient) Get ¶
func (c DataNetworkClient) Get(ctx context.Context, id DataNetworkId) (result GetOperationResponse, err error)
Get ...
func (DataNetworkClient) UpdateTags ¶
func (c DataNetworkClient) UpdateTags(ctx context.Context, id DataNetworkId, input TagsObject) (result UpdateTagsOperationResponse, err error)
UpdateTags ...
type DataNetworkId ¶
type DataNetworkId struct { SubscriptionId string ResourceGroupName string MobileNetworkName string DataNetworkName string }
DataNetworkId is a struct representing the Resource ID for a Data Network
func NewDataNetworkID ¶
func NewDataNetworkID(subscriptionId string, resourceGroupName string, mobileNetworkName string, dataNetworkName string) DataNetworkId
NewDataNetworkID returns a new DataNetworkId struct
func ParseDataNetworkID ¶
func ParseDataNetworkID(input string) (*DataNetworkId, error)
ParseDataNetworkID parses 'input' into a DataNetworkId
func ParseDataNetworkIDInsensitively ¶
func ParseDataNetworkIDInsensitively(input string) (*DataNetworkId, error)
ParseDataNetworkIDInsensitively parses 'input' case-insensitively into a DataNetworkId note: this method should only be used for API response data and not user input
func (DataNetworkId) ID ¶
func (id DataNetworkId) ID() string
ID returns the formatted Data Network ID
func (DataNetworkId) Segments ¶
func (id DataNetworkId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Data Network ID
func (DataNetworkId) String ¶
func (id DataNetworkId) String() string
String returns a human-readable description of this Data Network ID
type DataNetworkPropertiesFormat ¶
type DataNetworkPropertiesFormat struct { Description *string `json:"description,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *DataNetwork }
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 TagsObject ¶
type UpdateTagsOperationResponse ¶
type UpdateTagsOperationResponse struct { HttpResponse *http.Response Model *DataNetwork }