Skip to content

Commit 482c77d

Browse files
author
SDKAuto
committed
CodeGen from PR 27173 in Azure/azure-rest-api-specs
Merge b15db31721f4beb5c68139d26a0f8783460aea6c into e19e61aaf2d07dcaf25285117af52d5ea302eabb
1 parent 4473bad commit 482c77d

File tree

89 files changed

+10237
-5221
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+10237
-5221
lines changed

sdk/resourcemanager/securityinsights/armsecurityinsights/CHANGELOG.md

Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,157 @@
11
# Release History
22

3+
## 2.0.0 (2023-12-21)
4+
### Breaking Changes
5+
6+
- Type of `IncidentPropertiesAction.Owner` has been changed from `*IncidentOwnerInfoAutoGenerated` to `*IncidentOwnerInfo`
7+
- Type of `WatchlistProperties.Source` has been changed from `*Source` to `*string`
8+
- Enum `Source` has been removed
9+
- Struct `IncidentOwnerInfoAutoGenerated` has been removed
10+
11+
### Features Added
12+
13+
- New value `AttackTacticImpairProcessControl`, `AttackTacticInhibitResponseFunction`, `AttackTacticReconnaissance`, `AttackTacticResourceDevelopment` added to enum type `AttackTactic`
14+
- New value `AutomationRulePropertyConditionSupportedPropertyAlertAnalyticRuleIDs`, `AutomationRulePropertyConditionSupportedPropertyIncidentUpdatedBySource` added to enum type `AutomationRulePropertyConditionSupportedProperty`
15+
- New value `ConditionTypePropertyArrayChanged`, `ConditionTypePropertyChanged` added to enum type `ConditionType`
16+
- New value `TriggersOnAlerts` added to enum type `TriggersOn`
17+
- New value `TriggersWhenUpdated` added to enum type `TriggersWhen`
18+
- New enum type `AlertProperty` with values `AlertPropertyAlertLink`, `AlertPropertyConfidenceLevel`, `AlertPropertyConfidenceScore`, `AlertPropertyExtendedLinks`, `AlertPropertyProductComponentName`, `AlertPropertyProductName`, `AlertPropertyProviderName`, `AlertPropertyRemediationSteps`, `AlertPropertyTechniques`
19+
- New enum type `AutomationRulePropertyArrayChangedConditionSupportedArrayType` with values `AutomationRulePropertyArrayChangedConditionSupportedArrayTypeAlerts`, `AutomationRulePropertyArrayChangedConditionSupportedArrayTypeComments`, `AutomationRulePropertyArrayChangedConditionSupportedArrayTypeLabels`, `AutomationRulePropertyArrayChangedConditionSupportedArrayTypeTactics`
20+
- New enum type `AutomationRulePropertyArrayChangedConditionSupportedChangeType` with values `AutomationRulePropertyArrayChangedConditionSupportedChangeTypeAdded`
21+
- New enum type `AutomationRulePropertyChangedConditionSupportedChangedType` with values `AutomationRulePropertyChangedConditionSupportedChangedTypeChangedFrom`, `AutomationRulePropertyChangedConditionSupportedChangedTypeChangedTo`
22+
- New enum type `AutomationRulePropertyChangedConditionSupportedPropertyType` with values `AutomationRulePropertyChangedConditionSupportedPropertyTypeIncidentOwner`, `AutomationRulePropertyChangedConditionSupportedPropertyTypeIncidentSeverity`, `AutomationRulePropertyChangedConditionSupportedPropertyTypeIncidentStatus`
23+
- New enum type `ContentType` with values `ContentTypeAnalyticRule`, `ContentTypeAutomationRule`, `ContentTypeHuntingQuery`, `ContentTypeParser`, `ContentTypePlaybook`, `ContentTypeWorkbook`
24+
- New enum type `DeploymentFetchStatus` with values `DeploymentFetchStatusNotFound`, `DeploymentFetchStatusSuccess`, `DeploymentFetchStatusUnauthorized`
25+
- New enum type `DeploymentResult` with values `DeploymentResultCanceled`, `DeploymentResultFailed`, `DeploymentResultSuccess`
26+
- New enum type `DeploymentState` with values `DeploymentStateCanceling`, `DeploymentStateCompleted`, `DeploymentStateInProgress`, `DeploymentStateQueued`
27+
- New enum type `Flag` with values `FlagFalse`, `FlagTrue`
28+
- New enum type `Kind` with values `KindAnalyticsRule`, `KindAnalyticsRuleTemplate`, `KindAutomationRule`, `KindAzureFunction`, `KindDataConnector`, `KindDataType`, `KindHuntingQuery`, `KindInvestigationQuery`, `KindLogicAppsCustomConnector`, `KindParser`, `KindPlaybook`, `KindPlaybookTemplate`, `KindSolution`, `KindWatchlist`, `KindWatchlistTemplate`, `KindWorkbook`, `KindWorkbookTemplate`
29+
- New enum type `Operator` with values `OperatorAND`, `OperatorOR`
30+
- New enum type `PackageKind` with values `PackageKindSolution`, `PackageKindStandalone`
31+
- New enum type `RepoType` with values `RepoTypeAzureDevOps`, `RepoTypeGithub`
32+
- New enum type `RepositoryAccessKind` with values `RepositoryAccessKindApp`, `RepositoryAccessKindOAuth`, `RepositoryAccessKindPAT`
33+
- New enum type `SecurityMLAnalyticsSettingsKind` with values `SecurityMLAnalyticsSettingsKindAnomaly`
34+
- New enum type `SettingsStatus` with values `SettingsStatusFlighting`, `SettingsStatusProduction`
35+
- New enum type `SourceKind` with values `SourceKindCommunity`, `SourceKindLocalWorkspace`, `SourceKindSolution`, `SourceKindSourceRepository`
36+
- New enum type `State` with values `StateClosed`, `StateOpen`
37+
- New enum type `SupportTier` with values `SupportTierCommunity`, `SupportTierMicrosoft`, `SupportTierPartner`
38+
- New enum type `Version` with values `VersionV1`, `VersionV2`
39+
- New enum type `WarningCode` with values `WarningCodeSourceControlDeletedWithWarnings`, `WarningCodeSourceControlWarningDeletePipelineFromAzureDevOps`, `WarningCodeSourceControlWarningDeleteRoleAssignment`, `WarningCodeSourceControlWarningDeleteServicePrincipal`, `WarningCodeSourceControlWarningDeleteWorkflowAndSecretFromGitHub`
40+
- New function `*AnomalySecurityMLAnalyticsSettings.GetSecurityMLAnalyticsSetting() *SecurityMLAnalyticsSetting`
41+
- New function `*ClientFactory.NewContentPackageClient() *ContentPackageClient`
42+
- New function `*ClientFactory.NewContentPackagesClient() *ContentPackagesClient`
43+
- New function `*ClientFactory.NewContentTemplateClient() *ContentTemplateClient`
44+
- New function `*ClientFactory.NewContentTemplatesClient() *ContentTemplatesClient`
45+
- New function `*ClientFactory.NewMetadataClient() *MetadataClient`
46+
- New function `*ClientFactory.NewProductPackageClient() *ProductPackageClient`
47+
- New function `*ClientFactory.NewProductPackagesClient() *ProductPackagesClient`
48+
- New function `*ClientFactory.NewProductTemplateClient() *ProductTemplateClient`
49+
- New function `*ClientFactory.NewProductTemplatesClient() *ProductTemplatesClient`
50+
- New function `*ClientFactory.NewSecurityMLAnalyticsSettingsClient() *SecurityMLAnalyticsSettingsClient`
51+
- New function `*ClientFactory.NewSourceControlClient() *SourceControlClient`
52+
- New function `*ClientFactory.NewSourceControlsClient() *SourceControlsClient`
53+
- New function `NewContentPackageClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ContentPackageClient, error)`
54+
- New function `*ContentPackageClient.Install(context.Context, string, string, string, PackageModel, *ContentPackageClientInstallOptions) (ContentPackageClientInstallResponse, error)`
55+
- New function `*ContentPackageClient.Uninstall(context.Context, string, string, string, *ContentPackageClientUninstallOptions) (ContentPackageClientUninstallResponse, error)`
56+
- New function `NewContentPackagesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ContentPackagesClient, error)`
57+
- New function `*ContentPackagesClient.Get(context.Context, string, string, string, *ContentPackagesClientGetOptions) (ContentPackagesClientGetResponse, error)`
58+
- New function `*ContentPackagesClient.NewListPager(string, string, *ContentPackagesClientListOptions) *runtime.Pager[ContentPackagesClientListResponse]`
59+
- New function `NewContentTemplateClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ContentTemplateClient, error)`
60+
- New function `*ContentTemplateClient.Delete(context.Context, string, string, string, *ContentTemplateClientDeleteOptions) (ContentTemplateClientDeleteResponse, error)`
61+
- New function `*ContentTemplateClient.Get(context.Context, string, string, string, *ContentTemplateClientGetOptions) (ContentTemplateClientGetResponse, error)`
62+
- New function `*ContentTemplateClient.Install(context.Context, string, string, string, TemplateModel, *ContentTemplateClientInstallOptions) (ContentTemplateClientInstallResponse, error)`
63+
- New function `NewContentTemplatesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ContentTemplatesClient, error)`
64+
- New function `*ContentTemplatesClient.NewListPager(string, string, *ContentTemplatesClientListOptions) *runtime.Pager[ContentTemplatesClientListResponse]`
65+
- New function `NewMetadataClient(string, azcore.TokenCredential, *arm.ClientOptions) (*MetadataClient, error)`
66+
- New function `*MetadataClient.Create(context.Context, string, string, string, MetadataModel, *MetadataClientCreateOptions) (MetadataClientCreateResponse, error)`
67+
- New function `*MetadataClient.Delete(context.Context, string, string, string, *MetadataClientDeleteOptions) (MetadataClientDeleteResponse, error)`
68+
- New function `*MetadataClient.Get(context.Context, string, string, string, *MetadataClientGetOptions) (MetadataClientGetResponse, error)`
69+
- New function `*MetadataClient.NewListPager(string, string, *MetadataClientListOptions) *runtime.Pager[MetadataClientListResponse]`
70+
- New function `*MetadataClient.Update(context.Context, string, string, string, MetadataPatch, *MetadataClientUpdateOptions) (MetadataClientUpdateResponse, error)`
71+
- New function `NewProductPackageClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ProductPackageClient, error)`
72+
- New function `*ProductPackageClient.Get(context.Context, string, string, string, *ProductPackageClientGetOptions) (ProductPackageClientGetResponse, error)`
73+
- New function `NewProductPackagesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ProductPackagesClient, error)`
74+
- New function `*ProductPackagesClient.NewListPager(string, string, *ProductPackagesClientListOptions) *runtime.Pager[ProductPackagesClientListResponse]`
75+
- New function `NewProductTemplateClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ProductTemplateClient, error)`
76+
- New function `*ProductTemplateClient.Get(context.Context, string, string, string, *ProductTemplateClientGetOptions) (ProductTemplateClientGetResponse, error)`
77+
- New function `NewProductTemplatesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ProductTemplatesClient, error)`
78+
- New function `*ProductTemplatesClient.NewListPager(string, string, *ProductTemplatesClientListOptions) *runtime.Pager[ProductTemplatesClientListResponse]`
79+
- New function `*PropertyArrayChangedConditionProperties.GetAutomationRuleCondition() *AutomationRuleCondition`
80+
- New function `*PropertyChangedConditionProperties.GetAutomationRuleCondition() *AutomationRuleCondition`
81+
- New function `*SecurityMLAnalyticsSetting.GetSecurityMLAnalyticsSetting() *SecurityMLAnalyticsSetting`
82+
- New function `NewSecurityMLAnalyticsSettingsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*SecurityMLAnalyticsSettingsClient, error)`
83+
- New function `*SecurityMLAnalyticsSettingsClient.CreateOrUpdate(context.Context, string, string, string, SecurityMLAnalyticsSettingClassification, *SecurityMLAnalyticsSettingsClientCreateOrUpdateOptions) (SecurityMLAnalyticsSettingsClientCreateOrUpdateResponse, error)`
84+
- New function `*SecurityMLAnalyticsSettingsClient.Delete(context.Context, string, string, string, *SecurityMLAnalyticsSettingsClientDeleteOptions) (SecurityMLAnalyticsSettingsClientDeleteResponse, error)`
85+
- New function `*SecurityMLAnalyticsSettingsClient.Get(context.Context, string, string, string, *SecurityMLAnalyticsSettingsClientGetOptions) (SecurityMLAnalyticsSettingsClientGetResponse, error)`
86+
- New function `*SecurityMLAnalyticsSettingsClient.NewListPager(string, string, *SecurityMLAnalyticsSettingsClientListOptions) *runtime.Pager[SecurityMLAnalyticsSettingsClientListResponse]`
87+
- New function `NewSourceControlClient(string, azcore.TokenCredential, *arm.ClientOptions) (*SourceControlClient, error)`
88+
- New function `*SourceControlClient.NewListRepositoriesPager(string, string, RepositoryAccessProperties, *SourceControlClientListRepositoriesOptions) *runtime.Pager[SourceControlClientListRepositoriesResponse]`
89+
- New function `NewSourceControlsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*SourceControlsClient, error)`
90+
- New function `*SourceControlsClient.Create(context.Context, string, string, string, SourceControl, *SourceControlsClientCreateOptions) (SourceControlsClientCreateResponse, error)`
91+
- New function `*SourceControlsClient.Delete(context.Context, string, string, string, RepositoryAccessProperties, *SourceControlsClientDeleteOptions) (SourceControlsClientDeleteResponse, error)`
92+
- New function `*SourceControlsClient.Get(context.Context, string, string, string, *SourceControlsClientGetOptions) (SourceControlsClientGetResponse, error)`
93+
- New function `*SourceControlsClient.NewListPager(string, string, *SourceControlsClientListOptions) *runtime.Pager[SourceControlsClientListResponse]`
94+
- New struct `AlertPropertyMapping`
95+
- New struct `AnomalySecurityMLAnalyticsSettings`
96+
- New struct `AnomalySecurityMLAnalyticsSettingsProperties`
97+
- New struct `AutomationRulePropertyArrayChangedValuesCondition`
98+
- New struct `AutomationRulePropertyValuesChangedCondition`
99+
- New struct `AzureDevOpsResourceInfo`
100+
- New struct `Deployment`
101+
- New struct `DeploymentInfo`
102+
- New struct `GitHubResourceInfo`
103+
- New struct `MetadataAuthor`
104+
- New struct `MetadataCategories`
105+
- New struct `MetadataDependencies`
106+
- New struct `MetadataDependenciesAutoGenerated`
107+
- New struct `MetadataList`
108+
- New struct `MetadataModel`
109+
- New struct `MetadataPatch`
110+
- New struct `MetadataProperties`
111+
- New struct `MetadataPropertiesPatch`
112+
- New struct `MetadataSource`
113+
- New struct `MetadataSupport`
114+
- New struct `PackageList`
115+
- New struct `PackageModel`
116+
- New struct `PackageProperties`
117+
- New struct `ProductPackageList`
118+
- New struct `ProductPackageModel`
119+
- New struct `ProductPackageProperties`
120+
- New struct `ProductTemplateList`
121+
- New struct `ProductTemplateModel`
122+
- New struct `ProductTemplateProperties`
123+
- New struct `PropertyArrayChangedConditionProperties`
124+
- New struct `PropertyChangedConditionProperties`
125+
- New struct `PullRequest`
126+
- New struct `Repo`
127+
- New struct `RepoList`
128+
- New struct `Repository`
129+
- New struct `RepositoryAccess`
130+
- New struct `RepositoryAccessObject`
131+
- New struct `RepositoryAccessProperties`
132+
- New struct `RepositoryResourceInfo`
133+
- New struct `SecurityMLAnalyticsSettingsDataSource`
134+
- New struct `SecurityMLAnalyticsSettingsList`
135+
- New struct `ServicePrincipal`
136+
- New struct `SourceControl`
137+
- New struct `SourceControlList`
138+
- New struct `SourceControlProperties`
139+
- New struct `TemplateList`
140+
- New struct `TemplateModel`
141+
- New struct `TemplateProperties`
142+
- New struct `Warning`
143+
- New struct `WarningBody`
144+
- New struct `Webhook`
145+
- New field `AlertDynamicProperties` in struct `AlertDetailsOverride`
146+
- New field `Techniques` in struct `FusionAlertRuleProperties`
147+
- New field `Techniques` in struct `FusionAlertRuleTemplateProperties`
148+
- New field `ProviderIncidentURL` in struct `IncidentAdditionalData`
149+
- New field `OwnerType` in struct `IncidentOwnerInfo`
150+
- New field `ProviderIncidentID`, `ProviderName` in struct `IncidentProperties`
151+
- New field `Techniques` in struct `ScheduledAlertRuleProperties`
152+
- New field `Techniques` in struct `ScheduledAlertRuleTemplateProperties`
153+
154+
3155
## 1.2.0 (2023-11-24)
4156
### Features Added
5157

