Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForSimState() []string
- func PossibleValuesForSiteProvisioningState() []string
- func ValidateSimGroupID(input interface{}, key string) (warnings []string, errors []error)
- type AsyncOperationStatus
- type AttachedDataNetworkResourceId
- type BulkDeleteOperationResponse
- type BulkUploadEncryptedOperationResponse
- type BulkUploadOperationResponse
- type EncryptedSimPropertiesFormat
- type EncryptedSimUploadList
- type ErrorAdditionalInfo
- type ErrorDetail
- type ListByGroupCompleteResult
- type ListByGroupOperationResponse
- type ProvisioningState
- type SIMsClient
- func (c SIMsClient) BulkDelete(ctx context.Context, id SimGroupId, input SimDeleteList) (result BulkDeleteOperationResponse, err error)
- func (c SIMsClient) BulkDeleteThenPoll(ctx context.Context, id SimGroupId, input SimDeleteList) error
- func (c SIMsClient) BulkUpload(ctx context.Context, id SimGroupId, input SimUploadList) (result BulkUploadOperationResponse, err error)
- func (c SIMsClient) BulkUploadEncrypted(ctx context.Context, id SimGroupId, input EncryptedSimUploadList) (result BulkUploadEncryptedOperationResponse, err error)
- func (c SIMsClient) BulkUploadEncryptedThenPoll(ctx context.Context, id SimGroupId, input EncryptedSimUploadList) error
- func (c SIMsClient) BulkUploadThenPoll(ctx context.Context, id SimGroupId, input SimUploadList) error
- func (c SIMsClient) ListByGroup(ctx context.Context, id SimGroupId) (result ListByGroupOperationResponse, err error)
- func (c SIMsClient) ListByGroupComplete(ctx context.Context, id SimGroupId) (ListByGroupCompleteResult, error)
- func (c SIMsClient) ListByGroupCompleteMatchingPredicate(ctx context.Context, id SimGroupId, predicate SimOperationPredicate) (result ListByGroupCompleteResult, err error)
- type Sim
- type SimDeleteList
- type SimGroupId
- type SimNameAndEncryptedProperties
- type SimNameAndProperties
- type SimOperationPredicate
- type SimPolicyResourceId
- type SimPropertiesFormat
- type SimState
- type SimStaticIPProperties
- type SimStaticIPPropertiesStaticIP
- type SimUploadList
- 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 ValidateSimGroupID ¶
ValidateSimGroupID checks that 'input' can be parsed as a Sim Group ID
Types ¶
type AsyncOperationStatus ¶
type AsyncOperationStatus struct { EndTime *string `json:"endTime,omitempty"` Error *ErrorDetail `json:"error,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` PercentComplete *float64 `json:"percentComplete,omitempty"` Properties *interface{} `json:"properties,omitempty"` ResourceId *string `json:"resourceId,omitempty"` StartTime *string `json:"startTime,omitempty"` Status string `json:"status"` }
func (*AsyncOperationStatus) GetEndTimeAsTime ¶
func (o *AsyncOperationStatus) GetEndTimeAsTime() (*time.Time, error)
func (*AsyncOperationStatus) GetStartTimeAsTime ¶
func (o *AsyncOperationStatus) GetStartTimeAsTime() (*time.Time, error)
func (*AsyncOperationStatus) SetEndTimeAsTime ¶
func (o *AsyncOperationStatus) SetEndTimeAsTime(input time.Time)
func (*AsyncOperationStatus) SetStartTimeAsTime ¶
func (o *AsyncOperationStatus) SetStartTimeAsTime(input time.Time)
type AttachedDataNetworkResourceId ¶
type AttachedDataNetworkResourceId struct {
Id string `json:"id"`
}
type EncryptedSimPropertiesFormat ¶
type EncryptedSimPropertiesFormat struct { DeviceType *string `json:"deviceType,omitempty"` EncryptedCredentials *string `json:"encryptedCredentials,omitempty"` IntegratedCircuitCardIdentifier *string `json:"integratedCircuitCardIdentifier,omitempty"` InternationalMobileSubscriberIdentity string `json:"internationalMobileSubscriberIdentity"` 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 EncryptedSimUploadList ¶
type EncryptedSimUploadList struct { AzureKeyIdentifier int64 `json:"azureKeyIdentifier"` EncryptedTransportKey string `json:"encryptedTransportKey"` SignedTransportKey string `json:"signedTransportKey"` Sims []SimNameAndEncryptedProperties `json:"sims"` VendorKeyFingerprint string `json:"vendorKeyFingerprint"` Version int64 `json:"version"` }
type ErrorAdditionalInfo ¶
type ErrorAdditionalInfo struct { Info *interface{} `json:"info,omitempty"` Type *string `json:"type,omitempty"` }
type ErrorDetail ¶
type ErrorDetail struct { AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"` Code *string `json:"code,omitempty"` Details *[]ErrorDetail `json:"details,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` }
type ListByGroupCompleteResult ¶
type ListByGroupCompleteResult struct {
Items []Sim
}
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 SIMsClient ¶
type SIMsClient struct {
Client *resourcemanager.Client
}
func NewSIMsClientWithBaseURI ¶
func NewSIMsClientWithBaseURI(sdkApi sdkEnv.Api) (*SIMsClient, error)
func (SIMsClient) BulkDelete ¶
func (c SIMsClient) BulkDelete(ctx context.Context, id SimGroupId, input SimDeleteList) (result BulkDeleteOperationResponse, err error)
BulkDelete ...
func (SIMsClient) BulkDeleteThenPoll ¶
func (c SIMsClient) BulkDeleteThenPoll(ctx context.Context, id SimGroupId, input SimDeleteList) error
BulkDeleteThenPoll performs BulkDelete then polls until it's completed
func (SIMsClient) BulkUpload ¶
func (c SIMsClient) BulkUpload(ctx context.Context, id SimGroupId, input SimUploadList) (result BulkUploadOperationResponse, err error)
BulkUpload ...
func (SIMsClient) BulkUploadEncrypted ¶
func (c SIMsClient) BulkUploadEncrypted(ctx context.Context, id SimGroupId, input EncryptedSimUploadList) (result BulkUploadEncryptedOperationResponse, err error)
BulkUploadEncrypted ...
func (SIMsClient) BulkUploadEncryptedThenPoll ¶
func (c SIMsClient) BulkUploadEncryptedThenPoll(ctx context.Context, id SimGroupId, input EncryptedSimUploadList) error
BulkUploadEncryptedThenPoll performs BulkUploadEncrypted then polls until it's completed
func (SIMsClient) BulkUploadThenPoll ¶
func (c SIMsClient) BulkUploadThenPoll(ctx context.Context, id SimGroupId, input SimUploadList) error
BulkUploadThenPoll performs BulkUpload then polls until it's completed
func (SIMsClient) ListByGroup ¶
func (c SIMsClient) ListByGroup(ctx context.Context, id SimGroupId) (result ListByGroupOperationResponse, err error)
ListByGroup ...
func (SIMsClient) ListByGroupComplete ¶
func (c SIMsClient) ListByGroupComplete(ctx context.Context, id SimGroupId) (ListByGroupCompleteResult, error)
ListByGroupComplete retrieves all the results into a single object
func (SIMsClient) ListByGroupCompleteMatchingPredicate ¶
func (c SIMsClient) ListByGroupCompleteMatchingPredicate(ctx context.Context, id SimGroupId, predicate SimOperationPredicate) (result ListByGroupCompleteResult, err error)
ListByGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
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 SimDeleteList ¶
type SimDeleteList struct {
Sims []string `json:"sims"`
}
type SimGroupId ¶
SimGroupId is a struct representing the Resource ID for a Sim Group
func NewSimGroupID ¶
func NewSimGroupID(subscriptionId string, resourceGroupName string, simGroupName string) SimGroupId
NewSimGroupID returns a new SimGroupId struct
func ParseSimGroupID ¶
func ParseSimGroupID(input string) (*SimGroupId, error)
ParseSimGroupID parses 'input' into a SimGroupId
func ParseSimGroupIDInsensitively ¶
func ParseSimGroupIDInsensitively(input string) (*SimGroupId, error)
ParseSimGroupIDInsensitively parses 'input' case-insensitively into a SimGroupId note: this method should only be used for API response data and not user input
func (SimGroupId) Segments ¶
func (id SimGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Sim Group ID
func (SimGroupId) String ¶
func (id SimGroupId) String() string
String returns a human-readable description of this Sim Group ID
type SimNameAndEncryptedProperties ¶
type SimNameAndEncryptedProperties struct { Name string `json:"name"` Properties EncryptedSimPropertiesFormat `json:"properties"` }
type SimNameAndProperties ¶
type SimNameAndProperties struct { Name string `json:"name"` Properties SimPropertiesFormat `json:"properties"` }
type SimOperationPredicate ¶
func (SimOperationPredicate) Matches ¶
func (p SimOperationPredicate) Matches(input Sim) bool
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 SimUploadList ¶
type SimUploadList struct {
Sims []SimNameAndProperties `json:"sims"`
}
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_simgroup.go
- method_bulkdelete.go
- method_bulkupload.go
- method_bulkuploadencrypted.go
- method_listbygroup.go
- model_asyncoperationstatus.go
- model_attacheddatanetworkresourceid.go
- model_encryptedsimpropertiesformat.go
- model_encryptedsimuploadlist.go
- model_erroradditionalinfo.go
- model_errordetail.go
- model_sim.go
- model_simdeletelist.go
- model_simnameandencryptedproperties.go
- model_simnameandproperties.go
- model_simpolicyresourceid.go
- model_simpropertiesformat.go
- model_simstaticipproperties.go
- model_simstaticippropertiesstaticip.go
- model_simuploadlist.go
- model_sliceresourceid.go
- predicates.go
- version.go