Skip to content

Commit

Permalink
[AutoPR resources/resource-manager] Adding a new api version 2019-06-…
Browse files Browse the repository at this point in the history
…01 for Microsoft.Authorization policy artifacts (#5585)

* Generated from 75581e4277112188117db523a260ae818d949523

added stable/2019-06-01 version for Authorization RP

* Generated from edd74f0a1be6f17caa185525a63e594aef956acc

Addressed review comments.
  • Loading branch information
AutorestCI authored and ArcturusZhang committed Aug 28, 2019
1 parent c2ebef9 commit 3047732
Show file tree
Hide file tree
Showing 11 changed files with 3,846 additions and 4 deletions.
12 changes: 11 additions & 1 deletion profiles/latest/resources/mgmt/policy/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,20 @@ package policy
import (
"context"

original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2019-01-01/policy"
original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2019-06-01/policy"
)

const (
DefaultBaseURI = original.DefaultBaseURI
)

type EnforcementMode = original.EnforcementMode

const (
Default EnforcementMode = original.Default
DoNotEnforce EnforcementMode = original.DoNotEnforce
)

type ResourceIdentityType = original.ResourceIdentityType

const (
Expand Down Expand Up @@ -110,6 +117,9 @@ func NewSetDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) S
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleEnforcementModeValues() []EnforcementMode {
return original.PossibleEnforcementModeValues()
}
func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
return original.PossibleResourceIdentityTypeValues()
}
Expand Down
2 changes: 1 addition & 1 deletion profiles/latest/resources/mgmt/policy/policyapi/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

package policyapi

import original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2019-01-01/policy/policyapi"
import original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2019-06-01/policy/policyapi"

type AssignmentsClientAPI = original.AssignmentsClientAPI
type DefinitionsClientAPI = original.DefinitionsClientAPI
Expand Down
12 changes: 11 additions & 1 deletion profiles/preview/resources/mgmt/policy/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,20 @@ package policy
import (
"context"

original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2019-01-01/policy"
original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2019-06-01/policy"
)

const (
DefaultBaseURI = original.DefaultBaseURI
)

type EnforcementMode = original.EnforcementMode

const (
Default EnforcementMode = original.Default
DoNotEnforce EnforcementMode = original.DoNotEnforce
)

type ResourceIdentityType = original.ResourceIdentityType

const (
Expand Down Expand Up @@ -110,6 +117,9 @@ func NewSetDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) S
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleEnforcementModeValues() []EnforcementMode {
return original.PossibleEnforcementModeValues()
}
func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
return original.PossibleResourceIdentityTypeValues()
}
Expand Down
2 changes: 1 addition & 1 deletion profiles/preview/resources/mgmt/policy/policyapi/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

package policyapi

import original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2019-01-01/policy/policyapi"
import original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2019-06-01/policy/policyapi"

type AssignmentsClientAPI = original.AssignmentsClientAPI
type DefinitionsClientAPI = original.DefinitionsClientAPI
Expand Down
Loading

0 comments on commit 3047732

Please sign in to comment.