notificationhubs

package
v0.20230505.1120847 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2023 License: MPL-2.0 Imports: 8 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/notificationhubs/2017-04-01/notificationhubs Documentation

The notificationhubs SDK allows for interaction with the Azure Resource Manager Service notificationhubs (API Version 2017-04-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/notificationhubs/2017-04-01/notificationhubs"

Client Initialization

client := notificationhubs.NewNotificationHubsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: NotificationHubsClient.CheckNotificationHubAvailability

ctx := context.TODO()
id := notificationhubs.NewNamespaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "namespaceValue")

payload := notificationhubs.CheckAvailabilityParameters{
	// ...
}


read, err := client.CheckNotificationHubAvailability(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: NotificationHubsClient.CreateOrUpdate

ctx := context.TODO()
id := notificationhubs.NewNotificationHubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "namespaceValue", "notificationHubValue")

payload := notificationhubs.NotificationHubCreateOrUpdateParameters{
	// ...
}


read, err := client.CreateOrUpdate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: NotificationHubsClient.CreateOrUpdateAuthorizationRule

ctx := context.TODO()
id := notificationhubs.NewNotificationHubAuthorizationRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "namespaceValue", "notificationHubValue", "authorizationRuleValue")

payload := notificationhubs.SharedAccessAuthorizationRuleCreateOrUpdateParameters{
	// ...
}


read, err := client.CreateOrUpdateAuthorizationRule(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: NotificationHubsClient.DebugSend

ctx := context.TODO()
id := notificationhubs.NewNotificationHubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "namespaceValue", "notificationHubValue")
var payload interface{}

read, err := client.DebugSend(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: NotificationHubsClient.Delete

ctx := context.TODO()
id := notificationhubs.NewNotificationHubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "namespaceValue", "notificationHubValue")

read, err := client.Delete(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: NotificationHubsClient.DeleteAuthorizationRule

ctx := context.TODO()
id := notificationhubs.NewNotificationHubAuthorizationRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "namespaceValue", "notificationHubValue", "authorizationRuleValue")

read, err := client.DeleteAuthorizationRule(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: NotificationHubsClient.Get

ctx := context.TODO()
id := notificationhubs.NewNotificationHubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "namespaceValue", "notificationHubValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: NotificationHubsClient.GetAuthorizationRule

ctx := context.TODO()
id := notificationhubs.NewNotificationHubAuthorizationRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "namespaceValue", "notificationHubValue", "authorizationRuleValue")

read, err := client.GetAuthorizationRule(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: NotificationHubsClient.GetPnsCredentials

ctx := context.TODO()
id := notificationhubs.NewNotificationHubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "namespaceValue", "notificationHubValue")

read, err := client.GetPnsCredentials(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: NotificationHubsClient.List

ctx := context.TODO()
id := notificationhubs.NewNamespaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "namespaceValue")

// alternatively `client.List(ctx, id)` can be used to do batched pagination
items, err := client.ListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: NotificationHubsClient.ListAuthorizationRules

ctx := context.TODO()
id := notificationhubs.NewNotificationHubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "namespaceValue", "notificationHubValue")

// alternatively `client.ListAuthorizationRules(ctx, id)` can be used to do batched pagination
items, err := client.ListAuthorizationRulesComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: NotificationHubsClient.ListKeys

ctx := context.TODO()
id := notificationhubs.NewNotificationHubAuthorizationRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "namespaceValue", "notificationHubValue", "authorizationRuleValue")

