visualstudio

package
v12.4.0-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2018 License: Apache-2.0 Imports: 4 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.

Deprecated: Please instead use github.com/Azure/azure-sdk-for-go/services/visualstudio/mgmt/2014-04-01-preview/visualstudio

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

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

func Version

func Version() string

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

Types

type AccountResource

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

AccountResource is the response to an account resource GET request.

type AccountResourceListResult

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

AccountResourceListResult is the response to an account resource list GET request.

type AccountResourceRequest

type AccountResourceRequest struct {
	AccountName   *string                 `json:"accountName,omitempty"`
	Location      *string                 `json:"location,omitempty"`
	OperationType *map[string]interface{} `json:"operationType,omitempty"`
	Properties    *map[string]*string     `json:"properties,omitempty"`
	Tags          *map[string]*string     `json:"tags,omitempty"`
}

AccountResourceRequest is the body of a PUT request to modify a Visual Studio account resource.

type AccountsClient

type AccountsClient struct {
	ManagementClient
}

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

func NewAccountsClient(subscriptionID string) AccountsClient

NewAccountsClient creates an instance of the AccountsClient client.

func NewAccountsClientWithBaseURI

func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient

NewAccountsClientWithBaseURI creates an instance of the AccountsClient client.

func (AccountsClient) CheckNameAvailability

func (client AccountsClient) CheckNameAvailability(body CheckNameAvailabilityParameter) (result CheckNameAvailabilityResult, err error)

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

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

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (AccountsClient) CheckNameAvailabilityResponder

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

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

func (AccountsClient) CheckNameAvailabilitySender

func (client AccountsClient) 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 (AccountsClient) CreateOrUpdate

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

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

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AccountsClient) CreateOrUpdateResponder

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

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

func (AccountsClient) CreateOrUpdateSender

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

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

func (AccountsClient) Delete

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

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

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

DeletePreparer prepares the Delete request.

func (AccountsClient) DeleteResponder

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

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

func (AccountsClient) DeleteSender

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

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

func (AccountsClient) Get

func (client AccountsClient) Get(resourceGroupName string, resourceName string) (result AccountResource, err error)

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

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

GetPreparer prepares the Get request.

func (AccountsClient) GetResponder

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

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

func (AccountsClient) GetSender

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

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

func (AccountsClient) ListByResourceGroup

func (client AccountsClient) ListByResourceGroup(resourceGroupName string) (result AccountResourceListResult, err error)

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

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (AccountsClient) ListByResourceGroupResponder

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

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

func (AccountsClient) ListByResourceGroupSender

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

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

type CheckNameAvailabilityParameter

type CheckNameAvailabilityParameter struct {
	ResourceName *string `json:"resourceName,omitempty"`
	ResourceType *string `json:"resourceType,omitempty"`
}

CheckNameAvailabilityParameter is the body of a POST request to check name availability.

type CheckNameAvailabilityResult

type CheckNameAvailabilityResult struct {
	autorest.Response `json:"-"`
	Message           *string `json:"message,omitempty"`
	NameAvailable     *bool   `json:"nameAvailable,omitempty"`
}

CheckNameAvailabilityResult is the response to a name availability request.

type ExtensionResource

type ExtensionResource struct {
	autorest.Response `json:"-"`
	ID                *string                `json:"id,omitempty"`
	Location          *string                `json:"location,omitempty"`
	Name              *string                `json:"name,omitempty"`
	Tags              *map[string]*string    `json:"tags,omitempty"`
	Type              *string                `json:"type,omitempty"`
	Plan              *ExtensionResourcePlan `json:"plan,omitempty"`
	Properties        *map[string]*string    `json:"properties,omitempty"`
}

ExtensionResource is the response to an extension resource GET request.

type ExtensionResourceListResult

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

ExtensionResourceListResult is the response to an extension resource list GET request.

type ExtensionResourcePlan

type ExtensionResourcePlan struct {
	Name          *string `json:"name,omitempty"`
	Product       *string `json:"product,omitempty"`
	PromotionCode *string `json:"promotionCode,omitempty"`
	Publisher     *string `json:"publisher,omitempty"`
	Version       *string `json:"version,omitempty"`
}

ExtensionResourcePlan is plan data for an extension resource.

type ExtensionResourceRequest

type ExtensionResourceRequest struct {
	Location   *string                `json:"location,omitempty"`
	Plan       *ExtensionResourcePlan `json:"plan,omitempty"`
	Properties *map[string]*string    `json:"properties,omitempty"`
	Tags       *map[string]*string    `json:"tags,omitempty"`
}

ExtensionResourceRequest is the body of an extension resource PUT request.

type ExtensionsClient

type ExtensionsClient struct {
	ManagementClient
}

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

func NewExtensionsClient(subscriptionID string) ExtensionsClient

NewExtensionsClient creates an instance of the ExtensionsClient client.

func NewExtensionsClientWithBaseURI

func NewExtensionsClientWithBaseURI(baseURI string, subscriptionID string) ExtensionsClient

NewExtensionsClientWithBaseURI creates an instance of the ExtensionsClient client.

func (ExtensionsClient) Create

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

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

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

CreatePreparer prepares the Create request.

func (ExtensionsClient) CreateResponder

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

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

func (ExtensionsClient) CreateSender

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

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

func (ExtensionsClient) Delete

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

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

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

