Skip to content

Commit

Permalink
[AutoPR security/resource-manager] Adding paging declaration to Micro…
Browse files Browse the repository at this point in the history
…soft.Security/complianceResults (#4793)

* Generated from 8e2456d1d9f90d53bcde4292d0f8d4fce718cfd0

add composite v3 to Go SDK

* Generated from 73759c74be6d46b9da17c0900c11df5302ef083d

fix invalid schema
  • Loading branch information
AutorestCI authored and jhendrixMSFT committed May 15, 2019
1 parent a818ba5 commit e3b3fa3
Show file tree
Hide file tree
Showing 27 changed files with 14,185 additions and 80 deletions.
108 changes: 31 additions & 77 deletions profiles/preview/preview/security/mgmt/security/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ package security
import (
"context"

original "github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v2.0/security"
original "github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security"
)

const (
Expand Down Expand Up @@ -65,13 +65,6 @@ const (
Internal ConnectionType = original.Internal
)

type Direction = original.Direction

const (
Inbound Direction = original.Inbound
Outbound Direction = original.Outbound
)

type ExternalSecuritySolutionKind = original.ExternalSecuritySolutionKind

const (
Expand Down Expand Up @@ -122,6 +115,15 @@ const (
Medium ReportedSeverity = original.Medium
)

type ResourceStatus = original.ResourceStatus

const (
Healthy ResourceStatus = original.Healthy
NotApplicable ResourceStatus = original.NotApplicable
NotHealthy ResourceStatus = original.NotHealthy
OffByPolicy ResourceStatus = original.OffByPolicy
)

type SettingKind = original.SettingKind

const (
Expand Down Expand Up @@ -153,31 +155,9 @@ const (
UserRequested StatusReason = original.UserRequested
)

type TransportProtocol = original.TransportProtocol

const (
TransportProtocolTCP TransportProtocol = original.TransportProtocolTCP
TransportProtocolUDP TransportProtocol = original.TransportProtocolUDP
)

type ValueType = original.ValueType

const (
IPCidr ValueType = original.IPCidr
String ValueType = original.String
)

type AadConnectivityState1 = original.AadConnectivityState1
type AadExternalSecuritySolution = original.AadExternalSecuritySolution
type AadSolutionProperties = original.AadSolutionProperties
type AdaptiveNetworkHardening = original.AdaptiveNetworkHardening
type AdaptiveNetworkHardeningEnforceRequest = original.AdaptiveNetworkHardeningEnforceRequest
type AdaptiveNetworkHardeningProperties = original.AdaptiveNetworkHardeningProperties
type AdaptiveNetworkHardeningsClient = original.AdaptiveNetworkHardeningsClient
type AdaptiveNetworkHardeningsEnforceFuture = original.AdaptiveNetworkHardeningsEnforceFuture
type AdaptiveNetworkHardeningsList = original.AdaptiveNetworkHardeningsList
type AdaptiveNetworkHardeningsListIterator = original.AdaptiveNetworkHardeningsListIterator
type AdaptiveNetworkHardeningsListPage = original.AdaptiveNetworkHardeningsListPage
type AdvancedThreatProtectionClient = original.AdvancedThreatProtectionClient
type AdvancedThreatProtectionProperties = original.AdvancedThreatProtectionProperties
type AdvancedThreatProtectionSetting = original.AdvancedThreatProtectionSetting
Expand All @@ -195,7 +175,6 @@ type AllowedConnectionsListIterator = original.AllowedConnectionsListIterator
type AllowedConnectionsListPage = original.AllowedConnectionsListPage
type AllowedConnectionsResource = original.AllowedConnectionsResource
type AllowedConnectionsResourceProperties = original.AllowedConnectionsResourceProperties
type AllowlistCustomAlertRule = original.AllowlistCustomAlertRule
type AscLocation = original.AscLocation
type AscLocationList = original.AscLocationList
type AscLocationListIterator = original.AscLocationListIterator
Expand All @@ -219,6 +198,12 @@ type ComplianceList = original.ComplianceList
type ComplianceListIterator = original.ComplianceListIterator
type ComplianceListPage = original.ComplianceListPage
type ComplianceProperties = original.ComplianceProperties
type ComplianceResult = original.ComplianceResult
type ComplianceResultList = original.ComplianceResultList
type ComplianceResultListIterator = original.ComplianceResultListIterator
type ComplianceResultListPage = original.ComplianceResultListPage
type ComplianceResultProperties = original.ComplianceResultProperties
type ComplianceResultsClient = original.ComplianceResultsClient
type ComplianceSegment = original.ComplianceSegment
type CompliancesClient = original.CompliancesClient
type ConnectableResource = original.ConnectableResource
Expand All @@ -230,23 +215,14 @@ type ContactListIterator = original.ContactListIterator
type ContactListPage = original.ContactListPage
type ContactProperties = original.ContactProperties
type ContactsClient = original.ContactsClient
type CustomAlertRule = original.CustomAlertRule
type DataExportSetting = original.DataExportSetting
type DataExportSettingProperties = original.DataExportSettingProperties
type DenylistCustomAlertRule = original.DenylistCustomAlertRule
type DeviceSecurityGroup = original.DeviceSecurityGroup
type DeviceSecurityGroupList = original.DeviceSecurityGroupList
type DeviceSecurityGroupListIterator = original.DeviceSecurityGroupListIterator
type DeviceSecurityGroupListPage = original.DeviceSecurityGroupListPage
type DeviceSecurityGroupProperties = original.DeviceSecurityGroupProperties
type DeviceSecurityGroupsClient = original.DeviceSecurityGroupsClient
type DiscoveredSecuritySolution = original.DiscoveredSecuritySolution
type DiscoveredSecuritySolutionList = original.DiscoveredSecuritySolutionList
type DiscoveredSecuritySolutionListIterator = original.DiscoveredSecuritySolutionListIterator
type DiscoveredSecuritySolutionListPage = original.DiscoveredSecuritySolutionListPage
type DiscoveredSecuritySolutionProperties = original.DiscoveredSecuritySolutionProperties
type DiscoveredSecuritySolutionsClient = original.DiscoveredSecuritySolutionsClient
type EffectiveNetworkSecurityGroups = original.EffectiveNetworkSecurityGroups
type ExternalSecuritySolution = original.ExternalSecuritySolution
type ExternalSecuritySolutionKind1 = original.ExternalSecuritySolutionKind1
type ExternalSecuritySolutionList = original.ExternalSecuritySolutionList
Expand Down Expand Up @@ -278,7 +254,6 @@ type JitNetworkAccessRequest = original.JitNetworkAccessRequest
type JitNetworkAccessRequestPort = original.JitNetworkAccessRequestPort
type JitNetworkAccessRequestVirtualMachine = original.JitNetworkAccessRequestVirtualMachine
type Kind = original.Kind
type ListCustomAlertRule = original.ListCustomAlertRule
type Location = original.Location
type LocationsClient = original.LocationsClient
type Operation = original.Operation
Expand Down Expand Up @@ -310,7 +285,6 @@ type RegulatoryComplianceStandardListPage = original.RegulatoryComplianceStandar
type RegulatoryComplianceStandardProperties = original.RegulatoryComplianceStandardProperties
type RegulatoryComplianceStandardsClient = original.RegulatoryComplianceStandardsClient
type Resource = original.Resource
type Rule = original.Rule
type SensitivityLabel = original.SensitivityLabel
type Setting = original.Setting
type SettingResource = original.SettingResource
Expand All @@ -325,8 +299,6 @@ type TaskListPage = original.TaskListPage
type TaskParameters = original.TaskParameters
type TaskProperties = original.TaskProperties
type TasksClient = original.TasksClient
type ThresholdCustomAlertRule = original.ThresholdCustomAlertRule
type TimeWindowCustomAlertRule = original.TimeWindowCustomAlertRule
type TopologyClient = original.TopologyClient
type TopologyList = original.TopologyList
type TopologyListIterator = original.TopologyListIterator
Expand All @@ -346,18 +318,6 @@ type WorkspaceSettingsClient = original.WorkspaceSettingsClient
func New(subscriptionID string, ascLocation string) BaseClient {
return original.New(subscriptionID, ascLocation)
}
func NewAdaptiveNetworkHardeningsClient(subscriptionID string, ascLocation string) AdaptiveNetworkHardeningsClient {
return original.NewAdaptiveNetworkHardeningsClient(subscriptionID, ascLocation)
}
func NewAdaptiveNetworkHardeningsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) AdaptiveNetworkHardeningsClient {
return original.NewAdaptiveNetworkHardeningsClientWithBaseURI(baseURI, subscriptionID, ascLocation)
}
func NewAdaptiveNetworkHardeningsListIterator(page AdaptiveNetworkHardeningsListPage) AdaptiveNetworkHardeningsListIterator {
return original.NewAdaptiveNetworkHardeningsListIterator(page)
}
func NewAdaptiveNetworkHardeningsListPage(getNextPage func(context.Context, AdaptiveNetworkHardeningsList) (AdaptiveNetworkHardeningsList, error)) AdaptiveNetworkHardeningsListPage {
return original.NewAdaptiveNetworkHardeningsListPage(getNextPage)
}
func NewAdvancedThreatProtectionClient(subscriptionID string, ascLocation string) AdvancedThreatProtectionClient {
return original.NewAdvancedThreatProtectionClient(subscriptionID, ascLocation)
}
Expand Down Expand Up @@ -412,6 +372,18 @@ func NewComplianceListIterator(page ComplianceListPage) ComplianceListIterator {
func NewComplianceListPage(getNextPage func(context.Context, ComplianceList) (ComplianceList, error)) ComplianceListPage {
return original.NewComplianceListPage(getNextPage)
}
func NewComplianceResultListIterator(page ComplianceResultListPage) ComplianceResultListIterator {
return original.NewComplianceResultListIterator(page)
}
func NewComplianceResultListPage(getNextPage func(context.Context, ComplianceResultList) (ComplianceResultList, error)) ComplianceResultListPage {
return original.NewComplianceResultListPage(getNextPage)
}
func NewComplianceResultsClient(subscriptionID string, ascLocation string) ComplianceResultsClient {
return original.NewComplianceResultsClient(subscriptionID, ascLocation)
}
func NewComplianceResultsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) ComplianceResultsClient {
return original.NewComplianceResultsClientWithBaseURI(baseURI, subscriptionID, ascLocation)
}
func NewCompliancesClient(subscriptionID string, ascLocation string) CompliancesClient {
return original.NewCompliancesClient(subscriptionID, ascLocation)
}
Expand All @@ -430,18 +402,6 @@ func NewContactsClient(subscriptionID string, ascLocation string) ContactsClient
func NewContactsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) ContactsClient {
return original.NewContactsClientWithBaseURI(baseURI, subscriptionID, ascLocation)
}
func NewDeviceSecurityGroupListIterator(page DeviceSecurityGroupListPage) DeviceSecurityGroupListIterator {
return original.NewDeviceSecurityGroupListIterator(page)
}
func NewDeviceSecurityGroupListPage(getNextPage func(context.Context, DeviceSecurityGroupList) (DeviceSecurityGroupList, error)) DeviceSecurityGroupListPage {
return original.NewDeviceSecurityGroupListPage(getNextPage)
}
func NewDeviceSecurityGroupsClient(subscriptionID string, ascLocation string) DeviceSecurityGroupsClient {
return original.NewDeviceSecurityGroupsClient(subscriptionID, ascLocation)
}
func NewDeviceSecurityGroupsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) DeviceSecurityGroupsClient {
return original.NewDeviceSecurityGroupsClientWithBaseURI(baseURI, subscriptionID, ascLocation)
}
func NewDiscoveredSecuritySolutionListIterator(page DiscoveredSecuritySolutionListPage) DiscoveredSecuritySolutionListIterator {
return original.NewDiscoveredSecuritySolutionListIterator(page)
}
Expand Down Expand Up @@ -616,9 +576,6 @@ func PossibleAutoProvisionValues() []AutoProvision {
func PossibleConnectionTypeValues() []ConnectionType {
return original.PossibleConnectionTypeValues()
}
func PossibleDirectionValues() []Direction {
return original.PossibleDirectionValues()
}
func PossibleExternalSecuritySolutionKindValues() []ExternalSecuritySolutionKind {
return original.PossibleExternalSecuritySolutionKindValues()
}
Expand All @@ -637,6 +594,9 @@ func PossibleProtocolValues() []Protocol {
func PossibleReportedSeverityValues() []ReportedSeverity {
return original.PossibleReportedSeverityValues()
}
func PossibleResourceStatusValues() []ResourceStatus {
return original.PossibleResourceStatusValues()
}
func PossibleSettingKindValues() []SettingKind {
return original.PossibleSettingKindValues()
}
Expand All @@ -649,12 +609,6 @@ func PossibleStatusReasonValues() []StatusReason {
func PossibleStatusValues() []Status {
return original.PossibleStatusValues()
}
func PossibleTransportProtocolValues() []TransportProtocol {
return original.PossibleTransportProtocolValues()
}
func PossibleValueTypeValues() []ValueType {
return original.PossibleValueTypeValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/preview"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,15 @@

package securityapi

import original "github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v2.0/security/securityapi"
import original "github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security/securityapi"

type AdaptiveNetworkHardeningsClientAPI = original.AdaptiveNetworkHardeningsClientAPI
type AdvancedThreatProtectionClientAPI = original.AdvancedThreatProtectionClientAPI
type AlertsClientAPI = original.AlertsClientAPI
type AllowedConnectionsClientAPI = original.AllowedConnectionsClientAPI
type AutoProvisioningSettingsClientAPI = original.AutoProvisioningSettingsClientAPI
type ComplianceResultsClientAPI = original.ComplianceResultsClientAPI
type CompliancesClientAPI = original.CompliancesClientAPI
type ContactsClientAPI = original.ContactsClientAPI
type DeviceSecurityGroupsClientAPI = original.DeviceSecurityGroupsClientAPI
type DiscoveredSecuritySolutionsClientAPI = original.DiscoveredSecuritySolutionsClientAPI
type ExternalSecuritySolutionsClientAPI = original.ExternalSecuritySolutionsClientAPI
type InformationProtectionPoliciesClientAPI = original.InformationProtectionPoliciesClientAPI
Expand Down
Loading

0 comments on commit e3b3fa3

Please sign in to comment.