managementpartner

package
v21.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package managementpartner implements the Azure ARM Managementpartner service API version 2018-02-01.

This API describe ACE Provisioning ManagementPartner

Index

Constants

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

Types

type BaseClient deprecated

type BaseClient struct {
	autorest.Client
	BaseURI string
}

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

func New deprecated

func New() BaseClient

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

func NewWithBaseURI deprecated

func NewWithBaseURI(baseURI string) BaseClient

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

type Code deprecated

type Code string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. Code enumerates the values for code.

const (
	// BadRequest ...
	BadRequest Code = "BadRequest"
	// Conflict ...
	Conflict Code = "Conflict"
	// NotFound ...
	NotFound Code = "NotFound"
)

func PossibleCodeValues deprecated

func PossibleCodeValues() []Code

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. PossibleCodeValues returns an array of possible values for the Code const type.

type Error deprecated

type Error struct {
	// Error - this is the ExtendedErrorInfo property
	Error *ExtendedErrorInfo `json:"error,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. Error this is the management partner operations error

type ExtendedErrorInfo deprecated

type ExtendedErrorInfo struct {
	// Code - this is the error response code. Possible values include: 'NotFound', 'Conflict', 'BadRequest'
	Code Code `json:"code,omitempty"`
	// Message - this is the extended error info message
	Message *string `json:"message,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. ExtendedErrorInfo this is the extended error info

type OperationClient deprecated

type OperationClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. OperationClient is the this API describe ACE Provisioning ManagementPartner

func NewOperationClient deprecated

func NewOperationClient() OperationClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. NewOperationClient creates an instance of the OperationClient client.

func NewOperationClientWithBaseURI deprecated

func NewOperationClientWithBaseURI(baseURI string) OperationClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. NewOperationClientWithBaseURI creates an instance of the OperationClient client.

func (OperationClient) List deprecated

func (client OperationClient) List(ctx context.Context) (result OperationListPage, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. List list all the operations.

func (OperationClient) ListComplete deprecated

func (client OperationClient) ListComplete(ctx context.Context) (result OperationListIterator, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationClient) ListPreparer deprecated

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

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

func (OperationClient) ListResponder deprecated

func (client OperationClient) ListResponder(resp *http.Response) (result OperationList, err error)

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

func (OperationClient) ListSender deprecated

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

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

type OperationDisplay deprecated

type OperationDisplay struct {
	// Provider - the is management partner provider
	Provider *string `json:"provider,omitempty"`
	// Resource - the is management partner resource
	Resource *string `json:"resource,omitempty"`
	// Operation - the is management partner operation
	Operation *string `json:"operation,omitempty"`
	// Description - the is management partner operation description
	Description *string `json:"description,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. OperationDisplay this is the management partner operation

type OperationList deprecated

type OperationList struct {
	autorest.Response `json:"-"`
	// Value - this is the operation response list
	Value *[]OperationResponse `json:"value,omitempty"`
	// NextLink - Url to get the next page of items.
	NextLink *string `json:"nextLink,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. OperationList this is the management partner operations list

func (OperationList) IsEmpty deprecated

func (ol OperationList) IsEmpty() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. IsEmpty returns true if the ListResult contains no values.

type OperationListIterator deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. OperationListIterator provides access to a complete listing of OperationResponse values.

func (*OperationListIterator) Next deprecated

func (iter *OperationListIterator) Next() error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationListIterator) NotDone deprecated

func (iter OperationListIterator) NotDone() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationListIterator) Response deprecated

func (iter OperationListIterator) Response() OperationList

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. Response returns the raw server response from the last page request.

func (OperationListIterator) Value deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationListPage deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. OperationListPage contains a page of OperationResponse values.

func (*OperationListPage) Next deprecated

func (page *OperationListPage) Next() error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationListPage) NotDone deprecated

func (page OperationListPage) NotDone() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationListPage) Response deprecated

func (page OperationListPage) Response() OperationList

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. Response returns the raw server response from the last page request.

func (OperationListPage) Values deprecated

func (page OperationListPage) Values() []OperationResponse

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. Values returns the slice of values for the current page or nil if there are no values.

type OperationResponse deprecated

