support

package
v59.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package support implements the Azure ARM Support service API version 2020-04-01.

Microsoft Azure Support Resource Provider.

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Support
	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 BaseClient

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

BaseClient is the base client for Support.

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).

type CheckNameAvailabilityInput

type CheckNameAvailabilityInput struct {
	// Name - The resource name to validate.
	Name *string `json:"name,omitempty"`
	// Type - The type of resource. Possible values include: 'MicrosoftSupportsupportTickets', 'MicrosoftSupportcommunications'
	Type Type `json:"type,omitempty"`
}

CheckNameAvailabilityInput input of CheckNameAvailability API.

type CheckNameAvailabilityOutput

type CheckNameAvailabilityOutput struct {
	autorest.Response `json:"-"`
	// NameAvailable - READ-ONLY; Indicates whether the name is available.
	NameAvailable *bool `json:"nameAvailable,omitempty"`
	// Reason - READ-ONLY; The reason why the name is not available.
	Reason *string `json:"reason,omitempty"`
	// Message - READ-ONLY; The detailed error message describing why the name is not available.
	Message *string `json:"message,omitempty"`
}

CheckNameAvailabilityOutput output of check name availability API.

func (CheckNameAvailabilityOutput) MarshalJSON

func (cnao CheckNameAvailabilityOutput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CheckNameAvailabilityOutput.

type CommunicationDetails

type CommunicationDetails struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Id of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the resource 'Microsoft.Support/communications'.
	Type *string `json:"type,omitempty"`
	// CommunicationDetailsProperties - Properties of the resource.
	*CommunicationDetailsProperties `json:"properties,omitempty"`
}

CommunicationDetails object that represents a Communication resource.

func (CommunicationDetails) MarshalJSON

