engagementfabric

package
v43.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package engagementfabric implements the Azure ARM Engagementfabric service API version 2018-09-01-preview.

Microsoft Customer Engagement Fabric

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Engagementfabric
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type Account

type Account struct {
	autorest.Response `json:"-"`
	// Location - The location of the resource
	Location *string `json:"location,omitempty"`
	// Tags - The tags of the resource
	Tags map[string]*string `json:"tags"`
	// Sku - The SKU of the resource
	Sku *SKU `json:"sku,omitempty"`
	// ID - READ-ONLY; The ID of the resource
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The fully qualified type of the resource
	Type *string `json:"type,omitempty"`
}

Account the EngagementFabric account

func (Account) MarshalJSON

func (a Account) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Account.

type AccountList

type AccountList struct {
	autorest.Response `json:"-"`
	// Value - EngagementFabric accounts
	Value *[]Account `json:"value,omitempty"`
}

AccountList the list of the EngagementFabric accounts

type AccountPatch

type AccountPatch struct {
	// Tags - The tags of the resource
	Tags map[string]*string `json:"tags"`
}

AccountPatch the patch of EngagementFabric account

func (AccountPatch) MarshalJSON

func (ap AccountPatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AccountPatch.

type AccountsClient

type AccountsClient struct {
	BaseClient
}

AccountsClient is the microsoft Customer Engagement Fabric

func NewAccountsClient

func NewAccountsClient(subscriptionID string) AccountsClient

NewAccountsClient creates an instance of the AccountsClient client.

func NewAccountsClientWithBaseURI

func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient

NewAccountsClientWithBaseURI creates an instance of the AccountsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AccountsClient) CreateOrUpdate

func (client AccountsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, account Account) (result Account, err error)

CreateOrUpdate sends the create or update request. Parameters: resourceGroupName - resource Group Name accountName - account Name account - the EngagementFabric account description

func (AccountsClient) CreateOrUpdatePreparer

func (client AccountsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, account Account) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AccountsClient) CreateOrUpdateResponder

