Documentation ¶
Index ¶
- func PossibleValuesForFlag() []string
- func PossibleValuesForKind() []string
- func PossibleValuesForOperator() []string
- func PossibleValuesForPackageKind() []string
- func PossibleValuesForSourceKind() []string
- func PossibleValuesForSupportTier() []string
- func ValidateContentTemplateID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type ContentTemplateDeleteOperationResponse
- type ContentTemplateGetOperationResponse
- type ContentTemplateId
- type ContentTemplateInstallOperationResponse
- type ContentTemplatesClient
- func (c ContentTemplatesClient) ContentTemplateDelete(ctx context.Context, id ContentTemplateId) (result ContentTemplateDeleteOperationResponse, err error)
- func (c ContentTemplatesClient) ContentTemplateGet(ctx context.Context, id ContentTemplateId) (result ContentTemplateGetOperationResponse, err error)
- func (c ContentTemplatesClient) ContentTemplateInstall(ctx context.Context, id ContentTemplateId, input TemplateModel) (result ContentTemplateInstallOperationResponse, err error)
- func (c ContentTemplatesClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c ContentTemplatesClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ContentTemplatesClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- type Flag
- type Kind
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type MetadataAuthor
- type MetadataCategories
- type MetadataDependencies
- type MetadataSource
- type MetadataSupport
- type Operator
- type PackageKind
- type SourceKind
- type SupportTier
- type TemplateModel
- type TemplateModelOperationPredicate
- type TemplateProperties
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForFlag ¶
func PossibleValuesForFlag() []string
func PossibleValuesForKind ¶
func PossibleValuesForKind() []string
func PossibleValuesForOperator ¶
func PossibleValuesForOperator() []string
func PossibleValuesForPackageKind ¶
func PossibleValuesForPackageKind() []string
func PossibleValuesForSourceKind ¶
func PossibleValuesForSourceKind() []string
func PossibleValuesForSupportTier ¶
func PossibleValuesForSupportTier() []string
func ValidateContentTemplateID ¶
ValidateContentTemplateID checks that 'input' can be parsed as a Content Template ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type ContentTemplateGetOperationResponse ¶
type ContentTemplateGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TemplateModel }
type ContentTemplateId ¶
type ContentTemplateId struct { SubscriptionId string ResourceGroupName string WorkspaceName string TemplateId string }
ContentTemplateId is a struct representing the Resource ID for a Content Template
func NewContentTemplateID ¶
func NewContentTemplateID(subscriptionId string, resourceGroupName string, workspaceName string, templateId string) ContentTemplateId
NewContentTemplateID returns a new ContentTemplateId struct
func ParseContentTemplateID ¶
func ParseContentTemplateID(input string) (*ContentTemplateId, error)
ParseContentTemplateID parses 'input' into a ContentTemplateId
func ParseContentTemplateIDInsensitively ¶
func ParseContentTemplateIDInsensitively(input string) (*ContentTemplateId, error)
ParseContentTemplateIDInsensitively parses 'input' case-insensitively into a ContentTemplateId note: this method should only be used for API response data and not user input
func (*ContentTemplateId) FromParseResult ¶
func (id *ContentTemplateId) FromParseResult(input resourceids.ParseResult) error
func (ContentTemplateId) ID ¶
func (id ContentTemplateId) ID() string
ID returns the formatted Content Template ID
func (ContentTemplateId) Segments ¶
func (id ContentTemplateId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Content Template ID
func (ContentTemplateId) String ¶
func (id ContentTemplateId) String() string
String returns a human-readable description of this Content Template ID
type ContentTemplateInstallOperationResponse ¶
type ContentTemplateInstallOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TemplateModel }
type ContentTemplatesClient ¶
type ContentTemplatesClient struct {
Client *resourcemanager.Client
}
func NewContentTemplatesClientWithBaseURI ¶
func NewContentTemplatesClientWithBaseURI(sdkApi sdkEnv.Api) (*ContentTemplatesClient, error)
func (ContentTemplatesClient) ContentTemplateDelete ¶
func (c ContentTemplatesClient) ContentTemplateDelete(ctx context.Context, id ContentTemplateId) (result ContentTemplateDeleteOperationResponse, err error)
ContentTemplateDelete ...
func (ContentTemplatesClient) ContentTemplateGet ¶
func (c ContentTemplatesClient) ContentTemplateGet(ctx context.Context, id ContentTemplateId) (result ContentTemplateGetOperationResponse, err error)
ContentTemplateGet ...
func (ContentTemplatesClient) ContentTemplateInstall ¶
func (c ContentTemplatesClient) ContentTemplateInstall(ctx context.Context, id ContentTemplateId, input TemplateModel) (result ContentTemplateInstallOperationResponse, err error)
ContentTemplateInstall ...
func (ContentTemplatesClient) List ¶
func (c ContentTemplatesClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (ContentTemplatesClient) ListComplete ¶
func (c ContentTemplatesClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ContentTemplatesClient) ListCompleteMatchingPredicate ¶
func (c ContentTemplatesClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, predicate TemplateModelOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type Kind ¶
type Kind string
const ( KindAnalyticsRule Kind = "AnalyticsRule" KindAnalyticsRuleTemplate Kind = "AnalyticsRuleTemplate" KindAutomationRule Kind = "AutomationRule" KindAzureFunction Kind = "AzureFunction" KindDataConnector Kind = "DataConnector" KindDataType Kind = "DataType" KindHuntingQuery Kind = "HuntingQuery" KindInvestigationQuery Kind = "InvestigationQuery" KindLogicAppsCustomConnector Kind = "LogicAppsCustomConnector" KindParser Kind = "Parser" KindPlaybook Kind = "Playbook" KindPlaybookTemplate Kind = "PlaybookTemplate" KindSolution Kind = "Solution" KindWatchlist Kind = "Watchlist" KindWatchlistTemplate Kind = "WatchlistTemplate" KindWorkbook Kind = "Workbook" KindWorkbookTemplate Kind = "WorkbookTemplate" )
func (*Kind) UnmarshalJSON ¶
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []TemplateModel }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationOptions ¶
type ListOperationOptions struct { Count *bool Expand *string Filter *string Orderby *string Search *string Skip *int64 Top *int64 }
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TemplateModel }
type MetadataAuthor ¶
type MetadataCategories ¶
type MetadataDependencies ¶
type MetadataDependencies struct { ContentId *string `json:"contentId,omitempty"` Criteria *[]MetadataDependencies `json:"criteria,omitempty"` Kind *Kind `json:"kind,omitempty"` Name *string `json:"name,omitempty"` Operator *Operator `json:"operator,omitempty"` Version *string `json:"version,omitempty"` }
type MetadataSource ¶
type MetadataSource struct { Kind SourceKind `json:"kind"` Name *string `json:"name,omitempty"` SourceId *string `json:"sourceId,omitempty"` }
type MetadataSupport ¶
type MetadataSupport struct { Email *string `json:"email,omitempty"` Link *string `json:"link,omitempty"` Name *string `json:"name,omitempty"` Tier SupportTier `json:"tier"` }
type PackageKind ¶
type PackageKind string
const ( PackageKindSolution PackageKind = "Solution" PackageKindStandalone PackageKind = "Standalone" )
func (*PackageKind) UnmarshalJSON ¶
func (s *PackageKind) UnmarshalJSON(bytes []byte) error
type SourceKind ¶
type SourceKind string
const ( SourceKindCommunity SourceKind = "Community" SourceKindLocalWorkspace SourceKind = "LocalWorkspace" SourceKindSolution SourceKind = "Solution" SourceKindSourceRepository SourceKind = "SourceRepository" )
func (*SourceKind) UnmarshalJSON ¶
func (s *SourceKind) UnmarshalJSON(bytes []byte) error
type SupportTier ¶
type SupportTier string
const ( SupportTierCommunity SupportTier = "Community" SupportTierMicrosoft SupportTier = "Microsoft" SupportTierPartner SupportTier = "Partner" )
func (*SupportTier) UnmarshalJSON ¶
func (s *SupportTier) UnmarshalJSON(bytes []byte) error
type TemplateModel ¶
type TemplateModel struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *TemplateProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type TemplateModelOperationPredicate ¶
func (TemplateModelOperationPredicate) Matches ¶
func (p TemplateModelOperationPredicate) Matches(input TemplateModel) bool
type TemplateProperties ¶
type TemplateProperties struct { Author *MetadataAuthor `json:"author,omitempty"` Categories *MetadataCategories `json:"categories,omitempty"` ContentId *string `json:"contentId,omitempty"` ContentKind *Kind `json:"contentKind,omitempty"` ContentProductId *string `json:"contentProductId,omitempty"` ContentSchemaVersion *string `json:"contentSchemaVersion,omitempty"` CustomVersion *string `json:"customVersion,omitempty"` DependantTemplates *[]TemplateProperties `json:"dependantTemplates,omitempty"` Dependencies *MetadataDependencies `json:"dependencies,omitempty"` DisplayName *string `json:"displayName,omitempty"` FirstPublishDate *string `json:"firstPublishDate,omitempty"` Icon *string `json:"icon,omitempty"` IsDeprecated *Flag `json:"isDeprecated,omitempty"` LastPublishDate *string `json:"lastPublishDate,omitempty"` MainTemplate *interface{} `json:"mainTemplate,omitempty"` PackageId *string `json:"packageId,omitempty"` PackageKind *PackageKind `json:"packageKind,omitempty"` PackageName *string `json:"packageName,omitempty"` PackageVersion *string `json:"packageVersion,omitempty"` PreviewImages *[]string `json:"previewImages,omitempty"` PreviewImagesDark *[]string `json:"previewImagesDark,omitempty"` Providers *[]string `json:"providers,omitempty"` Source *MetadataSource `json:"source,omitempty"` Support *MetadataSupport `json:"support,omitempty"` ThreatAnalysisTactics *[]string `json:"threatAnalysisTactics,omitempty"` ThreatAnalysisTechniques *[]string `json:"threatAnalysisTechniques,omitempty"` Version *string `json:"version,omitempty"` }
type WorkspaceId ¶
WorkspaceId is a struct representing the Resource ID for a Workspace
func NewWorkspaceID ¶
func NewWorkspaceID(subscriptionId string, resourceGroupName string, workspaceName string) WorkspaceId
NewWorkspaceID returns a new WorkspaceId struct
func ParseWorkspaceID ¶
func ParseWorkspaceID(input string) (*WorkspaceId, error)
ParseWorkspaceID parses 'input' into a WorkspaceId
func ParseWorkspaceIDInsensitively ¶
func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error)
ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId note: this method should only be used for API response data and not user input
func (*WorkspaceId) FromParseResult ¶
func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error
func (WorkspaceId) Segments ¶
func (id WorkspaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace ID
func (WorkspaceId) String ¶
func (id WorkspaceId) String() string
String returns a human-readable description of this Workspace ID
Source Files ¶
- client.go
- constants.go
- id_contenttemplate.go
- id_workspace.go
- method_contenttemplatedelete.go
- method_contenttemplateget.go
- method_contenttemplateinstall.go
- method_list.go
- model_metadataauthor.go
- model_metadatacategories.go
- model_metadatadependencies.go
- model_metadatasource.go
- model_metadatasupport.go
- model_templatemodel.go
- model_templateproperties.go
- predicates.go
- version.go