addons

package
v16.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 3, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package addons implements the Azure ARM Addons service API version 2018-03-01.

The service for managing third party addons.

Index

Constants

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

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

Copyright (c) Microsoft and contributors. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and limitations under the License.

Code generated by Microsoft (R) AutoRest Code Generator. Changes may cause incorrect behavior and will be lost if the code is regenerated. Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. UserAgent returns the UserAgent string to use when sending http.Requests.

func Version deprecated

func Version() string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. Version returns the semantic version (see http://semver.org) of the client.

Types

type BaseClient deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. BaseClient is the base client for Addons.

func New deprecated

func New(subscriptionID string) BaseClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. New creates an instance of the BaseClient client.

func NewWithBaseURI deprecated

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. NewWithBaseURI creates an instance of the BaseClient client.

type CanonicalSupportPlanInfoDefinition deprecated

type CanonicalSupportPlanInfoDefinition struct {
	// SupportPlanType - Support plan type. Possible values include: 'SupportPlanTypeEssential', 'SupportPlanTypeStandard', 'SupportPlanTypeAdvanced'
	SupportPlanType SupportPlanType `json:"supportPlanType,omitempty"`
	// Enabled - Flag to indicate if this support plan type is currently enabled for the subscription.
	Enabled *bool `json:"enabled,omitempty"`
	// OneTimeCharge - The one time charge status for the subscription. Possible values include: 'No', 'OnEnabled', 'OnReenabled'
	OneTimeCharge OneTimeCharge `json:"oneTimeCharge,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. CanonicalSupportPlanInfoDefinition definition object with the properties of a camonical plan

type CanonicalSupportPlanProperties deprecated

type CanonicalSupportPlanProperties struct {
	// ProvisioningState - The provisioning state of the resource. Possible values include: 'Succeeded', 'Failed', 'Cancelled', 'Purchasing', 'Downgrading', 'Cancelling', 'Upgrading'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. CanonicalSupportPlanProperties the properties of the Canonical support plan.

type CanonicalSupportPlanResponseEnvelope deprecated

type CanonicalSupportPlanResponseEnvelope struct {
	autorest.Response `json:"-"`
	// ID - The id of the ARM resource, e.g. "/subscriptions/{id}/providers/Microsoft.Addons/supportProvider/{supportProviderName}/supportPlanTypes/{planTypeName}".
	ID *string `json:"id,omitempty"`
	// Name - The name of the Canonical support plan, i.e. "essential", "standard" or "advanced".
	Name *string `json:"name,omitempty"`
	// Type - Microsoft.Addons/supportProvider
	Type *string `json:"type,omitempty"`
	// CanonicalSupportPlanProperties - Describes Canonical support plan type and status.
	*CanonicalSupportPlanProperties `json:"properties,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. CanonicalSupportPlanResponseEnvelope the status of the Canonical support plan.

func (CanonicalSupportPlanResponseEnvelope) MarshalJSON deprecated

func (cspre CanonicalSupportPlanResponseEnvelope) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. MarshalJSON is the custom marshaler for CanonicalSupportPlanResponseEnvelope.

func (*CanonicalSupportPlanResponseEnvelope) UnmarshalJSON deprecated

func (cspre *CanonicalSupportPlanResponseEnvelope) UnmarshalJSON(body []byte) error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. UnmarshalJSON is the custom unmarshaler for CanonicalSupportPlanResponseEnvelope struct.

type ErrorDefinition deprecated

type ErrorDefinition struct {
	// Message - Description of the error.
	Message *string `json:"message,omitempty"`
	// Code - Service specific error code which serves as the substatus for the HTTP error code.
	Code *int32 `json:"code,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. ErrorDefinition error description and code explaining why an operation failed.

type ListCanonicalSupportPlanInfoDefinition deprecated

type ListCanonicalSupportPlanInfoDefinition struct {
	autorest.Response `json:"-"`
	Value             *[]CanonicalSupportPlanInfoDefinition `json:"value,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. ListCanonicalSupportPlanInfoDefinition ...

type ListOperationsDefinition deprecated

type ListOperationsDefinition struct {
	autorest.Response `json:"-"`
	Value             *[]OperationsDefinition `json:"value,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. ListOperationsDefinition ...

type OneTimeCharge deprecated

type OneTimeCharge string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. OneTimeCharge enumerates the values for one time charge.

const (
	// No ...
	No OneTimeCharge = "no"
	// OnEnabled ...
	OnEnabled OneTimeCharge = "onEnabled"
	// OnReenabled ...
	OnReenabled OneTimeCharge = "onReenabled"
)

func PossibleOneTimeChargeValues deprecated

func PossibleOneTimeChargeValues() []OneTimeCharge

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. PossibleOneTimeChargeValues returns an array of possible values for the OneTimeCharge const type.

type OperationsClient deprecated

type OperationsClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. OperationsClient is the the service for managing third party addons.

func NewOperationsClient deprecated

func NewOperationsClient(subscriptionID string) OperationsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI deprecated

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. List lists all of the available Addons RP operations.

func (OperationsClient) ListPreparer deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. ListPreparer prepares the List request.

func (OperationsClient) ListResponder deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type OperationsDefinition deprecated

type OperationsDefinition struct {
	// Name - Name of the operation.
	Name *string `json:"name,omitempty"`
	// Display - Display object with properties of the operation.
	Display *OperationsDisplayDefinition `json:"display,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. OperationsDefinition definition object with the name and properties of an operation.

type OperationsDisplayDefinition deprecated

type OperationsDisplayDefinition struct {
	// Provider - Resource provider of the operation.
	Provider *string `json:"provider,omitempty"`
	// Resource - Resource for the operation.
	Resource *string `json:"resource,omitempty"`
	// Operation - Short description of the operation.
	Operation *string `json:"operation,omitempty"`
	// Description - Description of the operation.
	Description *string `json:"description,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. OperationsDisplayDefinition display object with properties of the operation.

type PlanTypeName deprecated

type PlanTypeName string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. PlanTypeName enumerates the values for plan type name.

const (
	// Advanced ...
	Advanced PlanTypeName = "Advanced"
	// Essential ...
	Essential PlanTypeName = "Essential"
	// Standard ...
	Standard PlanTypeName = "Standard"
)

func PossiblePlanTypeNameValues deprecated

func PossiblePlanTypeNameValues() []PlanTypeName

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. PossiblePlanTypeNameValues returns an array of possible values for the PlanTypeName const type.

type ProvisioningState deprecated

type ProvisioningState string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. ProvisioningState enumerates the values for provisioning state.

const (
	// Cancelled ...
	Cancelled ProvisioningState = "Cancelled"
	// Cancelling ...
	Cancelling ProvisioningState = "Cancelling"
	// Downgrading ...
	Downgrading ProvisioningState = "Downgrading"
	// Failed ...
	Failed ProvisioningState = "Failed"
	// Purchasing ...
	Purchasing ProvisioningState = "Purchasing"
	// Succeeded ...
	Succeeded ProvisioningState = "Succeeded"
	// Upgrading ...
	Upgrading ProvisioningState = "Upgrading"
)

func PossibleProvisioningStateValues deprecated

func PossibleProvisioningStateValues() []ProvisioningState

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type SupportPlanType deprecated

type SupportPlanType string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. SupportPlanType enumerates the values for support plan type.

const (
	// SupportPlanTypeAdvanced ...
	SupportPlanTypeAdvanced SupportPlanType = "advanced"
	// SupportPlanTypeEssential ...
	SupportPlanTypeEssential SupportPlanType = "essential"
	// SupportPlanTypeStandard ...
	SupportPlanTypeStandard SupportPlanType = "standard"
)

func PossibleSupportPlanTypeValues deprecated

func PossibleSupportPlanTypeValues() []SupportPlanType

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. PossibleSupportPlanTypeValues returns an array of possible values for the SupportPlanType const type.

type SupportPlanTypesClient deprecated

type SupportPlanTypesClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. SupportPlanTypesClient is the the service for managing third party addons.

func NewSupportPlanTypesClient deprecated

func NewSupportPlanTypesClient(subscriptionID string) SupportPlanTypesClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. NewSupportPlanTypesClient creates an instance of the SupportPlanTypesClient client.

func NewSupportPlanTypesClientWithBaseURI deprecated

func NewSupportPlanTypesClientWithBaseURI(baseURI string, subscriptionID string) SupportPlanTypesClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. NewSupportPlanTypesClientWithBaseURI creates an instance of the SupportPlanTypesClient client.

func (SupportPlanTypesClient) CreateOrUpdate deprecated

func (client SupportPlanTypesClient) CreateOrUpdate(ctx context.Context, providerName string, planTypeName PlanTypeName) (result SupportPlanTypesCreateOrUpdateFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. CreateOrUpdate creates or updates the Canonical support plan of type {type} for the subscription.

providerName is the support plan type. For now the only valid type is "canonical". planTypeName is the Canonical support plan type.

func (SupportPlanTypesClient) CreateOrUpdatePreparer deprecated

func (client SupportPlanTypesClient) CreateOrUpdatePreparer(ctx context.Context, providerName string, planTypeName PlanTypeName) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SupportPlanTypesClient) CreateOrUpdateResponder deprecated

func (client SupportPlanTypesClient) CreateOrUpdateResponder(resp *http.Response) (result CanonicalSupportPlanResponseEnvelope, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (SupportPlanTypesClient) CreateOrUpdateSender deprecated

func (client SupportPlanTypesClient) CreateOrUpdateSender(req *http.Request) (future SupportPlanTypesCreateOrUpdateFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (SupportPlanTypesClient) Delete deprecated

func (client SupportPlanTypesClient) Delete(ctx context.Context, providerName string, planTypeName PlanTypeName) (result SupportPlanTypesDeleteFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. Delete cancels the Canonical support plan of type {type} for the subscription.

providerName is the support plan type. For now the only valid type is "canonical". planTypeName is the Canonical support plan type.

func (SupportPlanTypesClient) DeletePreparer deprecated

func (client SupportPlanTypesClient) DeletePreparer(ctx context.Context, providerName string, planTypeName PlanTypeName) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. DeletePreparer prepares the Delete request.

func (SupportPlanTypesClient) DeleteResponder deprecated

func (client SupportPlanTypesClient) DeleteResponder(resp *http.Response) (result CanonicalSupportPlanResponseEnvelope, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (SupportPlanTypesClient) DeleteSender deprecated

func (client SupportPlanTypesClient) DeleteSender(req *http.Request) (future SupportPlanTypesDeleteFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (SupportPlanTypesClient) Get deprecated

func (client SupportPlanTypesClient) Get(ctx context.Context, providerName string, planTypeName PlanTypeName) (result CanonicalSupportPlanResponseEnvelope, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. Get returns whether or not the canonical support plan of type {type} is enabled for the subscription.

providerName is the support plan type. For now the only valid type is "canonical". planTypeName is the Canonical support plan type.

func (SupportPlanTypesClient) GetPreparer deprecated

func (client SupportPlanTypesClient) GetPreparer(ctx context.Context, providerName string, planTypeName PlanTypeName) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. GetPreparer prepares the Get request.

func (SupportPlanTypesClient) GetResponder deprecated

func (client SupportPlanTypesClient) GetResponder(resp *http.Response) (result CanonicalSupportPlanResponseEnvelope, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SupportPlanTypesClient) GetSender deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SupportPlanTypesClient) ListInfo deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. ListInfo returns the canonical support plan information for all types for the subscription.

func (SupportPlanTypesClient) ListInfoPreparer deprecated

func (client SupportPlanTypesClient) ListInfoPreparer(ctx context.Context) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. ListInfoPreparer prepares the ListInfo request.

func (SupportPlanTypesClient) ListInfoResponder deprecated

func (client SupportPlanTypesClient) ListInfoResponder(resp *http.Response) (result ListCanonicalSupportPlanInfoDefinition, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. ListInfoResponder handles the response to the ListInfo request. The method always closes the http.Response Body.

func (SupportPlanTypesClient) ListInfoSender deprecated

func (client SupportPlanTypesClient) ListInfoSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. ListInfoSender sends the ListInfo request. The method will close the http.Response Body if it receives an error.

type SupportPlanTypesCreateOrUpdateFuture deprecated

type SupportPlanTypesCreateOrUpdateFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. SupportPlanTypesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (SupportPlanTypesCreateOrUpdateFuture) Result deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type SupportPlanTypesDeleteFuture deprecated

type SupportPlanTypesDeleteFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. SupportPlanTypesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (SupportPlanTypesDeleteFuture) Result deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/addons/mgmt/2018-03-01/addons instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

Jump to

Keyboard shortcuts

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