read, err := client.ListKeys(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: NotificationHubsClient.Patch

ctx := context.TODO()
id := notificationhubs.NewNotificationHubID("12345678-1234-9876-4563-123456789012", "example-resource-group", "namespaceValue", "notificationHubValue")

payload := notificationhubs.NotificationHubPatchParameters{
	// ...
}


read, err := client.Patch(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: NotificationHubsClient.RegenerateKeys

ctx := context.TODO()
id := notificationhubs.NewNotificationHubAuthorizationRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "namespaceValue", "notificationHubValue", "authorizationRuleValue")

payload := notificationhubs.PolicykeyResource{
	// ...
}


read, err := client.RegenerateKeys(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAccessRights

func PossibleValuesForAccessRights() []string

func PossibleValuesForSkuName

func PossibleValuesForSkuName() []string

func ValidateNamespaceID

func ValidateNamespaceID(input interface{}, key string) (warnings []string, errors []error)

ValidateNamespaceID checks that 'input' can be parsed as a Namespace ID

func ValidateNotificationHubAuthorizationRuleID

func ValidateNotificationHubAuthorizationRuleID(input interface{}, key string) (warnings []string, errors []error)

ValidateNotificationHubAuthorizationRuleID checks that 'input' can be parsed as a Notification Hub Authorization Rule ID

func ValidateNotificationHubID

func ValidateNotificationHubID(input interface{}, key string) (warnings []string, errors []error)

ValidateNotificationHubID checks that 'input' can be parsed as a Notification Hub ID

Types

type AccessRights

type AccessRights string
const (
	AccessRightsListen AccessRights = "Listen"
	AccessRightsManage AccessRights = "Manage"
	AccessRightsSend   AccessRights = "Send"
)

type AdmCredential

type AdmCredential struct {
	Properties *AdmCredentialProperties `json:"properties,omitempty"`
}

type AdmCredentialProperties

type AdmCredentialProperties struct {
	AuthTokenUrl *string `json:"authTokenUrl,omitempty"`
	ClientId     *string `json:"clientId,omitempty"`
	ClientSecret *string `json:"clientSecret,omitempty"`
}

type ApnsCredential

type ApnsCredential struct {
	Properties *ApnsCredentialProperties `json:"properties,omitempty"`
}

type ApnsCredentialProperties

type ApnsCredentialProperties struct {
	ApnsCertificate *string `json:"apnsCertificate,omitempty"`
	AppId           *string `json:"appId,omitempty"`
	AppName         *string `json:"appName,omitempty"`
	CertificateKey  *string `json:"certificateKey,omitempty"`
	Endpoint        *string `json:"endpoint,omitempty"`
	KeyId           *string `json:"keyId,omitempty"`
	Thumbprint      *string `json:"thumbprint,omitempty"`
	Token           *string `json:"token,omitempty"`
}

type BaiduCredential

type BaiduCredential struct {
	Properties *BaiduCredentialProperties `json:"properties,omitempty"`
}

type BaiduCredentialProperties

type BaiduCredentialProperties struct {
	BaiduApiKey    *string `json:"baiduApiKey,omitempty"`
	BaiduEndPoint  *string `json:"baiduEndPoint,omitempty"`
	BaiduSecretKey *string `json:"baiduSecretKey,omitempty"`
}

type CheckAvailabilityParameters

type CheckAvailabilityParameters struct {
	Id           *string            `json:"id,omitempty"`
	IsAvailiable *bool              `json:"isAvailiable,omitempty"`
	Location     *string            `json:"location,omitempty"`
	Name         string             `json:"name"`
	Sku          *Sku               `json:"sku,omitempty"`
	Tags         *map[string]string `json:"tags,omitempty"`
	Type         *string            `json:"type,omitempty"`
}

type CheckAvailabilityResult

type CheckAvailabilityResult struct {
	Id           *string            `json:"id,omitempty"`
	IsAvailiable *bool              `json:"isAvailiable,omitempty"`
	Location     *string            `json:"location,omitempty"`
	Name         *string            `json:"name,omitempty"`
	Sku          *Sku               `json:"sku,omitempty"`
	Tags         *map[string]string `json:"tags,omitempty"`
	Type         *string            `json:"type,omitempty"`
}

type CheckNotificationHubAvailabilityOperationResponse

type CheckNotificationHubAvailabilityOperationResponse struct {
	HttpResponse *http.Response
	Model        *CheckAvailabilityResult
}

type CreateOrUpdateAuthorizationRuleOperationResponse

type CreateOrUpdateAuthorizationRuleOperationResponse struct {
	HttpResponse *http.Response
	Model        *SharedAccessAuthorizationRuleResource
}

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	Model        *NotificationHubResource
}

type DebugSendOperationResponse

type DebugSendOperationResponse struct {
	HttpResponse *http.Response
	Model        *DebugSendResponse
}

type DebugSendResponse

type DebugSendResponse struct {
	Id         *string            `json:"id,omitempty"`
	Location   *string            `json:"location,omitempty"`
	Name       *string            `json:"name,omitempty"`
	Properties *DebugSendResult   `json:"properties,omitempty"`
	Sku        *Sku               `json:"sku,omitempty"`
	Tags       *map[string]string `json:"tags,omitempty"`
	Type       *string            `json:"type,omitempty"`
}

type DebugSendResult

type DebugSendResult struct {
	Failure *float64     `json:"failure,omitempty"`
	Results *interface{} `json:"results,omitempty"`
	Success *float64     `json:"success,omitempty"`
}

type DeleteAuthorizationRuleOperationResponse

type DeleteAuthorizationRuleOperationResponse struct {
	HttpResponse *http.Response
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	HttpResponse *http.Response
}

type GcmCredential

type GcmCredential struct {
	Properties *GcmCredentialProperties `json:"properties,omitempty"`
}

type GcmCredentialProperties

type GcmCredentialProperties struct {
	GcmEndpoint  *string `json:"gcmEndpoint,omitempty"`
	GoogleApiKey *string `json:"googleApiKey,omitempty"`
}

type GetAuthorizationRuleOperationResponse

type GetAuthorizationRuleOperationResponse struct {
	HttpResponse *http.Response
	Model        *SharedAccessAuthorizationRuleResource
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	Model        *NotificationHubResource
}

type GetPnsCredentialsOperationResponse

type GetPnsCredentialsOperationResponse struct {
	HttpResponse *http.Response
	Model        *PnsCredentialsResource
}

type ListAuthorizationRulesCompleteResult

type ListAuthorizationRulesCompleteResult struct {
	Items []SharedAccessAuthorizationRuleResource
}

type ListAuthorizationRulesOperationResponse

type ListAuthorizationRulesOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]SharedAccessAuthorizationRuleResource
	// contains filtered or unexported fields
}

