Skip to content

Commit

Permalink
remove deprecated packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jhendrixMSFT committed Jan 8, 2019
1 parent 35a0d12 commit bfca64d
Show file tree
Hide file tree
Showing 167 changed files with 39 additions and 281,000 deletions.
2 changes: 1 addition & 1 deletion profiles/2017-03-09/definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"../../services/resources/mgmt/2016-09-01/links/linksapi",
"../../services/resources/mgmt/2015-01-01/locks",
"../../services/resources/mgmt/2015-01-01/locks/locksapi",
"../../services/resources/mgmt/2015-10-01-preview/policy",
"../../services/preview/resources/mgmt/2015-10-01-preview/policy",
"../../services/resources/mgmt/2016-02-01/resources",
"../../services/resources/mgmt/2016-02-01/resources/resourcesapi",
"../../services/resources/mgmt/2016-06-01/subscriptions",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@

package policy

import original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2015-10-01-preview/policy"
import (
"context"

original "github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2015-10-01-preview/policy"
)

const (
DefaultBaseURI = original.DefaultBaseURI
Expand Down Expand Up @@ -50,12 +54,24 @@ type DefinitionsClient = original.DefinitionsClient
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewAssignmentListResultIterator(page AssignmentListResultPage) AssignmentListResultIterator {
return original.NewAssignmentListResultIterator(page)
}
func NewAssignmentListResultPage(getNextPage func(context.Context, AssignmentListResult) (AssignmentListResult, error)) AssignmentListResultPage {
return original.NewAssignmentListResultPage(getNextPage)
}
func NewAssignmentsClient(subscriptionID string) AssignmentsClient {
return original.NewAssignmentsClient(subscriptionID)
}
func NewAssignmentsClientWithBaseURI(baseURI string, subscriptionID string) AssignmentsClient {
return original.NewAssignmentsClientWithBaseURI(baseURI, subscriptionID)
}
func NewDefinitionListResultIterator(page DefinitionListResultPage) DefinitionListResultIterator {
return original.NewDefinitionListResultIterator(page)
}
func NewDefinitionListResultPage(getNextPage func(context.Context, DefinitionListResult) (DefinitionListResult, error)) DefinitionListResultPage {
return original.NewDefinitionListResultPage(getNextPage)
}
func NewDefinitionsClient(subscriptionID string) DefinitionsClient {
return original.NewDefinitionsClient(subscriptionID)
}
Expand Down
85 changes: 0 additions & 85 deletions profiles/latest/managementpartner/mgmt/managementpartner/models.go

This file was deleted.

33 changes: 21 additions & 12 deletions profiles/preview/dns/mgmt/dns/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@

package dns

import original "github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2018-03-01-preview/dns"
import (
"context"

original "github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2017-10-01/dns"
)

const (
DefaultBaseURI = original.DefaultBaseURI
Expand All @@ -40,22 +44,17 @@ const (
TXT RecordType = original.TXT
)

type ZoneType = original.ZoneType

const (
Private ZoneType = original.Private
Public ZoneType = original.Public
)

type ARecord = original.ARecord
type AaaaRecord = original.AaaaRecord
type AzureEntityResource = original.AzureEntityResource
type BaseClient = original.BaseClient
type CaaRecord = original.CaaRecord
type CloudError = original.CloudError
type CloudErrorBody = original.CloudErrorBody
type CnameRecord = original.CnameRecord
type MxRecord = original.MxRecord
type NsRecord = original.NsRecord
type ProxyResource = original.ProxyResource
type PtrRecord = original.PtrRecord
type RecordSet = original.RecordSet
type RecordSetListResult = original.RecordSetListResult
Expand All @@ -68,6 +67,7 @@ type Resource = original.Resource
type SoaRecord = original.SoaRecord
type SrvRecord = original.SrvRecord
type SubResource = original.SubResource
type TrackedResource = original.TrackedResource
type TxtRecord = original.TxtRecord
type Zone = original.Zone
type ZoneListResult = original.ZoneListResult
Expand All @@ -81,6 +81,12 @@ type ZonesDeleteFuture = original.ZonesDeleteFuture
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewRecordSetListResultIterator(page RecordSetListResultPage) RecordSetListResultIterator {
return original.NewRecordSetListResultIterator(page)
}
func NewRecordSetListResultPage(getNextPage func(context.Context, RecordSetListResult) (RecordSetListResult, error)) RecordSetListResultPage {
return original.NewRecordSetListResultPage(getNextPage)
}
func NewRecordSetsClient(subscriptionID string) RecordSetsClient {
return original.NewRecordSetsClient(subscriptionID)
}
Expand All @@ -90,18 +96,21 @@ func NewRecordSetsClientWithBaseURI(baseURI string, subscriptionID string) Recor
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewZoneListResultIterator(page ZoneListResultPage) ZoneListResultIterator {
return original.NewZoneListResultIterator(page)
}
func NewZoneListResultPage(getNextPage func(context.Context, ZoneListResult) (ZoneListResult, error)) ZoneListResultPage {
return original.NewZoneListResultPage(getNextPage)
}
func NewZonesClient(subscriptionID string) ZonesClient {
return original.NewZonesClient(subscriptionID)
}
func NewZonesClientWithBaseURI(baseURI string, subscriptionID string) ZonesClient {
return original.NewZonesClientWithBaseURI(baseURI, subscriptionID)
}
func PossibleRecordTypeValues() [10]RecordType {
func PossibleRecordTypeValues() []RecordType {
return original.PossibleRecordTypeValues()
}
func PossibleZoneTypeValues() [2]ZoneType {
return original.PossibleZoneTypeValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/preview"
}
Expand Down

This file was deleted.

Loading

0 comments on commit bfca64d

Please sign in to comment.