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) (result 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, ...) (result 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 OData *odata.OData Model *InformationProtectionPolicy }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *InformationProtectionPolicy }
type InformationProtectionPoliciesClient ¶
type InformationProtectionPoliciesClient struct {
Client *resourcemanager.Client
}
func NewInformationProtectionPoliciesClientWithBaseURI ¶
func NewInformationProtectionPoliciesClientWithBaseURI(sdkApi sdkEnv.Api) (*InformationProtectionPoliciesClient, error)
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) (result ListOperationResponse, err error)
List ...
func (InformationProtectionPoliciesClient) ListComplete ¶
func (c InformationProtectionPoliciesClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (InformationProtectionPoliciesClient) ListCompleteMatchingPredicate ¶
func (c InformationProtectionPoliciesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate InformationProtectionPolicyOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies 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" )
func (*InformationProtectionPolicyName) UnmarshalJSON ¶ added in v0.20240228.1142829
func (s *InformationProtectionPolicyName) UnmarshalJSON(bytes []byte) error
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 { LatestHttpResponse *http.Response Items []InformationProtectionPolicy }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]InformationProtectionPolicy }
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) FromParseResult ¶
func (id *ScopedInformationProtectionPolicyId) FromParseResult(input resourceids.ParseResult) error
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.go
- method_get.go
- method_list.go
- model_informationprotectionkeyword.go
- model_informationprotectionpolicy.go
- model_informationprotectionpolicyproperties.go
- model_informationtype.go
- model_sensitivitylabel.go
- predicates.go
- version.go