func (ListAuthorizationRulesOperationResponse) HasMore

func (ListAuthorizationRulesOperationResponse) LoadMore

type ListCompleteResult

type ListCompleteResult struct {
	Items []NotificationHubResource
}

type ListKeysOperationResponse

type ListKeysOperationResponse struct {
	HttpResponse *http.Response
	Model        *ResourceListKeys
}

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]NotificationHubResource
	// contains filtered or unexported fields
}

func (ListOperationResponse) HasMore

func (r ListOperationResponse) HasMore() bool

func (ListOperationResponse) LoadMore

func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)

type MpnsCredential

type MpnsCredential struct {
	Properties *MpnsCredentialProperties `json:"properties,omitempty"`
}

type MpnsCredentialProperties

type MpnsCredentialProperties struct {
	CertificateKey  *string `json:"certificateKey,omitempty"`
	MpnsCertificate *string `json:"mpnsCertificate,omitempty"`
	Thumbprint      *string `json:"thumbprint,omitempty"`
}

type NamespaceId

type NamespaceId struct {
	SubscriptionId    string
	ResourceGroupName string
	NamespaceName     string
}

NamespaceId is a struct representing the Resource ID for a Namespace

func NewNamespaceID

func NewNamespaceID(subscriptionId string, resourceGroupName string, namespaceName string) NamespaceId

NewNamespaceID returns a new NamespaceId struct

func ParseNamespaceID

func ParseNamespaceID(input string) (*NamespaceId, error)

ParseNamespaceID parses 'input' into a NamespaceId

func ParseNamespaceIDInsensitively

func ParseNamespaceIDInsensitively(input string) (*NamespaceId, error)

ParseNamespaceIDInsensitively parses 'input' case-insensitively into a NamespaceId note: this method should only be used for API response data and not user input

func (NamespaceId) ID

func (id NamespaceId) ID() string

ID returns the formatted Namespace ID

func (NamespaceId) Segments