sdk/resourcemanager/securityinsights/armsecurityinsights/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Azure Security Insight Module for Go
22

3-
[![PkgGoDev](https://pkg.go.dev/badge/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/securityinsights/armsecurityinsights)](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/securityinsights/armsecurityinsights)
3+
[![PkgGoDev](https://pkg.go.dev/badge/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/securityinsights/armsecurityinsights/v2)](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/securityinsights/armsecurityinsights/v2)
44

55
The `armsecurityinsights` module provides operations for working with Azure Security Insight.
66

@@ -20,7 +20,7 @@ This project uses [Go modules](https://github.com/golang/go/wiki/Modules) for ve
2020
Install the Azure Security Insight module:
2121

2222
```sh
23-
go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/securityinsights/armsecurityinsights
23+
go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/securityinsights/armsecurityinsights/v2
2424
```
2525

2626
## Authorization
@@ -57,7 +57,7 @@ clientFactory, err := armsecurityinsights.NewClientFactory(<subscription ID>, cr
5757
A client groups a set of related APIs, providing access to its functionality. Create one or more clients to access the APIs you require using client factory.
5858

5959
```go
60-
client := clientFactory.NewEntityQueriesClient()
60+
client := clientFactory.NewActionsClient()
6161
```
6262

6363
## Fakes

sdk/resourcemanager/securityinsights/armsecurityinsights/actions_client.go

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)