features

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2016 License: MIT, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApiVersion     = "2014-08-01-preview"
	DefaultBaseUri = "https://management.azure.com"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FeatureClient

type FeatureClient struct {
	autorest.Client
	BaseUri        string
	SubscriptionId string
}

func New

func New(subscriptionId string) FeatureClient

func NewWithBaseUri

func NewWithBaseUri(baseUri string, subscriptionId string) FeatureClient

type FeatureOperationsListResult

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

List of previewed features.

type FeatureResult

type FeatureResult struct {
	autorest.Response `json:"-"`
	Name              string `json:"name,omitempty"`
	Properties        struct {
		State string `json:"state,omitempty"`
	} `json:"properties,omitempty"`
	Id   string `json:"id,omitempty"`
	Type string `json:"type,omitempty"`
}

Previewed feature information.

type FeaturesClient

type FeaturesClient struct {
	FeatureClient
}

Features Client

func NewFeaturesClient

func NewFeaturesClient(subscriptionId string) FeaturesClient

func NewFeaturesClientWithBaseUri

func NewFeaturesClientWithBaseUri(baseUri string, subscriptionId string) FeaturesClient

func (FeaturesClient) Get

func (client FeaturesClient) Get(resourceProviderNamespace string, featureName string) (result FeatureResult, ae autorest.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) GetRequestPreparer

func (client FeaturesClient) GetRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Get request.

func (FeaturesClient) List

func (client FeaturesClient) List(resourceProviderNamespace string) (result FeatureOperationsListResult, ae autorest.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 autorest.Error)

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

func (FeaturesClient) ListAllRequestPreparer

func (client FeaturesClient) ListAllRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the ListAll request.

func (FeaturesClient) ListRequestPreparer

func (client FeaturesClient) ListRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the List request.

func (FeaturesClient) NewGetRequest

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

Create the Get request.

func (FeaturesClient) NewListAllRequest

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

Create the ListAll request.

func (FeaturesClient) NewListRequest

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

Create the List request.

func (FeaturesClient) NewRegisterRequest

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

Create the Register request.

func (FeaturesClient) Register

func (client FeaturesClient) Register(resourceProviderNamespace string, featureName string) (result FeatureResult, ae autorest.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) RegisterRequestPreparer

func (client FeaturesClient) RegisterRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Register request.

Jump to

Keyboard shortcuts

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