func (id NamespaceId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Namespace ID

func (NamespaceId) String

func (id NamespaceId) String() string

String returns a human-readable description of this Namespace ID

type NotificationHubAuthorizationRuleId

type NotificationHubAuthorizationRuleId struct {
	SubscriptionId        string
	ResourceGroupName     string
	NamespaceName         string
	NotificationHubName   string
	AuthorizationRuleName string
}

NotificationHubAuthorizationRuleId is a struct representing the Resource ID for a Notification Hub Authorization Rule

func NewNotificationHubAuthorizationRuleID

func NewNotificationHubAuthorizationRuleID(subscriptionId string, resourceGroupName string, namespaceName string, notificationHubName string, authorizationRuleName string) NotificationHubAuthorizationRuleId

NewNotificationHubAuthorizationRuleID returns a new NotificationHubAuthorizationRuleId struct

func ParseNotificationHubAuthorizationRuleID

func ParseNotificationHubAuthorizationRuleID(input string) (*NotificationHubAuthorizationRuleId, error)

ParseNotificationHubAuthorizationRuleID parses 'input' into a NotificationHubAuthorizationRuleId

func ParseNotificationHubAuthorizationRuleIDInsensitively

func ParseNotificationHubAuthorizationRuleIDInsensitively(input string) (*NotificationHubAuthorizationRuleId, error)

ParseNotificationHubAuthorizationRuleIDInsensitively parses 'input' case-insensitively into a NotificationHubAuthorizationRuleId note: this method should only be used for API response data and not user input

func (NotificationHubAuthorizationRuleId) ID

ID returns the formatted Notification Hub Authorization Rule ID

func (NotificationHubAuthorizationRuleId) Segments

Segments returns a slice of Resource ID Segments which comprise this Notification Hub Authorization Rule ID

func (NotificationHubAuthorizationRuleId) String

String returns a human-readable description of this Notification Hub Authorization Rule ID

type NotificationHubCreateOrUpdateParameters

type NotificationHubCreateOrUpdateParameters struct {
	Id         *string                   `json:"id,omitempty"`
	Location   *string                   `json:"location,omitempty"`
	Name       *string                   `json:"name,omitempty"`
	Properties NotificationHubProperties `json:"properties"`
	Sku        *Sku                      `json:"sku,omitempty"`
	Tags       *map[string]string        `json:"tags,omitempty"`
	Type       *string                   `json:"type,omitempty"`
}

type NotificationHubId

type NotificationHubId struct {
	SubscriptionId      string
	ResourceGroupName   string
	NamespaceName       string
	NotificationHubName string
}

NotificationHubId is a struct representing the Resource ID for a Notification Hub

func NewNotificationHubID

func NewNotificationHubID(subscriptionId string, resourceGroupName string, namespaceName string, notificationHubName string) NotificationHubId

NewNotificationHubID returns a new NotificationHubId struct

func ParseNotificationHubID

func ParseNotificationHubID(input string) (*NotificationHubId, error)

ParseNotificationHubID parses 'input' into a NotificationHubId

func ParseNotificationHubIDInsensitively

func ParseNotificationHubIDInsensitively(input string) (*NotificationHubId, error)

ParseNotificationHubIDInsensitively parses 'input' case-insensitively into a NotificationHubId note: this method should only be used for API response data and not user input

func (NotificationHubId) ID

func (id NotificationHubId) ID() string

ID returns the formatted Notification Hub ID

func (NotificationHubId) Segments

func (id NotificationHubId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Notification Hub ID

func (NotificationHubId) String

func (id NotificationHubId) String() string

String returns a human-readable description of this Notification Hub ID

type NotificationHubPatchParameters

type NotificationHubPatchParameters struct {
	Id         *string                    `json:"id,omitempty"`
	Location   *string                    `json:"location,omitempty"`
	Name       *string                    `json:"name,omitempty"`
	Properties *NotificationHubProperties `json:"properties,omitempty"`
	Sku        *Sku                       `json:"sku,omitempty"`
	Tags       *map[string]string         `json:"tags,omitempty"`
	Type       *string                    `json:"type,omitempty"`
}

type NotificationHubProperties

type NotificationHubProperties struct {
	AdmCredential      *AdmCredential                             `json:"admCredential,omitempty"`
	ApnsCredential     *ApnsCredential                            `json:"apnsCredential,omitempty"`
	AuthorizationRules *[]SharedAccessAuthorizationRuleProperties `json:"authorizationRules,omitempty"`
	BaiduCredential    *BaiduCredential                           `json:"baiduCredential,omitempty"`
	GcmCredential      *GcmCredential                             `json:"gcmCredential,omitempty"`
	MpnsCredential     *MpnsCredential                            `json:"mpnsCredential,omitempty"`
	Name               *string                                    `json:"name,omitempty"`
	RegistrationTtl    *string                                    `json:"registrationTtl,omitempty"`
	WnsCredential      *WnsCredential                             `json:"wnsCredential,omitempty"`
}

type NotificationHubResource

type NotificationHubResource struct {
	Id         *string                    `json:"id,omitempty"`
	Location   *string                    `json:"location,omitempty"`
	Name       *string                    `json:"name,omitempty"`
	Properties *NotificationHubProperties `json:"properties,omitempty"`
	Sku        *Sku                       `json:"sku,omitempty"`
	Tags       *map[string]string         `json:"tags,omitempty"`
	Type       *string                    `json:"type,omitempty"`
}

type NotificationHubResourceOperationPredicate

type NotificationHubResourceOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (NotificationHubResourceOperationPredicate) Matches

type NotificationHubsClient

type NotificationHubsClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewNotificationHubsClientWithBaseURI

func NewNotificationHubsClientWithBaseURI(endpoint string) NotificationHubsClient

func (NotificationHubsClient) CheckNotificationHubAvailability

CheckNotificationHubAvailability ...

func (NotificationHubsClient) CreateOrUpdate

CreateOrUpdate ...

func (NotificationHubsClient) CreateOrUpdateAuthorizationRule

CreateOrUpdateAuthorizationRule ...

func (NotificationHubsClient) DebugSend

func (c NotificationHubsClient) DebugSend(ctx context.Context, id NotificationHubId, input interface{}) (result DebugSendOperationResponse, err error)

DebugSend ...

func (NotificationHubsClient) Delete

Delete ...

func (NotificationHubsClient) DeleteAuthorizationRule

DeleteAuthorizationRule ...

func (NotificationHubsClient) Get

Get ...

func (NotificationHubsClient) GetAuthorizationRule

GetAuthorizationRule ...

func (NotificationHubsClient) GetPnsCredentials

GetPnsCredentials ...

func (NotificationHubsClient) List

List ...

func (NotificationHubsClient) ListAuthorizationRules

ListAuthorizationRules ...

func (NotificationHubsClient) ListAuthorizationRulesComplete

ListAuthorizationRulesComplete retrieves all of the results into a single object

func (NotificationHubsClient) ListAuthorizationRulesCompleteMatchingPredicate

ListAuthorizationRulesCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (NotificationHubsClient) ListComplete

ListComplete retrieves all of the results into a single object

func (NotificationHubsClient) ListCompleteMatchingPredicate

func (c NotificationHubsClient) ListCompleteMatchingPredicate(ctx context.Context, id NamespaceId, predicate NotificationHubResourceOperationPredicate) (resp ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (NotificationHubsClient) ListKeys

ListKeys ...

func (NotificationHubsClient) Patch

Patch ...

func (NotificationHubsClient) RegenerateKeys

RegenerateKeys ...

type PatchOperationResponse

type PatchOperationResponse struct {
	HttpResponse *http.Response
	Model        *NotificationHubResource
}

type PnsCredentialsProperties

type PnsCredentialsProperties struct {
	AdmCredential   *AdmCredential   `json:"admCredential,omitempty"`
	ApnsCredential  *ApnsCredential  `json:"apnsCredential,omitempty"`
	BaiduCredential *BaiduCredential `json:"baiduCredential,omitempty"`
	GcmCredential   *GcmCredential   `json:"gcmCredential,omitempty"`
	MpnsCredential  *MpnsCredential  `json:"mpnsCredential,omitempty"`
	WnsCredential   *WnsCredential   `json:"wnsCredential,omitempty"`
}

type PnsCredentialsResource

type PnsCredentialsResource struct {
	Id         *string                   `json:"id,omitempty"`
	Location   *string                   `json:"location,omitempty"`
	Name       *string                   `json:"name,omitempty"`
	Properties *PnsCredentialsProperties `json:"properties,omitempty"`
	Sku        *Sku                      `json:"sku,omitempty"`
	Tags       *map[string]string        `json:"tags,omitempty"`
	Type       *string                   `json:"type,omitempty"`
}

type PolicykeyResource

type PolicykeyResource struct {
	PolicyKey *string `json:"policyKey,omitempty"`
}

type RegenerateKeysOperationResponse

type RegenerateKeysOperationResponse struct {
	HttpResponse *http.Response
	Model        *ResourceListKeys
}

type ResourceListKeys

type ResourceListKeys struct {
	KeyName                   *string `json:"keyName,omitempty"`
	PrimaryConnectionString   *string `json:"primaryConnectionString,omitempty"`
	PrimaryKey                *string `json:"primaryKey,omitempty"`
	SecondaryConnectionString *string `json:"secondaryConnectionString,omitempty"`
	SecondaryKey              *string `json:"secondaryKey,omitempty"`
}

type SharedAccessAuthorizationRuleCreateOrUpdateParameters

type SharedAccessAuthorizationRuleCreateOrUpdateParameters struct {
	Properties SharedAccessAuthorizationRuleProperties `json:"properties"`
}

type SharedAccessAuthorizationRuleProperties

type SharedAccessAuthorizationRuleProperties struct {
	ClaimType    *string         `json:"claimType,omitempty"`
	ClaimValue   *string         `json:"claimValue,omitempty"`
	CreatedTime  *string         `json:"createdTime,omitempty"`
	KeyName      *string         `json:"keyName,omitempty"`
	ModifiedTime *string         `json:"modifiedTime,omitempty"`
	PrimaryKey   *string         `json:"primaryKey,omitempty"`
	Revision     *int64          `json:"revision,omitempty"`
	Rights       *[]AccessRights `json:"rights,omitempty"`
	SecondaryKey *string         `json:"secondaryKey,omitempty"`
}

type SharedAccessAuthorizationRuleResource

type SharedAccessAuthorizationRuleResource struct {
	Id         *string                                  `json:"id,omitempty"`
	Location   *string                                  `json:"location,omitempty"`
	Name       *string                                  `json:"name,omitempty"`
	Properties *SharedAccessAuthorizationRuleProperties `json:"properties,omitempty"`
	Sku        *Sku                                     `json:"sku,omitempty"`
	Tags       *map[string]string                       `json:"tags,omitempty"`
	Type       *string                                  `json:"type,omitempty"`
}

type SharedAccessAuthorizationRuleResourceOperationPredicate

type SharedAccessAuthorizationRuleResourceOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (SharedAccessAuthorizationRuleResourceOperationPredicate) Matches

type Sku

type Sku struct {
	Capacity *int64  `json:"capacity,omitempty"`
	Family   *string `json:"family,omitempty"`
	Name     SkuName `json:"name"`
	Size     *string `json:"size,omitempty"`
	Tier     *string `json:"tier,omitempty"`
}

type SkuName

type SkuName string
const (
	SkuNameBasic    SkuName = "Basic"
	SkuNameFree     SkuName = "Free"
	SkuNameStandard SkuName = "Standard"
)

type WnsCredential

type WnsCredential struct {
	Properties *WnsCredentialProperties `json:"properties,omitempty"`
}

type WnsCredentialProperties

type WnsCredentialProperties struct {
	PackageSid          *string `json:"packageSid,omitempty"`
	SecretKey           *string `json:"secretKey,omitempty"`
	WindowsLiveEndpoint *string `json:"windowsLiveEndpoint,omitempty"`
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL