3
// Copyright (c) Microsoft and contributors. All rights reserved.
5
// Licensed under the Apache License, Version 2.0 (the "License");
6
// you may not use this file except in compliance with the License.
7
// You may obtain a copy of the License at
8
// http://www.apache.org/licenses/LICENSE-2.0
10
// Unless required by applicable law or agreed to in writing, software
11
// distributed under the License is distributed on an "AS IS" BASIS,
12
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
// See the License for the specific language governing permissions and
15
// limitations under the License.
17
// Code generated by Microsoft (R) AutoRest Code Generator 0.12.0.0
18
// Changes may cause incorrect behavior and will be lost if the code is
22
"github.com/Azure/azure-sdk-for-go/Godeps/_workspace/src/github.com/Azure/go-autorest/autorest"
23
"github.com/Azure/azure-sdk-for-go/Godeps/_workspace/src/github.com/Azure/go-autorest/autorest/to"
27
// DeploymentExtendedFilter is deployment filter.
28
type DeploymentExtendedFilter struct {
29
ProvisioningState *string `json:"provisioningState,omitempty"`
32
// FeatureOperationsListResult is list of previewed features.
33
type FeatureOperationsListResult struct {
34
autorest.Response `json:"-"`
35
Value *[]FeatureResult `json:"value,omitempty"`
36
NextLink *string `json:"nextLink,omitempty"`
39
// FeatureOperationsListResultPreparer prepares a request to retrieve the next set of results. It returns
40
// nil if no more results exist.
41
func (client FeatureOperationsListResult) FeatureOperationsListResultPreparer() (*http.Request, error) {
42
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
45
return autorest.Prepare(&http.Request{},
48
autorest.WithBaseURL(to.String(client.NextLink)))
51
// FeatureProperties is previewed feature information.
52
type FeatureProperties struct {
53
State *string `json:"state,omitempty"`
56
// FeatureResult is previewed feature information.
57
type FeatureResult struct {
58
autorest.Response `json:"-"`
59
Name *string `json:"name,omitempty"`
60
Properties *FeatureProperties `json:"properties,omitempty"`
61
ID *string `json:"id,omitempty"`
62
Type *string `json:"type,omitempty"`
65
// GenericResourceFilter is resource filter.
66
type GenericResourceFilter struct {
67
ResourceType *string `json:"resourceType,omitempty"`
68
Tagname *string `json:"tagname,omitempty"`
69
Tagvalue *string `json:"tagvalue,omitempty"`
73
type Resource struct {
74
ID *string `json:"id,omitempty"`
75
Name *string `json:"name,omitempty"`
76
Type *string `json:"type,omitempty"`
77
Location *string `json:"location,omitempty"`
78
Tags *map[string]*string `json:"tags,omitempty"`
81
// ResourceGroupFilter is resource group filter.
82
type ResourceGroupFilter struct {
83
TagName *string `json:"tagName,omitempty"`
84
TagValue *string `json:"tagValue,omitempty"`
88
type SubResource struct {
89
ID *string `json:"id,omitempty"`