Documentation ¶
Index ¶
- func PossibleValuesForFlag() []string
- func PossibleValuesForKind() []string
- func PossibleValuesForOperator() []string
- func PossibleValuesForPackageKind() []string
- func PossibleValuesForSourceKind() []string
- func PossibleValuesForSupportTier() []string
- func ValidateContentProductPackageID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type ContentProductPackageId
- func NewContentProductPackageID(subscriptionId string, resourceGroupName string, workspaceName string, ...) ContentProductPackageId
- func ParseContentProductPackageID(input string) (*ContentProductPackageId, error)
- func ParseContentProductPackageIDInsensitively(input string) (*ContentProductPackageId, error)
- type ContentProductPackagesClient
- func (c ContentProductPackagesClient) ProductPackageGet(ctx context.Context, id ContentProductPackageId) (result ProductPackageGetOperationResponse, err error)
- func (c ContentProductPackagesClient) ProductPackagesList(ctx context.Context, id WorkspaceId, ...) (result ProductPackagesListOperationResponse, err error)
- func (c ContentProductPackagesClient) ProductPackagesListComplete(ctx context.Context, id WorkspaceId, ...) (ProductPackagesListCompleteResult, error)
- func (c ContentProductPackagesClient) ProductPackagesListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, ...) (result ProductPackagesListCompleteResult, err error)
- type Flag
- type Kind
- type MetadataAuthor
- type MetadataCategories
- type MetadataDependencies
- type MetadataSource
- type MetadataSupport
- type Operator
- type PackageKind
- type ProductPackageGetOperationResponse
- type ProductPackageModel
- type ProductPackageModelOperationPredicate
- type ProductPackageProperties
- type ProductPackagesListCompleteResult
- type ProductPackagesListCustomPager
- type ProductPackagesListOperationOptions
- type ProductPackagesListOperationResponse
- 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 ValidateContentProductPackageID ¶
func ValidateContentProductPackageID(input interface{}, key string) (warnings []string, errors []error)
ValidateContentProductPackageID checks that 'input' can be parsed as a Content Product Package ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type ContentProductPackageId ¶
type ContentProductPackageId struct { SubscriptionId string ResourceGroupName string WorkspaceName string PackageId string }
ContentProductPackageId is a struct representing the Resource ID for a Content Product Package
func NewContentProductPackageID ¶
func NewContentProductPackageID(subscriptionId string, resourceGroupName string, workspaceName string, packageId string) ContentProductPackageId
NewContentProductPackageID returns a new ContentProductPackageId struct
func ParseContentProductPackageID ¶
func ParseContentProductPackageID(input string) (*ContentProductPackageId, error)
ParseContentProductPackageID parses 'input' into a ContentProductPackageId
func ParseContentProductPackageIDInsensitively ¶
func ParseContentProductPackageIDInsensitively(input string) (*ContentProductPackageId, error)
ParseContentProductPackageIDInsensitively parses 'input' case-insensitively into a ContentProductPackageId note: this method should only be used for API response data and not user input
func (*ContentProductPackageId) FromParseResult ¶
func (id *ContentProductPackageId) FromParseResult(input resourceids.ParseResult) error
func (ContentProductPackageId) ID ¶
func (id ContentProductPackageId) ID() string
ID returns the formatted Content Product Package ID
func (ContentProductPackageId) Segments ¶
func (id ContentProductPackageId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Content Product Package ID
func (ContentProductPackageId) String ¶
func (id ContentProductPackageId) String() string
String returns a human-readable description of this Content Product Package ID
type ContentProductPackagesClient ¶
type ContentProductPackagesClient struct {
Client *resourcemanager.Client
}
func NewContentProductPackagesClientWithBaseURI ¶
func NewContentProductPackagesClientWithBaseURI(sdkApi sdkEnv.Api) (*ContentProductPackagesClient, error)
func (ContentProductPackagesClient) ProductPackageGet ¶
func (c ContentProductPackagesClient) ProductPackageGet(ctx context.Context, id ContentProductPackageId) (result ProductPackageGetOperationResponse, err error)
ProductPackageGet ...
func (ContentProductPackagesClient) ProductPackagesList ¶
func (c ContentProductPackagesClient) ProductPackagesList(ctx context.Context, id WorkspaceId, options ProductPackagesListOperationOptions) (result ProductPackagesListOperationResponse, err error)
ProductPackagesList ...
func (ContentProductPackagesClient) ProductPackagesListComplete ¶
func (c ContentProductPackagesClient) ProductPackagesListComplete(ctx context.Context, id WorkspaceId, options ProductPackagesListOperationOptions) (ProductPackagesListCompleteResult, error)
ProductPackagesListComplete retrieves all the results into a single object
func (ContentProductPackagesClient) ProductPackagesListCompleteMatchingPredicate ¶
func (c ContentProductPackagesClient) ProductPackagesListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ProductPackagesListOperationOptions, predicate ProductPackageModelOperationPredicate) (result ProductPackagesListCompleteResult, err error)
ProductPackagesListCompleteMatchingPredicate 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 ProductPackageGetOperationResponse ¶
type ProductPackageGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ProductPackageModel }
type ProductPackageModel ¶
type ProductPackageModel struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ProductPackageProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ProductPackageModelOperationPredicate ¶
type ProductPackageModelOperationPredicate struct { Etag *string Id *string Name *string Type *string }
func (ProductPackageModelOperationPredicate) Matches ¶
func (p ProductPackageModelOperationPredicate) Matches(input ProductPackageModel) bool
type ProductPackageProperties ¶
type ProductPackageProperties struct { Author *MetadataAuthor `json:"author,omitempty"` Categories *MetadataCategories `json:"categories,omitempty"` ContentId *string `json:"contentId,omitempty"` ContentKind *PackageKind `json:"contentKind,omitempty"` ContentProductId *string `json:"contentProductId,omitempty"` ContentSchemaVersion *string `json:"contentSchemaVersion,omitempty"` Dependencies *MetadataDependencies `json:"dependencies,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` FirstPublishDate *string `json:"firstPublishDate,omitempty"` Icon *string `json:"icon,omitempty"` InstalledVersion *string `json:"installedVersion,omitempty"` IsDeprecated *Flag `json:"isDeprecated,omitempty"` IsFeatured *Flag `json:"isFeatured,omitempty"` IsNew *Flag `json:"isNew,omitempty"` IsPreview *Flag `json:"isPreview,omitempty"` LastPublishDate *string `json:"lastPublishDate,omitempty"` MetadataResourceId *string `json:"metadataResourceId,omitempty"` PackagedContent *interface{} `json:"packagedContent,omitempty"` Providers *[]string `json:"providers,omitempty"` PublisherDisplayName *string `json:"publisherDisplayName,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 ProductPackagesListCompleteResult ¶
type ProductPackagesListCompleteResult struct { LatestHttpResponse *http.Response Items []ProductPackageModel }
type ProductPackagesListCustomPager ¶
func (*ProductPackagesListCustomPager) NextPageLink ¶
func (p *ProductPackagesListCustomPager) NextPageLink() *odata.Link
type ProductPackagesListOperationOptions ¶
func DefaultProductPackagesListOperationOptions ¶
func DefaultProductPackagesListOperationOptions() ProductPackagesListOperationOptions
func (ProductPackagesListOperationOptions) ToHeaders ¶
func (o ProductPackagesListOperationOptions) ToHeaders() *client.Headers
func (ProductPackagesListOperationOptions) ToOData ¶
func (o ProductPackagesListOperationOptions) ToOData() *odata.Query
func (ProductPackagesListOperationOptions) ToQuery ¶
func (o ProductPackagesListOperationOptions) ToQuery() *client.QueryParams
type ProductPackagesListOperationResponse ¶
type ProductPackagesListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ProductPackageModel }
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_contentproductpackage.go
- id_workspace.go
- method_productpackageget.go
- method_productpackageslist.go
- model_metadataauthor.go
- model_metadatacategories.go
- model_metadatadependencies.go
- model_metadatasource.go
- model_metadatasupport.go
- model_productpackagemodel.go
- model_productpackageproperties.go
- predicates.go
- version.go