azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/support/mgmt/2019-05-01-preview/support Index | Files | Directories

package support

import "github.com/Azure/azure-sdk-for-go/services/preview/support/mgmt/2019-05-01-preview/support"

Package support implements the Azure ARM Support service API version 2019-05-01-preview.

Microsoft Azure Support Resource Provider.

Index

Package Files

client.go communications.go enums.go models.go operations.go problemclassifications.go services.go tickets.go version.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type BaseClient Uses

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

BaseClient is the base client for Support.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

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 Uses

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 Uses

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.

type CommunicationDetails Uses

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 Communication resource

func (CommunicationDetails) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for CommunicationDetails.

func (*CommunicationDetails) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for CommunicationDetails struct.

type CommunicationDetailsProperties Uses

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
    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 Uses

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

MarshalJSON is the custom marshaler for CommunicationDetailsProperties.

type CommunicationDirection Uses

type CommunicationDirection string

CommunicationDirection enumerates the values for communication direction.

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

func PossibleCommunicationDirectionValues Uses

func PossibleCommunicationDirectionValues() []CommunicationDirection

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

type CommunicationType Uses

type CommunicationType string

CommunicationType enumerates the values for communication type.

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

func PossibleCommunicationTypeValues Uses

func PossibleCommunicationTypeValues() []CommunicationType

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

type CommunicationsClient Uses

type CommunicationsClient struct {
    BaseClient
}

CommunicationsClient is the microsoft Azure Support Resource Provider.

func NewCommunicationsClient Uses

func NewCommunicationsClient(subscriptionID string) CommunicationsClient

NewCommunicationsClient creates an instance of the CommunicationsClient client.

func NewCommunicationsClientWithBaseURI Uses

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 Uses

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 to 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 Uses

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

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (CommunicationsClient) CheckNameAvailabilityResponder Uses

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 Uses

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 Uses

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. Adding attachments are not currently supported via the API. <br/>To add a file to a support ticket, visit the <a target='_blank' href='https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest'>Manage support ticket</a> page in the Azure portal, select the support ticket, and use the file upload control to add a new file. Parameters: supportTicketName - support ticket name communicationName - communication name createCommunicationParameters - communication object

func (CommunicationsClient) CreatePreparer Uses

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

CreatePreparer prepares the Create request.

func (CommunicationsClient) CreateResponder Uses

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 Uses

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 Uses

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

Get returns details of a specific communication in a support ticket. Parameters: supportTicketName - support ticket name communicationName - communication name

