features

package
v0.2.0-beta Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2015 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// APIVersion is the version of the Features
	APIVersion = "2014-08-01-preview"

	// DefaultBaseURI is the default URI used for the service Features
	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 Client

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

Client is the base client for Features.

func New

func New(subscriptionID string) Client

New creates an instance of the Client client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) Client

NewWithBaseURI creates an instance of the Client client.

func (Client) Get

func (client Client) Get(resourceProviderNamespace string, featureName string) (result FeatureResult, ae error)

Get get all features under the subscription.

resourceProviderNamespace is namespace of the resource provider. featureName is previewed feature name in the resource provider.

func (Client) GetPreparer

func (client Client) GetPreparer(resourceProviderNamespace string, featureName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (Client) GetResponder

func (client Client) GetResponder(resp *http.Response) (result FeatureResult, err error)

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

func (Client) GetSender

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

func (client Client) List(resourceProviderNamespace string) (result FeatureOperationsListResult, ae error)

List gets a list of previewed features of a resource provider.

resourceProviderNamespace is the namespace of the resource provider.

func (Client) ListAll

func (client Client) ListAll() (result FeatureOperationsListResult, ae error)

ListAll gets a list of previewed features for all the providers in the current subscription.

func (Client) ListAllNextResults

func (client Client) ListAllNextResults(lastResults FeatureOperationsListResult) (result FeatureOperationsListResult, ae error)

ListAllNextResults retrieves the next set of results, if any.

func (Client) ListAllPreparer

func (client Client) ListAllPreparer() (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (Client) ListAllResponder

func (client Client) ListAllResponder(resp *http.Response) (result FeatureOperationsListResult, err error)

ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.

func (Client) ListAllSender

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

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

func (Client) ListNextResults

func (client Client) ListNextResults(lastResults FeatureOperationsListResult) (result FeatureOperationsListResult, ae error)

ListNextResults retrieves the next set of results, if any.

func (Client) ListPreparer

func (client Client) ListPreparer(resourceProviderNamespace string) (*http.Request, error)

ListPreparer prepares the List request.

func (Client) ListResponder

func (client Client) ListResponder(resp *http.Response) (result FeatureOperationsListResult, err error)

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

func (Client) ListSender

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

func (Client) Register

func (client Client) Register(resourceProviderNamespace string, featureName string) (result FeatureResult, ae error)

Register registers for a previewed feature of a resource provider.

resourceProviderNamespace is namespace of the resource provider. featureName is previewed feature name in the resource provider.

func (Client) RegisterPreparer

func (client Client) RegisterPreparer(resourceProviderNamespace string, featureName string) (*http.Request, error)

RegisterPreparer prepares the Register request.

func (Client) RegisterResponder

func (client Client) RegisterResponder(resp *http.Response) (result FeatureResult, err error)

RegisterResponder handles the response to the Register request. The method always closes the http.Response Body.

func (Client) RegisterSender

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

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

type DeploymentExtendedFilter

type DeploymentExtendedFilter struct {
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

DeploymentExtendedFilter is deployment filter.

type FeatureOperationsListResult

type FeatureOperationsListResult struct {
	autorest.Response `json:"-"`
	Value             *[]FeatureResult `json:"value,omitempty"`
	NextLink          *string          `json:"nextLink,omitempty"`
}

FeatureOperationsListResult is list of previewed features.

func (FeatureOperationsListResult) FeatureOperationsListResultPreparer

func (client FeatureOperationsListResult) FeatureOperationsListResultPreparer() (*http.Request, error)

FeatureOperationsListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type FeatureProperties

type FeatureProperties struct {
	State *string `json:"state,omitempty"`
}

FeatureProperties is previewed feature information.

type FeatureResult

type FeatureResult struct {
	autorest.Response `json:"-"`
	Name              *string            `json:"name,omitempty"`
	Properties        *FeatureProperties `json:"properties,omitempty"`
	ID                *string            `json:"id,omitempty"`
	Type              *string            `json:"type,omitempty"`
}

FeatureResult is previewed feature information.

type FeaturesClient

type FeaturesClient struct {
	Client
}

FeaturesClient is the client for the Features methods of the Features service.

func NewFeaturesClient

func NewFeaturesClient(subscriptionID string) FeaturesClient

NewFeaturesClient creates an instance of the FeaturesClient client.

func NewFeaturesClientWithBaseURI

func NewFeaturesClientWithBaseURI(baseURI string, subscriptionID string) FeaturesClient

NewFeaturesClientWithBaseURI creates an instance of the FeaturesClient client.

func (FeaturesClient) Get

func (client FeaturesClient) Get(resourceProviderNamespace string, featureName string) (result FeatureResult, ae error)

Get get all features under the subscription.

resourceProviderNamespace is namespace of the resource provider. featureName is previewed feature name in the resource provider.

func (FeaturesClient) GetPreparer

func (client FeaturesClient) GetPreparer(resourceProviderNamespace string, featureName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (FeaturesClient) GetResponder

func (client FeaturesClient) GetResponder(resp *http.Response) (result FeatureResult, err error)

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

func (FeaturesClient) GetSender

func (client FeaturesClient) 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 (FeaturesClient) List

func (client FeaturesClient) List(resourceProviderNamespace string) (result FeatureOperationsListResult, ae error)

List gets a list of previewed features of a resource provider.

resourceProviderNamespace is the namespace of the resource provider.

func (FeaturesClient) ListAll

func (client FeaturesClient) ListAll() (result FeatureOperationsListResult, ae error)

ListAll gets a list of previewed features for all the providers in the current subscription.

func (FeaturesClient) ListAllNextResults

func (client FeaturesClient) ListAllNextResults(lastResults FeatureOperationsListResult) (result FeatureOperationsListResult, ae error)

ListAllNextResults retrieves the next set of results, if any.

func (FeaturesClient) ListAllPreparer

func (client FeaturesClient) ListAllPreparer() (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (FeaturesClient) ListAllResponder

func (client FeaturesClient) ListAllResponder(resp *http.Response) (result FeatureOperationsListResult, err error)

ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.

func (FeaturesClient) ListAllSender

func (client FeaturesClient) ListAllSender(req *http.Request) (*http.Response, error)

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

func (FeaturesClient) ListNextResults

func (client FeaturesClient) ListNextResults(lastResults FeatureOperationsListResult) (result FeatureOperationsListResult, ae error)

ListNextResults retrieves the next set of results, if any.

func (FeaturesClient) ListPreparer

func (client FeaturesClient) ListPreparer(resourceProviderNamespace string) (*http.Request, error)

ListPreparer prepares the List request.

func (FeaturesClient) ListResponder

func (client FeaturesClient) ListResponder(resp *http.Response) (result FeatureOperationsListResult, err error)

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

func (FeaturesClient) ListSender

func (client FeaturesClient) 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.

func (FeaturesClient) Register

func (client FeaturesClient) Register(resourceProviderNamespace string, featureName string) (result FeatureResult, ae error)

Register registers for a previewed feature of a resource provider.

resourceProviderNamespace is namespace of the resource provider. featureName is previewed feature name in the resource provider.

func (FeaturesClient) RegisterPreparer

func (client FeaturesClient) RegisterPreparer(resourceProviderNamespace string, featureName string) (*http.Request, error)

RegisterPreparer prepares the Register request.

func (FeaturesClient) RegisterResponder

func (client FeaturesClient) RegisterResponder(resp *http.Response) (result FeatureResult, err error)

RegisterResponder handles the response to the Register request. The method always closes the http.Response Body.

func (FeaturesClient) RegisterSender

func (client FeaturesClient) RegisterSender(req *http.Request) (*http.Response, error)

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

type GenericResourceFilter

type GenericResourceFilter struct {
	ResourceType *string `json:"resourceType,omitempty"`
	Tagname      *string `json:"tagname,omitempty"`
	Tagvalue     *string `json:"tagvalue,omitempty"`
}

GenericResourceFilter is resource filter.

type Resource

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

Resource is

type ResourceGroupFilter

type ResourceGroupFilter struct {
	TagName  *string `json:"tagName,omitempty"`
	TagValue *string `json:"tagValue,omitempty"`
}

ResourceGroupFilter is resource group filter.

type SubResource

type SubResource struct {
	ID *string `json:"id,omitempty"`
}

SubResource is

Jump to

Keyboard shortcuts

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