Documentation ¶
Index ¶
- func PossibleValuesForInformationProtectionPolicyName() []string
- func PossibleValuesForRank() []string
- func ValidateScopedInformationProtectionPolicyID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type GetOperationResponse
- type InformationProtectionKeyword
- type InformationProtectionPoliciesClient
- func (c InformationProtectionPoliciesClient) CreateOrUpdate(ctx context.Context, id ScopedInformationProtectionPolicyId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c InformationProtectionPoliciesClient) Get(ctx context.Context, id ScopedInformationProtectionPolicyId) (result GetOperationResponse, err error)
- func (c InformationProtectionPoliciesClient) List(ctx context.Context, id commonids.ScopeId) (resp ListOperationResponse, err error)
- func (c InformationProtectionPoliciesClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
- func (c InformationProtectionPoliciesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (resp ListCompleteResult, err error)
- type InformationProtectionPolicy
- type InformationProtectionPolicyName
- type InformationProtectionPolicyOperationPredicate
- type InformationProtectionPolicyProperties
- type InformationType
- type ListCompleteResult
- type ListOperationResponse
- type Rank
- type ScopedInformationProtectionPolicyId
- func NewScopedInformationProtectionPolicyID(scope string, informationProtectionPolicyName InformationProtectionPolicyName) ScopedInformationProtectionPolicyId
- func ParseScopedInformationProtectionPolicyID(input string) (*ScopedInformationProtectionPolicyId, error)
- func ParseScopedInformationProtectionPolicyIDInsensitively(input string) (*ScopedInformationProtectionPolicyId, error)
- type SensitivityLabel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForInformationProtectionPolicyName ¶
func PossibleValuesForInformationProtectionPolicyName() []string
func PossibleValuesForRank ¶
func PossibleValuesForRank() []string
func ValidateScopedInformationProtectionPolicyID ¶
func ValidateScopedInformationProtectionPolicyID(input interface{}, key string) (warnings []string, errors []error)
ValidateScopedInformationProtectionPolicyID checks that 'input' can be parsed as a Scoped Information Protection Policy ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *InformationProtectionPolicy }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *InformationProtectionPolicy }
type InformationProtectionPoliciesClient ¶
type InformationProtectionPoliciesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewInformationProtectionPoliciesClientWithBaseURI ¶
func NewInformationProtectionPoliciesClientWithBaseURI(endpoint string) InformationProtectionPoliciesClient
func (InformationProtectionPoliciesClient) CreateOrUpdate ¶
func (c InformationProtectionPoliciesClient) CreateOrUpdate(ctx context.Context, id ScopedInformationProtectionPolicyId, input InformationProtectionPolicy) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (InformationProtectionPoliciesClient) Get ¶
func (c InformationProtectionPoliciesClient) Get(ctx context.Context, id ScopedInformationProtectionPolicyId) (result GetOperationResponse, err error)
Get ...
func (InformationProtectionPoliciesClient) List ¶
func (c InformationProtectionPoliciesClient) List(ctx context.Context, id commonids.ScopeId) (resp ListOperationResponse, err error)
List ...
func (InformationProtectionPoliciesClient) ListComplete ¶
func (c InformationProtectionPoliciesClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (InformationProtectionPoliciesClient) ListCompleteMatchingPredicate ¶
func (c InformationProtectionPoliciesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate InformationProtectionPolicyOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type InformationProtectionPolicy ¶
type InformationProtectionPolicy struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *InformationProtectionPolicyProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type InformationProtectionPolicyName ¶
type InformationProtectionPolicyName string
const ( InformationProtectionPolicyNameCustom InformationProtectionPolicyName = "custom" InformationProtectionPolicyNameEffective InformationProtectionPolicyName = "effective" )
type InformationProtectionPolicyOperationPredicate ¶
func (InformationProtectionPolicyOperationPredicate) Matches ¶
func (p InformationProtectionPolicyOperationPredicate) Matches(input InformationProtectionPolicy) bool
type InformationProtectionPolicyProperties ¶
type InformationProtectionPolicyProperties struct { InformationTypes *map[string]InformationType `json:"informationTypes,omitempty"` Labels *map[string]SensitivityLabel `json:"labels,omitempty"` LastModifiedUtc *string `json:"lastModifiedUtc,omitempty"` Version *string `json:"version,omitempty"` }
func (*InformationProtectionPolicyProperties) GetLastModifiedUtcAsTime ¶
func (o *InformationProtectionPolicyProperties) GetLastModifiedUtcAsTime() (*time.Time, error)
func (*InformationProtectionPolicyProperties) SetLastModifiedUtcAsTime ¶
func (o *InformationProtectionPolicyProperties) SetLastModifiedUtcAsTime(input time.Time)
type InformationType ¶
type InformationType struct { Custom *bool `json:"custom,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` Enabled *bool `json:"enabled,omitempty"` Keywords *[]InformationProtectionKeyword `json:"keywords,omitempty"` Order *int64 `json:"order,omitempty"` RecommendedLabelId *string `json:"recommendedLabelId,omitempty"` }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []InformationProtectionPolicy
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]InformationProtectionPolicy // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type ScopedInformationProtectionPolicyId ¶
type ScopedInformationProtectionPolicyId struct { Scope string InformationProtectionPolicyName InformationProtectionPolicyName }
ScopedInformationProtectionPolicyId is a struct representing the Resource ID for a Scoped Information Protection Policy
func NewScopedInformationProtectionPolicyID ¶
func NewScopedInformationProtectionPolicyID(scope string, informationProtectionPolicyName InformationProtectionPolicyName) ScopedInformationProtectionPolicyId
NewScopedInformationProtectionPolicyID returns a new ScopedInformationProtectionPolicyId struct
func ParseScopedInformationProtectionPolicyID ¶
func ParseScopedInformationProtectionPolicyID(input string) (*ScopedInformationProtectionPolicyId, error)
ParseScopedInformationProtectionPolicyID parses 'input' into a ScopedInformationProtectionPolicyId
func ParseScopedInformationProtectionPolicyIDInsensitively ¶
func ParseScopedInformationProtectionPolicyIDInsensitively(input string) (*ScopedInformationProtectionPolicyId, error)
ParseScopedInformationProtectionPolicyIDInsensitively parses 'input' case-insensitively into a ScopedInformationProtectionPolicyId note: this method should only be used for API response data and not user input
func (ScopedInformationProtectionPolicyId) ID ¶
func (id ScopedInformationProtectionPolicyId) ID() string
ID returns the formatted Scoped Information Protection Policy ID
func (ScopedInformationProtectionPolicyId) Segments ¶
func (id ScopedInformationProtectionPolicyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Information Protection Policy ID
func (ScopedInformationProtectionPolicyId) String ¶
func (id ScopedInformationProtectionPolicyId) String() string
String returns a human-readable description of this Scoped Information Protection Policy ID
Source Files ¶
- client.go
- constants.go
- id_scopedinformationprotectionpolicy.go
- method_createorupdate_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- model_informationprotectionkeyword.go
- model_informationprotectionpolicy.go
- model_informationprotectionpolicyproperties.go
- model_informationtype.go
- model_sensitivitylabel.go
- predicates.go
- version.go