Documentation ¶
Index ¶
- func PossibleValuesForFlag() []string
- func PossibleValuesForKind() []string
- func PossibleValuesForOperator() []string
- func PossibleValuesForPackageKind() []string
- func PossibleValuesForSourceKind() []string
- func PossibleValuesForSupportTier() []string
- func ValidateContentProductTemplateID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type ContentProductTemplateId
- func NewContentProductTemplateID(subscriptionId string, resourceGroupName string, workspaceName string, ...) ContentProductTemplateId
- func ParseContentProductTemplateID(input string) (*ContentProductTemplateId, error)
- func ParseContentProductTemplateIDInsensitively(input string) (*ContentProductTemplateId, error)
- type ContentProductTemplatesClient
- func (c ContentProductTemplatesClient) ProductTemplateGet(ctx context.Context, id ContentProductTemplateId) (result ProductTemplateGetOperationResponse, err error)
- func (c ContentProductTemplatesClient) ProductTemplatesList(ctx context.Context, id WorkspaceId, ...) (result ProductTemplatesListOperationResponse, err error)
- func (c ContentProductTemplatesClient) ProductTemplatesListComplete(ctx context.Context, id WorkspaceId, ...) (ProductTemplatesListCompleteResult, error)
- func (c ContentProductTemplatesClient) ProductTemplatesListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, ...) (result ProductTemplatesListCompleteResult, err error)
- type Flag
- type Kind
- type MetadataAuthor
- type MetadataCategories
- type MetadataDependencies
- type MetadataSource
- type MetadataSupport
- type Operator
- type PackageKind
- type ProductTemplateGetOperationResponse
- type ProductTemplateModel
- type ProductTemplateModelOperationPredicate
- type ProductTemplateProperties
- type ProductTemplatesListCompleteResult
- type ProductTemplatesListCustomPager
- type ProductTemplatesListOperationOptions
- type ProductTemplatesListOperationResponse
- type SourceKind
- type SupportTier
- 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 ValidateContentProductTemplateID ¶
func ValidateContentProductTemplateID(input interface{}, key string) (warnings []string, errors []error)
ValidateContentProductTemplateID checks that 'input' can be parsed as a Content Product Template ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type ContentProductTemplateId ¶
type ContentProductTemplateId struct { SubscriptionId string ResourceGroupName string WorkspaceName string TemplateId string }
ContentProductTemplateId is a struct representing the Resource ID for a Content Product Template
func NewContentProductTemplateID ¶
func NewContentProductTemplateID(subscriptionId string, resourceGroupName string, workspaceName string, templateId string) ContentProductTemplateId
NewContentProductTemplateID returns a new ContentProductTemplateId struct
func ParseContentProductTemplateID ¶
func ParseContentProductTemplateID(input string) (*ContentProductTemplateId, error)
ParseContentProductTemplateID parses 'input' into a ContentProductTemplateId
func ParseContentProductTemplateIDInsensitively ¶
func ParseContentProductTemplateIDInsensitively(input string) (*ContentProductTemplateId, error)
ParseContentProductTemplateIDInsensitively parses 'input' case-insensitively into a ContentProductTemplateId note: this method should only be used for API response data and not user input
func (*ContentProductTemplateId) FromParseResult ¶
func (id *ContentProductTemplateId) FromParseResult(input resourceids.ParseResult) error
func (ContentProductTemplateId) ID ¶
func (id ContentProductTemplateId) ID() string
ID returns the formatted Content Product Template ID
func (ContentProductTemplateId) Segments ¶
func (id ContentProductTemplateId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Content Product Template ID
func (ContentProductTemplateId) String ¶
func (id ContentProductTemplateId) String() string
String returns a human-readable description of this Content Product Template ID
type ContentProductTemplatesClient ¶
type ContentProductTemplatesClient struct {
Client *resourcemanager.Client
}
func NewContentProductTemplatesClientWithBaseURI ¶
func NewContentProductTemplatesClientWithBaseURI(sdkApi sdkEnv.Api) (*ContentProductTemplatesClient, error)
func (ContentProductTemplatesClient) ProductTemplateGet ¶
func (c ContentProductTemplatesClient) ProductTemplateGet(ctx context.Context, id ContentProductTemplateId) (result ProductTemplateGetOperationResponse, err error)
ProductTemplateGet ...
func (ContentProductTemplatesClient) ProductTemplatesList ¶
func (c ContentProductTemplatesClient) ProductTemplatesList(ctx context.Context, id WorkspaceId, options ProductTemplatesListOperationOptions) (result ProductTemplatesListOperationResponse, err error)
ProductTemplatesList ...
func (ContentProductTemplatesClient) ProductTemplatesListComplete ¶
func (c ContentProductTemplatesClient) ProductTemplatesListComplete(ctx context.Context, id WorkspaceId, options ProductTemplatesListOperationOptions) (ProductTemplatesListCompleteResult, error)
ProductTemplatesListComplete retrieves all the results into a single object
func (ContentProductTemplatesClient) ProductTemplatesListCompleteMatchingPredicate ¶
func (c ContentProductTemplatesClient) ProductTemplatesListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ProductTemplatesListOperationOptions, predicate ProductTemplateModelOperationPredicate) (result ProductTemplatesListCompleteResult, err error)
ProductTemplatesListCompleteMatchingPredicate 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 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 ProductTemplateGetOperationResponse ¶
type ProductTemplateGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ProductTemplateModel }
type ProductTemplateModel ¶
type ProductTemplateModel struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ProductTemplateProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ProductTemplateModelOperationPredicate ¶
type ProductTemplateModelOperationPredicate struct { Etag *string Id *string Name *string Type *string }
func (ProductTemplateModelOperationPredicate) Matches ¶
func (p ProductTemplateModelOperationPredicate) Matches(input ProductTemplateModel) bool
type ProductTemplateProperties ¶
type ProductTemplateProperties 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"` 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"` PackageId *string `json:"packageId,omitempty"` PackageKind *PackageKind `json:"packageKind,omitempty"` PackageName *string `json:"packageName,omitempty"` PackageVersion *string `json:"packageVersion,omitempty"` PackagedContent *interface{} `json:"packagedContent,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 ProductTemplatesListCompleteResult ¶
type ProductTemplatesListCompleteResult struct { LatestHttpResponse *http.Response Items []ProductTemplateModel }
type ProductTemplatesListCustomPager ¶ added in v0.20240628.1153531
func (*ProductTemplatesListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ProductTemplatesListCustomPager) NextPageLink() *odata.Link
type ProductTemplatesListOperationOptions ¶
type ProductTemplatesListOperationOptions struct { Count *bool Filter *string Orderby *string Search *string Skip *int64 Top *int64 }
func DefaultProductTemplatesListOperationOptions ¶
func DefaultProductTemplatesListOperationOptions() ProductTemplatesListOperationOptions
func (ProductTemplatesListOperationOptions) ToHeaders ¶
func (o ProductTemplatesListOperationOptions) ToHeaders() *client.Headers
func (ProductTemplatesListOperationOptions) ToOData ¶
func (o ProductTemplatesListOperationOptions) ToOData() *odata.Query
func (ProductTemplatesListOperationOptions) ToQuery ¶
func (o ProductTemplatesListOperationOptions) ToQuery() *client.QueryParams
type ProductTemplatesListOperationResponse ¶
type ProductTemplatesListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ProductTemplateModel }
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 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_contentproducttemplate.go
- id_workspace.go
- method_producttemplateget.go
- method_producttemplateslist.go
- model_metadataauthor.go
- model_metadatacategories.go
- model_metadatadependencies.go
- model_metadatasource.go
- model_metadatasupport.go
- model_producttemplatemodel.go
- model_producttemplateproperties.go
- predicates.go
- version.go