func (client AccountsClient) CreateOrUpdateResponder(resp *http.Response) (result Account, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (AccountsClient) CreateOrUpdateSender

func (client AccountsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (AccountsClient) Delete

func (client AccountsClient) Delete(ctx context.Context, resourceGroupName string, accountName string) (result autorest.Response, err error)

Delete sends the delete request. Parameters: resourceGroupName - resource Group Name accountName - account Name

func (AccountsClient) DeletePreparer

func (client AccountsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AccountsClient) DeleteResponder

func (client AccountsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (AccountsClient) DeleteSender

func (client AccountsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (AccountsClient) Get

func (client AccountsClient) Get(ctx context.Context, resourceGroupName string, accountName string) (result Account, err error)

Get sends the get request. Parameters: resourceGroupName - resource Group Name accountName - account Name

func (AccountsClient) GetPreparer

func (client AccountsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AccountsClient) GetResponder

func (client AccountsClient) GetResponder(resp *http.Response) (result Account, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AccountsClient) GetSender

func (client AccountsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AccountsClient) List

func (client AccountsClient) List(ctx context.Context) (result AccountList, err error)

List sends the list request.

func (AccountsClient) ListByResourceGroup

func (client AccountsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AccountList, err error)

ListByResourceGroup sends the list by resource group request. Parameters: resourceGroupName - resource Group Name

func (AccountsClient) ListByResourceGroupPreparer

func (client AccountsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (AccountsClient) ListByResourceGroupResponder

func (client AccountsClient) ListByResourceGroupResponder(resp *http.Response) (result AccountList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (AccountsClient) ListByResourceGroupSender

func (client AccountsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (AccountsClient) ListChannelTypes

func (client AccountsClient) ListChannelTypes(ctx context.Context, resourceGroupName string, accountName string) (result ChannelTypeDescriptionList, err error)

ListChannelTypes sends the list channel types request. Parameters: resourceGroupName - resource Group Name accountName - account Name

func (AccountsClient) ListChannelTypesPreparer

func (client AccountsClient) ListChannelTypesPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

ListChannelTypesPreparer prepares the ListChannelTypes request.

func (AccountsClient) ListChannelTypesResponder

func (client AccountsClient) ListChannelTypesResponder(resp *http.Response) (result ChannelTypeDescriptionList, err error)

ListChannelTypesResponder handles the response to the ListChannelTypes request. The method always closes the http.Response Body.

func (AccountsClient) ListChannelTypesSender

func (client AccountsClient) ListChannelTypesSender(req *http.Request) (*http.Response, error)

ListChannelTypesSender sends the ListChannelTypes request. The method will close the http.Response Body if it receives an error.

func (AccountsClient) ListKeys

func (client AccountsClient) ListKeys(ctx context.Context, resourceGroupName string, accountName string) (result KeyDescriptionList, err error)

ListKeys sends the list keys request. Parameters: resourceGroupName - resource Group Name accountName - account Name

func (AccountsClient) ListKeysPreparer

func (client AccountsClient) ListKeysPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

ListKeysPreparer prepares the ListKeys request.

func (AccountsClient) ListKeysResponder

func (client AccountsClient) ListKeysResponder(resp *http.Response) (result KeyDescriptionList, err error)

ListKeysResponder handles the response to the ListKeys request. The method always closes the http.Response Body.

func (AccountsClient) ListKeysSender

func (client AccountsClient) ListKeysSender(req *http.Request) (*http.Response, error)

ListKeysSender sends the ListKeys request. The method will close the http.Response Body if it receives an error.

func (AccountsClient) ListPreparer

func (client AccountsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (AccountsClient) ListResponder

func (client AccountsClient) ListResponder(resp *http.Response) (result AccountList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AccountsClient) ListSender

func (client AccountsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (AccountsClient) RegenerateKey

func (client AccountsClient) RegenerateKey(ctx context.Context, resourceGroupName string, accountName string, parameter RegenerateKeyParameter) (result KeyDescription, err error)

RegenerateKey sends the regenerate key request. Parameters: resourceGroupName - resource Group Name accountName - account Name parameter - parameters specifying the key to be regenerated

func (AccountsClient) RegenerateKeyPreparer

func (client AccountsClient) RegenerateKeyPreparer(ctx context.Context, resourceGroupName string, accountName string, parameter RegenerateKeyParameter) (*http.Request, error)

RegenerateKeyPreparer prepares the RegenerateKey request.

func (AccountsClient) RegenerateKeyResponder

func (client AccountsClient) RegenerateKeyResponder(resp *http.Response) (result KeyDescription, err error)

RegenerateKeyResponder handles the response to the RegenerateKey request. The method always closes the http.Response Body.

func (AccountsClient) RegenerateKeySender

func (client AccountsClient) RegenerateKeySender(req *http.Request) (*http.Response, error)

RegenerateKeySender sends the RegenerateKey request. The method will close the http.Response Body if it receives an error.

func (AccountsClient) Update

func (client AccountsClient) Update(ctx context.Context, resourceGroupName string, accountName string, accountPatch AccountPatch) (result Account, err error)

Update sends the update request. Parameters: resourceGroupName - resource Group Name accountName - account Name accountPatch - the account patch

func (AccountsClient) UpdatePreparer

func (client AccountsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, accountPatch AccountPatch) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (AccountsClient) UpdateResponder

func (client AccountsClient) UpdateResponder(resp *http.Response) (result Account, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (AccountsClient) UpdateSender

func (client AccountsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Engagementfabric.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (BaseClient) CheckNameAvailability

func (client BaseClient) CheckNameAvailability(ctx context.Context, resourceGroupName string, parameters CheckNameAvailabilityParameter) (result CheckNameAvailabilityResult, err error)

CheckNameAvailability sends the check name availability request. Parameters: resourceGroupName - resource Group Name parameters - parameter describing the name to be checked

func (BaseClient) CheckNameAvailabilityPreparer

func (client BaseClient) CheckNameAvailabilityPreparer(ctx context.Context, resourceGroupName string, parameters CheckNameAvailabilityParameter) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (BaseClient) CheckNameAvailabilityResponder

func (client BaseClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityResult, err error)

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (BaseClient) CheckNameAvailabilitySender

func (client BaseClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.

type Channel

type Channel struct {
	autorest.Response `json:"-"`
	// ChannelProperties - The properties of the channel
	*ChannelProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; The ID of the resource
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The fully qualified type of the resource
	Type *string `json:"type,omitempty"`
}

Channel the EngagementFabric channel

func (Channel) MarshalJSON

func (c Channel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Channel.

func (*Channel) UnmarshalJSON

func (c *Channel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Channel struct.

type ChannelList

type ChannelList struct {
	autorest.Response `json:"-"`
	// Value - EngagementFabric channels
	Value *[]Channel `json:"value,omitempty"`
}

ChannelList the list of the EngagementFabric channels

type ChannelProperties

type ChannelProperties struct {
	// ChannelType - The channel type
	ChannelType *string `json:"channelType,omitempty"`
	// ChannelFunctions - The functions to be enabled for the channel
	ChannelFunctions *[]string `json:"channelFunctions,omitempty"`
	// Credentials - The channel credentials
	Credentials map[string]*string `json:"credentials"`
}

ChannelProperties the EngagementFabric channel properties

func (ChannelProperties) MarshalJSON

func (cp ChannelProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ChannelProperties.

type ChannelTypeDescription

type ChannelTypeDescription struct {
	// ChannelType - Channel type
	ChannelType *string `json:"channelType,omitempty"`
	// ChannelDescription - Text description for the channel
	ChannelDescription *string `json:"channelDescription,omitempty"`
	// ChannelFunctions - All the available functions for the channel
	ChannelFunctions *[]string `json:"channelFunctions,omitempty"`
}

ChannelTypeDescription engagementFabric channel description

type ChannelTypeDescriptionList

type ChannelTypeDescriptionList struct {
	autorest.Response `json:"-"`
	// Value - Channel descriptions
	Value *[]ChannelTypeDescription `json:"value,omitempty"`
}

ChannelTypeDescriptionList list of the EngagementFabric channel descriptions

type ChannelsClient

type ChannelsClient struct {
	BaseClient
}

ChannelsClient is the microsoft Customer Engagement Fabric

func NewChannelsClient

func NewChannelsClient(subscriptionID string) ChannelsClient

NewChannelsClient creates an instance of the ChannelsClient client.

func NewChannelsClientWithBaseURI

func NewChannelsClientWithBaseURI(baseURI string, subscriptionID string) ChannelsClient

NewChannelsClientWithBaseURI creates an instance of the ChannelsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ChannelsClient) CreateOrUpdate

func (client ChannelsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, channelName string, channel Channel) (result Channel, err error)

CreateOrUpdate sends the create or update request. Parameters: resourceGroupName - resource Group Name accountName - account Name channelName - channel Name channel - the EngagementFabric channel description

func (ChannelsClient) CreateOrUpdatePreparer

func (client ChannelsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, channelName string, channel Channel) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ChannelsClient) CreateOrUpdateResponder

func (client ChannelsClient) CreateOrUpdateResponder(resp *http.Response) (result Channel, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ChannelsClient) CreateOrUpdateSender

func (client ChannelsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ChannelsClient) Delete

func (client ChannelsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, channelName string) (result autorest.Response, err error)

Delete sends the delete request. Parameters: resourceGroupName - resource Group Name accountName - account Name channelName - the EngagementFabric channel name

func (ChannelsClient) DeletePreparer

func (client ChannelsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, channelName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ChannelsClient) DeleteResponder

func (client ChannelsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ChannelsClient) DeleteSender

func (client ChannelsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ChannelsClient) Get

func (client ChannelsClient) Get(ctx context.Context, resourceGroupName string, accountName string, channelName string) (result Channel, err error)

Get sends the get request. Parameters: resourceGroupName - resource Group Name accountName - account Name channelName - channel Name

func (ChannelsClient) GetPreparer

func (client ChannelsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, channelName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ChannelsClient) GetResponder

func (client ChannelsClient) GetResponder(resp *http.Response) (result Channel, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ChannelsClient) GetSender

func (client ChannelsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ChannelsClient) ListByAccount

func (client ChannelsClient) ListByAccount(ctx context.Context, resourceGroupName string, accountName string) (result ChannelList, err error)

ListByAccount sends the list by account request. Parameters: resourceGroupName - resource Group Name accountName - account Name

func (ChannelsClient) ListByAccountPreparer

func (client ChannelsClient) ListByAccountPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

ListByAccountPreparer prepares the ListByAccount request.

func (ChannelsClient) ListByAccountResponder

func (client ChannelsClient) ListByAccountResponder(resp *http.Response) (result ChannelList, err error)

ListByAccountResponder handles the response to the ListByAccount request. The method always closes the http.Response Body.

func (ChannelsClient) ListByAccountSender

func (client ChannelsClient) ListByAccountSender(req *http.Request) (*http.Response, error)

ListByAccountSender sends the ListByAccount request. The method will close the http.Response Body if it receives an error.

type CheckNameAvailabilityParameter

type CheckNameAvailabilityParameter struct {
	// Name - The name to be checked
	Name *string `json:"name,omitempty"`
	// Type - The fully qualified resource type for the name to be checked
	Type *string `json:"type,omitempty"`
}

CheckNameAvailabilityParameter the parameter for name availability check

type CheckNameAvailabilityResult

type CheckNameAvailabilityResult struct {
	autorest.Response `json:"-"`
	// NameAvailable - READ-ONLY; The name to be checked
	NameAvailable *bool `json:"nameAvailable,omitempty"`
	// Reason - READ-ONLY; The reason if name is unavailable. Possible values include: 'Invalid', 'AlreadyExists'
	Reason CheckNameUnavailableReason `json:"reason,omitempty"`
	// Message - READ-ONLY; The message if name is unavailable
	Message *string `json:"message,omitempty"`
}

CheckNameAvailabilityResult the result of name availability check

type CheckNameUnavailableReason

type CheckNameUnavailableReason string

CheckNameUnavailableReason enumerates the values for check name unavailable reason.

const (
	// AlreadyExists ...
	AlreadyExists CheckNameUnavailableReason = "AlreadyExists"
	// Invalid ...
	Invalid CheckNameUnavailableReason = "Invalid"
)

func PossibleCheckNameUnavailableReasonValues

func PossibleCheckNameUnavailableReasonValues() []CheckNameUnavailableReason

PossibleCheckNameUnavailableReasonValues returns an array of possible values for the CheckNameUnavailableReason const type.

type CloudError

type CloudError struct {
	// Error - Content of the error
	Error *CloudErrorBody `json:"error,omitempty"`
}

CloudError the default error response

type CloudErrorBody

type CloudErrorBody struct {
	// Code - The error code
	Code *string `json:"code,omitempty"`
	// Message - The error message
	Message *string `json:"message,omitempty"`
	// Target - The target of the particular error
	Target *string `json:"target,omitempty"`
	// Details - The list of additional details
	Details *[]CloudErrorBody `json:"details,omitempty"`
}

CloudErrorBody content of the default error response

type KeyDescription

type KeyDescription struct {
	autorest.Response `json:"-"`
	// Name - READ-ONLY; The name of the key
	Name *string `json:"name,omitempty"`
	// Rank - READ-ONLY; The rank of the key. Possible values include: 'PrimaryKey', 'SecondaryKey'
	Rank KeyRank `json:"rank,omitempty"`
	// Value - READ-ONLY; The value of the key
	Value *string `json:"value,omitempty"`
}

KeyDescription the description of the EngagementFabric account key

type KeyDescriptionList

type KeyDescriptionList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; Account keys
	Value *[]KeyDescription `json:"value,omitempty"`
}

KeyDescriptionList the list of the EngagementFabric account keys

type KeyRank

type KeyRank string

KeyRank enumerates the values for key rank.

const (
	// PrimaryKey ...
	PrimaryKey KeyRank = "PrimaryKey"
	// SecondaryKey ...
	SecondaryKey KeyRank = "SecondaryKey"
)

func PossibleKeyRankValues

func PossibleKeyRankValues() []KeyRank

PossibleKeyRankValues returns an array of possible values for the KeyRank const type.

type Operation

type Operation struct {
	// Name - READ-ONLY; The name of the EngagementFabric operation
	Name *string `json:"name,omitempty"`
	// Display - READ-ONLY; The display content of the EngagementFabric operation
	Display *OperationDisplay `json:"display,omitempty"`
}

Operation the EngagementFabric operation

type OperationDisplay

type OperationDisplay struct {
	// Provider - READ-ONLY; The resource provider namespace of the EngagementFabric operation
	Provider *string `json:"provider,omitempty"`
	// Resource - READ-ONLY; The resource type of the EngagementFabric operation
	Resource *string `json:"resource,omitempty"`
	// Operation - READ-ONLY; The name of the EngagementFabric operation
	Operation *string `json:"operation,omitempty"`
	// Description - READ-ONLY; The description of the EngagementFabric operation
	Description *string `json:"description,omitempty"`
}

OperationDisplay the display information of the EngagementFabric operation

type OperationList

type OperationList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; The EngagementFabric operations
	Value *[]Operation `json:"value,omitempty"`
}

OperationList the list of the EngagementFabric operations

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the microsoft Customer Engagement Fabric

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationList, err error)

List sends the list request.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ProxyOnlyResource

type ProxyOnlyResource struct {
	// ID - READ-ONLY; The ID of the resource
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The fully qualified type of the resource
	Type *string `json:"type,omitempty"`
}

ProxyOnlyResource the base model for the proxy-only Azure resource

type RegenerateKeyParameter

type RegenerateKeyParameter struct {
	// Name - The name of key to be regenerated
	Name *string `json:"name,omitempty"`
	// Rank - The rank of the key to be regenerated. Possible values include: 'PrimaryKey', 'SecondaryKey'
	Rank KeyRank `json:"rank,omitempty"`
}

RegenerateKeyParameter the parameter to regenerate single EngagementFabric account key

type Resource

type Resource struct {
	// ID - READ-ONLY; The ID of the resource
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The fully qualified type of the resource
	Type *string `json:"type,omitempty"`
}

Resource the base model for Azure resource

type SKU

type SKU struct {
	// Name - The name of the SKU
	Name *string `json:"name,omitempty"`
	// Tier - The price tier of the SKU
	Tier *string `json:"tier,omitempty"`
}

SKU the EngagementFabric SKU

type SKUsClient

type SKUsClient struct {
	BaseClient
}

SKUsClient is the microsoft Customer Engagement Fabric

func NewSKUsClient

func NewSKUsClient(subscriptionID string) SKUsClient

NewSKUsClient creates an instance of the SKUsClient client.

func NewSKUsClientWithBaseURI

func NewSKUsClientWithBaseURI(baseURI string, subscriptionID string) SKUsClient

NewSKUsClientWithBaseURI creates an instance of the SKUsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SKUsClient) List

func (client SKUsClient) List(ctx context.Context) (result SkuDescriptionList, err error)

List sends the list request.

func (SKUsClient) ListPreparer

func (client SKUsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (SKUsClient) ListResponder

func (client SKUsClient) ListResponder(resp *http.Response) (result SkuDescriptionList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SKUsClient) ListSender

func (client SKUsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type SkuDescription

type SkuDescription struct {
	// ResourceType - READ-ONLY; The fully qualified resource type
	ResourceType *string `json:"resourceType,omitempty"`
	// Name - READ-ONLY; The name of the SKU
	Name *string `json:"name,omitempty"`
	// Tier - READ-ONLY; The price tier of the SKU
	Tier *string `json:"tier,omitempty"`
	// Locations - READ-ONLY; The set of locations that the SKU is available
	Locations *[]string `json:"locations,omitempty"`
	// LocationInfo - READ-ONLY; Locations and zones
	LocationInfo *[]SkuLocationInfoItem `json:"locationInfo,omitempty"`
	// Restrictions - READ-ONLY; The restrictions because of which SKU cannot be used
	Restrictions *[]interface{} `json:"restrictions,omitempty"`
}

SkuDescription the EngagementFabric SKU description of given resource type

type SkuDescriptionList

type SkuDescriptionList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; SKU descriptions
	Value *[]SkuDescription `json:"value,omitempty"`
}

SkuDescriptionList the list of the EngagementFabric SKU descriptions

type SkuLocationInfoItem

type SkuLocationInfoItem struct {
	// Location - The available location of the SKU
	Location *string `json:"location,omitempty"`
	// Zones - The available zone of the SKU
	Zones *[]string `json:"zones,omitempty"`
}

SkuLocationInfoItem the Locations and zones info for SKU

type TrackedResource

type TrackedResource struct {
	// Location - The location of the resource
	Location *string `json:"location,omitempty"`
	// Tags - The tags of the resource
	Tags map[string]*string `json:"tags"`
	// Sku - The SKU of the resource
	Sku *SKU `json:"sku,omitempty"`
	// ID - READ-ONLY; The ID of the resource
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The fully qualified type of the resource
	Type *string `json:"type,omitempty"`
}

TrackedResource the base model for the tracked Azure resource

func (TrackedResource) MarshalJSON

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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