type OperationResponse struct {
	// Name - this is the operation response name
	Name *string `json:"name,omitempty"`
	// Display - this is the operation display
	Display *OperationDisplay `json:"display,omitempty"`
	// Origin - the is operation response origin information
	Origin *string `json:"origin,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. OperationResponse this is the management partner operations response

type PartnerClient deprecated

type PartnerClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. PartnerClient is the this API describe ACE Provisioning ManagementPartner

func NewPartnerClient deprecated

func NewPartnerClient() PartnerClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. NewPartnerClient creates an instance of the PartnerClient client.

func NewPartnerClientWithBaseURI deprecated

func NewPartnerClientWithBaseURI(baseURI string) PartnerClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. NewPartnerClientWithBaseURI creates an instance of the PartnerClient client.

func (PartnerClient) Create deprecated

func (client PartnerClient) Create(ctx context.Context, partnerID string) (result PartnerResponse, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. Create create a management partner for the objectId and tenantId.

partnerID is id of the Partner

func (PartnerClient) CreatePreparer deprecated

func (client PartnerClient) CreatePreparer(ctx context.Context, partnerID string) (*http.Request, error)

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

func (PartnerClient) CreateResponder deprecated

func (client PartnerClient) CreateResponder(resp *http.Response) (result PartnerResponse, err error)

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

func (PartnerClient) CreateSender deprecated

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

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

func (PartnerClient) Delete deprecated

func (client PartnerClient) Delete(ctx context.Context, partnerID string) (result autorest.Response, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. Delete delete the management partner for the objectId and tenantId.

partnerID is id of the Partner

func (PartnerClient) DeletePreparer deprecated

func (client PartnerClient) DeletePreparer(ctx context.Context, partnerID string) (*http.Request, error)

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

func (PartnerClient) DeleteResponder deprecated

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

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

func (PartnerClient) DeleteSender deprecated

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

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

func (PartnerClient) Get deprecated

func (client PartnerClient) Get(ctx context.Context, partnerID string) (result PartnerResponse, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. Get get the management partner using the partnerId, objectId and tenantId.

partnerID is id of the Partner

func (PartnerClient) GetPreparer deprecated

func (client PartnerClient) GetPreparer(ctx context.Context, partnerID string) (*http.Request, error)

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

func (PartnerClient) GetResponder deprecated

func (client PartnerClient) GetResponder(resp *http.Response) (result PartnerResponse, err error)

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

func (PartnerClient) GetSender deprecated

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

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

func (PartnerClient) Update deprecated

func (client PartnerClient) Update(ctx context.Context, partnerID string) (result PartnerResponse, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. Update update the management partner for the objectId and tenantId.

partnerID is id of the Partner

func (PartnerClient) UpdatePreparer deprecated

func (client PartnerClient) UpdatePreparer(ctx context.Context, partnerID string) (*http.Request, error)

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

func (PartnerClient) UpdateResponder deprecated

func (client PartnerClient) UpdateResponder(resp *http.Response) (result PartnerResponse, err error)

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

func (PartnerClient) UpdateSender deprecated

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

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

type PartnerProperties deprecated

type PartnerProperties struct {
	// PartnerID - This is the partner id
	PartnerID *string `json:"partnerId,omitempty"`
	// PartnerName - This is the partner name
	PartnerName *string `json:"partnerName,omitempty"`
	// TenantID - This is the tenant id.
	TenantID *string `json:"tenantId,omitempty"`
	// ObjectID - This is the object id.
	ObjectID *string `json:"objectId,omitempty"`
	// Version - This is the version.
	Version *string `json:"version,omitempty"`
	// UpdatedTime - This is the DateTime when the partner was updated.
	UpdatedTime *date.Time `json:"updatedTime,omitempty"`
	// CreatedTime - This is the DateTime when the partner was created.
	CreatedTime *date.Time `json:"createdTime,omitempty"`
	// State - This is the partner state. Possible values include: 'Active', 'Deleted'
	State State `json:"state,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. PartnerProperties this is the management partner properties

type PartnerResponse deprecated

type PartnerResponse struct {
	autorest.Response `json:"-"`
	// Etag - Type of the partner
	Etag *int32 `json:"etag,omitempty"`
	// ID - Identifier of the partner
	ID *string `json:"id,omitempty"`
	// Name - Name of the partner
	Name *string `json:"name,omitempty"`
	// PartnerProperties - Properties of the partner
	*PartnerProperties `json:"properties,omitempty"`
	// Type - Type of resource. "Microsoft.ManagementPartner/partners"
	Type *string `json:"type,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. PartnerResponse this is the management partner operations response

func (PartnerResponse) MarshalJSON deprecated

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

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

func (*PartnerResponse) UnmarshalJSON deprecated

func (pr *PartnerResponse) UnmarshalJSON(body []byte) error

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

type State deprecated

type State string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. State enumerates the values for state.

const (
	// Active ...
	Active State = "Active"
	// Deleted ...
	Deleted State = "Deleted"
)

func PossibleStateValues deprecated

func PossibleStateValues() []State

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/managementpartner/mgmt/2018-02-01/managementpartner instead. PossibleStateValues returns an array of possible values for the State const type.

Jump to

Keyboard shortcuts

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