Documentation ¶
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type Client
- func (client Client) Get(resourceProviderNamespace string, featureName string) (result FeatureResult, ae error)
- func (client Client) GetPreparer(resourceProviderNamespace string, featureName string) (*http.Request, error)
- func (client Client) GetResponder(resp *http.Response) (result FeatureResult, err error)
- func (client Client) GetSender(req *http.Request) (*http.Response, error)
- func (client Client) List(resourceProviderNamespace string) (result FeatureOperationsListResult, ae error)
- func (client Client) ListAll() (result FeatureOperationsListResult, ae error)
- func (client Client) ListAllNextResults(lastResults FeatureOperationsListResult) (result FeatureOperationsListResult, ae error)
- func (client Client) ListAllPreparer() (*http.Request, error)
- func (client Client) ListAllResponder(resp *http.Response) (result FeatureOperationsListResult, err error)
- func (client Client) ListAllSender(req *http.Request) (*http.Response, error)
- func (client Client) ListNextResults(lastResults FeatureOperationsListResult) (result FeatureOperationsListResult, ae error)
- func (client Client) ListPreparer(resourceProviderNamespace string) (*http.Request, error)
- func (client Client) ListResponder(resp *http.Response) (result FeatureOperationsListResult, err error)
- func (client Client) ListSender(req *http.Request) (*http.Response, error)
- func (client Client) Register(resourceProviderNamespace string, featureName string) (result FeatureResult, ae error)
- func (client Client) RegisterPreparer(resourceProviderNamespace string, featureName string) (*http.Request, error)
- func (client Client) RegisterResponder(resp *http.Response) (result FeatureResult, err error)
- func (client Client) RegisterSender(req *http.Request) (*http.Response, error)
- type DeploymentExtendedFilter
- type FeatureOperationsListResult
- type FeatureProperties
- type FeatureResult
- type FeaturesClient
- func (client FeaturesClient) Get(resourceProviderNamespace string, featureName string) (result FeatureResult, ae error)
- func (client FeaturesClient) GetPreparer(resourceProviderNamespace string, featureName string) (*http.Request, error)
- func (client FeaturesClient) GetResponder(resp *http.Response) (result FeatureResult, err error)
- func (client FeaturesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client FeaturesClient) List(resourceProviderNamespace string) (result FeatureOperationsListResult, ae error)
- func (client FeaturesClient) ListAll() (result FeatureOperationsListResult, ae error)
- func (client FeaturesClient) ListAllNextResults(lastResults FeatureOperationsListResult) (result FeatureOperationsListResult, ae error)
- func (client FeaturesClient) ListAllPreparer() (*http.Request, error)
- func (client FeaturesClient) ListAllResponder(resp *http.Response) (result FeatureOperationsListResult, err error)
- func (client FeaturesClient) ListAllSender(req *http.Request) (*http.Response, error)
- func (client FeaturesClient) ListNextResults(lastResults FeatureOperationsListResult) (result FeatureOperationsListResult, ae error)
- func (client FeaturesClient) ListPreparer(resourceProviderNamespace string) (*http.Request, error)
- func (client FeaturesClient) ListResponder(resp *http.Response) (result FeatureOperationsListResult, err error)
- func (client FeaturesClient) ListSender(req *http.Request) (*http.Response, error)
- func (client FeaturesClient) Register(resourceProviderNamespace string, featureName string) (result FeatureResult, ae error)
- func (client FeaturesClient) RegisterPreparer(resourceProviderNamespace string, featureName string) (*http.Request, error)
- func (client FeaturesClient) RegisterResponder(resp *http.Response) (result FeatureResult, err error)
- func (client FeaturesClient) RegisterSender(req *http.Request) (*http.Response, error)
- type GenericResourceFilter
- type Resource
- type ResourceGroupFilter
- type SubResource
Constants ¶
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 ¶
Client is the base client for Features.
func NewWithBaseURI ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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.
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 ¶
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 ¶
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 ¶
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 ¶
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.