policy

package
v1.46.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: MPL-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RemediationGetAtScope

func RemediationGetAtScope(ctx context.Context, client *policyinsights.RemediationsClient, name string, scopeId parse.PolicyScopeId) (policyinsights.Remediation, error)

RemediationGetAtScope is a wrapper of the 4 Get functions on RemediationsClient, combining them into one to simplify code.

Types

type DefinitionReferenceInOldApiVersion

type DefinitionReferenceInOldApiVersion struct {
	// PolicyDefinitionID - The ID of the policy definition or policy set definition.
	PolicyDefinitionID *string `json:"policyDefinitionId,omitempty"`
	// Parameters - The parameter values for the referenced policy rule. The keys are the parameter names.
	Parameters map[string]*policy.ParameterValuesValue `json:"parameters"`
}

type Registration

type Registration struct{}

func (Registration) Name

func (r Registration) Name() string

Name is the name of this Service

func (Registration) SupportedDataSources

func (r Registration) SupportedDataSources() map[string]*schema.Resource

SupportedDataSources returns the supported Data Sources supported by this Service

func (Registration) SupportedResources

func (r Registration) SupportedResources() map[string]*schema.Resource

SupportedResources returns the supported Resources supported by this Service

func (Registration) WebsiteCategories

func (r Registration) WebsiteCategories() []string

WebsiteCategories returns a list of categories which can be used for the sidebar

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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