Skip to content

Commit e86c3e4

Browse files
author
SDKAuto
committed
CodeGen from PR 28981 in Azure/azure-rest-api-specs
Merge 048e2e091d95f2ebc7f82b6489c3786b8cbe5f4b into 53af822b054f0ae1cfa3858e6b7441b6a917d7f9
1 parent 8151115 commit e86c3e4

40 files changed

+7745
-2382
lines changed

sdk/resourcemanager/appcomplianceautomation/armappcomplianceautomation/CHANGELOG.md

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

3+
## 1.0.0 (2024-05-23)
4+
### Breaking Changes
5+
6+
- Type of `ReportResourcePatch.Properties` has been changed from `*ReportProperties` to `*ReportPatchProperties`
7+
- `CategoryStatusHealthy`, `CategoryStatusUnhealthy` from enum `CategoryStatus` has been removed
8+
- `ControlFamilyStatusHealthy`, `ControlFamilyStatusUnhealthy` from enum `ControlFamilyStatus` has been removed
9+
- `ResourceStatusNotApplicable` from enum `ResourceStatus` has been removed
10+
- Enum `AssessmentSeverity` has been removed
11+
- Enum `CategoryType` has been removed
12+
- Enum `ComplianceState` has been removed
13+
- Enum `ControlFamilyType` has been removed
14+
- Enum `ControlType` has been removed
15+
- Enum `IsPass` has been removed
16+
- Function `*ClientFactory.NewSnapshotClient` has been removed
17+
- Function `*ReportClient.BeginCreateOrUpdate` has been removed
18+
- Function `*ReportClient.BeginDelete` has been removed
19+
- Function `*ReportClient.Get` has been removed
20+
- Function `*ReportClient.BeginUpdate` has been removed
21+
- Function `NewSnapshotClient` has been removed
22+
- Function `*SnapshotClient.BeginDownload` has been removed
23+
- Function `*SnapshotClient.Get` has been removed
24+
- Struct `Assessment` has been removed
25+
- Struct `AssessmentResource` has been removed
26+
- Struct `ReportResourceList` has been removed
27+
- Struct `SnapshotResourceList` has been removed
28+
- Field `CategoryType` of struct `Category` has been removed
29+
- Field `ComplianceState`, `ControlType`, `PolicyDescription`, `PolicyDisplayName`, `PolicyID`, `ResourceGroup`, `StatusChangeDate`, `SubscriptionID` of struct `ComplianceReportItem` has been removed
30+
- Field `Assessments`, `ControlShortName`, `ControlType` of struct `Control` has been removed
31+
- Field `FamilyName`, `FamilyStatus`, `FamilyType` of struct `ControlFamily` has been removed
32+
- Field `ID`, `ReportName` of struct `ReportProperties` has been removed
33+
- Field `ReportResourceList` of struct `ReportsClientListResponse` has been removed
34+
- Field `ResourceName`, `Tags` of struct `ResourceMetadata` has been removed
35+
- Field `ID` of struct `SnapshotProperties` has been removed
36+
- Field `SnapshotResourceList` of struct `SnapshotsClientListResponse` has been removed
37+
38+
### Features Added
39+
40+
- New value `CategoryStatusFailed`, `CategoryStatusNotApplicable`, `CategoryStatusPassed`, `CategoryStatusPendingApproval` added to enum type `CategoryStatus`
41+
- New value `ControlFamilyStatusFailed`, `ControlFamilyStatusNotApplicable`, `ControlFamilyStatusPassed`, `ControlFamilyStatusPendingApproval` added to enum type `ControlFamilyStatus`
42+
- New value `ControlStatusPendingApproval` added to enum type `ControlStatus`
43+
- New value `ProvisioningStateFixing`, `ProvisioningStateVerifying` added to enum type `ProvisioningState`
44+
- New value `ReportStatusReviewing` added to enum type `ReportStatus`
45+
- New enum type `CheckNameAvailabilityReason` with values `CheckNameAvailabilityReasonAlreadyExists`, `CheckNameAvailabilityReasonInvalid`
46+
- New enum type `ContentType` with values `ContentTypeApplicationJSON`
47+
- New enum type `DeliveryStatus` with values `DeliveryStatusFailed`, `DeliveryStatusNotStarted`, `DeliveryStatusSucceeded`
48+
- New enum type `EnableSSLVerification` with values `EnableSSLVerificationFalse`, `EnableSSLVerificationTrue`
49+
- New enum type `EvidenceType` with values `EvidenceTypeAutoCollectedEvidence`, `EvidenceTypeData`, `EvidenceTypeFile`
50+
- New enum type `InputType` with values `InputTypeBoolean`, `InputTypeDate`, `InputTypeEmail`, `InputTypeGroup`, `InputTypeMultiSelectCheckbox`, `InputTypeMultiSelectDropdown`, `InputTypeMultiSelectDropdownCustom`, `InputTypeMultilineText`, `InputTypeNone`, `InputTypeNumber`, `InputTypeSingleSelectDropdown`, `InputTypeSingleSelection`, `InputTypeTelephone`, `InputTypeText`, `InputTypeURL`, `InputTypeUpload`, `InputTypeYearPicker`, `InputTypeYesNoNa`
51+
- New enum type `IsRecommendSolution` with values `IsRecommendSolutionFalse`, `IsRecommendSolutionTrue`
52+
- New enum type `NotificationEvent` with values `NotificationEventAssessmentFailure`, `NotificationEventGenerateSnapshotFailed`, `NotificationEventGenerateSnapshotSuccess`, `NotificationEventReportConfigurationChanges`, `NotificationEventReportDeletion`
53+
- New enum type `ResourceOrigin` with values `ResourceOriginAWS`, `ResourceOriginAzure`, `ResourceOriginGCP`
54+
- New enum type `ResponsibilityEnvironment` with values `ResponsibilityEnvironmentAWS`, `ResponsibilityEnvironmentAzure`, `ResponsibilityEnvironmentGCP`, `ResponsibilityEnvironmentGeneral`
55+
- New enum type `ResponsibilitySeverity` with values `ResponsibilitySeverityHigh`, `ResponsibilitySeverityLow`, `ResponsibilitySeverityMedium`
56+
- New enum type `ResponsibilityStatus` with values `ResponsibilityStatusFailed`, `ResponsibilityStatusNotApplicable`, `ResponsibilityStatusPassed`, `ResponsibilityStatusPendingApproval`
57+
- New enum type `ResponsibilityType` with values `ResponsibilityTypeAutomated`, `ResponsibilityTypeManual`, `ResponsibilityTypeScopedManual`
58+
- New enum type `Result` with values `ResultFailed`, `ResultSucceeded`
59+
- New enum type `Rule` with values `RuleAzureApplication`, `RuleCharLength`, `RuleCreditCardPCI`, `RuleDomains`, `RuleDynamicDropdown`, `RulePreventNonEnglishChar`, `RulePublicSOX`, `RulePublisherVerification`, `RuleRequired`, `RuleURL`, `RuleUSPrivacyShield`, `RuleUrls`, `RuleValidEmail`, `RuleValidGUID`
60+
- New enum type `SendAllEvents` with values `SendAllEventsFalse`, `SendAllEventsTrue`
61+
- New enum type `UpdateWebhookKey` with values `UpdateWebhookKeyFalse`, `UpdateWebhookKeyTrue`
62+
- New enum type `WebhookKeyEnabled` with values `WebhookKeyEnabledFalse`, `WebhookKeyEnabledTrue`
63+
- New enum type `WebhookStatus` with values `WebhookStatusDisabled`, `WebhookStatusEnabled`
64+
- New function `*ClientFactory.NewEvidencesClient() *EvidencesClient`
65+
- New function `*ClientFactory.NewProviderActionsClient() *ProviderActionsClient`
66+
- New function `*ClientFactory.NewScopingConfigurationClient() *ScopingConfigurationClient`
67+
- New function `*ClientFactory.NewScopingConfigurationsClient() *ScopingConfigurationsClient`
68+
- New function `*ClientFactory.NewToolForMicrosoft365Client() *ToolForMicrosoft365Client`
69+
- New function `*ClientFactory.NewWebhooksClient() *WebhooksClient`
70+
- New function `NewEvidencesClient(azcore.TokenCredential, *arm.ClientOptions) (*EvidencesClient, error)`
71+
- New function `*EvidencesClient.CreateOrUpdate(context.Context, string, string, EvidenceResource, *EvidencesClientCreateOrUpdateOptions) (EvidencesClientCreateOrUpdateResponse, error)`
72+
- New function `*EvidencesClient.Delete(context.Context, string, string, *EvidencesClientDeleteOptions) (EvidencesClientDeleteResponse, error)`
73+
- New function `*EvidencesClient.Download(context.Context, string, string, EvidenceFileDownloadRequest, *EvidencesClientDownloadOptions) (EvidencesClientDownloadResponse, error)`
74+
- New function `*EvidencesClient.Get(context.Context, string, string, *EvidencesClientGetOptions) (EvidencesClientGetResponse, error)`
75+
- New function `*EvidencesClient.NewListByReportPager(string, *EvidencesClientListByReportOptions) *runtime.Pager[EvidencesClientListByReportResponse]`
76+
- New function `NewProviderActionsClient(azcore.TokenCredential, *arm.ClientOptions) (*ProviderActionsClient, error)`
77+
- New function `*ProviderActionsClient.CheckNameAvailability(context.Context, CheckNameAvailabilityRequest, *ProviderActionsClientCheckNameAvailabilityOptions) (ProviderActionsClientCheckNameAvailabilityResponse, error)`
78+
- New function `*ProviderActionsClient.GetCollectionCount(context.Context, GetCollectionCountRequest, *ProviderActionsClientGetCollectionCountOptions) (ProviderActionsClientGetCollectionCountResponse, error)`
79+
- New function `*ProviderActionsClient.GetOverviewStatus(context.Context, GetOverviewStatusRequest, *ProviderActionsClientGetOverviewStatusOptions) (ProviderActionsClientGetOverviewStatusResponse, error)`
80+
- New function `*ProviderActionsClient.ListInUseStorageAccounts(context.Context, ListInUseStorageAccountsRequest, *ProviderActionsClientListInUseStorageAccountsOptions) (ProviderActionsClientListInUseStorageAccountsResponse, error)`
81+
- New function `*ProviderActionsClient.BeginOnboard(context.Context, OnboardRequest, *ProviderActionsClientBeginOnboardOptions) (*runtime.Poller[ProviderActionsClientOnboardResponse], error)`
82+
- New function `*ProviderActionsClient.BeginTriggerEvaluation(context.Context, TriggerEvaluationRequest, *ProviderActionsClientBeginTriggerEvaluationOptions) (*runtime.Poller[ProviderActionsClientTriggerEvaluationResponse], error)`
83+
- New function `*ReportClient.BeginVerify(context.Context, string, *ReportClientBeginVerifyOptions) (*runtime.Poller[ReportClientVerifyResponse], error)`
84+
- New function `*ReportsClient.BeginCreateOrUpdate(context.Context, string, ReportResource, *ReportsClientBeginCreateOrUpdateOptions) (*runtime.Poller[ReportsClientCreateOrUpdateResponse], error)`
85+
- New function `*ReportsClient.BeginDelete(context.Context, string, *ReportsClientBeginDeleteOptions) (*runtime.Poller[ReportsClientDeleteResponse], error)`
86+
- New function `*ReportsClient.BeginFix(context.Context, string, *ReportsClientBeginFixOptions) (*runtime.Poller[ReportsClientFixResponse], error)`
87+
- New function `*ReportsClient.Get(context.Context, string, *ReportsClientGetOptions) (ReportsClientGetResponse, error)`
88+
- New function `*ReportsClient.NestedResourceCheckNameAvailability(context.Context, string, CheckNameAvailabilityRequest, *ReportsClientNestedResourceCheckNameAvailabilityOptions) (ReportsClientNestedResourceCheckNameAvailabilityResponse, error)`
89+
- New function `*ReportsClient.BeginSyncCertRecord(context.Context, string, SyncCertRecordRequest, *ReportsClientBeginSyncCertRecordOptions) (*runtime.Poller[ReportsClientSyncCertRecordResponse], error)`
90+
- New function `*ReportsClient.BeginUpdate(context.Context, string, ReportResourcePatch, *ReportsClientBeginUpdateOptions) (*runtime.Poller[ReportsClientUpdateResponse], error)`
91+
- New function `NewScopingConfigurationClient(azcore.TokenCredential, *arm.ClientOptions) (*ScopingConfigurationClient, error)`
92+
- New function `*ScopingConfigurationClient.CreateOrUpdate(context.Context, string, string, ScopingConfigurationResource, *ScopingConfigurationClientCreateOrUpdateOptions) (ScopingConfigurationClientCreateOrUpdateResponse, error)`
93+
- New function `*ScopingConfigurationClient.Delete(context.Context, string, string, *ScopingConfigurationClientDeleteOptions) (ScopingConfigurationClientDeleteResponse, error)`
94+
- New function `*ScopingConfigurationClient.Get(context.Context, string, string, *ScopingConfigurationClientGetOptions) (ScopingConfigurationClientGetResponse, error)`
95+
- New function `NewScopingConfigurationsClient(azcore.TokenCredential, *arm.ClientOptions) (*ScopingConfigurationsClient, error)`
96+
- New function `*ScopingConfigurationsClient.NewListPager(string, *ScopingConfigurationsClientListOptions) *runtime.Pager[ScopingConfigurationsClientListResponse]`
97+
- New function `*SnapshotsClient.BeginDownload(context.Context, string, string, SnapshotDownloadRequest, *SnapshotsClientBeginDownloadOptions) (*runtime.Poller[SnapshotsClientDownloadResponse], error)`
98+
- New function `*SnapshotsClient.Get(context.Context, string, string, *SnapshotsClientGetOptions) (SnapshotsClientGetResponse, error)`
99+
- New function `NewToolForMicrosoft365Client(azcore.TokenCredential, *arm.ClientOptions) (*ToolForMicrosoft365Client, error)`
100+
- New function `*ToolForMicrosoft365Client.GetScopingQuestions(context.Context, string, *ToolForMicrosoft365ClientGetScopingQuestionsOptions) (ToolForMicrosoft365ClientGetScopingQuestionsResponse, error)`
101+
- New function `NewWebhooksClient(azcore.TokenCredential, *arm.ClientOptions) (*WebhooksClient, error)`
102+
- New function `*WebhooksClient.CreateOrUpdate(context.Context, string, string, WebhookResource, *WebhooksClientCreateOrUpdateOptions) (WebhooksClientCreateOrUpdateResponse, error)`
103+
- New function `*WebhooksClient.Delete(context.Context, string, string, *WebhooksClientDeleteOptions) (WebhooksClientDeleteResponse, error)`
104+
- New function `*WebhooksClient.Get(context.Context, string, string, *WebhooksClientGetOptions) (WebhooksClientGetResponse, error)`
105+
- New function `*WebhooksClient.NewListPager(string, *WebhooksClientListOptions) *runtime.Pager[WebhooksClientListResponse]`
106+
- New function `*WebhooksClient.Update(context.Context, string, string, WebhookResourcePatch, *WebhooksClientUpdateOptions) (WebhooksClientUpdateResponse, error)`
107+
- New struct `CertSyncRecord`
108+
- New struct `CheckNameAvailabilityRequest`
109+
- New struct `CheckNameAvailabilityResponse`
110+
- New struct `ControlSyncRecord`
111+
- New struct `EvidenceFileDownloadRequest`
112+
- New struct `EvidenceFileDownloadResponse`
113+
- New struct `EvidenceFileDownloadResponseEvidenceFile`
114+
- New struct `EvidenceProperties`
115+
- New struct `EvidenceResource`
116+
- New struct `EvidenceResourceListResult`
117+
- New struct `GetCollectionCountRequest`
118+
- New struct `GetCollectionCountResponse`
119+
- New struct `GetOverviewStatusRequest`
120+
- New struct `GetOverviewStatusResponse`
121+
- New struct `ListInUseStorageAccountsRequest`
122+
- New struct `ListInUseStorageAccountsResponse`
123+
- New struct `OnboardRequest`
124+
- New struct `OnboardResponse`
125+
- New struct `QuickAssessment`
126+
- New struct `Recommendation`
127+
- New struct `RecommendationSolution`
128+
- New struct `ReportFixResult`
129+
- New struct `ReportPatchProperties`
130+
- New struct `ReportResourceListResult`
131+
- New struct `ReportVerificationResult`
132+
- New struct `Responsibility`
133+
- New struct `ResponsibilityResource`
134+
- New struct `ScopingAnswer`
135+
- New struct `ScopingConfigurationProperties`
136+
- New struct `ScopingConfigurationResource`
137+
- New struct `ScopingConfigurationResourceListResult`
138+
- New struct `ScopingQuestion`
139+
- New struct `ScopingQuestions`
140+
- New struct `SnapshotResourceListResult`
141+
- New struct `StatusItem`
142+
- New struct `StorageInfo`
143+
- New struct `SyncCertRecordRequest`
144+
- New struct `SyncCertRecordResponse`
145+
- New struct `TriggerEvaluationProperty`
146+
- New struct `TriggerEvaluationRequest`
147+
- New struct `TriggerEvaluationResponse`
148+
- New struct `WebhookProperties`
149+
- New struct `WebhookResource`
150+
- New struct `WebhookResourceListResult`
151+
- New struct `WebhookResourcePatch`
152+
- New field `ControlFamilyName`, `ControlStatus`, `ResourceOrigin`, `ResourceStatus`, `ResourceStatusChangeDate`, `ResponsibilityDescription`, `ResponsibilityTitle` in struct `ComplianceReportItem`
153+
- New field `ControlName`, `Responsibilities` in struct `Control`
154+
- New field `ControlFamilyName`, `ControlFamilyStatus` in struct `ControlFamily`
155+
- New field `NotApplicableCount`, `PendingCount` in struct `OverviewStatus`
156+
- New field `CertRecords`, `Errors`, `StorageInfo` in struct `ReportProperties`
157+
- New field `Filter`, `Orderby` in struct `ReportsClientListOptions`
158+
- New anonymous field `ReportResourceListResult` in struct `ReportsClientListResponse`
159+
- New field `AccountID`, `ResourceOrigin` in struct `ResourceMetadata`
160+
- New field `Filter`, `Orderby` in struct `SnapshotsClientListOptions`
161+
- New anonymous field `SnapshotResourceListResult` in struct `SnapshotsClientListResponse`
162+
163+
3164
## 0.3.0 (2023-11-24)
4165
### Features Added
5166

sdk/resourcemanager/appcomplianceautomation/armappcomplianceautomation/autorest.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
``` yaml
66
azure-arm: true
77
require:
8-
- https://github.com/Azure/azure-rest-api-specs/blob/82ea406b73d671269217053d7ef336450d860345/specification/appcomplianceautomation/resource-manager/readme.md
9-
- https://github.com/Azure/azure-rest-api-specs/blob/82ea406b73d671269217053d7ef336450d860345/specification/appcomplianceautomation/resource-manager/readme.go.md
8+
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/appcomplianceautomation/resource-manager/readme.md
9+
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/appcomplianceautomation/resource-manager/readme.go.md
1010
license-header: MICROSOFT_MIT_NO_VERSION
11-
module-version: 0.3.0
11+
module-version: 1.0.0
1212

1313
```

sdk/resourcemanager/appcomplianceautomation/armappcomplianceautomation/client_factory.go

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

0 commit comments

Comments
 (0)