visualstudio

package
v16.1.0+incompatible Latest Latest
Warning

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

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

Documentation

Overview

Package visualstudio implements the Azure ARM Visualstudio service API version 2014-04-01-preview.

Use these APIs to manage Visual Studio Team Services resources through the Azure Resource Manager. All task operations conform to the HTTP/1.1 protocol specification and each operation returns an x-ms-request-id header that can be used to obtain information about the request. You must make sure that requests made to these resources are secure. For more information, see https://docs.microsoft.com/en-us/rest/api/index.

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Visualstudio
	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/visualstudio/mgmt/2014-04-01-preview/visualstudio 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/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. Version returns the semantic version (see http://semver.org) of the client.

Types

type AccountResource deprecated

type AccountResource struct {
	autorest.Response `json:"-"`
	// Properties - Resource properties.
	Properties map[string]*string `json:"properties"`
	// ID - Unique identifier of the resource.
	ID *string `json:"id,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Name - Resource name.
	Name *string `json:"name,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Type - Resource type.
	Type *string `json:"type,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. AccountResource the response to an account resource GET request.

func (AccountResource) MarshalJSON deprecated

func (ar AccountResource) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. MarshalJSON is the custom marshaler for AccountResource.

type AccountResourceListResult deprecated

type AccountResourceListResult struct {
	autorest.Response `json:"-"`
	// Value - Array of resource details.
	Value *[]AccountResource `json:"value,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. AccountResourceListResult the response to an account resource list GET request.

type AccountResourceRequest deprecated

type AccountResourceRequest struct {
	// AccountName - The account name.
	AccountName *string `json:"accountName,omitempty"`
	// Location - The Azure instance location.
	Location *string `json:"location,omitempty"`
	// OperationType - The type of the operation.
	OperationType interface{} `json:"operationType,omitempty"`
	// Properties - The custom properties of the resource.
	Properties map[string]*string `json:"properties"`
	// Tags - The custom tags of the resource.
	Tags map[string]*string `json:"tags"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. AccountResourceRequest the body of a PUT request to modify a Visual Studio account resource.

func (AccountResourceRequest) MarshalJSON deprecated

func (arr AccountResourceRequest) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. MarshalJSON is the custom marshaler for AccountResourceRequest.

type AccountsClient deprecated

type AccountsClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. AccountsClient is the use these APIs to manage Visual Studio Team Services resources through the Azure Resource Manager. All task operations conform to the HTTP/1.1 protocol specification and each operation returns an x-ms-request-id header that can be used to obtain information about the request. You must make sure that requests made to these resources are secure. For more information, see https://docs.microsoft.com/en-us/rest/api/index.

func NewAccountsClient deprecated

func NewAccountsClient(subscriptionID string) AccountsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. NewAccountsClient creates an instance of the AccountsClient client.

func NewAccountsClientWithBaseURI deprecated

func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. NewAccountsClientWithBaseURI creates an instance of the AccountsClient client.

func (AccountsClient) CheckNameAvailability deprecated

func (client AccountsClient) CheckNameAvailability(ctx context.Context, body CheckNameAvailabilityParameter) (result CheckNameAvailabilityResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. CheckNameAvailability checks if the specified Visual Studio Team Services account name is available. Resource name can be either an account name or an account name and PUID.

body is parameters describing the name to check availability for.

func (AccountsClient) CheckNameAvailabilityPreparer deprecated

func (client AccountsClient) CheckNameAvailabilityPreparer(ctx context.Context, body CheckNameAvailabilityParameter) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (AccountsClient) CheckNameAvailabilityResponder deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (AccountsClient) CheckNameAvailabilitySender deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.

func (AccountsClient) CreateOrUpdate deprecated

func (client AccountsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, body AccountResourceRequest, resourceName string) (result AccountResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. CreateOrUpdate creates or updates a Visual Studio Team Services account resource.

resourceGroupName is name of the resource group within the Azure subscription. body is the request data. resourceName is name of the resource.

func (AccountsClient) CreateOrUpdatePreparer deprecated

func (client AccountsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, body AccountResourceRequest, resourceName string) (*http.Request, error)

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

func (AccountsClient) CreateOrUpdateResponder deprecated

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

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

func (AccountsClient) CreateOrUpdateSender deprecated

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

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

func (AccountsClient) Delete deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. Delete deletes a Visual Studio Team Services account resource.

resourceGroupName is name of the resource group within the Azure subscription. resourceName is name of the resource.

func (AccountsClient) DeletePreparer deprecated

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

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

func (AccountsClient) DeleteResponder deprecated

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

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

func (AccountsClient) DeleteSender deprecated

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

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

func (AccountsClient) Get deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. Get gets the Visual Studio Team Services account resource details.

resourceGroupName is name of the resource group within the Azure subscription. resourceName is name of the resource.

func (AccountsClient) GetPreparer deprecated

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

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

func (AccountsClient) GetResponder deprecated

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

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

func (AccountsClient) GetSender deprecated

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

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

func (AccountsClient) ListByResourceGroup deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. ListByResourceGroup gets all Visual Studio Team Services account resources under the resource group linked to the specified Azure subscription.

resourceGroupName is name of the resource group within the Azure subscription.

func (AccountsClient) ListByResourceGroupPreparer deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (AccountsClient) ListByResourceGroupResponder deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (AccountsClient) ListByResourceGroupSender deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

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/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. BaseClient is the base client for Visualstudio.

func New deprecated

func New(subscriptionID string) BaseClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio 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/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. NewWithBaseURI creates an instance of the BaseClient client.

type CheckNameAvailabilityParameter deprecated

type CheckNameAvailabilityParameter struct {
	// ResourceName - The name of the resource to check availability for.
	ResourceName *string `json:"resourceName,omitempty"`
	// ResourceType - The type of resource to check availability for.
	ResourceType *string `json:"resourceType,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. CheckNameAvailabilityParameter the body of a POST request to check name availability.

type CheckNameAvailabilityResult deprecated

type CheckNameAvailabilityResult struct {
	autorest.Response `json:"-"`
	// Message - The message describing the detailed reason.
	Message *string `json:"message,omitempty"`
	// NameAvailable - The value which indicates whether the provided name is available.
	NameAvailable *bool `json:"nameAvailable,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. CheckNameAvailabilityResult the response to a name availability request.

type ExtensionResource deprecated

type ExtensionResource struct {
	autorest.Response `json:"-"`
	// Plan - The extension plan that was purchased.
	Plan *ExtensionResourcePlan `json:"plan,omitempty"`
	// Properties - Resource properties.
	Properties map[string]*string `json:"properties"`
	// ID - Unique identifier of the resource.
	ID *string `json:"id,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Name - Resource name.
	Name *string `json:"name,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Type - Resource type.
	Type *string `json:"type,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. ExtensionResource the response to an extension resource GET request.

func (ExtensionResource) MarshalJSON deprecated

func (er ExtensionResource) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. MarshalJSON is the custom marshaler for ExtensionResource.

type ExtensionResourceListResult deprecated

type ExtensionResourceListResult struct {
	autorest.Response `json:"-"`
	// Value - Array of extension resource details.
	Value *[]ExtensionResource `json:"value,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. ExtensionResourceListResult the response to an extension resource list GET request.

type ExtensionResourcePlan deprecated

type ExtensionResourcePlan struct {
	// Name - Name of the plan.
	Name *string `json:"name,omitempty"`
	// Product - Product name.
	Product *string `json:"product,omitempty"`
	// PromotionCode - Optional: the promotion code associated with the plan.
	PromotionCode *string `json:"promotionCode,omitempty"`
	// Publisher - Name of the extension publisher.
	Publisher *string `json:"publisher,omitempty"`
	// Version - A string that uniquely identifies the plan version.
	Version *string `json:"version,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. ExtensionResourcePlan plan data for an extension resource.

type ExtensionResourceRequest deprecated

type ExtensionResourceRequest struct {
	// Location - The Azure region of the Visual Studio account associated with this request (i.e 'southcentralus'.)
	Location *string `json:"location,omitempty"`
	// Plan - Extended information about the plan being purchased for this extension resource.
	Plan *ExtensionResourcePlan `json:"plan,omitempty"`
	// Properties - A dictionary of extended properties. This property is currently unused.
	Properties map[string]*string `json:"properties"`
	// Tags - A dictionary of user-defined tags to be stored with the extension resource.
	Tags map[string]*string `json:"tags"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. ExtensionResourceRequest the body of an extension resource PUT request.

func (ExtensionResourceRequest) MarshalJSON deprecated

func (errVar ExtensionResourceRequest) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. MarshalJSON is the custom marshaler for ExtensionResourceRequest.

type ExtensionsClient deprecated

type ExtensionsClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. ExtensionsClient is the use these APIs to manage Visual Studio Team Services resources through the Azure Resource Manager. All task operations conform to the HTTP/1.1 protocol specification and each operation returns an x-ms-request-id header that can be used to obtain information about the request. You must make sure that requests made to these resources are secure. For more information, see https://docs.microsoft.com/en-us/rest/api/index.

func NewExtensionsClient deprecated

func NewExtensionsClient(subscriptionID string) ExtensionsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. NewExtensionsClient creates an instance of the ExtensionsClient client.

func NewExtensionsClientWithBaseURI deprecated

func NewExtensionsClientWithBaseURI(baseURI string, subscriptionID string) ExtensionsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. NewExtensionsClientWithBaseURI creates an instance of the ExtensionsClient client.

func (ExtensionsClient) Create deprecated

func (client ExtensionsClient) Create(ctx context.Context, resourceGroupName string, body ExtensionResourceRequest, accountResourceName string, extensionResourceName string) (result ExtensionResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. Create registers the extension with a Visual Studio Team Services account.

resourceGroupName is name of the resource group within the Azure subscription. body is an object containing additional information related to the extension request. accountResourceName is the name of the Visual Studio Team Services account resource. extensionResourceName is the name of the extension.

func (ExtensionsClient) CreatePreparer deprecated

func (client ExtensionsClient) CreatePreparer(ctx context.Context, resourceGroupName string, body ExtensionResourceRequest, accountResourceName string, extensionResourceName string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. CreatePreparer prepares the Create request.

func (ExtensionsClient) CreateResponder deprecated

func (client ExtensionsClient) CreateResponder(resp *http.Response) (result ExtensionResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ExtensionsClient) CreateSender deprecated

func (client ExtensionsClient) CreateSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ExtensionsClient) Delete deprecated

func (client ExtensionsClient) Delete(ctx context.Context, resourceGroupName string, accountResourceName string, extensionResourceName string) (result autorest.Response, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. Delete removes an extension resource registration for a Visual Studio Team Services account.

resourceGroupName is name of the resource group within the Azure subscription. accountResourceName is the name of the Visual Studio Team Services account resource. extensionResourceName is the name of the extension.

func (ExtensionsClient) DeletePreparer deprecated

func (client ExtensionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountResourceName string, extensionResourceName string) (*http.Request, error)

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

func (ExtensionsClient) DeleteResponder deprecated

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

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

func (ExtensionsClient) DeleteSender deprecated

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

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

func (ExtensionsClient) Get deprecated

func (client ExtensionsClient) Get(ctx context.Context, resourceGroupName string, accountResourceName string, extensionResourceName string) (result ExtensionResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. Get gets the details of an extension associated with a Visual Studio Team Services account resource.

resourceGroupName is name of the resource group within the Azure subscription. accountResourceName is the name of the Visual Studio Team Services account resource. extensionResourceName is the name of the extension.

func (ExtensionsClient) GetPreparer deprecated

func (client ExtensionsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountResourceName string, extensionResourceName string) (*http.Request, error)

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

func (ExtensionsClient) GetResponder deprecated

func (client ExtensionsClient) GetResponder(resp *http.Response) (result ExtensionResource, err error)

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

func (ExtensionsClient) GetSender deprecated

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

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

func (ExtensionsClient) ListByAccount deprecated

func (client ExtensionsClient) ListByAccount(ctx context.Context, resourceGroupName string, accountResourceName string) (result ExtensionResourceListResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. ListByAccount gets the details of the extension resources created within the resource group.

resourceGroupName is name of the resource group within the Azure subscription. accountResourceName is the name of the Visual Studio Team Services account resource.

func (ExtensionsClient) ListByAccountPreparer deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. ListByAccountPreparer prepares the ListByAccount request.

func (ExtensionsClient) ListByAccountResponder deprecated

func (client ExtensionsClient) ListByAccountResponder(resp *http.Response) (result ExtensionResourceListResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. ListByAccountResponder handles the response to the ListByAccount request. The method always closes the http.Response Body.

func (ExtensionsClient) ListByAccountSender deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. ListByAccountSender sends the ListByAccount request. The method will close the http.Response Body if it receives an error.

func (ExtensionsClient) Update deprecated

func (client ExtensionsClient) Update(ctx context.Context, resourceGroupName string, body ExtensionResourceRequest, accountResourceName string, extensionResourceName string) (result ExtensionResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. Update updates an existing extension registration for the Visual Studio Team Services account.

resourceGroupName is name of the resource group within the Azure subscription. body is an object containing additional information related to the extension request. accountResourceName is the name of the Visual Studio Team Services account resource. extensionResourceName is the name of the extension.

func (ExtensionsClient) UpdatePreparer deprecated

func (client ExtensionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, body ExtensionResourceRequest, accountResourceName string, extensionResourceName string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. UpdatePreparer prepares the Update request.

func (ExtensionsClient) UpdateResponder deprecated

func (client ExtensionsClient) UpdateResponder(resp *http.Response) (result ExtensionResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ExtensionsClient) UpdateSender deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type Operation deprecated

type Operation struct {
	// Display - The properties of the resource operation.
	Display *OperationProperties `json:"display,omitempty"`
	// Name - The name of the resource operation.
	Name *string `json:"name,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. Operation properties of an operation supported by the resource provider.

type OperationListResult deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. OperationListResult container for a list of operations supported by a resource provider.

type OperationProperties deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. OperationProperties properties of an operation supported by the resource provider.

type OperationsClient deprecated

type OperationsClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. OperationsClient is the use these APIs to manage Visual Studio Team Services resources through the Azure Resource Manager. All task operations conform to the HTTP/1.1 protocol specification and each operation returns an x-ms-request-id header that can be used to obtain information about the request. You must make sure that requests made to these resources are secure. For more information, see https://docs.microsoft.com/en-us/rest/api/index.

func NewOperationsClient deprecated

func NewOperationsClient(subscriptionID string) OperationsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio 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/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. List gets the details of all operations possible on the Microsoft.VisualStudio resource provider.

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/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. ListPreparer prepares the List request.

func (OperationsClient) ListResponder deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio 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/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ProjectResource deprecated

type ProjectResource struct {
	autorest.Response `json:"-"`
	// Properties - Key/value pair of resource properties.
	Properties map[string]*string `json:"properties"`
	// ID - Unique identifier of the resource.
	ID *string `json:"id,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Name - Resource name.
	Name *string `json:"name,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Type - Resource type.
	Type *string `json:"type,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. ProjectResource a Visual Studio Team Services project resource.

func (ProjectResource) MarshalJSON deprecated

func (pr ProjectResource) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. MarshalJSON is the custom marshaler for ProjectResource.

type ProjectResourceListResult deprecated

type ProjectResourceListResult struct {
	autorest.Response `json:"-"`
	// Value - List of project resource details.
	Value *[]ProjectResource `json:"value,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. ProjectResourceListResult the response to a request to list Team Services project resources in a resource group/account.

type ProjectsClient deprecated

type ProjectsClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. ProjectsClient is the use these APIs to manage Visual Studio Team Services resources through the Azure Resource Manager. All task operations conform to the HTTP/1.1 protocol specification and each operation returns an x-ms-request-id header that can be used to obtain information about the request. You must make sure that requests made to these resources are secure. For more information, see https://docs.microsoft.com/en-us/rest/api/index.

func NewProjectsClient deprecated

func NewProjectsClient(subscriptionID string) ProjectsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. NewProjectsClient creates an instance of the ProjectsClient client.

func NewProjectsClientWithBaseURI deprecated

func NewProjectsClientWithBaseURI(baseURI string, subscriptionID string) ProjectsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. NewProjectsClientWithBaseURI creates an instance of the ProjectsClient client.

func (ProjectsClient) Create deprecated

func (client ProjectsClient) Create(ctx context.Context, body ProjectResource, resourceGroupName string, rootResourceName string, resourceName string, validating string) (result ProjectsCreateFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. Create creates a Team Services project in the collection with the specified name. 'VersionControlOption' and 'ProcessTemplateId' must be specified in the resource properties. Valid values for VersionControlOption: Git, Tfvc. Valid values for ProcessTemplateId: 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC, 27450541-8E31-4150-9947-DC59F998FC01 (these IDs correspond to Scrum, Agile, and CMMI process templates).

body is the request data. resourceGroupName is name of the resource group within the Azure subscription. rootResourceName is name of the Team Services account. resourceName is name of the Team Services project. validating is this parameter is ignored and should be set to an empty string.

func (ProjectsClient) CreatePreparer deprecated

func (client ProjectsClient) CreatePreparer(ctx context.Context, body ProjectResource, resourceGroupName string, rootResourceName string, resourceName string, validating string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. CreatePreparer prepares the Create request.

func (ProjectsClient) CreateResponder deprecated

func (client ProjectsClient) CreateResponder(resp *http.Response) (result ProjectResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ProjectsClient) CreateSender deprecated

func (client ProjectsClient) CreateSender(req *http.Request) (future ProjectsCreateFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ProjectsClient) Get deprecated

func (client ProjectsClient) Get(ctx context.Context, resourceGroupName string, rootResourceName string, resourceName string) (result ProjectResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. Get gets the details of a Team Services project resource.

resourceGroupName is name of the resource group within the Azure subscription. rootResourceName is name of the Team Services account. resourceName is name of the Team Services project.

func (ProjectsClient) GetJobStatus deprecated

func (client ProjectsClient) GetJobStatus(ctx context.Context, resourceGroupName string, rootResourceName string, resourceName string, subContainerName string, operation string, jobID *uuid.UUID) (result ProjectResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. GetJobStatus gets the status of the project resource creation job.

resourceGroupName is name of the resource group within the Azure subscription. rootResourceName is name of the Team Services account. resourceName is name of the Team Services project. subContainerName is this parameter should be set to the resourceName. operation is the operation type. The only supported value is 'put'. jobID is the job identifier.

func (ProjectsClient) GetJobStatusPreparer deprecated

func (client ProjectsClient) GetJobStatusPreparer(ctx context.Context, resourceGroupName string, rootResourceName string, resourceName string, subContainerName string, operation string, jobID *uuid.UUID) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. GetJobStatusPreparer prepares the GetJobStatus request.

func (ProjectsClient) GetJobStatusResponder deprecated

func (client ProjectsClient) GetJobStatusResponder(resp *http.Response) (result ProjectResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. GetJobStatusResponder handles the response to the GetJobStatus request. The method always closes the http.Response Body.

func (ProjectsClient) GetJobStatusSender deprecated

func (client ProjectsClient) GetJobStatusSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. GetJobStatusSender sends the GetJobStatus request. The method will close the http.Response Body if it receives an error.

func (ProjectsClient) GetPreparer deprecated

func (client ProjectsClient) GetPreparer(ctx context.Context, resourceGroupName string, rootResourceName string, resourceName string) (*http.Request, error)

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

func (ProjectsClient) GetResponder deprecated

func (client ProjectsClient) GetResponder(resp *http.Response) (result ProjectResource, err error)

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

func (ProjectsClient) GetSender deprecated

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

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

func (ProjectsClient) ListByResourceGroup deprecated

func (client ProjectsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, rootResourceName string) (result ProjectResourceListResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. ListByResourceGroup gets all Visual Studio Team Services project resources created in the specified Team Services account.

resourceGroupName is name of the resource group within the Azure subscription. rootResourceName is name of the Team Services account.

func (ProjectsClient) ListByResourceGroupPreparer deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ProjectsClient) ListByResourceGroupResponder deprecated

func (client ProjectsClient) ListByResourceGroupResponder(resp *http.Response) (result ProjectResourceListResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ProjectsClient) ListByResourceGroupSender deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (ProjectsClient) Update deprecated

func (client ProjectsClient) Update(ctx context.Context, resourceGroupName string, body ProjectResource, rootResourceName string, resourceName string) (result ProjectResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. Update updates the tags of the specified Team Services project.

resourceGroupName is name of the resource group within the Azure subscription. body is the request data. rootResourceName is name of the Team Services account. resourceName is name of the Team Services project.

func (ProjectsClient) UpdatePreparer deprecated

func (client ProjectsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, body ProjectResource, rootResourceName string, resourceName string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. UpdatePreparer prepares the Update request.

func (ProjectsClient) UpdateResponder deprecated

func (client ProjectsClient) UpdateResponder(resp *http.Response) (result ProjectResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ProjectsClient) UpdateSender deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ProjectsCreateFuture deprecated

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

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

func (ProjectsCreateFuture) Result deprecated

func (future ProjectsCreateFuture) Result(client ProjectsClient) (pr ProjectResource, err error)

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

type Resource deprecated

type Resource struct {
	// ID - Unique identifier of the resource.
	ID *string `json:"id,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Name - Resource name.
	Name *string `json:"name,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Type - Resource type.
	Type *string `json:"type,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. Resource a generic Azure Resource Manager resource.

func (Resource) MarshalJSON deprecated

func (r Resource) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio instead. MarshalJSON is the custom marshaler for Resource.

Jump to

Keyboard shortcuts

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