DeletePreparer prepares the Delete request.

func (ExtensionsClient) DeleteResponder

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

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

func (ExtensionsClient) DeleteSender

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

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

func (ExtensionsClient) Get

func (client ExtensionsClient) Get(resourceGroupName string, accountResourceName string, extensionResourceName string) (result ExtensionResource, err error)

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

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

GetPreparer prepares the Get request.

func (ExtensionsClient) GetResponder

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

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

func (ExtensionsClient) GetSender

func (client ExtensionsClient) 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 (ExtensionsClient) ListByAccount

func (client ExtensionsClient) ListByAccount(resourceGroupName string, accountResourceName string) (result ExtensionResourceListResult, err error)

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

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

ListByAccountPreparer prepares the ListByAccount request.

func (ExtensionsClient) ListByAccountResponder

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

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

func (ExtensionsClient) ListByAccountSender

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

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

func (ExtensionsClient) Update

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

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

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

UpdatePreparer prepares the Update request.

func (ExtensionsClient) UpdateResponder

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

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

func (ExtensionsClient) UpdateSender

func (client ExtensionsClient) 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 ManagementClient

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

ManagementClient is the base client for Visualstudio.

func New

func New(subscriptionID string) ManagementClient

New creates an instance of the ManagementClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient

NewWithBaseURI creates an instance of the ManagementClient client.

type Operation

type Operation struct {
	Display *OperationProperties `json:"display,omitempty"`
	Name    *string              `json:"name,omitempty"`
}

Operation is properties of an operation supported by the resource provider.

type OperationListResult

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

OperationListResult is container for a list of operations supported by a resource provider.

type OperationProperties

type OperationProperties struct {
	Description *string `json:"description,omitempty"`
	Operation   *string `json:"operation,omitempty"`
	Provider    *string `json:"provider,omitempty"`
	Resource    *string `json:"resource,omitempty"`
}

OperationProperties is properties of an operation supported by the resource provider.

type OperationsClient

type OperationsClient struct {
	ManagementClient
}

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

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List

func (client OperationsClient) List() (result OperationListResult, err error)

List gets the details of all operations possible on the Microsoft.VisualStudio resource provider.

func (OperationsClient) ListPreparer

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

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

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

func (OperationsClient) ListSender

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

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

type ProjectResource

type ProjectResource struct {
	autorest.Response `json:"-"`
	ID                *string             `json:"id,omitempty"`
	Location          *string             `json:"location,omitempty"`
	Name              *string             `json:"name,omitempty"`
	Tags              *map[string]*string `json:"tags,omitempty"`
	Type              *string             `json:"type,omitempty"`
	Properties        *map[string]*string `json:"properties,omitempty"`
}

ProjectResource is a Visual Studio Team Services project resource.

type ProjectResourceListResult

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

ProjectResourceListResult is the response to a request to list Team Services project resources in a resource group/account.

type ProjectsClient

type ProjectsClient struct {
	ManagementClient
}

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

func NewProjectsClient(subscriptionID string) ProjectsClient

NewProjectsClient creates an instance of the ProjectsClient client.

func NewProjectsClientWithBaseURI

func NewProjectsClientWithBaseURI(baseURI string, subscriptionID string) ProjectsClient

NewProjectsClientWithBaseURI creates an instance of the ProjectsClient client.

func (ProjectsClient) Create

func (client ProjectsClient) Create(body ProjectResource, resourceGroupName string, rootResourceName string, resourceName string, validating string, cancel <-chan struct{}) (<-chan ProjectResource, <-chan error)

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). This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

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

func (client ProjectsClient) CreatePreparer(body ProjectResource, resourceGroupName string, rootResourceName string, resourceName string, validating string, cancel <-chan struct{}) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ProjectsClient) CreateResponder

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

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

func (ProjectsClient) CreateSender

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

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

func (ProjectsClient) Get

func (client ProjectsClient) Get(resourceGroupName string, rootResourceName string, resourceName string) (result ProjectResource, err error)

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

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

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

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

GetJobStatusPreparer prepares the GetJobStatus request.

func (ProjectsClient) GetJobStatusResponder

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

GetJobStatusResponder handles the response to the GetJobStatus request. The method always closes the http.Response Body.

func (ProjectsClient) GetJobStatusSender

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

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

func (ProjectsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (ProjectsClient) GetResponder

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

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

func (ProjectsClient) GetSender

func (client ProjectsClient) 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 (ProjectsClient) ListByResourceGroup

func (client ProjectsClient) ListByResourceGroup(resourceGroupName string, rootResourceName string) (result ProjectResourceListResult, err error)

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

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ProjectsClient) ListByResourceGroupResponder

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

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

func (ProjectsClient) ListByResourceGroupSender

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

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

func (ProjectsClient) Update

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

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

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

UpdatePreparer prepares the Update request.

func (ProjectsClient) UpdateResponder

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

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

func (ProjectsClient) UpdateSender

func (client ProjectsClient) 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 Resource

type Resource struct {
	ID       *string             `json:"id,omitempty"`
	Location *string             `json:"location,omitempty"`
	Name     *string             `json:"name,omitempty"`
	Tags     *map[string]*string `json:"tags,omitempty"`
	Type     *string             `json:"type,omitempty"`
}

Resource is a generic Azure Resource Manager resource.

Jump to

Keyboard shortcuts

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