delegatednetwork

package
v61.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package delegatednetwork implements the Azure ARM Delegatednetwork service API version 2021-03-15.

DNC web api provides way to create, get and delete dnc controller

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Delegatednetwork
	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 ActionType

type ActionType string

ActionType enumerates the values for action type.

const (
	// ActionTypeInternal ...
	ActionTypeInternal ActionType = "Internal"
)

func PossibleActionTypeValues

func PossibleActionTypeValues() []ActionType

PossibleActionTypeValues returns an array of possible values for the ActionType const type.

type BaseClient

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

BaseClient is the base client for Delegatednetwork.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type Client

type Client struct {
	BaseClient
}

Client is the DNC web api provides way to create, get and delete dnc controller

func NewClient

func NewClient(subscriptionID string) Client

NewClient creates an instance of the Client client.

func NewClientWithBaseURI

func NewClientWithBaseURI(baseURI string, subscriptionID string) Client

NewClientWithBaseURI creates an instance of the Client client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (Client) ListByResourceGroup

func (client Client) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DelegatedControllersPage, err error)

ListByResourceGroup get all the delegatedController resources in a resource group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (Client) ListByResourceGroupComplete

func (client Client) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DelegatedControllersIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (Client) ListByResourceGroupPreparer

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (Client) ListByResourceGroupResponder

func (client Client) ListByResourceGroupResponder(resp *http.Response) (result DelegatedControllers, err error)

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

func (Client) ListByResourceGroupSender

func (client Client) 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 (Client) ListBySubscription

func (client Client) ListBySubscription(ctx context.Context) (result DelegatedControllersPage, err error)

ListBySubscription get all the delegatedController resources in a subscription.

func (Client) ListBySubscriptionComplete

func (client Client) ListBySubscriptionComplete(ctx context.Context) (result DelegatedControllersIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (Client) ListBySubscriptionPreparer

func (client Client) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (Client) ListBySubscriptionResponder

func (client Client) ListBySubscriptionResponder(resp *http.Response) (result DelegatedControllers, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (Client) ListBySubscriptionSender

func (client Client) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

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

type ControllerClient

type ControllerClient struct {
	BaseClient
}

ControllerClient is the DNC web api provides way to create, get and delete dnc controller

func NewControllerClient

func NewControllerClient(subscriptionID string) ControllerClient

NewControllerClient creates an instance of the ControllerClient client.

func NewControllerClientWithBaseURI

func NewControllerClientWithBaseURI(baseURI string, subscriptionID string) ControllerClient

NewControllerClientWithBaseURI creates an instance of the ControllerClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ControllerClient) Create

func (client ControllerClient) Create(ctx context.Context, resourceGroupName string, resourceName string, parameters DelegatedController) (result ControllerCreateFuture, err error)

Create create a dnc controller Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the resource. It must be a minimum of 3 characters, and a maximum of 63. parameters - controller type parameters

func (ControllerClient) CreatePreparer

func (client ControllerClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters DelegatedController) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ControllerClient) CreateResponder

func (client ControllerClient) CreateResponder(resp *http.Response) (result DelegatedController, err error)

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

func (ControllerClient) CreateSender

func (client ControllerClient) CreateSender(req *http.Request) (future ControllerCreateFuture, err error)

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

func (ControllerClient) Delete

func (client ControllerClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result ControllerDeleteFuture, err error)

Delete deletes the DNC controller Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the resource. It must be a minimum of 3 characters, and a maximum of 63.

func (ControllerClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (ControllerClient) DeleteResponder

func (client ControllerClient) 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 (ControllerClient) DeleteSender

func (client ControllerClient) DeleteSender(req *http.Request) (future ControllerDeleteFuture, err error)

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

func (ControllerClient) GetDetails

func (client ControllerClient) GetDetails(ctx context.Context, resourceGroupName string, resourceName string) (result DelegatedController, err error)

GetDetails gets details about the specified dnc controller. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the resource. It must be a minimum of 3 characters, and a maximum of 63.

func (ControllerClient) GetDetailsPreparer

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

GetDetailsPreparer prepares the GetDetails request.

func (ControllerClient) GetDetailsResponder

func (client ControllerClient) GetDetailsResponder(resp *http.Response) (result DelegatedController, err error)

GetDetailsResponder handles the response to the GetDetails request. The method always closes the http.Response Body.

func (ControllerClient) GetDetailsSender

func (client ControllerClient) GetDetailsSender(req *http.Request) (*http.Response, error)

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

func (ControllerClient) Patch

func (client ControllerClient) Patch(ctx context.Context, resourceGroupName string, resourceName string, parameters ControllerResourceUpdateParameters) (result DelegatedController, err error)

Patch update dnc controller Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the resource. It must be a minimum of 3 characters, and a maximum of 63. parameters - controller type parameters

func (ControllerClient) PatchPreparer

func (client ControllerClient) PatchPreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters ControllerResourceUpdateParameters) (*http.Request, error)

PatchPreparer prepares the Patch request.

func (ControllerClient) PatchResponder

func (client ControllerClient) PatchResponder(resp *http.Response) (result DelegatedController, err error)

PatchResponder handles the response to the Patch request. The method always closes the http.Response Body.

func (ControllerClient) PatchSender

func (client ControllerClient) PatchSender(req *http.Request) (*http.Response, error)

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

type ControllerCreateFuture

type ControllerCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ControllerClient) (DelegatedController, error)
}

ControllerCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ControllerCreateFuture) UnmarshalJSON

func (future *ControllerCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ControllerDeleteFuture

type ControllerDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ControllerClient) (autorest.Response, error)
}

ControllerDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ControllerDeleteFuture) UnmarshalJSON

func (future *ControllerDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ControllerDetails

type ControllerDetails struct {
	// ID - controller arm resource id
	ID *string `json:"id,omitempty"`
}

ControllerDetails controller details

type ControllerResource

type ControllerResource struct {
	// ID - READ-ONLY; An identifier that represents the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of resource.
	Type *string `json:"type,omitempty"`
	// Location - Location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - The resource tags.
	Tags map[string]*string `json:"tags"`
}

ControllerResource represents an instance of a resource.

func (ControllerResource) MarshalJSON

func (cr ControllerResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ControllerResource.

type ControllerResourceUpdateParameters

type ControllerResourceUpdateParameters struct {
	// Tags - The resource tags.
	Tags map[string]*string `json:"tags"`
}

ControllerResourceUpdateParameters parameters for updating a resource.

func (ControllerResourceUpdateParameters) MarshalJSON

func (crup ControllerResourceUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ControllerResourceUpdateParameters.

type ControllerState

type ControllerState string

ControllerState enumerates the values for controller state.

const (
	// ControllerStateDeleting ...
	ControllerStateDeleting ControllerState = "Deleting"
	// ControllerStateFailed ...
	ControllerStateFailed ControllerState = "Failed"
	// ControllerStateProvisioning ...
	ControllerStateProvisioning ControllerState = "Provisioning"
	// ControllerStateSucceeded ...
	ControllerStateSucceeded ControllerState = "Succeeded"
)

func PossibleControllerStateValues

func PossibleControllerStateValues() []ControllerState

PossibleControllerStateValues returns an array of possible values for the ControllerState const type.

type DelegatedController

type DelegatedController struct {
	autorest.Response `json:"-"`
	// Properties - READ-ONLY; Properties of the provision operation request.
	Properties *DelegatedControllerProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; An identifier that represents the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of resource.
	Type *string `json:"type,omitempty"`
	// Location - Location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - The resource tags.
	Tags map[string]*string `json:"tags"`
}

DelegatedController represents an instance of a DNC controller.

func (DelegatedController) MarshalJSON

func (dc DelegatedController) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DelegatedController.

type DelegatedControllerProperties

type DelegatedControllerProperties struct {
	// ResourceGUID - READ-ONLY; Resource guid.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - READ-ONLY; The current state of dnc controller resource. Possible values include: 'ControllerStateDeleting', 'ControllerStateSucceeded', 'ControllerStateFailed', 'ControllerStateProvisioning'
	ProvisioningState ControllerState `json:"provisioningState,omitempty"`
	// DncAppID - READ-ONLY; dnc application id should be used by customer to authenticate with dnc gateway.
	DncAppID *string `json:"dncAppId,omitempty"`
	// DncTenantID - READ-ONLY; tenant id of dnc application id
	DncTenantID *string `json:"dncTenantId,omitempty"`
	// DncEndpoint - READ-ONLY; dnc endpoint url that customers can use to connect to
	DncEndpoint *string `json:"dncEndpoint,omitempty"`
}

DelegatedControllerProperties properties of Delegated controller resource.

func (DelegatedControllerProperties) MarshalJSON

func (dcp DelegatedControllerProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DelegatedControllerProperties.

type DelegatedControllers

type DelegatedControllers struct {
	autorest.Response `json:"-"`
	// Value - An array of Delegated controller resources.
	Value *[]DelegatedController `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of controllers.
	NextLink *string `json:"nextLink,omitempty"`
}

DelegatedControllers an array of Delegated controller resources.

func (DelegatedControllers) IsEmpty

func (dc DelegatedControllers) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (DelegatedControllers) MarshalJSON

func (dc DelegatedControllers) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DelegatedControllers.

type DelegatedControllersIterator

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

DelegatedControllersIterator provides access to a complete listing of DelegatedController values.

func NewDelegatedControllersIterator

func NewDelegatedControllersIterator(page DelegatedControllersPage) DelegatedControllersIterator

Creates a new instance of the DelegatedControllersIterator type.

func (*DelegatedControllersIterator) Next

func (iter *DelegatedControllersIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DelegatedControllersIterator) NextWithContext

func (iter *DelegatedControllersIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DelegatedControllersIterator) NotDone

func (iter DelegatedControllersIterator) NotDone() bool

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

func (DelegatedControllersIterator) Response

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

func (DelegatedControllersIterator) Value

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

type DelegatedControllersPage

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

DelegatedControllersPage contains a page of DelegatedController values.

func NewDelegatedControllersPage

func NewDelegatedControllersPage(cur DelegatedControllers, getNextPage func(context.Context, DelegatedControllers) (DelegatedControllers, error)) DelegatedControllersPage

Creates a new instance of the DelegatedControllersPage type.

func (*DelegatedControllersPage) Next

func (page *DelegatedControllersPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DelegatedControllersPage) NextWithContext

func (page *DelegatedControllersPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DelegatedControllersPage) NotDone

func (page DelegatedControllersPage) NotDone() bool

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

func (DelegatedControllersPage) Response

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

func (DelegatedControllersPage) Values

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

type DelegatedSubnet

type DelegatedSubnet struct {
	autorest.Response `json:"-"`
	// Properties - Properties of the provision operation request.
	Properties *DelegatedSubnetProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; An identifier that represents the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of resource.
	Type *string `json:"type,omitempty"`
	// Location - Location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - The resource tags.
	Tags map[string]*string `json:"tags"`
}

DelegatedSubnet represents an instance of a orchestrator.

func (DelegatedSubnet) MarshalJSON

func (ds DelegatedSubnet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DelegatedSubnet.

type DelegatedSubnetProperties

type DelegatedSubnetProperties struct {
	// ResourceGUID - READ-ONLY; Resource guid.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - READ-ONLY; The current state of dnc delegated subnet resource. Possible values include: 'DelegatedSubnetStateDeleting', 'DelegatedSubnetStateSucceeded', 'DelegatedSubnetStateFailed', 'DelegatedSubnetStateProvisioning'
	ProvisioningState DelegatedSubnetState `json:"provisioningState,omitempty"`
	// SubnetDetails - subnet details
	SubnetDetails *SubnetDetails `json:"subnetDetails,omitempty"`
	// ControllerDetails - Properties of the controller.
	ControllerDetails *ControllerDetails `json:"controllerDetails,omitempty"`
}

DelegatedSubnetProperties properties of delegated subnet

func (DelegatedSubnetProperties) MarshalJSON

func (dsp DelegatedSubnetProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DelegatedSubnetProperties.

type DelegatedSubnetResource

type DelegatedSubnetResource struct {
	// ID - READ-ONLY; An identifier that represents the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of resource.
	Type *string `json:"type,omitempty"`
	// Location - Location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - The resource tags.
	Tags map[string]*string `json:"tags"`
}

DelegatedSubnetResource represents an instance of a resource.

func (DelegatedSubnetResource) MarshalJSON

func (dsr DelegatedSubnetResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DelegatedSubnetResource.

type DelegatedSubnetServiceClient

type DelegatedSubnetServiceClient struct {
	BaseClient
}

DelegatedSubnetServiceClient is the DNC web api provides way to create, get and delete dnc controller

func NewDelegatedSubnetServiceClient

func NewDelegatedSubnetServiceClient(subscriptionID string) DelegatedSubnetServiceClient

NewDelegatedSubnetServiceClient creates an instance of the DelegatedSubnetServiceClient client.

func NewDelegatedSubnetServiceClientWithBaseURI

func NewDelegatedSubnetServiceClientWithBaseURI(baseURI string, subscriptionID string) DelegatedSubnetServiceClient

NewDelegatedSubnetServiceClientWithBaseURI creates an instance of the DelegatedSubnetServiceClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DelegatedSubnetServiceClient) DeleteDetails

func (client DelegatedSubnetServiceClient) DeleteDetails(ctx context.Context, resourceGroupName string, resourceName string, forceDelete *bool) (result DelegatedSubnetServiceDeleteDetailsFuture, err error)

DeleteDetails delete dnc DelegatedSubnet. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the resource. It must be a minimum of 3 characters, and a maximum of 63. forceDelete - force delete resource

func (DelegatedSubnetServiceClient) DeleteDetailsPreparer

func (client DelegatedSubnetServiceClient) DeleteDetailsPreparer(ctx context.Context, resourceGroupName string, resourceName string, forceDelete *bool) (*http.Request, error)

DeleteDetailsPreparer prepares the DeleteDetails request.

func (DelegatedSubnetServiceClient) DeleteDetailsResponder

func (client DelegatedSubnetServiceClient) DeleteDetailsResponder(resp *http.Response) (result autorest.Response, err error)

DeleteDetailsResponder handles the response to the DeleteDetails request. The method always closes the http.Response Body.

func (DelegatedSubnetServiceClient) DeleteDetailsSender

func (client DelegatedSubnetServiceClient) DeleteDetailsSender(req *http.Request) (future DelegatedSubnetServiceDeleteDetailsFuture, err error)

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

func (DelegatedSubnetServiceClient) GetDetails

func (client DelegatedSubnetServiceClient) GetDetails(ctx context.Context, resourceGroupName string, resourceName string) (result DelegatedSubnet, err error)

GetDetails gets details about the specified dnc DelegatedSubnet Link. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the resource. It must be a minimum of 3 characters, and a maximum of 63.

func (DelegatedSubnetServiceClient) GetDetailsPreparer

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

GetDetailsPreparer prepares the GetDetails request.

func (DelegatedSubnetServiceClient) GetDetailsResponder

func (client DelegatedSubnetServiceClient) GetDetailsResponder(resp *http.Response) (result DelegatedSubnet, err error)

GetDetailsResponder handles the response to the GetDetails request. The method always closes the http.Response Body.

func (DelegatedSubnetServiceClient) GetDetailsSender

func (client DelegatedSubnetServiceClient) GetDetailsSender(req *http.Request) (*http.Response, error)

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

func (DelegatedSubnetServiceClient) ListByResourceGroup

func (client DelegatedSubnetServiceClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DelegatedSubnetsPage, err error)

ListByResourceGroup get all the DelegatedSubnets resources in a resource group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (DelegatedSubnetServiceClient) ListByResourceGroupComplete

func (client DelegatedSubnetServiceClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DelegatedSubnetsIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (DelegatedSubnetServiceClient) ListByResourceGroupPreparer

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (DelegatedSubnetServiceClient) ListByResourceGroupResponder

func (client DelegatedSubnetServiceClient) ListByResourceGroupResponder(resp *http.Response) (result DelegatedSubnets, err error)

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

func (DelegatedSubnetServiceClient) ListByResourceGroupSender

func (client DelegatedSubnetServiceClient) 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 (DelegatedSubnetServiceClient) ListBySubscription

func (client DelegatedSubnetServiceClient) ListBySubscription(ctx context.Context) (result DelegatedSubnetsPage, err error)

ListBySubscription get all the DelegatedSubnets resources in a subscription.

func (DelegatedSubnetServiceClient) ListBySubscriptionComplete

func (client DelegatedSubnetServiceClient) ListBySubscriptionComplete(ctx context.Context) (result DelegatedSubnetsIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (DelegatedSubnetServiceClient) ListBySubscriptionPreparer

func (client DelegatedSubnetServiceClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (DelegatedSubnetServiceClient) ListBySubscriptionResponder

func (client DelegatedSubnetServiceClient) ListBySubscriptionResponder(resp *http.Response) (result DelegatedSubnets, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (DelegatedSubnetServiceClient) ListBySubscriptionSender

func (client DelegatedSubnetServiceClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

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

func (DelegatedSubnetServiceClient) PatchDetails

func (client DelegatedSubnetServiceClient) PatchDetails(ctx context.Context, resourceGroupName string, resourceName string, parameters ResourceUpdateParameters) (result DelegatedSubnetServicePatchDetailsFuture, err error)

PatchDetails patch delegated subnet resource Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the resource. It must be a minimum of 3 characters, and a maximum of 63. parameters - delegated subnet details.

func (DelegatedSubnetServiceClient) PatchDetailsPreparer

func (client DelegatedSubnetServiceClient) PatchDetailsPreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters ResourceUpdateParameters) (*http.Request, error)

PatchDetailsPreparer prepares the PatchDetails request.

func (DelegatedSubnetServiceClient) PatchDetailsResponder

func (client DelegatedSubnetServiceClient) PatchDetailsResponder(resp *http.Response) (result DelegatedSubnet, err error)

PatchDetailsResponder handles the response to the PatchDetails request. The method always closes the http.Response Body.

func (DelegatedSubnetServiceClient) PatchDetailsSender

func (client DelegatedSubnetServiceClient) PatchDetailsSender(req *http.Request) (future DelegatedSubnetServicePatchDetailsFuture, err error)

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

func (DelegatedSubnetServiceClient) PutDetails

func (client DelegatedSubnetServiceClient) PutDetails(ctx context.Context, resourceGroupName string, resourceName string, parameters DelegatedSubnet) (result DelegatedSubnetServicePutDetailsFuture, err error)

PutDetails put delegated subnet resource Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the resource. It must be a minimum of 3 characters, and a maximum of 63. parameters - delegated subnet details.

func (DelegatedSubnetServiceClient) PutDetailsPreparer

func (client DelegatedSubnetServiceClient) PutDetailsPreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters DelegatedSubnet) (*http.Request, error)

PutDetailsPreparer prepares the PutDetails request.

func (DelegatedSubnetServiceClient) PutDetailsResponder

func (client DelegatedSubnetServiceClient) PutDetailsResponder(resp *http.Response) (result DelegatedSubnet, err error)

PutDetailsResponder handles the response to the PutDetails request. The method always closes the http.Response Body.

func (DelegatedSubnetServiceClient) PutDetailsSender

func (client DelegatedSubnetServiceClient) PutDetailsSender(req *http.Request) (future DelegatedSubnetServicePutDetailsFuture, err error)

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

type DelegatedSubnetServiceDeleteDetailsFuture

type DelegatedSubnetServiceDeleteDetailsFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DelegatedSubnetServiceClient) (autorest.Response, error)
}

DelegatedSubnetServiceDeleteDetailsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DelegatedSubnetServiceDeleteDetailsFuture) UnmarshalJSON

func (future *DelegatedSubnetServiceDeleteDetailsFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DelegatedSubnetServicePatchDetailsFuture

type DelegatedSubnetServicePatchDetailsFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DelegatedSubnetServiceClient) (DelegatedSubnet, error)
}

DelegatedSubnetServicePatchDetailsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DelegatedSubnetServicePatchDetailsFuture) UnmarshalJSON

func (future *DelegatedSubnetServicePatchDetailsFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DelegatedSubnetServicePutDetailsFuture

type DelegatedSubnetServicePutDetailsFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DelegatedSubnetServiceClient) (DelegatedSubnet, error)
}

DelegatedSubnetServicePutDetailsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DelegatedSubnetServicePutDetailsFuture) UnmarshalJSON

func (future *DelegatedSubnetServicePutDetailsFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DelegatedSubnetState

type DelegatedSubnetState string

DelegatedSubnetState enumerates the values for delegated subnet state.

const (
	// DelegatedSubnetStateDeleting ...
	DelegatedSubnetStateDeleting DelegatedSubnetState = "Deleting"
	// DelegatedSubnetStateFailed ...
	DelegatedSubnetStateFailed DelegatedSubnetState = "Failed"
	// DelegatedSubnetStateProvisioning ...
	DelegatedSubnetStateProvisioning DelegatedSubnetState = "Provisioning"
	// DelegatedSubnetStateSucceeded ...
	DelegatedSubnetStateSucceeded DelegatedSubnetState = "Succeeded"
)

func PossibleDelegatedSubnetStateValues

func PossibleDelegatedSubnetStateValues() []DelegatedSubnetState

PossibleDelegatedSubnetStateValues returns an array of possible values for the DelegatedSubnetState const type.

type DelegatedSubnets

type DelegatedSubnets struct {
	autorest.Response `json:"-"`
	// Value - An array of DelegatedSubnet resources.
	Value *[]DelegatedSubnet `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of DelegatedSubnet resources.
	NextLink *string `json:"nextLink,omitempty"`
}

DelegatedSubnets an array of DelegatedSubnet resources.

func (DelegatedSubnets) IsEmpty

func (ds DelegatedSubnets) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (DelegatedSubnets) MarshalJSON

func (ds DelegatedSubnets) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DelegatedSubnets.

type DelegatedSubnetsIterator

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

DelegatedSubnetsIterator provides access to a complete listing of DelegatedSubnet values.

func NewDelegatedSubnetsIterator

func NewDelegatedSubnetsIterator(page DelegatedSubnetsPage) DelegatedSubnetsIterator

Creates a new instance of the DelegatedSubnetsIterator type.

func (*DelegatedSubnetsIterator) Next

func (iter *DelegatedSubnetsIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DelegatedSubnetsIterator) NextWithContext

func (iter *DelegatedSubnetsIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DelegatedSubnetsIterator) NotDone

func (iter DelegatedSubnetsIterator) NotDone() bool

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

func (DelegatedSubnetsIterator) Response

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

func (DelegatedSubnetsIterator) Value

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

type DelegatedSubnetsPage

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

DelegatedSubnetsPage contains a page of DelegatedSubnet values.

func NewDelegatedSubnetsPage

func NewDelegatedSubnetsPage(cur DelegatedSubnets, getNextPage func(context.Context, DelegatedSubnets) (DelegatedSubnets, error)) DelegatedSubnetsPage

Creates a new instance of the DelegatedSubnetsPage type.

func (*DelegatedSubnetsPage) Next

func (page *DelegatedSubnetsPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DelegatedSubnetsPage) NextWithContext

func (page *DelegatedSubnetsPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DelegatedSubnetsPage) NotDone

func (page DelegatedSubnetsPage) NotDone() bool

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

func (DelegatedSubnetsPage) Response

func (page DelegatedSubnetsPage) Response() DelegatedSubnets

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

func (DelegatedSubnetsPage) Values

func (page DelegatedSubnetsPage) Values() []DelegatedSubnet

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

type ErrorAdditionalInfo

type ErrorAdditionalInfo struct {
	// Type - READ-ONLY; The additional info type.
	Type *string `json:"type,omitempty"`
	// Info - READ-ONLY; The additional info.
	Info interface{} `json:"info,omitempty"`
}

ErrorAdditionalInfo the resource management error additional info.

func (ErrorAdditionalInfo) MarshalJSON

func (eai ErrorAdditionalInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorAdditionalInfo.

type ErrorDetail

type ErrorDetail struct {
	// Code - READ-ONLY; The error code.
	Code *string `json:"code,omitempty"`
	// Message - READ-ONLY; The error message.
	Message *string `json:"message,omitempty"`
	// Target - READ-ONLY; The error target.
	Target *string `json:"target,omitempty"`
	// Details - READ-ONLY; The error details.
	Details *[]ErrorDetail `json:"details,omitempty"`
	// AdditionalInfo - READ-ONLY; The error additional info.
	AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"`
}

ErrorDetail the error detail.

func (ErrorDetail) MarshalJSON

func (ed ErrorDetail) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorDetail.

type ErrorResponse

type ErrorResponse struct {
	// Error - The error object.
	Error *ErrorDetail `json:"error,omitempty"`
}

ErrorResponse common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

type Operation

type Operation struct {
	// Name - READ-ONLY; The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
	Name *string `json:"name,omitempty"`
	// IsDataAction - READ-ONLY; Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
	IsDataAction *bool `json:"isDataAction,omitempty"`
	// Display - Localized display information for this particular operation.
	Display *OperationDisplay `json:"display,omitempty"`
	// Origin - READ-ONLY; The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system". Possible values include: 'OriginUser', 'OriginSystem', 'OriginUsersystem'
	Origin Origin `json:"origin,omitempty"`
	// ActionType - READ-ONLY; Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. Possible values include: 'ActionTypeInternal'
	ActionType ActionType `json:"actionType,omitempty"`
}

Operation details of a REST API operation, returned from the Resource Provider Operations API

func (Operation) MarshalJSON

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

MarshalJSON is the custom marshaler for Operation.

type OperationDisplay

type OperationDisplay struct {
	// Provider - READ-ONLY; The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
	Provider *string `json:"provider,omitempty"`
	// Resource - READ-ONLY; The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
	Resource *string `json:"resource,omitempty"`
	// Operation - READ-ONLY; The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
	Operation *string `json:"operation,omitempty"`
	// Description - READ-ONLY; The short, localized friendly description of the operation; suitable for tool tips and detailed views.
	Description *string `json:"description,omitempty"`
}

OperationDisplay localized display information for this particular operation.

func (OperationDisplay) MarshalJSON

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

MarshalJSON is the custom marshaler for OperationDisplay.

type OperationListResult

type OperationListResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of operations supported by the resource provider
	Value *[]Operation `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next set of operation list results (if there are any).
	NextLink *string `json:"nextLink,omitempty"`
}

OperationListResult a list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.

func (OperationListResult) IsEmpty

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (OperationListResult) MarshalJSON

func (olr OperationListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationListResult.

type OperationListResultIterator

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

OperationListResultIterator provides access to a complete listing of Operation values.

func NewOperationListResultIterator

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next

func (iter *OperationListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultIterator) NextWithContext

func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationListResultIterator) NotDone

func (iter OperationListResultIterator) NotDone() bool

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

func (OperationListResultIterator) Response

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

func (OperationListResultIterator) Value

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

type OperationListResultPage

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

OperationListResultPage contains a page of Operation values.

func NewOperationListResultPage

func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next

func (page *OperationListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultPage) NextWithContext

func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationListResultPage) NotDone

func (page OperationListResultPage) NotDone() bool

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

func (OperationListResultPage) Response

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

func (OperationListResultPage) Values

func (page OperationListResultPage) Values() []Operation

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

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the DNC web api provides way to create, get and delete dnc controller

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

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

List lists all of the available DelegatedNetwork service REST API operations.

func (OperationsClient) ListComplete

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*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 Orchestrator

type Orchestrator struct {
	autorest.Response `json:"-"`
	// Properties - Properties of the provision operation request.
	Properties *OrchestratorResourceProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; An identifier that represents the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of resource.
	Type *string `json:"type,omitempty"`
	// Location - Location of the resource.
	Location *string `json:"location,omitempty"`
	// Kind - The kind of workbook. Choices are user and shared.
	Kind *string `json:"kind,omitempty"`
	// Identity - The identity of the orchestrator
	Identity *OrchestratorIdentity `json:"identity,omitempty"`
	// Tags - The resource tags.
	Tags map[string]*string `json:"tags"`
}

Orchestrator represents an instance of a orchestrator.

func (Orchestrator) MarshalJSON

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

MarshalJSON is the custom marshaler for Orchestrator.

type OrchestratorIdentity

type OrchestratorIdentity struct {
	// PrincipalID - READ-ONLY; The principal id of the system assigned identity which is used by orchestrator.
	PrincipalID *string `json:"principalId,omitempty"`
	// TenantID - READ-ONLY; The tenant id of the system assigned identity which is used by orchestrator.
	TenantID *string `json:"tenantId,omitempty"`
	// Type - The type of identity used for orchestrator cluster. Type 'SystemAssigned' will use an implicitly created identity orchestrator clusters. Possible values include: 'ResourceIdentityTypeSystemAssigned', 'ResourceIdentityTypeNone'
	Type ResourceIdentityType `json:"type,omitempty"`
}

OrchestratorIdentity ...

func (OrchestratorIdentity) MarshalJSON

func (oi OrchestratorIdentity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OrchestratorIdentity.

type OrchestratorInstanceServiceClient

type OrchestratorInstanceServiceClient struct {
	BaseClient
}

OrchestratorInstanceServiceClient is the DNC web api provides way to create, get and delete dnc controller

func NewOrchestratorInstanceServiceClient

func NewOrchestratorInstanceServiceClient(subscriptionID string) OrchestratorInstanceServiceClient

NewOrchestratorInstanceServiceClient creates an instance of the OrchestratorInstanceServiceClient client.

func NewOrchestratorInstanceServiceClientWithBaseURI

func NewOrchestratorInstanceServiceClientWithBaseURI(baseURI string, subscriptionID string) OrchestratorInstanceServiceClient

NewOrchestratorInstanceServiceClientWithBaseURI creates an instance of the OrchestratorInstanceServiceClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OrchestratorInstanceServiceClient) Create

func (client OrchestratorInstanceServiceClient) Create(ctx context.Context, resourceGroupName string, resourceName string, parameters Orchestrator) (result OrchestratorInstanceServiceCreateFuture, err error)

Create create a orchestrator instance Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the resource. It must be a minimum of 3 characters, and a maximum of 63. parameters - orchestratorInstance type parameters

func (OrchestratorInstanceServiceClient) CreatePreparer

func (client OrchestratorInstanceServiceClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters Orchestrator) (*http.Request, error)

CreatePreparer prepares the Create request.

func (OrchestratorInstanceServiceClient) CreateResponder

func (client OrchestratorInstanceServiceClient) CreateResponder(resp *http.Response) (result Orchestrator, err error)

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

func (OrchestratorInstanceServiceClient) CreateSender

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

func (OrchestratorInstanceServiceClient) Delete

func (client OrchestratorInstanceServiceClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result OrchestratorInstanceServiceDeleteFuture, err error)

Delete deletes the Orchestrator Instance Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the resource. It must be a minimum of 3 characters, and a maximum of 63.

func (OrchestratorInstanceServiceClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (OrchestratorInstanceServiceClient) DeleteResponder

func (client OrchestratorInstanceServiceClient) 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 (OrchestratorInstanceServiceClient) DeleteSender

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

func (OrchestratorInstanceServiceClient) GetDetails

func (client OrchestratorInstanceServiceClient) GetDetails(ctx context.Context, resourceGroupName string, resourceName string) (result Orchestrator, err error)

GetDetails gets details about the orchestrator instance. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the resource. It must be a minimum of 3 characters, and a maximum of 63.

func (OrchestratorInstanceServiceClient) GetDetailsPreparer

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

GetDetailsPreparer prepares the GetDetails request.

func (OrchestratorInstanceServiceClient) GetDetailsResponder

func (client OrchestratorInstanceServiceClient) GetDetailsResponder(resp *http.Response) (result Orchestrator, err error)

GetDetailsResponder handles the response to the GetDetails request. The method always closes the http.Response Body.

func (OrchestratorInstanceServiceClient) GetDetailsSender

func (client OrchestratorInstanceServiceClient) GetDetailsSender(req *http.Request) (*http.Response, error)

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

func (OrchestratorInstanceServiceClient) ListByResourceGroup

func (client OrchestratorInstanceServiceClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result OrchestratorsPage, err error)

ListByResourceGroup get all the OrchestratorInstances resources in a resource group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (OrchestratorInstanceServiceClient) ListByResourceGroupComplete

func (client OrchestratorInstanceServiceClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result OrchestratorsIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (OrchestratorInstanceServiceClient) ListByResourceGroupPreparer

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (OrchestratorInstanceServiceClient) ListByResourceGroupResponder

func (client OrchestratorInstanceServiceClient) ListByResourceGroupResponder(resp *http.Response) (result Orchestrators, err error)

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

func (OrchestratorInstanceServiceClient) ListByResourceGroupSender

func (client OrchestratorInstanceServiceClient) 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 (OrchestratorInstanceServiceClient) ListBySubscription

func (client OrchestratorInstanceServiceClient) ListBySubscription(ctx context.Context) (result OrchestratorsPage, err error)

ListBySubscription get all the orchestratorInstance resources in a subscription.

func (OrchestratorInstanceServiceClient) ListBySubscriptionComplete

func (client OrchestratorInstanceServiceClient) ListBySubscriptionComplete(ctx context.Context) (result OrchestratorsIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (OrchestratorInstanceServiceClient) ListBySubscriptionPreparer

func (client OrchestratorInstanceServiceClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (OrchestratorInstanceServiceClient) ListBySubscriptionResponder

func (client OrchestratorInstanceServiceClient) ListBySubscriptionResponder(resp *http.Response) (result Orchestrators, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (OrchestratorInstanceServiceClient) ListBySubscriptionSender

func (client OrchestratorInstanceServiceClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

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

func (OrchestratorInstanceServiceClient) Patch

func (client OrchestratorInstanceServiceClient) Patch(ctx context.Context, resourceGroupName string, resourceName string, parameters OrchestratorResourceUpdateParameters) (result Orchestrator, err error)

Patch update Orchestrator Instance Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the resource. It must be a minimum of 3 characters, and a maximum of 63. parameters - orchestratorInstance update parameters

func (OrchestratorInstanceServiceClient) PatchPreparer

func (client OrchestratorInstanceServiceClient) PatchPreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters OrchestratorResourceUpdateParameters) (*http.Request, error)

PatchPreparer prepares the Patch request.

func (OrchestratorInstanceServiceClient) PatchResponder

func (client OrchestratorInstanceServiceClient) PatchResponder(resp *http.Response) (result Orchestrator, err error)

PatchResponder handles the response to the Patch request. The method always closes the http.Response Body.

func (OrchestratorInstanceServiceClient) PatchSender

func (client OrchestratorInstanceServiceClient) PatchSender(req *http.Request) (*http.Response, error)

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

type OrchestratorInstanceServiceCreateFuture

type OrchestratorInstanceServiceCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(OrchestratorInstanceServiceClient) (Orchestrator, error)
}

OrchestratorInstanceServiceCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*OrchestratorInstanceServiceCreateFuture) UnmarshalJSON

func (future *OrchestratorInstanceServiceCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type OrchestratorInstanceServiceDeleteFuture

type OrchestratorInstanceServiceDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(OrchestratorInstanceServiceClient) (autorest.Response, error)
}

OrchestratorInstanceServiceDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*OrchestratorInstanceServiceDeleteFuture) UnmarshalJSON

func (future *OrchestratorInstanceServiceDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type OrchestratorInstanceState

type OrchestratorInstanceState string

OrchestratorInstanceState enumerates the values for orchestrator instance state.

const (
	// OrchestratorInstanceStateDeleting ...
	OrchestratorInstanceStateDeleting OrchestratorInstanceState = "Deleting"
	// OrchestratorInstanceStateFailed ...
	OrchestratorInstanceStateFailed OrchestratorInstanceState = "Failed"
	// OrchestratorInstanceStateProvisioning ...
	OrchestratorInstanceStateProvisioning OrchestratorInstanceState = "Provisioning"
	// OrchestratorInstanceStateSucceeded ...
	OrchestratorInstanceStateSucceeded OrchestratorInstanceState = "Succeeded"
)

func PossibleOrchestratorInstanceStateValues

func PossibleOrchestratorInstanceStateValues() []OrchestratorInstanceState

PossibleOrchestratorInstanceStateValues returns an array of possible values for the OrchestratorInstanceState const type.

type OrchestratorResource

type OrchestratorResource struct {
	// ID - READ-ONLY; An identifier that represents the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of resource.
	Type *string `json:"type,omitempty"`
	// Location - Location of the resource.
	Location *string `json:"location,omitempty"`
	// Kind - The kind of workbook. Choices are user and shared.
	Kind *string `json:"kind,omitempty"`
	// Identity - The identity of the orchestrator
	Identity *OrchestratorIdentity `json:"identity,omitempty"`
	// Tags - The resource tags.
	Tags map[string]*string `json:"tags"`
}

OrchestratorResource represents an instance of a resource.

func (OrchestratorResource) MarshalJSON

func (or OrchestratorResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OrchestratorResource.

type OrchestratorResourceProperties

type OrchestratorResourceProperties struct {
	// ResourceGUID - READ-ONLY; Resource guid.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - READ-ONLY; The current state of orchestratorInstance resource. Possible values include: 'OrchestratorInstanceStateDeleting', 'OrchestratorInstanceStateSucceeded', 'OrchestratorInstanceStateFailed', 'OrchestratorInstanceStateProvisioning'
	ProvisioningState OrchestratorInstanceState `json:"provisioningState,omitempty"`
	// OrchestratorAppID - AAD ID used with apiserver
	OrchestratorAppID *string `json:"orchestratorAppId,omitempty"`
	// OrchestratorTenantID - TenantID of server App ID
	OrchestratorTenantID *string `json:"orchestratorTenantId,omitempty"`
	// ClusterRootCA - RootCA certificate of kubernetes cluster base64 encoded
	ClusterRootCA *string `json:"clusterRootCA,omitempty"`
	// APIServerEndpoint - K8s APIServer url. Either one of apiServerEndpoint or privateLinkResourceId can be specified
	APIServerEndpoint *string `json:"apiServerEndpoint,omitempty"`
	// PrivateLinkResourceID - private link arm resource id. Either one of apiServerEndpoint or privateLinkResourceId can be specified
	PrivateLinkResourceID *string `json:"privateLinkResourceId,omitempty"`
	// ControllerDetails - Properties of the controller.
	ControllerDetails *ControllerDetails `json:"controllerDetails,omitempty"`
}

OrchestratorResourceProperties properties of orchestrator

func (OrchestratorResourceProperties) MarshalJSON

func (orp OrchestratorResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OrchestratorResourceProperties.

type OrchestratorResourceUpdateParameters

type OrchestratorResourceUpdateParameters struct {
	// Tags - The resource tags.
	Tags map[string]*string `json:"tags"`
}

OrchestratorResourceUpdateParameters parameters for updating a resource.

func (OrchestratorResourceUpdateParameters) MarshalJSON

func (orup OrchestratorResourceUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OrchestratorResourceUpdateParameters.

type Orchestrators

type Orchestrators struct {
	autorest.Response `json:"-"`
	// Value - An array of OrchestratorInstance resources.
	Value *[]Orchestrator `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of orchestrators.
	NextLink *string `json:"nextLink,omitempty"`
}

Orchestrators an array of OrchestratorInstance resources.

func (Orchestrators) IsEmpty

func (o Orchestrators) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (Orchestrators) MarshalJSON

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

MarshalJSON is the custom marshaler for Orchestrators.

type OrchestratorsIterator

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

OrchestratorsIterator provides access to a complete listing of Orchestrator values.

func NewOrchestratorsIterator

func NewOrchestratorsIterator(page OrchestratorsPage) OrchestratorsIterator

Creates a new instance of the OrchestratorsIterator type.

func (*OrchestratorsIterator) Next

func (iter *OrchestratorsIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OrchestratorsIterator) NextWithContext

func (iter *OrchestratorsIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OrchestratorsIterator) NotDone

func (iter OrchestratorsIterator) NotDone() bool

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

func (OrchestratorsIterator) Response

func (iter OrchestratorsIterator) Response() Orchestrators

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

func (OrchestratorsIterator) Value

func (iter OrchestratorsIterator) Value() Orchestrator

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

type OrchestratorsPage

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

OrchestratorsPage contains a page of Orchestrator values.

func NewOrchestratorsPage

func NewOrchestratorsPage(cur Orchestrators, getNextPage func(context.Context, Orchestrators) (Orchestrators, error)) OrchestratorsPage

Creates a new instance of the OrchestratorsPage type.

func (*OrchestratorsPage) Next

func (page *OrchestratorsPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OrchestratorsPage) NextWithContext

func (page *OrchestratorsPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OrchestratorsPage) NotDone

func (page OrchestratorsPage) NotDone() bool

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

func (OrchestratorsPage) Response

func (page OrchestratorsPage) Response() Orchestrators

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

func (OrchestratorsPage) Values

func (page OrchestratorsPage) Values() []Orchestrator

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

type Origin

type Origin string

Origin enumerates the values for origin.

const (
	// OriginSystem ...
	OriginSystem Origin = "system"
	// OriginUser ...
	OriginUser Origin = "user"
	// OriginUsersystem ...
	OriginUsersystem Origin = "user,system"
)

func PossibleOriginValues

func PossibleOriginValues() []Origin

PossibleOriginValues returns an array of possible values for the Origin const type.

type ResourceIdentityType

type ResourceIdentityType string

ResourceIdentityType enumerates the values for resource identity type.

const (
	// ResourceIdentityTypeNone ...
	ResourceIdentityTypeNone ResourceIdentityType = "None"
	// ResourceIdentityTypeSystemAssigned ...
	ResourceIdentityTypeSystemAssigned ResourceIdentityType = "SystemAssigned"
)

func PossibleResourceIdentityTypeValues

func PossibleResourceIdentityTypeValues() []ResourceIdentityType

PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.

type ResourceUpdateParameters

type ResourceUpdateParameters struct {
	// Tags - The resource tags.
	Tags map[string]*string `json:"tags"`
}

ResourceUpdateParameters parameters for updating a resource.

func (ResourceUpdateParameters) MarshalJSON

func (rup ResourceUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceUpdateParameters.

type SubnetDetails

type SubnetDetails struct {
	// ID - subnet arm resource id
	ID *string `json:"id,omitempty"`
}

SubnetDetails properties of orchestrator

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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