sqlpoolsvulnerabilityassessmentscansexport

package
v0.20240206.1080438 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/synapse/2021-06-01/sqlpoolsvulnerabilityassessmentscansexport Documentation

The sqlpoolsvulnerabilityassessmentscansexport SDK allows for interaction with the Azure Resource Manager Service synapse (API Version 2021-06-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/synapse/2021-06-01/sqlpoolsvulnerabilityassessmentscansexport"

Client Initialization

client := sqlpoolsvulnerabilityassessmentscansexport.NewSqlPoolsVulnerabilityAssessmentScansExportClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: SqlPoolsVulnerabilityAssessmentScansExportClient.SqlPoolVulnerabilityAssessmentScansExport

ctx := context.TODO()
id := sqlpoolsvulnerabilityassessmentscansexport.NewScanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue", "sqlPoolValue", "scanIdValue")

read, err := client.SqlPoolVulnerabilityAssessmentScansExport(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateScanID

func ValidateScanID(input interface{}, key string) (warnings []string, errors []error)

ValidateScanID checks that 'input' can be parsed as a Scan ID

Types

type ScanId

type ScanId struct {
	SubscriptionId    string
	ResourceGroupName string
	WorkspaceName     string
	SqlPoolName       string
	ScanId            string
}

ScanId is a struct representing the Resource ID for a Scan

func NewScanID

func NewScanID(subscriptionId string, resourceGroupName string, workspaceName string, sqlPoolName string, scanId string) ScanId

NewScanID returns a new ScanId struct

func ParseScanID

func ParseScanID(input string) (*ScanId, error)

ParseScanID parses 'input' into a ScanId

func ParseScanIDInsensitively

func ParseScanIDInsensitively(input string) (*ScanId, error)

ParseScanIDInsensitively parses 'input' case-insensitively into a ScanId note: this method should only be used for API response data and not user input

func (*ScanId) FromParseResult

func (id *ScanId) FromParseResult(input resourceids.ParseResult) error

func (ScanId) ID

func (id ScanId) ID() string

ID returns the formatted Scan ID

func (ScanId) Segments

func (id ScanId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Scan ID

func (ScanId) String

func (id ScanId) String() string

String returns a human-readable description of this Scan ID

type SqlPoolVulnerabilityAssessmentScanExportProperties

type SqlPoolVulnerabilityAssessmentScanExportProperties struct {
	ExportedReportLocation *string `json:"exportedReportLocation,omitempty"`
}

type SqlPoolVulnerabilityAssessmentScansExport

type SqlPoolVulnerabilityAssessmentScansExport struct {
	Id         *string                                             `json:"id,omitempty"`
	Name       *string                                             `json:"name,omitempty"`
	Properties *SqlPoolVulnerabilityAssessmentScanExportProperties `json:"properties,omitempty"`
	Type       *string                                             `json:"type,omitempty"`
}

type SqlPoolVulnerabilityAssessmentScansExportOperationResponse

type SqlPoolVulnerabilityAssessmentScansExportOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SqlPoolVulnerabilityAssessmentScansExport
}

type SqlPoolsVulnerabilityAssessmentScansExportClient

type SqlPoolsVulnerabilityAssessmentScansExportClient struct {
	Client *resourcemanager.Client
}

func NewSqlPoolsVulnerabilityAssessmentScansExportClientWithBaseURI

func NewSqlPoolsVulnerabilityAssessmentScansExportClientWithBaseURI(sdkApi sdkEnv.Api) (*SqlPoolsVulnerabilityAssessmentScansExportClient, error)

func (SqlPoolsVulnerabilityAssessmentScansExportClient) SqlPoolVulnerabilityAssessmentScansExport

SqlPoolVulnerabilityAssessmentScansExport ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL