Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForSimState() []string
- func PossibleValuesForSiteProvisioningState() []string
- func ValidateSimID(input interface{}, key string) (warnings []string, errors []error)
- type AttachedDataNetworkResourceId
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ProvisioningState
- type SIMClient
- func (c SIMClient) CreateOrUpdate(ctx context.Context, id SimId, input Sim) (result CreateOrUpdateOperationResponse, err error)
- func (c SIMClient) CreateOrUpdateThenPoll(ctx context.Context, id SimId, input Sim) error
- func (c SIMClient) Delete(ctx context.Context, id SimId) (result DeleteOperationResponse, err error)
- func (c SIMClient) DeleteThenPoll(ctx context.Context, id SimId) error
- func (c SIMClient) Get(ctx context.Context, id SimId) (result GetOperationResponse, err error)
- type Sim
- type SimId
- type SimPolicyResourceId
- type SimPropertiesFormat
- type SimState
- type SimStaticIPProperties
- type SimStaticIPPropertiesStaticIP
- type SiteProvisioningState
- type SliceResourceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForSimState ¶
func PossibleValuesForSimState() []string
func PossibleValuesForSiteProvisioningState ¶
func PossibleValuesForSiteProvisioningState() []string
func ValidateSimID ¶
ValidateSimID checks that 'input' can be parsed as a Sim ID
Types ¶
type AttachedDataNetworkResourceId ¶
type AttachedDataNetworkResourceId struct {
Id string `json:"id"`
}
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 SIMClient ¶
type SIMClient struct {
Client *resourcemanager.Client
}
func (SIMClient) CreateOrUpdate ¶
func (c SIMClient) CreateOrUpdate(ctx context.Context, id SimId, input Sim) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (SIMClient) CreateOrUpdateThenPoll ¶
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (SIMClient) Delete ¶
func (c SIMClient) Delete(ctx context.Context, id SimId) (result DeleteOperationResponse, err error)
Delete ...
func (SIMClient) DeleteThenPoll ¶
DeleteThenPoll performs Delete then polls until it's completed
type Sim ¶
type Sim struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties SimPropertiesFormat `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type SimId ¶
type SimId struct { SubscriptionId string ResourceGroupName string SimGroupName string SimName string }
SimId is a struct representing the Resource ID for a Sim
func NewSimID ¶
func NewSimID(subscriptionId string, resourceGroupName string, simGroupName string, simName string) SimId
NewSimID returns a new SimId struct
func ParseSimID ¶
ParseSimID parses 'input' into a SimId
func ParseSimIDInsensitively ¶
ParseSimIDInsensitively parses 'input' case-insensitively into a SimId note: this method should only be used for API response data and not user input
func (*SimId) FromParseResult ¶
func (id *SimId) FromParseResult(input resourceids.ParseResult) error
func (SimId) Segments ¶
func (id SimId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Sim ID
type SimPolicyResourceId ¶
type SimPolicyResourceId struct {
Id string `json:"id"`
}
type SimPropertiesFormat ¶
type SimPropertiesFormat struct { AuthenticationKey *string `json:"authenticationKey,omitempty"` DeviceType *string `json:"deviceType,omitempty"` IntegratedCircuitCardIdentifier *string `json:"integratedCircuitCardIdentifier,omitempty"` InternationalMobileSubscriberIdentity string `json:"internationalMobileSubscriberIdentity"` OperatorKeyCode *string `json:"operatorKeyCode,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` SimPolicy *SimPolicyResourceId `json:"simPolicy,omitempty"` SimState *SimState `json:"simState,omitempty"` SiteProvisioningState *map[string]SiteProvisioningState `json:"siteProvisioningState,omitempty"` StaticIPConfiguration *[]SimStaticIPProperties `json:"staticIpConfiguration,omitempty"` VendorKeyFingerprint *string `json:"vendorKeyFingerprint,omitempty"` VendorName *string `json:"vendorName,omitempty"` }
type SimStaticIPProperties ¶
type SimStaticIPProperties struct { AttachedDataNetwork *AttachedDataNetworkResourceId `json:"attachedDataNetwork,omitempty"` Slice *SliceResourceId `json:"slice,omitempty"` StaticIP *SimStaticIPPropertiesStaticIP `json:"staticIp,omitempty"` }
type SimStaticIPPropertiesStaticIP ¶
type SimStaticIPPropertiesStaticIP struct {
IPv4Address *string `json:"ipv4Address,omitempty"`
}
type SiteProvisioningState ¶
type SiteProvisioningState string
const ( SiteProvisioningStateAdding SiteProvisioningState = "Adding" SiteProvisioningStateDeleting SiteProvisioningState = "Deleting" SiteProvisioningStateFailed SiteProvisioningState = "Failed" SiteProvisioningStateNotApplicable SiteProvisioningState = "NotApplicable" SiteProvisioningStateProvisioned SiteProvisioningState = "Provisioned" SiteProvisioningStateUpdating SiteProvisioningState = "Updating" )
func (*SiteProvisioningState) UnmarshalJSON ¶
func (s *SiteProvisioningState) UnmarshalJSON(bytes []byte) error
type SliceResourceId ¶
type SliceResourceId struct {
Id string `json:"id"`
}
Source Files ¶
- client.go
- constants.go
- id_sim.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- model_attacheddatanetworkresourceid.go
- model_sim.go
- model_simpolicyresourceid.go
- model_simpropertiesformat.go
- model_simstaticipproperties.go
- model_simstaticippropertiesstaticip.go
- model_sliceresourceid.go
- version.go
Click to show internal directories.
Click to hide internal directories.