func (CommunicationsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (CommunicationsClient) GetResponder Uses

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 Uses

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 Uses

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 <i>CreatedDate</i>�or <i>CommunicationType</i> using the $filter parameter. The only type of communication supported today is <i>Web</i>. Output will be a paged result with <i>nextLink</i>, 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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (CommunicationsClient) ListResponder Uses

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 Uses

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 Uses

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.

type CommunicationsListResult Uses

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 Uses

func (clr CommunicationsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type CommunicationsListResultIterator Uses

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

CommunicationsListResultIterator provides access to a complete listing of CommunicationDetails values.

func NewCommunicationsListResultIterator Uses

func NewCommunicationsListResultIterator(page CommunicationsListResultPage) CommunicationsListResultIterator

Creates a new instance of the CommunicationsListResultIterator type.

func (*CommunicationsListResultIterator) Next Uses

func (iter *CommunicationsListResultIterator) 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 (*CommunicationsListResultIterator) NextWithContext Uses

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 Uses

func (iter CommunicationsListResultIterator) NotDone() bool

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

func (CommunicationsListResultIterator) Response Uses

func (iter CommunicationsListResultIterator) Response() CommunicationsListResult

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

func (CommunicationsListResultIterator) Value Uses

func (iter CommunicationsListResultIterator) Value() CommunicationDetails

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

type CommunicationsListResultPage Uses

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

CommunicationsListResultPage contains a page of CommunicationDetails values.

func NewCommunicationsListResultPage Uses

func NewCommunicationsListResultPage(cur CommunicationsListResult, getNextPage func(context.Context, CommunicationsListResult) (CommunicationsListResult, error)) CommunicationsListResultPage

Creates a new instance of the CommunicationsListResultPage type.

func (*CommunicationsListResultPage) Next Uses

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 Uses

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 Uses

func (page CommunicationsListResultPage) NotDone() bool

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

func (CommunicationsListResultPage) Response Uses

func (page CommunicationsListResultPage) Response() CommunicationsListResult

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

func (CommunicationsListResultPage) Values Uses

func (page CommunicationsListResultPage) Values() []CommunicationDetails

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

type ContactProfile Uses

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 <a  target='_blank' href='https://support.microsoft.com/en-us/help/973627/microsoft-time-zone-index-values'>Microsoft Time Zone Index Values</a>.
    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 <a  target='_blank' href='https://azure.microsoft.com/support/plans/response/'>Azure Severity and responsiveness</a>. 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 support ticket.

type Engineer Uses

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.

type ExceptionResponse Uses

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

ExceptionResponse the api error.

type Operation Uses

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

func (Operation) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Operation.

type OperationDisplay Uses

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.

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the microsoft Azure Support Resource Provider.

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

type PreferredContactMethod string

PreferredContactMethod enumerates the values for preferred contact method.

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

func PossiblePreferredContactMethodValues Uses

func PossiblePreferredContactMethodValues() []PreferredContactMethod

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

type ProblemClassification Uses

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 Uses

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

MarshalJSON is the custom marshaler for ProblemClassification.

func (*ProblemClassification) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ProblemClassification struct.

type ProblemClassificationProperties Uses

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 Uses

type ProblemClassificationsClient struct {
    BaseClient
}

ProblemClassificationsClient is the microsoft Azure Support Resource Provider.

func NewProblemClassificationsClient Uses

func NewProblemClassificationsClient(subscriptionID string) ProblemClassificationsClient

NewProblemClassificationsClient creates an instance of the ProblemClassificationsClient client.

func NewProblemClassificationsClientWithBaseURI Uses

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 Uses

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

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

func (ProblemClassificationsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (ProblemClassificationsClient) GetResponder Uses

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 Uses

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 Uses

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.<br/><br/> 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 Azure service for which the problem classifications need to be retrieved.

func (ProblemClassificationsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (ProblemClassificationsClient) ListResponder Uses

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 Uses

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 Uses

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

ProblemClassificationsListResult collection of ProblemClassification resources

type QuotaChangeRequest Uses

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 Uses

type QuotaTicketDetails struct {
    // QuotaChangeRequestSubType - Required for certain quota types when there is a sub type that you are requesting quota increase for. Example: Batch
    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 <a target=” href='https://aka.ms/supportrpquotarequestpayload'>Support quota request</a>.

type Service Uses

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 Uses

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

MarshalJSON is the custom marshaler for Service.

func (*Service) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Service struct.

type ServiceError Uses

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 Uses

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

MarshalJSON is the custom marshaler for ServiceError.

type ServiceErrorDetail Uses

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 Uses

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

MarshalJSON is the custom marshaler for ServiceErrorDetail.

type ServiceLevelAgreement Uses

type ServiceLevelAgreement struct {
    // StartTime - READ-ONLY; Time in UTC (ISO 8601 format) when service level agreement starts.
    StartTime *date.Time `json:"startTime,omitempty"`
    // ExpirationTime - READ-ONLY; Time in UTC (ISO 8601 format) when 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.

type ServiceProperties Uses

type ServiceProperties struct {
    // DisplayName - Localized name of Azure service
    DisplayName *string `json:"displayName,omitempty"`
}

ServiceProperties details about Azure service available for support ticket creation

type ServicesClient Uses

type ServicesClient struct {
    BaseClient
}

ServicesClient is the microsoft Azure Support Resource Provider.

func NewServicesClient Uses

func NewServicesClient(subscriptionID string) ServicesClient

NewServicesClient creates an instance of the ServicesClient client.

func NewServicesClientWithBaseURI Uses

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 Uses

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 Azure service

func (ServicesClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (ServicesClient) GetResponder Uses

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 Uses

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 Uses

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

List lists all the Azure services available for support ticket creation. Here are the Service Ids for **Billing**, **Subscription Management**, and **Service and subscription limits (Quotas)** issues: <br/><table><tr><td><u>Issue type</u></td><td><u>Service Id</u></td></tr><tr><td>Billing</td><td>'/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc'</td></tr><tr><td>Subscription Management</td><td>'/providers/Microsoft.Support/services/f3dc5421-79ef-1efa-41a5-42bf3cbb52c6'</td></tr><tr><td>Quota</td><td>'/providers/Microsoft.Support/services/06bfd9d3-516b-d5c6-5802-169c800dec89'</td></tr></table> <br/><br/> 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 <a target='_blank' href='https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/overview'>New support request</a> page. <br/><br/> Always use the service and it's 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 Uses

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

ListPreparer prepares the List request.

func (ServicesClient) ListResponder Uses

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 Uses

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 Uses

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

ServicesListResult collection of Service resources.

type SeverityLevel Uses

type SeverityLevel string

SeverityLevel enumerates the values for severity level.

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

func PossibleSeverityLevelValues Uses

func PossibleSeverityLevelValues() []SeverityLevel

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

type TechnicalTicketDetails Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for TicketDetails.

func (*TicketDetails) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for TicketDetails struct.

type TicketDetailsProperties Uses

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 category called problem classification that corresponds to the type of problem you're experiencing. This parameter is the resource id of ProblemClassification resource.
    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. Possible values include: 'Minimal', 'Moderate', 'Critical'
    Severity SeverityLevel `json:"severity,omitempty"`
    // EnrollmentID - READ-ONLY; Enrollment ID associated with the support ticket.
    EnrollmentID *string `json:"enrollmentId,omitempty"`
    // ProductionOutage - READ-ONLY; Indicates if this issue is a production outage.
    ProductionOutage *bool `json:"productionOutage,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 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 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 support ticket was created.
    CreatedDate *date.Time `json:"createdDate,omitempty"`
    // ModifiedDate - READ-ONLY; Time in UTC (ISO 8601 format) when 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 Uses

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

MarshalJSON is the custom marshaler for TicketDetailsProperties.

type TicketsClient Uses

type TicketsClient struct {
    BaseClient
}

TicketsClient is the microsoft Azure Support Resource Provider.

func NewTicketsClient Uses

func NewTicketsClient(subscriptionID string) TicketsClient

NewTicketsClient creates an instance of the TicketsClient client.

func NewTicketsClientWithBaseURI Uses

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 Uses

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

CheckNameAvailability check the availability of a resource name. This API should to 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 Uses

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

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (TicketsClient) CheckNameAvailabilityResponder Uses

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 Uses

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 Uses

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

Create creates a new support ticket for Quota increase, Technical, Billing, and Subscription Management issues for the specified subscription. <br/><br/>A paid technical support plan is required to create a support ticket using this API. <a href='https://aka.ms/supportticketAPI'>Learn more</a> <br/><br/> Use the Services API to map the right Service Id to the issue type. For example: For billing tickets set *serviceId* to *'/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc'*. <br/> For Technical issues, the Service id will map to the Azure service you want to raise a support ticket for. <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. Parameters: supportTicketName - support ticket name. createSupportTicketParameters - support ticket request payload.

func (TicketsClient) CreatePreparer Uses

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

CreatePreparer prepares the Create request.

func (TicketsClient) CreateResponder Uses

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 Uses

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 Uses

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

Get gets details for a specific support ticket in an Azure subscription. <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

func (TicketsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (TicketsClient) GetResponder Uses

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 Uses

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 Uses

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. <br/><br/>You can also filter the support tickets by <i>Status</i> or <i>CreatedDate</i> using the $filter parameter. Output will be a paged result with <i>nextLink</i>, 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. <a target='_blank' href='https://docs.microsoft.com/odata/concepts/queryoptions-overview'>Learn more</a> <br/><i>Status</i> filter can only be used with 'eq' operator. For <i>CreatedDate</i> filter, the supported operators are 'gt' and 'ge'. When using both filters, combine them using the logical 'AND'.

func (TicketsClient) ListComplete Uses

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 Uses

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

ListPreparer prepares the List request.

func (TicketsClient) ListResponder Uses

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 Uses

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 Uses

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 or 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. Parameters: supportTicketName - support ticket name updateSupportTicket - updateSupportTicket object

func (TicketsClient) UpdatePreparer Uses

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

UpdatePreparer prepares the Update request.

func (TicketsClient) UpdateResponder Uses

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 Uses

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 Uses

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.

type TicketsListResult Uses

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 Uses

func (tlr TicketsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type TicketsListResultIterator Uses

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

TicketsListResultIterator provides access to a complete listing of TicketDetails values.

func NewTicketsListResultIterator Uses

func NewTicketsListResultIterator(page TicketsListResultPage) TicketsListResultIterator

Creates a new instance of the TicketsListResultIterator type.

func (*TicketsListResultIterator) Next Uses

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 Uses

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 Uses

func (iter TicketsListResultIterator) NotDone() bool

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

func (TicketsListResultIterator) Response Uses

func (iter TicketsListResultIterator) Response() TicketsListResult

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

func (TicketsListResultIterator) Value Uses

func (iter TicketsListResultIterator) Value() TicketDetails

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

type TicketsListResultPage Uses

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

TicketsListResultPage contains a page of TicketDetails values.

func NewTicketsListResultPage Uses

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

Creates a new instance of the TicketsListResultPage type.

func (*TicketsListResultPage) Next Uses

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 Uses

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 Uses

func (page TicketsListResultPage) NotDone() bool

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

func (TicketsListResultPage) Response Uses

func (page TicketsListResultPage) Response() TicketsListResult

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

func (TicketsListResultPage) Values Uses

func (page TicketsListResultPage) Values() []TicketDetails

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

type Type Uses

type Type string

Type enumerates the values for type.

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

func PossibleTypeValues Uses

func PossibleTypeValues() []Type

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

type UpdateContactProfile Uses

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 <a  target='_blank' href='https://support.microsoft.com/en-us/help/973627/microsoft-time-zone-index-values'>Microsoft Time Zone Index Values</a>.
    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 <a  target='_blank' href='https://azure.microsoft.com/support/plans/response/'>Azure Severity and responsiveness</a>. 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 Uses

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

UpdateSupportTicket updates severity and contact details in the support ticket.

Directories

PathSynopsis
supportapi

Package support imports 10 packages (graph) and is imported by 1 packages. Updated 2021-01-22. Refresh now. Tools for package owners.