func (cd CommunicationDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CommunicationDetails.

func (*CommunicationDetails) UnmarshalJSON

func (cd *CommunicationDetails) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CommunicationDetails struct.

type CommunicationDetailsProperties

type CommunicationDetailsProperties struct {
	// CommunicationType - READ-ONLY; Communication type. Possible values include: 'Web', 'Phone'
	CommunicationType CommunicationType `json:"communicationType,omitempty"`
	// CommunicationDirection - READ-ONLY; Direction of communication. Possible values include: 'Inbound', 'Outbound'
	CommunicationDirection CommunicationDirection `json:"communicationDirection,omitempty"`
	// Sender - Email address of the sender. This property is required if called by a service principal.
	Sender *string `json:"sender,omitempty"`
	// Subject - Subject of the communication.
	Subject *string `json:"subject,omitempty"`
	// Body - Body of the communication.
	Body *string `json:"body,omitempty"`
	// CreatedDate - READ-ONLY; Time in UTC (ISO 8601 format) when the communication was created.
	CreatedDate *date.Time `json:"createdDate,omitempty"`
}

CommunicationDetailsProperties describes the properties of a communication resource.

func (CommunicationDetailsProperties) MarshalJSON

func (cdp CommunicationDetailsProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CommunicationDetailsProperties.

type CommunicationDirection

type CommunicationDirection string

CommunicationDirection enumerates the values for communication direction.

const (
	// Inbound ...
	Inbound CommunicationDirection = "inbound"
	// Outbound ...
	Outbound CommunicationDirection = "outbound"
)

func PossibleCommunicationDirectionValues

func PossibleCommunicationDirectionValues() []CommunicationDirection

PossibleCommunicationDirectionValues returns an array of possible values for the CommunicationDirection const type.

type CommunicationType

type CommunicationType string

CommunicationType enumerates the values for communication type.

const (
	// Phone ...
	Phone CommunicationType = "phone"
	// Web ...
	Web CommunicationType = "web"
)

func PossibleCommunicationTypeValues

func PossibleCommunicationTypeValues() []CommunicationType

PossibleCommunicationTypeValues returns an array of possible values for the CommunicationType const type.

type CommunicationsClient

type CommunicationsClient struct {
	BaseClient
}

CommunicationsClient is the microsoft Azure Support Resource Provider.

func NewCommunicationsClient

func NewCommunicationsClient(subscriptionID string) CommunicationsClient

NewCommunicationsClient creates an instance of the CommunicationsClient client.

func NewCommunicationsClientWithBaseURI

func NewCommunicationsClientWithBaseURI(baseURI string, subscriptionID string) CommunicationsClient

NewCommunicationsClientWithBaseURI creates an instance of the CommunicationsClient 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 (CommunicationsClient) CheckNameAvailability

func (client CommunicationsClient) CheckNameAvailability(ctx context.Context, supportTicketName string, checkNameAvailabilityInput CheckNameAvailabilityInput) (result CheckNameAvailabilityOutput, err error)

CheckNameAvailability check the availability of a resource name. This API should be used to check the uniqueness of the name for adding a new communication to the support ticket. Parameters: supportTicketName - support ticket name. checkNameAvailabilityInput - input to check.

func (CommunicationsClient) CheckNameAvailabilityPreparer

func (client CommunicationsClient) CheckNameAvailabilityPreparer(ctx context.Context, supportTicketName string, checkNameAvailabilityInput CheckNameAvailabilityInput) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (CommunicationsClient) CheckNameAvailabilityResponder

func (client CommunicationsClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityOutput, err error)

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

func (CommunicationsClient) CheckNameAvailabilitySender

func (client CommunicationsClient) 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.

func (CommunicationsClient) Create

func (client CommunicationsClient) Create(ctx context.Context, supportTicketName string, communicationName string, createCommunicationParameters CommunicationDetails) (result CommunicationsCreateFuture, err error)

Create adds a new customer communication to an Azure support ticket. Parameters: supportTicketName - support ticket name. communicationName - communication name. createCommunicationParameters - communication object.

func (CommunicationsClient) CreatePreparer

func (client CommunicationsClient) CreatePreparer(ctx context.Context, supportTicketName string, communicationName string, createCommunicationParameters CommunicationDetails) (*http.Request, error)

CreatePreparer prepares the Create request.

func (CommunicationsClient) CreateResponder

func (client CommunicationsClient) CreateResponder(resp *http.Response) (result CommunicationDetails, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (CommunicationsClient) CreateSender

func (client CommunicationsClient) CreateSender(req *http.Request) (future CommunicationsCreateFuture, err error)

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

func (CommunicationsClient) Get

func (client CommunicationsClient) Get(ctx context.Context, supportTicketName string, communicationName string) (result CommunicationDetails, err error)

Get returns communication details for a support ticket. Parameters: supportTicketName - support ticket name. communicationName - communication name.

func (CommunicationsClient) GetPreparer

func (client CommunicationsClient) GetPreparer(ctx context.Context, supportTicketName string, communicationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (CommunicationsClient) GetResponder

func (client CommunicationsClient) GetResponder(resp *http.Response) (result CommunicationDetails, err error)

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

func (CommunicationsClient) GetSender

func (client CommunicationsClient) 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 (CommunicationsClient) List

func (client CommunicationsClient) List(ctx context.Context, supportTicketName string, top *int32, filter string) (result CommunicationsListResultPage, err error)

List lists all communications (attachments not included) for a support ticket. <br/></br> You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results. <br/><br/>Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. Parameters: supportTicketName - support ticket name. top - the number of values to return in the collection. Default is 10 and max is 10. filter - the filter to apply on the operation. You can filter by communicationType and createdDate properties. CommunicationType supports Equals ('eq') operator and createdDate supports Greater Than ('gt') and Greater Than or Equals ('ge') operators. You may combine the CommunicationType and CreatedDate filters by Logical And ('and') operator.

func (CommunicationsClient) ListComplete

func (client CommunicationsClient) ListComplete(ctx context.Context, supportTicketName string, top *int32, filter string) (result CommunicationsListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (CommunicationsClient) ListPreparer

func (client CommunicationsClient) ListPreparer(ctx context.Context, supportTicketName string, top *int32, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (CommunicationsClient) ListResponder

func (client CommunicationsClient) ListResponder(resp *http.Response) (result CommunicationsListResult, err error)

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

func (CommunicationsClient) ListSender

func (client CommunicationsClient) 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 CommunicationsCreateFuture

type CommunicationsCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(CommunicationsClient) (CommunicationDetails, error)
}

CommunicationsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*CommunicationsCreateFuture) UnmarshalJSON

func (future *CommunicationsCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CommunicationsListResult

type CommunicationsListResult struct {
	autorest.Response `json:"-"`
	// Value - List of Communication resources.
	Value *[]CommunicationDetails `json:"value,omitempty"`
	// NextLink - The URI to fetch the next page of Communication resources.
	NextLink *string `json:"nextLink,omitempty"`
}

CommunicationsListResult collection of Communication resources.

func (CommunicationsListResult) IsEmpty

func (clr CommunicationsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type CommunicationsListResultIterator

type CommunicationsListResultIterator struct {
	// contains filtered or unexported fields
}

CommunicationsListResultIterator provides access to a complete listing of CommunicationDetails values.

func NewCommunicationsListResultIterator

func NewCommunicationsListResultIterator(page CommunicationsListResultPage) CommunicationsListResultIterator

Creates a new instance of the CommunicationsListResultIterator type.

func (*CommunicationsListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*CommunicationsListResultIterator) NextWithContext

func (iter *CommunicationsListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (CommunicationsListResultIterator) NotDone

func (iter CommunicationsListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (CommunicationsListResultIterator) Response

Response returns the raw server response from the last page request.

func (CommunicationsListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type CommunicationsListResultPage

type CommunicationsListResultPage struct {
	// contains filtered or unexported fields
}

CommunicationsListResultPage contains a page of CommunicationDetails values.

func NewCommunicationsListResultPage

Creates a new instance of the CommunicationsListResultPage type.

func (*CommunicationsListResultPage) Next

func (page *CommunicationsListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*CommunicationsListResultPage) NextWithContext

func (page *CommunicationsListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (CommunicationsListResultPage) NotDone

func (page CommunicationsListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (CommunicationsListResultPage) Response

Response returns the raw server response from the last page request.

func (CommunicationsListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ContactProfile

type ContactProfile struct {
	// FirstName - First name.
	FirstName *string `json:"firstName,omitempty"`
	// LastName - Last name.
	LastName *string `json:"lastName,omitempty"`
	// PreferredContactMethod - Preferred contact method. Possible values include: 'PreferredContactMethodEmail', 'PreferredContactMethodPhone'
	PreferredContactMethod PreferredContactMethod `json:"preferredContactMethod,omitempty"`
	// PrimaryEmailAddress - Primary email address.
	PrimaryEmailAddress *string `json:"primaryEmailAddress,omitempty"`
	// AdditionalEmailAddresses - Additional email addresses listed will be copied on any correspondence about the support ticket.
	AdditionalEmailAddresses *[]string `json:"additionalEmailAddresses,omitempty"`
	// PhoneNumber - Phone number. This is required if preferred contact method is phone.
	PhoneNumber *string `json:"phoneNumber,omitempty"`
	// PreferredTimeZone - Time zone of the user. This is the name of the time zone from [Microsoft Time Zone Index Values](https://support.microsoft.com/help/973627/microsoft-time-zone-index-values).
	PreferredTimeZone *string `json:"preferredTimeZone,omitempty"`
	// Country - Country of the user. This is the ISO 3166-1 alpha-3 code.
	Country *string `json:"country,omitempty"`
	// PreferredSupportLanguage - Preferred language of support from Azure. Support languages vary based on the severity you choose for your support ticket. Learn more at [Azure Severity and responsiveness](https://azure.microsoft.com/support/plans/response). Use the standard language-country code. Valid values are 'en-us' for English, 'zh-hans' for Chinese, 'es-es' for Spanish, 'fr-fr' for French, 'ja-jp' for Japanese, 'ko-kr' for Korean, 'ru-ru' for Russian, 'pt-br' for Portuguese, 'it-it' for Italian, 'zh-tw' for Chinese and 'de-de' for German.
	PreferredSupportLanguage *string `json:"preferredSupportLanguage,omitempty"`
}

ContactProfile contact information associated with the support ticket.

type Engineer

type Engineer struct {
	// EmailAddress - READ-ONLY; Email address of the Azure Support engineer assigned to the support ticket.
	EmailAddress *string `json:"emailAddress,omitempty"`
}

Engineer support engineer information.

func (Engineer) MarshalJSON

func (e Engineer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Engineer.

type ExceptionResponse

type ExceptionResponse struct {
	// Error - The API error details.
	Error *ServiceError `json:"error,omitempty"`
}

ExceptionResponse the API error.

type Operation

type Operation struct {
	// Name - READ-ONLY; Operation name: {provider}/{resource}/{operation}.
	Name *string `json:"name,omitempty"`
	// Display - The object that describes the operation.
	Display *OperationDisplay `json:"display,omitempty"`
}

Operation the operation supported by Microsoft Support resource provider.

func (Operation) MarshalJSON

func (o Operation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Operation.

type OperationDisplay

type OperationDisplay struct {
	// Description - READ-ONLY; The description of the operation.
	Description *string `json:"description,omitempty"`
	// Operation - READ-ONLY; The action that users can perform, based on their permission level.
	Operation *string `json:"operation,omitempty"`
	// Provider - READ-ONLY; Service provider: Microsoft Support.
	Provider *string `json:"provider,omitempty"`
	// Resource - READ-ONLY; Resource on which the operation is performed.
	Resource *string `json:"resource,omitempty"`
}

OperationDisplay the object that describes the operation.

func (OperationDisplay) MarshalJSON

func (o OperationDisplay) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationDisplay.

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the microsoft Azure Support Resource Provider.

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 OperationsListResult, err error)

List this lists all the available Microsoft Support REST API operations.

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 OperationsListResult, 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 OperationsListResult

type OperationsListResult struct {
	autorest.Response `json:"-"`
	// Value - The list of operations supported by Microsoft Support resource provider.
	Value *[]Operation `json:"value,omitempty"`
}

OperationsListResult the list of operations supported by Microsoft Support resource provider.

type PreferredContactMethod

type PreferredContactMethod string

PreferredContactMethod enumerates the values for preferred contact method.

const (
	// PreferredContactMethodEmail ...
	PreferredContactMethodEmail PreferredContactMethod = "email"
	// PreferredContactMethodPhone ...
	PreferredContactMethodPhone PreferredContactMethod = "phone"
)

func PossiblePreferredContactMethodValues

func PossiblePreferredContactMethodValues() []PreferredContactMethod

PossiblePreferredContactMethodValues returns an array of possible values for the PreferredContactMethod const type.

type ProblemClassification

type ProblemClassification struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Id of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the resource 'Microsoft.Support/problemClassification'.
	Type *string `json:"type,omitempty"`
	// ProblemClassificationProperties - Properties of the resource.
	*ProblemClassificationProperties `json:"properties,omitempty"`
}

ProblemClassification problemClassification resource object.

func (ProblemClassification) MarshalJSON

func (pc ProblemClassification) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProblemClassification.

func (*ProblemClassification) UnmarshalJSON

func (pc *ProblemClassification) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ProblemClassification struct.

type ProblemClassificationProperties

type ProblemClassificationProperties struct {
	// DisplayName - Localized name of problem classification.
	DisplayName *string `json:"displayName,omitempty"`
}

ProblemClassificationProperties details about a problem classification available for an Azure service.

type ProblemClassificationsClient

type ProblemClassificationsClient struct {
	BaseClient
}

ProblemClassificationsClient is the microsoft Azure Support Resource Provider.

func NewProblemClassificationsClient

func NewProblemClassificationsClient(subscriptionID string) ProblemClassificationsClient

NewProblemClassificationsClient creates an instance of the ProblemClassificationsClient client.

func NewProblemClassificationsClientWithBaseURI

func NewProblemClassificationsClientWithBaseURI(baseURI string, subscriptionID string) ProblemClassificationsClient

NewProblemClassificationsClientWithBaseURI creates an instance of the ProblemClassificationsClient 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 (ProblemClassificationsClient) Get

func (client ProblemClassificationsClient) Get(ctx context.Context, serviceName string, problemClassificationName string) (result ProblemClassification, err error)

Get get problem classification details for a specific Azure service. Parameters: serviceName - name of the Azure service available for support. problemClassificationName - name of problem classification.

func (ProblemClassificationsClient) GetPreparer

func (client ProblemClassificationsClient) GetPreparer(ctx context.Context, serviceName string, problemClassificationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ProblemClassificationsClient) GetResponder

func (client ProblemClassificationsClient) GetResponder(resp *http.Response) (result ProblemClassification, err error)

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

func (ProblemClassificationsClient) GetSender

func (client ProblemClassificationsClient) 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 (ProblemClassificationsClient) List

func (client ProblemClassificationsClient) List(ctx context.Context, serviceName string) (result ProblemClassificationsListResult, err error)

List lists all the problem classifications (categories) available for a specific Azure service. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids. Parameters: serviceName - name of the Azure service for which the problem classifications need to be retrieved.

func (ProblemClassificationsClient) ListPreparer

func (client ProblemClassificationsClient) ListPreparer(ctx context.Context, serviceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ProblemClassificationsClient) ListResponder

func (client ProblemClassificationsClient) ListResponder(resp *http.Response) (result ProblemClassificationsListResult, err error)

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

func (ProblemClassificationsClient) ListSender

func (client ProblemClassificationsClient) 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 ProblemClassificationsListResult

type ProblemClassificationsListResult struct {
	autorest.Response `json:"-"`
	// Value - List of ProblemClassification resources.
	Value *[]ProblemClassification `json:"value,omitempty"`
}

ProblemClassificationsListResult collection of ProblemClassification resources.

type QuotaChangeRequest

type QuotaChangeRequest struct {
	// Region - Region for which the quota increase request is being made.
	Region *string `json:"region,omitempty"`
	// Payload - Payload of the quota increase request.
	Payload *string `json:"payload,omitempty"`
}

QuotaChangeRequest this property is required for providing the region and new quota limits.

type QuotaTicketDetails

type QuotaTicketDetails struct {
	// QuotaChangeRequestSubType - Required for certain quota types when there is a sub type, such as Batch, for which you are requesting a quota increase.
	QuotaChangeRequestSubType *string `json:"quotaChangeRequestSubType,omitempty"`
	// QuotaChangeRequestVersion - Quota change request version.
	QuotaChangeRequestVersion *string `json:"quotaChangeRequestVersion,omitempty"`
	// QuotaChangeRequests - This property is required for providing the region and new quota limits.
	QuotaChangeRequests *[]QuotaChangeRequest `json:"quotaChangeRequests,omitempty"`
}

QuotaTicketDetails additional set of information required for quota increase support ticket for certain quota types, e.g.: Virtual machine cores. Get complete details about Quota payload support request along with examples at [Support quota request](https://aka.ms/supportrpquotarequestpayload).

type Service

type Service struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Id of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the resource 'Microsoft.Support/services'.
	Type *string `json:"type,omitempty"`
	// ServiceProperties - Properties of the resource.
	*ServiceProperties `json:"properties,omitempty"`
}

Service object that represents a Service resource.

func (Service) MarshalJSON

func (s Service) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Service.

func (*Service) UnmarshalJSON

func (s *Service) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Service struct.

type ServiceError

type ServiceError struct {
	// Code - The error code.
	Code *string `json:"code,omitempty"`
	// Message - The error message.
	Message *string `json:"message,omitempty"`
	// Target - The target of the error.
	Target *string `json:"target,omitempty"`
	// Details - READ-ONLY; The list of error details.
	Details *[]ServiceErrorDetail `json:"details,omitempty"`
}

ServiceError the API error details.

func (ServiceError) MarshalJSON

func (se ServiceError) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceError.

type ServiceErrorDetail

type ServiceErrorDetail struct {
	// Code - READ-ONLY; The error code.
	Code *string `json:"code,omitempty"`
	// Message - READ-ONLY; The error message.
	Message *string `json:"message,omitempty"`
	// Target - The target of the error.
	Target *string `json:"target,omitempty"`
}

ServiceErrorDetail the error details.

func (ServiceErrorDetail) MarshalJSON

func (sed ServiceErrorDetail) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceErrorDetail.

type ServiceLevelAgreement

type ServiceLevelAgreement struct {
	// StartTime - READ-ONLY; Time in UTC (ISO 8601 format) when the service level agreement starts.
	StartTime *date.Time `json:"startTime,omitempty"`
	// ExpirationTime - READ-ONLY; Time in UTC (ISO 8601 format) when the service level agreement expires.
	ExpirationTime *date.Time `json:"expirationTime,omitempty"`
	// SLAMinutes - READ-ONLY; Service Level Agreement in minutes.
	SLAMinutes *int32 `json:"slaMinutes,omitempty"`
}

ServiceLevelAgreement service Level Agreement details for a support ticket.

func (ServiceLevelAgreement) MarshalJSON

func (SLA ServiceLevelAgreement) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceLevelAgreement.

type ServiceProperties

type ServiceProperties struct {
	// DisplayName - Localized name of the Azure service.
	DisplayName *string `json:"displayName,omitempty"`
	// ResourceTypes - ARM Resource types.
	ResourceTypes *[]string `json:"resourceTypes,omitempty"`
}

ServiceProperties details about an Azure service available for support ticket creation.

type ServicesClient

type ServicesClient struct {
	BaseClient
}

ServicesClient is the microsoft Azure Support Resource Provider.

func NewServicesClient

func NewServicesClient(subscriptionID string) ServicesClient

NewServicesClient creates an instance of the ServicesClient client.

func NewServicesClientWithBaseURI

func NewServicesClientWithBaseURI(baseURI string, subscriptionID string) ServicesClient

NewServicesClientWithBaseURI creates an instance of the ServicesClient 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 (ServicesClient) Get

func (client ServicesClient) Get(ctx context.Context, serviceName string) (result Service, err error)

Get gets a specific Azure service for support ticket creation. Parameters: serviceName - name of the Azure service.

func (ServicesClient) GetPreparer

func (client ServicesClient) GetPreparer(ctx context.Context, serviceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ServicesClient) GetResponder

func (client ServicesClient) GetResponder(resp *http.Response) (result Service, err error)

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

func (ServicesClient) GetSender

func (client ServicesClient) 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 (ServicesClient) List

func (client ServicesClient) List(ctx context.Context) (result ServicesListResult, err error)

List lists all the Azure services available for support ticket creation. For **Technical** issues, select the Service Id that maps to the Azure service/product as displayed in the **Services** drop-down list on the Azure portal's [New support request](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/overview) page. Always use the service and its corresponding problem classification(s) obtained programmatically for support ticket creation. This practice ensures that you always have the most recent set of service and problem classification Ids.

func (ServicesClient) ListPreparer

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

ListPreparer prepares the List request.

func (ServicesClient) ListResponder

func (client ServicesClient) ListResponder(resp *http.Response) (result ServicesListResult, err error)

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

func (ServicesClient) ListSender

func (client ServicesClient) 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 ServicesListResult

type ServicesListResult struct {
	autorest.Response `json:"-"`
	// Value - List of Service resources.
	Value *[]Service `json:"value,omitempty"`
}

ServicesListResult collection of Service resources.

type SeverityLevel

type SeverityLevel string

SeverityLevel enumerates the values for severity level.

const (
	// Critical ...
	Critical SeverityLevel = "critical"
	// Highestcriticalimpact ...
	Highestcriticalimpact SeverityLevel = "highestcriticalimpact"
	// Minimal ...
	Minimal SeverityLevel = "minimal"
	// Moderate ...
	Moderate SeverityLevel = "moderate"
)

func PossibleSeverityLevelValues

func PossibleSeverityLevelValues() []SeverityLevel

PossibleSeverityLevelValues returns an array of possible values for the SeverityLevel const type.

type Status

type Status string

Status enumerates the values for status.

const (
	// Closed ...
	Closed Status = "closed"
	// Open ...
	Open Status = "open"
)

func PossibleStatusValues

func PossibleStatusValues() []Status

PossibleStatusValues returns an array of possible values for the Status const type.

type TechnicalTicketDetails

type TechnicalTicketDetails struct {
	// ResourceID - This is the resource Id of the Azure service resource (For example: A virtual machine resource or an HDInsight resource) for which the support ticket is created.
	ResourceID *string `json:"resourceId,omitempty"`
}

TechnicalTicketDetails additional information for technical support ticket.

type TicketDetails

type TicketDetails struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Id of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the resource 'Microsoft.Support/supportTickets'.
	Type *string `json:"type,omitempty"`
	// TicketDetailsProperties - Properties of the resource.
	*TicketDetailsProperties `json:"properties,omitempty"`
}

TicketDetails object that represents SupportTicketDetails resource.

func (TicketDetails) MarshalJSON

func (td TicketDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TicketDetails.

func (*TicketDetails) UnmarshalJSON

func (td *TicketDetails) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for TicketDetails struct.

type TicketDetailsProperties

type TicketDetailsProperties struct {
	// SupportTicketID - System generated support ticket Id that is unique.
	SupportTicketID *string `json:"supportTicketId,omitempty"`
	// Description - Detailed description of the question or issue.
	Description *string `json:"description,omitempty"`
	// ProblemClassificationID - Each Azure service has its own set of issue categories, also known as problem classification. This parameter is the unique Id for the type of problem you are experiencing.
	ProblemClassificationID *string `json:"problemClassificationId,omitempty"`
	// ProblemClassificationDisplayName - READ-ONLY; Localized name of problem classification.
	ProblemClassificationDisplayName *string `json:"problemClassificationDisplayName,omitempty"`
	// Severity - A value that indicates the urgency of the case, which in turn determines the response time according to the service level agreement of the technical support plan you have with Azure. Note: 'Highest critical impact', also known as the 'Emergency - Severe impact' level in the Azure portal is reserved only for our Premium customers. Possible values include: 'Minimal', 'Moderate', 'Critical', 'Highestcriticalimpact'
	Severity SeverityLevel `json:"severity,omitempty"`
	// EnrollmentID - READ-ONLY; Enrollment Id associated with the support ticket.
	EnrollmentID *string `json:"enrollmentId,omitempty"`
	// Require24X7Response - Indicates if this requires a 24x7 response from Azure.
	Require24X7Response *bool `json:"require24X7Response,omitempty"`
	// ContactDetails - Contact information of the user requesting to create a support ticket.
	ContactDetails *ContactProfile `json:"contactDetails,omitempty"`
	// ServiceLevelAgreement - Service Level Agreement information for this support ticket.
	ServiceLevelAgreement *ServiceLevelAgreement `json:"serviceLevelAgreement,omitempty"`
	// SupportEngineer - Information about the support engineer working on this support ticket.
	SupportEngineer *Engineer `json:"supportEngineer,omitempty"`
	// SupportPlanType - READ-ONLY; Support plan type associated with the support ticket.
	SupportPlanType *string `json:"supportPlanType,omitempty"`
	// Title - Title of the support ticket.
	Title *string `json:"title,omitempty"`
	// ProblemStartTime - Time in UTC (ISO 8601 format) when the problem started.
	ProblemStartTime *date.Time `json:"problemStartTime,omitempty"`
	// ServiceID - This is the resource Id of the Azure service resource associated with the support ticket.
	ServiceID *string `json:"serviceId,omitempty"`
	// ServiceDisplayName - READ-ONLY; Localized name of the Azure service.
	ServiceDisplayName *string `json:"serviceDisplayName,omitempty"`
	// Status - READ-ONLY; Status of the support ticket.
	Status *string `json:"status,omitempty"`
	// CreatedDate - READ-ONLY; Time in UTC (ISO 8601 format) when the support ticket was created.
	CreatedDate *date.Time `json:"createdDate,omitempty"`
	// ModifiedDate - READ-ONLY; Time in UTC (ISO 8601 format) when the support ticket was last modified.
	ModifiedDate *date.Time `json:"modifiedDate,omitempty"`
	// TechnicalTicketDetails - Additional ticket details associated with a technical support ticket request.
	TechnicalTicketDetails *TechnicalTicketDetails `json:"technicalTicketDetails,omitempty"`
	// QuotaTicketDetails - Additional ticket details associated with a quota support ticket request.
	QuotaTicketDetails *QuotaTicketDetails `json:"quotaTicketDetails,omitempty"`
}

TicketDetailsProperties describes the properties of a support ticket.

func (TicketDetailsProperties) MarshalJSON

func (tdp TicketDetailsProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TicketDetailsProperties.

type TicketsClient

type TicketsClient struct {
	BaseClient
}

TicketsClient is the microsoft Azure Support Resource Provider.

func NewTicketsClient

func NewTicketsClient(subscriptionID string) TicketsClient

NewTicketsClient creates an instance of the TicketsClient client.

func NewTicketsClientWithBaseURI

func NewTicketsClientWithBaseURI(baseURI string, subscriptionID string) TicketsClient

NewTicketsClientWithBaseURI creates an instance of the TicketsClient 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 (TicketsClient) CheckNameAvailability

func (client TicketsClient) CheckNameAvailability(ctx context.Context, checkNameAvailabilityInput CheckNameAvailabilityInput) (result CheckNameAvailabilityOutput, err error)

CheckNameAvailability check the availability of a resource name. This API should be used to check the uniqueness of the name for support ticket creation for the selected subscription. Parameters: checkNameAvailabilityInput - input to check.

func (TicketsClient) CheckNameAvailabilityPreparer

func (client TicketsClient) CheckNameAvailabilityPreparer(ctx context.Context, checkNameAvailabilityInput CheckNameAvailabilityInput) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (TicketsClient) CheckNameAvailabilityResponder

func (client TicketsClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityOutput, err error)

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

func (TicketsClient) CheckNameAvailabilitySender

func (client TicketsClient) 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.

func (TicketsClient) Create

func (client TicketsClient) Create(ctx context.Context, supportTicketName string, createSupportTicketParameters TicketDetails) (result TicketsCreateFuture, err error)

Create creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.<br/><br/>Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.<br/><br/>Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.<br/><br/>Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.<br/><br/>**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. Parameters: supportTicketName - support ticket name. createSupportTicketParameters - support ticket request payload.

func (TicketsClient) CreatePreparer

func (client TicketsClient) CreatePreparer(ctx context.Context, supportTicketName string, createSupportTicketParameters TicketDetails) (*http.Request, error)

CreatePreparer prepares the Create request.

func (TicketsClient) CreateResponder

func (client TicketsClient) CreateResponder(resp *http.Response) (result TicketDetails, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (TicketsClient) CreateSender

func (client TicketsClient) CreateSender(req *http.Request) (future TicketsCreateFuture, err error)

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

func (TicketsClient) Get

func (client TicketsClient) Get(ctx context.Context, supportTicketName string) (result TicketDetails, err error)

Get get ticket details for an Azure subscription. Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. Parameters: supportTicketName - support ticket name.

func (TicketsClient) GetPreparer

func (client TicketsClient) GetPreparer(ctx context.Context, supportTicketName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (TicketsClient) GetResponder

func (client TicketsClient) GetResponder(resp *http.Response) (result TicketDetails, err error)

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

func (TicketsClient) GetSender

func (client TicketsClient) 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 (TicketsClient) List

func (client TicketsClient) List(ctx context.Context, top *int32, filter string) (result TicketsListResultPage, err error)

List lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_ or _CreatedDate_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets. <br/><br/>Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. Parameters: top - the number of values to return in the collection. Default is 25 and max is 100. filter - the filter to apply on the operation. We support 'odata v4.0' filter semantics. [Learn more](https://docs.microsoft.com/odata/concepts/queryoptions-overview). _Status_ filter can only be used with Equals ('eq') operator. For _CreatedDate_ filter, the supported operators are Greater Than ('gt') and Greater Than or Equals ('ge'). When using both filters, combine them using the logical 'AND'.

func (TicketsClient) ListComplete

func (client TicketsClient) ListComplete(ctx context.Context, top *int32, filter string) (result TicketsListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (TicketsClient) ListPreparer

func (client TicketsClient) ListPreparer(ctx context.Context, top *int32, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (TicketsClient) ListResponder

func (client TicketsClient) ListResponder(resp *http.Response) (result TicketsListResult, err error)

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

func (TicketsClient) ListSender

func (client TicketsClient) 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 (TicketsClient) Update

func (client TicketsClient) Update(ctx context.Context, supportTicketName string, updateSupportTicket UpdateSupportTicket) (result TicketDetails, err error)

Update this API allows you to update the severity level, ticket status, and your contact information in the support ticket.<br/><br/>Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.<br/><br/>Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer. Parameters: supportTicketName - support ticket name. updateSupportTicket - updateSupportTicket object.

func (TicketsClient) UpdatePreparer

func (client TicketsClient) UpdatePreparer(ctx context.Context, supportTicketName string, updateSupportTicket UpdateSupportTicket) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (TicketsClient) UpdateResponder

func (client TicketsClient) UpdateResponder(resp *http.Response) (result TicketDetails, err error)

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

func (TicketsClient) UpdateSender

func (client TicketsClient) 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 TicketsCreateFuture

type TicketsCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(TicketsClient) (TicketDetails, error)
}

TicketsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*TicketsCreateFuture) UnmarshalJSON

func (future *TicketsCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type TicketsListResult

type TicketsListResult struct {
	autorest.Response `json:"-"`
	// Value - List of SupportTicket resources.
	Value *[]TicketDetails `json:"value,omitempty"`
	// NextLink - The URI to fetch the next page of SupportTicket resources.
	NextLink *string `json:"nextLink,omitempty"`
}

TicketsListResult object that represents a collection of SupportTicket resources.

func (TicketsListResult) IsEmpty

func (tlr TicketsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type TicketsListResultIterator

type TicketsListResultIterator struct {
	// contains filtered or unexported fields
}

TicketsListResultIterator provides access to a complete listing of TicketDetails values.

func NewTicketsListResultIterator

func NewTicketsListResultIterator(page TicketsListResultPage) TicketsListResultIterator

Creates a new instance of the TicketsListResultIterator type.

func (*TicketsListResultIterator) Next

func (iter *TicketsListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*TicketsListResultIterator) NextWithContext

func (iter *TicketsListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (TicketsListResultIterator) NotDone

func (iter TicketsListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (TicketsListResultIterator) Response

Response returns the raw server response from the last page request.

func (TicketsListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type TicketsListResultPage

type TicketsListResultPage struct {
	// contains filtered or unexported fields
}

TicketsListResultPage contains a page of TicketDetails values.

func NewTicketsListResultPage

func NewTicketsListResultPage(cur TicketsListResult, getNextPage func(context.Context, TicketsListResult) (TicketsListResult, error)) TicketsListResultPage

Creates a new instance of the TicketsListResultPage type.

func (*TicketsListResultPage) Next

func (page *TicketsListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*TicketsListResultPage) NextWithContext

func (page *TicketsListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (TicketsListResultPage) NotDone

func (page TicketsListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (TicketsListResultPage) Response

func (page TicketsListResultPage) Response() TicketsListResult

Response returns the raw server response from the last page request.

func (TicketsListResultPage) Values

func (page TicketsListResultPage) Values() []TicketDetails

Values returns the slice of values for the current page or nil if there are no values.

type Type

type Type string

Type enumerates the values for type.

const (
	// MicrosoftSupportcommunications ...
	MicrosoftSupportcommunications Type = "Microsoft.Support/communications"
	// MicrosoftSupportsupportTickets ...
	MicrosoftSupportsupportTickets Type = "Microsoft.Support/supportTickets"
)

func PossibleTypeValues

func PossibleTypeValues() []Type

PossibleTypeValues returns an array of possible values for the Type const type.

type UpdateContactProfile

type UpdateContactProfile struct {
	// FirstName - First name.
	FirstName *string `json:"firstName,omitempty"`
	// LastName - Last name.
	LastName *string `json:"lastName,omitempty"`
	// PreferredContactMethod - Preferred contact method. Possible values include: 'PreferredContactMethodEmail', 'PreferredContactMethodPhone'
	PreferredContactMethod PreferredContactMethod `json:"preferredContactMethod,omitempty"`
	// PrimaryEmailAddress - Primary email address.
	PrimaryEmailAddress *string `json:"primaryEmailAddress,omitempty"`
	// AdditionalEmailAddresses - Email addresses listed will be copied on any correspondence about the support ticket.
	AdditionalEmailAddresses *[]string `json:"additionalEmailAddresses,omitempty"`
	// PhoneNumber - Phone number. This is required if preferred contact method is phone.
	PhoneNumber *string `json:"phoneNumber,omitempty"`
	// PreferredTimeZone - Time zone of the user. This is the name of the time zone from [Microsoft Time Zone Index Values](https://support.microsoft.com/help/973627/microsoft-time-zone-index-values).
	PreferredTimeZone *string `json:"preferredTimeZone,omitempty"`
	// Country - Country of the user. This is the ISO 3166-1 alpha-3 code.
	Country *string `json:"country,omitempty"`
	// PreferredSupportLanguage - Preferred language of support from Azure. Support languages vary based on the severity you choose for your support ticket. Learn more at [Azure Severity and responsiveness](https://azure.microsoft.com/support/plans/response/). Use the standard language-country code. Valid values are 'en-us' for English, 'zh-hans' for Chinese, 'es-es' for Spanish, 'fr-fr' for French, 'ja-jp' for Japanese, 'ko-kr' for Korean, 'ru-ru' for Russian, 'pt-br' for Portuguese, 'it-it' for Italian, 'zh-tw' for Chinese and 'de-de' for German.
	PreferredSupportLanguage *string `json:"preferredSupportLanguage,omitempty"`
}

UpdateContactProfile contact information associated with the support ticket.

type UpdateSupportTicket

type UpdateSupportTicket struct {
	// Severity - Severity level. Possible values include: 'Minimal', 'Moderate', 'Critical', 'Highestcriticalimpact'
	Severity SeverityLevel `json:"severity,omitempty"`
	// Status - Status to be updated on the ticket. Possible values include: 'Open', 'Closed'
	Status Status `json:"status,omitempty"`
	// ContactDetails - Contact details to be updated on the support ticket.
	ContactDetails *UpdateContactProfile `json:"contactDetails,omitempty"`
}

UpdateSupportTicket updates severity, ticket status, and contact details in the support ticket.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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